I have three mathematical equations which I would like to have typeset in one block such that they are aligned at the equality sign = and the following comment.
Up until now, I've been using eqnarray
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{eqnarray}
\begin{aligned}
aaa & = b &\text{ in } Q\\
c & = d &\text{ in } \Sigma\\
e & = fff &\text{ in } \Omega
\end{aligned}
\end{eqnarray}
\end{document}
but I understand that this environment is obsolete (as per l2tabu).
What would be a better alternative?


eqnarrayvsalign– Werner Jan 11 '14 at 17:47