MathJax, at least as used on MO, recognises many multi-line environments, like {multline}
, {align}
, and {gather}
. However, it does not seem to recognise \intertext
for a quick interjection in the middle of a group of related equations. Is there any analogue of \intertext
in MathJax, possibly by \require
ing an appropriate package?
Here's what I want to work, although it does not (edited in response to @FrançoisG.Dorais's comment to explain why I don't just end one environment and begin another—namely, that I want to preserve align
ment points):
\begin{align*}
1 + 1 & {}= 2
\intertext{and}
1 + 2 & {}= 3.
\end{align*}
\intertext
is to add less space between the two equations than the trivial solution\begin{gather*}...\end{gather*}and\begin{gather*}...\end{gather*}
. There is no better way to do this while making sure that the inter-text is processed just as regular text, but then regular spacing rules apply. $\endgroup$\begin{gather}1 + 1 = 2\\ \text{and}\\1 + 2 = 3.\end{gather}
\begin{gather}1 + 1 = 2\\ \text{and}\\1 + 2 = 3.\end{gather} $\endgroup${gather*}
; but, despite my poor choice of that as an example, I'm mainly interested in{align*}
, and ending an{align*}
and beginning a new one loses all the alignments (I think?). $\endgroup${align*}
, which was, despite my puzzlingly not saying so, my reason for not wanting to end a multi-line environment). It's not left-aligned, and unfortunately\hfill
does not convince it to be either, but beggars can't be choosers. $\endgroup$\intertext
is NOT only to have less space between two displayed lines than there would otherwise be. Rather, it makes the vertical alignment below\intertext
match the vertical alignment above\intertext
. $\endgroup$