TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm writing my final report in LaTeX for my bachelor's degree. I'm aiming at having a document similar to the .doc template used normally.

I want to have my customs headers and footers applied on pages when I'm starting a new chapter.

I'm using documentclass report with fancyhdr and lastpage packages.

My headers are defined like this:

\cfoot{\thepage\ of \pageref{LastPage}}

My chapters are created using standard \chapter{title} macro.

On pages with new chapters, the only headers/footers I see is the standard page number at the bottom.

What should I do?

EDIT: I've finally gone with Peter Breitfeld's solution. I'Ve gone a step further and created my own chapter command:


Thanks for the help!

share|improve this question
up vote 4 down vote accepted

LaTeX by default switches to \pagestyle{plain} on pages with \chapter{...}. You have to overwrite this:





\thispagestyle{fancy}    %% <---- switch
some Text

 some more text

share|improve this answer
You should better redefine the plain pagestyle as described in the documentation of fancyhdr – Ulrike Fischer Mar 30 '12 at 20:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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