By setting abovedisplayskip
and belowdisplayskip
I can shrink the vertical space before and after displayed equations. (How to globally change the spacing around equations?) However, multline
seems to have some extra space that I can't get rid of. How to control this (ever so slight) gap?
\documentclass{article}
\usepackage{mathtools}
\begin{document}
\setlength\abovedisplayskip{0pt plus 2pt minus 3pt}
\setlength\belowdisplayskip{0pt plus 2pt minus 3pt}
\noindent
Lorem ipsum dolor sit amet, consectetur adipiscing
elit. \texttt{equation*}:
\begin{equation*}
\begin{aligned}
\smash{\Big|} a_{n+1} &= [2(n+1)][(n+1)^2-1]^{-1}
= n^{-1} + (n+2)^{-1}
\\
&< (n-1)^{-1} + (n+1)^{-1}
= (2n)(n^2 - 1)^{-1} = a_n.
\end{aligned}
\end{equation*}
Lorem ipsum dolor sit amet, consectetur adipiscing
elit. \texttt{multline*}:
\begin{multline*}
\smash{\Big|} a_{n+1} = [2(n+1)][(n+1)^2-1]^{-1}
= n^{-1} + (n+2)^{-1}
\\
< (n-1)^{-1} + (n+1)^{-1}
= (2n)(n^2 - 1)^{-1} = a_n.
\end{multline*}
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
\end{document}
Edit 1: Changed the MWE to something more realistic. Edit 2: Rewrote fractions to something not tall.
multline
is meant for “multiple lines”.equation
, and when it spills over to the next line I have to decide whether to go with aligned nested within the equation, or multline or perhaps gather. This is a minor nuisance, I know, but from time to time it bothers me that the spacing changes if I switch from equation to multline. Do you agree that the spacing is different?