我的论文中有很多长方程式。我的 pdf 文件有问题。如何在整篇文章中显示方程式?
\documentclass{article}
\usepackage{amsmath}
\allowdisplaybreaks
\begin{document}
Hi
\begin{equation}
\begin{align}
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
\end{align}
\end{equation}
Allow display breaks everywhere
Hi
\begin{equation}
\begin{align}
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
\end{align}
\end{equation}
Allow display breaks everywhere
\end{document}
答案1
你equation
破坏了的行动\allowdisplaybreaks
。(我假设这里不需要带有 4 个结果页面的图片)。
\documentclass{article}
\usepackage{amsmath}
\allowdisplaybreaks
\begin{document}
Hi
%\begin{equation}
\begin{align}
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
\end{align}
%\end{equation}
Allow display breaks everywhere
Hi
%\begin{equation}
\begin{align}
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
& a \\
\end{align}
%\end{equation}
Allow display breaks everywhere
\end{document}