TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have inserted serveral (20) Numbered formulas directly behind eachother in LyX 2.0.3. If I export these formulas to the final version in PDF, there is a large vertical space between the formulas.

Is there a way to solve this by changing a setting in the document preamble?

x_{ij}^{m}R_{ij}^{t_{ij}}\rightarrow Y_{ij}^{t_{ij}}
share|improve this question
Don't use two or more consecutive equation environments; you can use a single gather environment (if no alignment is required). – Gonzalo Medina May 22 '12 at 16:18
In LyX words, Insert --> Math --> AMS gather environment. Ctrl + enter to start a new line within the gather. – Torbjørn T. May 22 '12 at 16:21
@TorbjørnT. Yet that would imply to redo all the +50 formulas and lose the current refences I've added to each of them ? – Gijs Hompes May 22 '12 at 18:30
@GijsHompes nop; using gather each individual line is numbered and can receive a label for cross-references. – Gonzalo Medina May 22 '12 at 18:53
Meaning I could paste all my existing formulas in the gather environment and continue (remember I am using Lyx) – Gijs Hompes May 22 '12 at 19:03

Problem solved by the help of you guys and an other page on Tex ! The first step is indeed to put all the equations in a gather environment. If needed this can be easily done using Scite (text editor) to avoid losing label data in Lyx. Once this step is completed the user might be confronted with a secondary problem being that the gather field is able to "overflow" a page.

The fix for this problem is easy: Just add \allowdisplaybreaks to the document preamble.

Et Voila ! Thanks again for your help guys!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.