1

I am using this code :

\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}

I'd like to remove the text CHAPTER 1. FIRST CHAPTER that appears in the second page ...

2

I just added \fancyhead{} (and \lipsum to test even/odd pages).

\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}

enter image description here

For comparison, the original header was

enter image description here

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.