I'm using ntheorem, with a proof environment that roughly works like
\newenvironment{proof}{\par\textbf{Proof} }{}
My proofs are just blocks of align, so I want to get rid of the long space between “Proof” and the first line of the equation. This could be done like
\begin{flalign}
&\text{\textbf{Proof} to show: }& x &= y &\\
&& more & math
\end{flalign}
But the “Proof” text comes from the environment, I can't move it into the flalign. So I tried to just set the first math baseline to the last text baseline which would allow writing:
\documentclass{minimal}
\usepackage{amsmath}
\setlength{\textwidth}{7cm}
\begin{document}
\newlength{\antiskip}
\setlength{\antiskip}{\abovedisplayskip}
\addtolength{\antiskip}{\baselineskip}
% Ok
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac,
\begin{align}\noalign{\vskip-\antiskip}
\qquad\text{baseline } x^2
\end{align}
% Breaks
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac,
\begin{align}\noalign{\vskip-\antiskip}
\qquad\text{baseline } \sum_{i=0}^n
\end{align}
% Desired outcome (yes, really)
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac,
\begin{align}\noalign{\vskip-\antiskip\vskip-1.5ex}
\qquad\text{baseline } \sum_{i=0}^n
\end{align}
\end{document}

TL;DR: I want it to look like (3)


standardoption loaded inntheorempackage, there is a predefinedprooftheorem environment. – hpesoj626 Feb 2 at 6:53