# How do I set the margins of a centered math expression? [duplicate]

Possible Duplicate:
How to globally change the spacing around equations?

For example,

this is a paragraph
$\frac{1}{2}$
this is a paragraph


as result, I want something like

this is a paragraph

$\frac{1}{2}$

this is a paragraph

-

## marked as duplicate by lockstep, egreg, Thorsten, Stefan Kottwitz♦Nov 3 '12 at 14:00

Avoid  instead use $...$. See tex.stackexchange.com/questions/503/why-is-preferable-to –  mythealias Nov 3 '12 at 13:06

If I understand correctly, you want to adjust the vertical spacing which is set by the four length parameters

\abovedisplayskip
\abovedisplayshortskip
\belowdisplayskip
\belowdisplayshortskip


The default values depend on the current size for example the standard classes define \normalsize as

\renewcommand\normalsize{%
\@setfontsize\normalsize\@xpt\@xiipt
\abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
\abovedisplayshortskip \z@ \@plus3\p@
\belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
\belowdisplayskip \abovedisplayskip
\let\@listi\@listI}


so if you go \setlength\abovedisplayskip{2in plus 1in} after \normalsize you will get more space.

-
i dont know why but do not worked. So i used this solution tex.stackexchange.com/questions/69662/… –  Fabricio Nov 3 '12 at 14:05