I want to effectively make it look like this
\documentclass{article}
\usepackage{amsmath,calc}
\begin{document}
\begin{gather*}
1 + 1 = 2 \\
2 + 2 = 5
\end{gather*}
\vspace{1ex-\baselineskip}
\noindent Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
\end{document}
Here are the things I've tried so far and their issues
- The above example: Makes a new paragraph, requiring adjusting by
-\baselineskipand using\noindent. - Not having the empty line: Space is inserted between the two lines of regular text, rather than between the math and the first line.
- Using
\vspacebefore the\end{gather*}: Does nothing (I think\vspaceis ignored in math blocks). - Using
\\[\dimeval{1ex-\baselineskip}]before the\end{gather*}: Requires adjusting by-\baselineskip, and therefore needs\dimevalbecausecalcdoesn't support\\[]. - Setting
\belowdisplayskip: I only want this change to apply to this one display math block, so I would need to reset it afterwards or put it inside a group, which is annoying. - Setting
\belowdisplayskipinside thegather*: Does nothing.
I'd appreciate any other ideas on how to do this. Solutions 3 or 6 would be perfect if they worked, or solution 1 if there was a way to tell it to insert the space before the current line (removing the need for-\baselineskipand\noindent). I'm thinking I might just define a macro that expands to\\[\dimeval{#1-\baselineskip}].
