删除页面顶部的填充

删除页面顶部的填充

我正在使用一组强制样式撰写论文。它们在方程式和表格等内容上方添加垂直间距。但是,如果带有填充的项目是页面上的第一个项目,则不应该有填充。说明说要在 PDF 编辑器中打开它并将内容拉到这些页面上。

我可以添加一些内容来告诉乳胶:当它是页面上的第一个项目时,不要在任何内容上方放置任何垂直间距。

Given two object attribute vectors, such as $A$ and $B$ in Figure \ref{fig:triangle}; vector cosine defines similarity as the cosine of the angle, $\Theta$, $
Equation \ref{eq:vectorcosine} calculates vector cosine using ``dot product'' and ``magnitude'' vector operations.
The result will be -1 when the $\Theta$ is 180$^\circ$, 0 when $\Theta$ is 90$^\circ$, and 1 when $\Theta$ is 0$^\circ$.
Therefore, it is possible to infer that -1 means $A$ is opposite of $B$ while 1 means that $A$ is the same as $B$.

\begin{equation}
\textrm{S}(A,B) = \cos(\theta) = \frac{A\cdot B}{\left\Vert A\right\Vert \left\Vert B\right\Vert}
\label{eq:vectorcosine}
\end{equation}

答案1

垂直空间总是在页面开头被丢弃,但如果文档中输入了不正确的内容(在显示的数学式之前有空白行),那么等式上方的“空间”就不是垂直跳跃,而实际上是伪单行段落,该行仅由缩进框和\parfillskip粘连组成。作为水平框,它不会在页面顶部被丢弃(也不会在页面内拉伸)。

相关内容