As an update of Stefan's answer.
Your questions should be closed as duplicated You will find a lot of question/answeres here. E.g.:
Different spacing around equation and align
Before showing some other approaches here a very important fact:
Don't miss the glue! The length \abovedisplayskip etc. can be defined with a glue and so you allow LaTeX to setup the space more flexible. Please read this question/answer:
What is glue stretching?
However I want to show an other possibility to setup the length. First of all you can use the command \AtBeginDocument. The font will be setup at the beginning of the document and so the hook will executed the stuff later:
\AtBeginDocument{%
\abovedisplayskip=12pt plus 3pt minus 9pt
\abovedisplayshortskip=0pt plus 3pt
\belowdisplayskip=12pt plus 3pt minus 9pt
\belowdisplayshortskip=7pt plus 3pt minus 4pt
}
The command \g@addto@macro is an internal macro. Packages like etoolbox or the newer one xpatch are providing more robust versions of the command \g@addto@macro. Show instead of using the internal command and without special handling of the @ you can use:
\usepackage{etoolbox}
\apptocmd\normalsize{%
\abovedisplayskip=12pt plus 3pt minus 9pt
\abovedisplayshortskip=0pt plus 3pt
\belowdisplayskip=12pt plus 3pt minus 9pt
\belowdisplayshortskip=7pt plus 3pt minus 4pt
}{}{}
or
\usepackage{xpatch}
\xapptocmd\normalsize{%
\abovedisplayskip=12pt plus 3pt minus 9pt
\abovedisplayshortskip=0pt plus 3pt
\belowdisplayskip=12pt plus 3pt minus 9pt
\belowdisplayshortskip=7pt plus 3pt minus 4pt
}{}{}
That is work with gather here a simple example. You should play with the lengths.:
\documentclass{article}
\usepackage{kantlipsum}
\usepackage{xpatch}
\xapptocmd\normalsize{%
\abovedisplayskip=12pt plus 3pt minus 9pt
\abovedisplayshortskip=0pt plus 3pt
\belowdisplayskip=12pt plus 3pt minus 9pt
\belowdisplayshortskip=7pt plus 3pt minus 4pt
}{}{}
\usepackage{amsmath}
\begin{document}
\kant[1]
\begin{gather}
1 + 1 = 2
\end{gather}
\kant[1]
\begin{gather}
1 + 1 = 2
\end{gather}
\kant[1]
\begin{subequations}
\begin{equation}
1 + 1 = 2
\end{equation}
\end{subequations}
\kant[1]
\kant[1]
\end{document}
subequationsandgatherit appears that you are usingamsmath. (a mwe would make this more clear.) it is a known bug that, for multi-line equations,\abovedisplayskipis always used instead of\abovedisplayshortskipsince multi-line displays are always implemented as a full-width environment. this is scheduled for review and (hoped-for) correction in the next overhaul ofamsmath; unfortunately, the overhaul has not yet been firmly scheduled. – barbara beeton Sep 1 '12 at 13:28equationandalignmentequal. I think in general it's good to close the more specific question as a duplicates to the general one. The order of appearance on TeX.SX doesn't matter at long sight. Or edit the other question to make it canonical. Perhaps you would find another question where the answer doesn't just mention those lengths, but explain it how to adjust it in the preamble globally, overcoming the reset in\normalsize? – Stefan Kottwitz♦ Sep 1 '12 at 17:36