我想在文章中包含仅包含文本的方程式(在某些情况下可能会包含一些数学运算),以便保持正确的格式。我尝试使用 \mbox,但文本太大以至于超出了行。如何以这种方式包含文本,以便保留所有格式。
\begin{equation}\label{key} The product of two complex numbers is given by the vector whose angle is the sum of the angles of the two complex numbers and whose magnitude is the product of the magnitudes of the \end{equation}
谢谢
答案1
您可以将\text{}
-command 与amsmath
-package 一起使用或\parbox{width}{text}
来获取换行符。
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}\label{key}
\parbox{0.9\textwidth}{The product of two complex numbers is given by the vector whose angle is the sum of the angles of the two complex numbers and whose magnitude is the product of the magnitudes of the}
\end{equation}
\end{document}