3

I am using fancyhdr to make header and footer for pages. In the minimal example the footer is not appearing in the first page of chapter. I want footer to be appear in the first pages of the chapter also. Please help me to do that.

\documentclass[10pt,a4paper, twoside]{report}
\usepackage[latin1]{inputenc}
\usepackage{fancyhdr}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\author{Padmapriya}
\pagestyle{fancy}
\fancyfoot[LE, RO]{Apurba Paul}
\fancyfoot[LO, RE]{Using fancyhdr}
\title{Using fancyhdr}
\author{Apurba Paul}
\date{}
\begin{document}
\maketitle
\chapter{First Chapter}
content of the first title.
\clearpage
content of the next page

\end{document}
7

The first page of a chapter is typeset using the plain pagestyle so that it stands out from other pages. You can modify it with something like:

\fancypagestyle{plain}{%
\fancyfoot[LE, RO]{Apurba Paul}
\fancyfoot[LO, RE]{Using fancyhdr}}

to change the style so your footer is also on the first page of a chapter, leaving the default header unchanged.

  • 4
    +1 @Chris. For future reference, it might be a good idea to indicate that this is explained in section 7 of the fancyhdr manual. – jub0bs May 18 '13 at 16:32

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.