
这可能很奇怪,我想为每一页(包括每章的第一页)制作页眉和页脚,我该怎么做?
答案1
例如,如果你使用fancyhdr
,你可以写
\makeatletter
\let\ps@plain\ps@fancy
\makeatother
在您的序言中。然后,所有章节的第一页(原本是平淡的风格)都会显示花哨的风格。或者使用\fancypagestyle{plain}{}
,请参阅fancyhdr
手册。
或者改用,或者通常在.\let\ps@plain\ps@headings
后使用页面样式名称,代表普通的页面样式,可以通过这种方式重新分配。\ps@
\ps@plain