
我想將長文本拆分為方程式。我也嘗試過拆分和多行,但不起作用。你能提供一些建議嗎?
答案1
\documentclass[a4paper]{article}
\usepackage{amsmath}
\begin{document}
How split these equation?
\begin{equation*}
\begin{split}
f+g+h+j+gf+hg+gf+g & =\text{sdgdsgdsgdsgsdgsdgsdgsdgsdgdgfgfgfgsfgfg}\\
& = \text{sdgdsgdsgdsgsdgsdgsdgsdgsdgdgfgfgfgsfgfg}\\
& = \text{sdgdsgdsgdsgsdgsdgsdgsdgsdgdgfgfgfgsfgfg}
\end{split}
\end{equation*}
\end{document}