I'm trying to typeset a proof with Latex. When I do proofs, I like to alternate between a line of text, to explain each step, and the resulting equation. I also like to have the equations align at the =
.
I can do this quite easily with begin{align}
and \intertext{}
. My issue, though, is that I would now like to put an equation into the \intertext
. Essentially, it's a side equation which isn't directly part of the proof but is important to get from one step to the next.
Obviously, I could just abandon begin{align}
and alternate between text mode
and math mode
, but then lines of my proof wouldn't be aligned at the =
.
Is there some way that I can force \intertext
to accept my equation? Otherwise, what do people generally do when they have an equation that's important to the proof but not part of the direct logic?
Thanks in advance for your advice!
\intertext
is text and if you want to enclose maths within you need the$$
or\(..\)
. Posting your MWE post answer is also fine.