以下幾種方法都有自己的適用場景,我們可以根據自己的實際情況酌情選擇:
方法一:斷行
原來的公式:
\begin{equation}
this is a very long equation.
\end{equation}
修改後的公式:
\begin{equation}
\begin{aligned}
this is & a very \\
long & equation.\\
\end{aligned}
\end{equation}
方法二:適量縮小公式間距 微調公式長度
原來的公式:
\begin{equation}
this is a very long equation.
\end{equation}
修改後的公式:
\begin{equation}
this \! \! is \!\! a \! very \! long \! equation.
\end{equation}
方法三:變小字體
原來的公式:
\begin{equation}
this is a very long equation.
\end{equation}
修改後的公式:
{\small
\begin{equation}
this is a very long equation.
\end{equation}
}
除了\small
之外,大小依次遞減還可以選擇\footnotesize
,\scriptsize
。