如何删除乳胶中的标题?

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

我只想将页码保留在底部而没有任何标题。但是使用以下命令我仍然在标题中获取章节名称和部分

\pagestyle{fancy}
\renewcommand\headrulewidth{0pt}
\lhead{}\chead{}\rhead{}
\cfoot{\vspace*{1.5\baselineskip}\thepage}

提前致谢

header latex
2个回答
1
投票

fancyhdr doc解释了这个问题。

某些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}}

1
投票

\pagestyle{plain}应该照顾好这一点。单页\thispagestyle{plain} http://www.ctex.org/documents/packages/layout/fancyhdr.pdf

© www.soinside.com 2019 - 2024. All rights reserved.