The following code
\begin{equation} \label{eq:test}
\begin{aligned}
A=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\\
B=BBBBBBBBBBBBBBBB\\
C=CCCCC, D=DDDDDDD\\
E=EEEEE, F=FFFFFFF
\end{aligned}
\end{equation}
Alligns the equations from right while I need them to be at the center. Using gather
does not allow me to give number to my equation. What is the standard way to implement what I intend to do?
aligned
withgathered
?Package amsmath Error: \begin{gather} allowed only in paragraph mode \begin{gather}
gathered
, notgather
. (See also the code in my answer.)