如何解决页脚是否出现在页面下方

问题描述 投票:0回答:1

对于前两页,页码位于正确的位置,然后对于第3页和第4页,它会降落到转换为pdf时不会显示的位置。

% Footers
\lfoot{} % Define left footer
\rfoot{Page \thepage \hspace{1pt} of \pageref{LastPage}}

\cfoot{}% Define center footer

enter image description here

latex
1个回答
0
投票

您的\footheight\headheight太小。 fancyhdr将在.log文件中通知您有关此问题,并为您提供所需的最小值。然后您可以将其增加到合适的值,例如与

\setlength{\headheight}{10pt}
© www.soinside.com 2019 - 2024. All rights reserved.