My equation is very long. How do I get it to continue on the next line rather than go off the page?
How to have linebreaks in the long LaTeX equations
latex
latex
My equation is very long. How do I get it to continue on the next line rather than go off the page?
Best Answer
If your equation does not fit on a single line, then the
multline
environment probably is what you need:If you also need some alignment respect to the first part, you can use
split
:Both environments require the
amsmath
package.See also
aligned
as pointed out in an answer below.