\[ \] alignement latex code example Example: latex align equation \begin{align} (a+b)^2 &= (a+b)(a+b) \\ &= a^2+2ab+b^2 \end{align}