#Latex Break Long Equation | Rumus Panjang

There are many ways to break a long equation in Latex. The simple way is using the mathtools package. The example of Latex code as follows:

Suppose that we have following equation:

$X=x_1+x_2+x_3+x_4+x_5+x_6$

 \usepackage{mathtools} \begin{equation*} X= \begin{split} x_1+x_2+x_3+ \\ x_4+x_5+x_6\end{split} \end{equation*} 
Or …

 \usepackage{mathtools,breqn} \begin{dmath*} X= % \begin{split} x_1+x_2+x_3+ \\ x_4+x_5+x_6 \end{split} \end{dmath*} 
The output

Iklan