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 5665 times

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
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