Originally Posted by

**Unknown008** You could end the LaTeX and start on another line with another LaTeX.

However, you can use the table format too.

\begin{array}{rcl}

a(b+c) + b(a + c) &=& ab + ac + ab + bc \\

&=& 2ab + ac + bc

\end{array}

$\displaystyle \begin{array}{rcl}

a(b+c) + b(a + c) &=& ab + ac + ab + bc \\

&=& 2ab + ac + bc

\end{array}$

Testing a little.

$\displaystyle a(b+c) + b(a + c) = ab + ac + ab + bc \\

= 2ab + ac + bc$

Nope, the \\ doesn't work outside the array command.

I think it's just easier to do

$\displaystyle \begin{aligned}x &= y\\ &= z\end{aligned}$