# Change vertical space between numbered formula in LyX

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). –  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

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