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}}
  • Don't use two or more consecutive equation environments; you can use a single gather environment (if no alignment is required). May 22, 2012 at 16:18
  • 2
    In LyX words, Insert --> Math --> AMS gather environment. Ctrl + enter to start a new line within the gather. May 22, 2012 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 ? May 22, 2012 at 18:30
  • @GijsHompes nop; using gather each individual line is numbered and can receive a label for cross-references. May 22, 2012 at 18:53
  • Meaning I could paste all my existing formulas in the gather environment and continue (remember I am using Lyx) May 22, 2012 at 19:03

1 Answer 1


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!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .