我正在使用这个代码:
\documentclass{book}
\usepackage{fancyhdr}
\usepackage{fourier-orns}
\pagestyle{fancy}
\renewcommand\headrule{\hrulefill
\raisebox{-2.1pt}[10pt][10pt]{\quad\decofourleft\decotwo\decofourright\quad}\hrulefill}
\setlength{\headheight}{24.7pt}
\begin{document}
\chapter{First Chapter}
text of first chapter
\chapter{Second Chapter}
text of second chapter
\end{document}
我想删除出现在第二页的文本 CHAPTER 1. FIRST CHAPTER ...
答案1
我刚刚添加\fancyhead{}
(并\lipsum
测试偶数/奇数页)。
\documentclass{book}
\usepackage{fancyhdr}
\usepackage{fourier-orns}
\usepackage{lipsum}
\pagestyle{fancy}
\fancyhead{}
\renewcommand\headrule{\hrulefill
\raisebox{-2.1pt}[10pt][10pt]{\quad\decofourleft\decotwo\decofourright\quad}\hrulefill}
\setlength{\headheight}{24.7pt}
\begin{document}
\chapter{First Chapter}
text of first chapter\lipsum[1-30]
\chapter{Second Chapter}
text of second chapter
\end{document}
为了比较,原始标题是