aligning multi-line equations
WARNING: Please update your bookmarks! The content of this site has been moved to http://dille.name where it will be updated as needed. This page will remain unchanged.
it often make reading equations a lot easier when breaking them up across lines:- aligned equation with a number on each line: the equation is aligned at the & character. this feels quite like a tabular environment.
\begin{align} (a + b)^2 &= a^2 + 2ab + b^2 \\\ &= b^2 + 2ba + a^2 \\\ &= (b + a)^2 \\\ \end{align} - aligned equation with a single number:
\begin{equation} \begin{split} (a + b)^2 &= a^2 + 2ab + b^2 \\\ &= b^2 + 2ba + a^2 \\\ &= (b + a)^2 \\\ \end{split} \end{equation}



