gpt4 book ai didi

latex - 如何将 "pages of floats"与顶部边缘对齐?

转载 作者:行者123 更新时间:2023-12-04 12:14:57 27 4
gpt4 key购买 nike

如果我在[p]环境的放置说明符中包括\begin{figure},则可能将图形浮点数放置在专用页面上。但是,至少在“书”文档类中, float 元素在这些页面上垂直居中。

如何强制所有“页面 float ”都与上边距对齐(就像普通的文本页面一样)?

最佳答案

我相信您的答案是UK TeX FAQ:

\@fptop defines the distance from the top of the page to the top of the first float



简单的解决方法是在您的序言中重置\@fptop:
\makeatletter
\setlength{\@fptop}{0pt}
\makeatother

但是,您可能会发现这有点太高了,因此您可能想要5pt之类的东西。 (无论如何,FAQ条目非常值得一读;它比我在这里更深入地解释了正在发生的事情。)

关于latex - 如何将 "pages of floats"与顶部边缘对齐?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2229239/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com