[Tex/LaTex] Uneven vertical spacing displaymath

equationsspacing

I would like to ask you why we have uneven vertical skips between the first two and last two vectors, coming from the source:

\documentclass{article}
\begin{document}
\[(a,b,c,d,e,f,g,h)\]
\[(a,b,c,d,e,f,g,h)\]
\[(a,b,c,d,e,f,g,h)\]
\end{document}

If I use more than 3 consecutive displaymath lines the same phenomenon happens: the vertical skip between the first two is considerably larger than the space between any further two lines. Any workarounds? I am using MikTex 2.9 with TeXnicCenter.

Best Answer

Never use consecutive math environments. The correct output can be obtained by

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{gather*}
(a,b,c,d,e,f,g,h)\\
(a,b,c,d,e,f,g,h)\\
(a,b,c,d,e,f,g,h)
\end{gather*}
\end{document}

The amsmath package has a bunch of environments for proper math typesetting, consult its documentation; you should have on your system the file amsldoc.pdf that contains it.