Angus Leeming <[EMAIL PROTECTED]> writes:

> On Friday 19 July 2002 1:32 pm, Herbert Voss wrote:
> > Angus Leeming wrote:

> > > Attached are two small screenshots, one of the LyX screen wih
> > > previews turned on and one of the corresponding xdvi view.
> > >
> > > Note the extra vertical space inserted in the dvi file between the
> > > equation in display mode and the next line of text.
> >
> > this depends to your values of \abovedisplayskip and
> > \belowdisplayskip

No.

> You mean that these spaces are not part of the TeX bounding box
> around the equation? Is that right? (Remember that I use the same
> latex preamble for both views so the values of \abovedisplayskip and
> \belowdisplayskip are the same for each.)

Both skips are removed by preview.sty.  preview.sty tries to get just
a bounding box for the actual material.  It kills indentations, it
kills spacings above and below material.  Since preview.sty does not
know whether some material will be tentatively horizontal or
vertical, it has to typeset everything in a vbox, then see whether it
can shrink it.  Inline text material needs to get shrunk down to the
basic size.  Things like section headings would incldue vace spaces
above and below if those skips were not removed.

So you have to view the material preview.sty delivers as naked.  If
you know it to be a displayed equation, you might want to add the
appropriate spacings for offsetting them yourself.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: [EMAIL PROTECTED]


Reply via email to