枚举内的 Align* 超出边距

枚举内的 Align* 超出边距

我正在写论文,枚举环境中有很多 align* 环境。我必须使用 align* 环境,因为我有大量的数学方程式,它们被分成多行。然而,文本经常超出边距,甚至没有显示警告。为什么会发生这种情况以及如何避免?以下是一个例子

\documentclass[draft]{report}
\usepackage{amsmath}
\usepackage{showframe} 

\begin{document}

\begin{enumerate}
\item  No warning
\begin{align*}
blahblahblahblahblahblahblahblahblablahblahblahblahblahblahblablahblahblah
\end{align*}
\item But we see warning here
\begin{align*}
blahblahblahblahblahblahblahblahblablahblahblahblahblahblahblablahblahblahblah
\end{align*}
\end{enumerate}

and also here
\begin{align*}
blahblahblahblahblahblahblahblahblablahblahblahblahblahblahblablahblahblahbl
\end{align*}

\end{document}

答案1

在最新版本的 amsmath 中,你确实会从第一次收到警告

Overfull \hbox (20.35115pt too wide) detected at line 11

引发

addmargin、enumerate 和 align* 错过溢出的水平盒子

相关内容