# how to decrese space hight (margin) between equations

I want to decrese spaces(margin) hight 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

-
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

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

-
thanks it works –  mero Sep 11 '12 at 20:54