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 want to decrease spaces(margin) height before and after equations because I found big space when text end and display formula appears or between equations each in separate line.

Also I want to do the same between caption text and table there is also big space.

All of this in elsarticle class.

share|improve this question
1  
Could you please export a small example LyX document to LaTeX and post this as part of your question? Even include the current output that you don't like. There are ways of changing these lengths, but it would be clear what you're after with some visual aid. –  Werner Sep 11 '12 at 19:17

2 Answers 2

up vote 4 down vote accepted

You can try to put the following after \begin{document}:

\abovedisplayskip=0pt
\abovedisplayshortskip=0pt
\belowdisplayskip=0pt
\belowdisplayshortskip=0pt

The "short" skips correspond to equations after a short line.

For the captions:

\abovecaptionskip=0pt
\belowcaptionskip=0pt
share|improve this answer
    
thanks it works –  mero Sep 11 '12 at 20:54

Try using the following to reduce the spacing between equation display and the rest of the text.

\AtBeginDocument{\setlength\abovedisplayskip{4pt}}
\AtBeginDocument{\setlength\belowdisplayskip{4pt}}
share|improve this answer
    
thank you for help –  mero Sep 11 '12 at 20:57

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.