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