I wanted to change \belowdisplayshortskip
to move an equation up onto the preceding line, as there is space for it there, I like things compact in my notes.
However, this also moves equations up, namely those with 2, 4 and 5:
So as I understand it, why is it that display-math counts as a short line? how can I achieve the "moving up" without having space underneath? (\belowdisplayshortskip = 1\baselineskip plus 3.5pt minus 3pt
would remedy the overlaps, but creates unnecessary and unwanted space underneath 2 and 5)
MWE:
\documentclass[12pt]{article}
\usepackage{lipsum}
\begin{document}
% \abovedisplayshortskip = 0pt plus 3pt minus 0pt % default
% \belowdisplayshortskip = 6.5pt plus 3.5pt minus 3pt % default
\abovedisplayshortskip = -1\baselineskip plus 3pt minus 0pt
\belowdisplayshortskip = 6.5pt plus 3.5pt minus 3pt
\lipsum[1]
A short line,
\[ \int \mathrm{1 math}\int \]
\[ \int \mathrm{2 math}\int \]
\lipsum[1]
\[ \int \mathrm{3 math}\int \]
\[ \int \mathrm{4 math}\int \]
\[ \int \mathrm{5 math}\int \]
\lipsum[1]
\end{document}
\[ ...\]
machinery, e.g., by setting a negative value for\abovedisplayshortskip
and by using\[ ...\]
to typeset consecutive displayed equations. I find it neither surprising nor troubling that the output of such a dubious exercise doesn't "look right". Could you maybe tell us more about your intended use case? – Mico May 2 '20 at 9:01\[...\]
to write consecutive equations? What would be the alternative? I like my notes to be as compact as possible – josh May 2 '20 at 9:33align
andgather
come to mind. – oliversm May 2 '20 at 11:29