Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

\begin{equation}
x_{ij}^{m}R_{ij}^{t_{ij}}\rightarrow Y_{ij}^{t_{ij}}
\end{equation}
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
2  
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
show 2 more comments

1 Answer

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
add comment

Your Answer

 
discard

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.