我想从第二页开始在每一页上重复某些代码块。这是假设已定义页眉。有没有可以检测页数的包?
谢谢
答案1
使用两种页面样式,例如first
和main
。然后在您的文档中执行以下操作:
\documentclass...
% define the first and main pagestyles, or use existing ones
% ...
\pagestyle{main}
\begin{document}
% some text (which might set its own page style)
\thispagestyle{first} % for the first page
% more text on the first page then \pagestyle{main} comes into effect on the following pages