Today I found out the existence of the aligned
environment of the amsmath
package. However, I can't see the advantage of using it instead of the array
environment from the example provided in amsldoc.pdf, Sec.3.7. In particular, as I can just get almost the same result by using the array
environment:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation*}
\left.\begin{aligned}
B'&=-\partial\times E,\\
E'&=\partial\times B - 4\pi j,
\end{aligned}
\right\}
\qquad \text{Maxwell’s equations}
\end{equation*}
\begin{equation*}
\left.\begin{array}{l}
B'=-\partial\times E,\\
E'=\partial\times B - 4\pi j,
\end{array}
\right\}
\qquad \text{Maxwell’s equations}
\end{equation*}
\end{document}
giving the output
What are the differences, and why should one be preferred over the other in this context?