我只想将页码保留在底部而没有标题。但是使用以下命令,我仍然在标题中获取章节名称和章节
\pagestyle{fancy}
\renewcommand\headrulewidth{0pt}
\lhead{}\chead{}\rhead{}
\cfoot{\vspace*{1.5\baselineskip}\thepage}
预先感谢
答案 0 :(得分:1)
\pagestyle{plain}
应该注意这一点。对于单页\thispagestyle{plain}
http://www.ctex.org/documents/packages/layout/fancyhdr.pdf
答案 1 :(得分:1)
fancyhdr文档说明了问题。
某些LATEX命令(例如\ chapter)使用\ thispagestyle命令自动切换 更改为普通页面样式,从而忽略当前有效的页面样式。甚至定制 您必须重新定义普通页面样式的页面。
这表明
\fancypagestyle{plain}{%
\fancyhf{} % clear all header and footer fields
\fancyfoot[C]{\bfseries \thepage} % except the center
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}}