什么可以让 align 使用这么多的间距?

什么可以让 align 使用这么多的间距?

对于没有创建编译示例,我深表歉意,但是当尝试将相关代码复制到空的 .tex 项目时,这种现象并没有出现。

我有以下代码:

When queried for $x$, the algorithm outputs
\begin{align*}
\widehat{f^W_x} = \blockSize\cdot\sumOfOverflows[x]+\parentheses{\SSSInstance_{\window+\frameOffset} \mod \blockSize}
\end{align*}

Finally, we bound the error of the algorithm:
\begin{align*}
\widehat{f^W_x} &= \blockSize\cdot\sumOfOverflows[x]+\parentheses{\SSSInstance_{\window+\frameOffset} \mod \blockSize}\\
&=_{\eqref{eq:modulu}} \blockSize\cdot\sumOfOverflows[x] + \SSSInstance_{\window+\frameOffset}-\blockSize\cdot\sum_{t=W}^{\window+\frameOffset}{\overflowIndicator_t}\\
&\le_{\eqref{eq:ss-approx}} \blockSize\cdot\sumOfOverflows[x]+\sum_{t=\window}^{\window+\frameOffset}{x_t}+\blockSize-\blockSize\cdot\sum_{t=\window}^{\window+\frameOffset}{\overflowIndicator_t}\\
&\le_{\eqref{eq:overflow-count}}\blockSize\cdot\sum_{t=\frameOffset+1}^{\window+\frameOffset}{\overflowIndicator_t}+\sum_{t=\window}^{\window+\frameOffset}{x_t}+\blockSize-\blockSize\cdot\sum_{t=\window}^{\window+\frameOffset}{\overflowIndicator_t}
%\\&=\sum_{t=\frameOffset+1}^{\window+\frameOffset}{\overflowIndicator_t}+\sum_{t=\window}^{\window+\frameOffset}{x_t}+\blockSize-\blockSize\cdot\sum_{t=W+1}^{M+W-1}{\overflowIndicator_t}
\end{align*}

它创建以下 pdf 片段:

在此处输入图片描述

看起来不错。

现在,如果我尝试从 align* 结构的最后一行删除注释(即,向方程流添加一行),它会在对齐部分之前/之后添加大量空间:

在此处输入图片描述

当尝试在干净的项目上重现该问题时,我必须删除eqrefs,但随后它就起作用了,所以这可能与该问题有关。

任何帮助都将不胜感激!

相关内容