How can I have linebreaks in my long LaTeX equations?

后端 未结 11 592
广开言路
广开言路 2020-12-22 20:28

My equation is very long. How do I get it to continue on the next line rather than go off the page?

11条回答
  •  时光说笑
    2020-12-22 20:53

    This worked for me while using mathtools package.

    \documentclass{article}
    \usepackage{mathtools}
    \begin{document}
        \begin{equation}
            \begin{multlined}
                first term \\
                second term                 
            \end{multlined}
        \end{equation}
    \end{document}
    

提交回复
热议问题