如何在公式中插入段落。我需要能够在段落内换行。
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}
y =& C_1e^{(3+2i)x} + C_2e^{(3-2i)x} \\
& \left\downarrow\rule{0cm}{1.5cm}\right.\quad\text{Insert text here with line breaks}\\
y =& e^{3t}\left(A_1\cos 2t + A_2\sin 2t\right)
\end{align*}
\end{document}
答案1
添加\parbox
:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}
y =& C_1e^{(3+2i)x} + C_2e^{(3-2i)x} \\
& \left\downarrow\rule{0cm}{1.5cm}\right.\quad\text{%
\parbox{2.5cm}{Insert text here with line breaks}}\\
y =& e^{3t}\left(A_1\cos 2t + A_2\sin 2t\right)
\end{align*}
\end{document}