首页 > 解决方案 > 章节第一页没有页眉

问题描述

我在我的 Latex 文档中使用 scrpage2 包在每个页面上生成标题。现在我得到一个标题,上面写着当前章节的名称和一个下划线。但是我不想在每章的第一页都有这个标题,我该怎么做?

这是我的代码:

\usepackage[plainheadsepline,headsepline]{scrpage2}

\pagestyle{scrheadings}

\ihead[\sffamily \upshape \bfseries \headmark]{\sffamily \bfseries \upshape \headmark}

\chead[]{}

\ohead[]{}

\ifoot[]{}

\cfoot[]{}

\ofoot[\sffamily \pagemark]{\sffamily \pagemark}

\automark[]{chapter}

\renewcommand*{\chapterheadendvskip}{\vspace*{1\baselineskip}}

标签: latex

解决方案


该命令\thispagestyle{empty}应专门从一页中删除标题。


推荐阅读