LyXToo much space above multi-line equations

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
runevision
Posts: 4
Joined: Thu Aug 21, 2008 1:51 pm

Too much space above multi-line equations

Post by runevision »

Hi,

I've just begun using multi-line equation and it works well except that there is a whole lot of space above them; much more than for single line equations. Is this a bug or by design?

Thanks,
Rune
Attachments
space_above_multiline.png
space_above_multiline.png (31.13 KiB) Viewed 5512 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Re: Too much space above multi-line equations

Post by Stefan Kottwitz »

Hi Rune,

which documentclass are you using? Is \flushbottom used?
Don't leave empty lines before or after displayed equations, they would produce additional space.

Stefan
LaTeX.org admin
runevision
Posts: 4
Joined: Thu Aug 21, 2008 1:51 pm

Too much space above multi-line equations

Post by runevision »

Stefan_K wrote:which documentclass are you using? Is \flushbottom used?
Don't leave empty lines before or after displayed equations, they would produce additional space.
I'm using the "book" document class and I don't know if \flushbottom is used - I haven't put it anywhere (it's not in the preamble).

Anyway, I found out now that I had superflous line breaks before and after all my equations. I had no idea since:

a) The LyX docs have made it very clear that LyX won't even let me write superflous whitespace, except in code.

b) The extra whitespace is in fact invisible in LyX. Extra lines breaks after equations are only visible in that the line appear indented. Extra line breaks before an equation are not visible at all!

Thanks for the tip!

Rune
Post Reply