-
Notifications
You must be signed in to change notification settings - Fork 76
Description
When a block of aligned equations appears within a proof, there is supposed to be one equation number that may be used for referencing this block. Unfortunately, there seems to be no configuration which results in this behavior.
When using \begin{split}...\end{split}
, no equation number is shown. When using \begin{align}...\end{split}
, every line in the aligned block gets a number. This shouldn't be, because (i) there is just one equation label per such block, so referencing does not work anymore and (ii) sometimes multiple lines do not represent multiple equations, but just multiple parts of a sum or product.
Below comes an example from Proofs/mvn-ltt.md
and a screenshot of what it generates:
$$ \label{eq:y-mgf-s1}
\begin{split}
M_y(t) &= \mathbb{E} \left( \exp \left[ t^\mathrm{T} (Ax + b) \right] \right) \\
&= \mathbb{E} \left( \exp \left[ t^\mathrm{T} A x \right] \cdot \exp \left[ t^\mathrm{T} b \right] \right) \\
&= \exp \left[ t^\mathrm{T} b \right] \cdot \mathbb{E} \left( \exp \left[ t^\mathrm{T} A x \right] \right) \\
&= \exp \left[ t^\mathrm{T} b \right] \cdot M_x(At) \; .
\end{split}
$$
$$ \label{eq:y-mgf-s2}
\begin{align}
M_y(t) &= \exp \left[ t^\mathrm{T} b \right] \cdot M_x(At) \\
&= \exp \left[ t^\mathrm{T} b \right] \cdot \exp \left[ t^\mathrm{T} A \mu + \frac{1}{2} t^\mathrm{T} A \Sigma A^\mathrm{T} t \right] \\
&= \exp \left[ t^\mathrm{T} \left( A \mu + b \right) + \frac{1}{2} t^\mathrm{T} A \Sigma A^\mathrm{T} t \right] \; .
\end{align}
$$
How can we solve this problem? Any suggestions appreciated!