I'd like to align multiple equations below each other such that the central operator is always centered, but have a column for commenting on the right and a column for \iff-arrows and \Rightarrow-arrows on the left. This is as far as I got:
\begin{align*}
&& A &\aprecdot \mathfrak{G}^{\signminus 1}_1(\mathfrak{G}(C))
&& \text{by \eqref{eq:C}} \\
\iff && \mathfrak{G}(A) &\cprecdot \mathfrak{G}(\mathfrak{G}^{\signminus 1}_1(\mathfrak{G}(C)))
&& \text{by \eqref{eq:D}} \\
\iff && \mathfrak{G}(A) &\cprecdot \mathfrak{G}(C)
&& \text {by axiom 1.} \\
\iff && \mathfrak{G}^{\signminus 1}_1(\mathfrak{G}(A)) &\aprecdot \mathfrak{G}^{\signminus 1}_1(\mathfrak{G}(C)) \\
\iff && A &\aprecdot B
\end{align*}
It works quite well, but the problem is that if I have several of these below each other, separated by text, this looks ugly because the column widths are quite different. Therefore I want to put the \iff-arrows to the left border and the comments, while left-aligned, at a fixed distance from the right border. How can I do this?
Thanks in advance.
\aprecdot
,\cprecdot
and\signminus
should be defined.\intertext
or\shortintertext
(requiresmathtools
) within a singlealign*
structure.flalign
environment might be what you need.\newcommand{\cprecdot}{\mathbin{\prec\!\!\! \cdot}}
,\newcommand{\aprecdot}{\mathbin{\dot{\ast}}}
and\newcommand{\signminus}{\scalebox{0.5}[1.0]{$-$}}
. That shouldn't matter though