I've searched and read the answers for this problem all over the web. However, it seems something else is wrong with my document. I'm using the book document class in latex. I have not used any \pagestyle{empty} or anything else anywhere. But why page numbering only appears on the first page of each chapter, instead of every page of the document? Please tell me how can I get it on all pages.

Here is my preamble:

\usepackage[top=40mm, bottom=40mm, left=25mm, right=25mm]{geometry}
\fancyhead[LE,RO]{\changefont \slshape \rightmark} %section
\fancyhead[RE,LO]{\changefont \slshape \leftmark} %chapter


And here is my document:





\addcontentsline{toc}{chapter}{List of Figures}

\addcontentsline{toc}{chapter}{List of Tables}



\printbibliography[heading=bibintoc, title={Bibliography}]


Again, I have not used any \pagestyle{...} command in chapters or appendices.


The main page style is set to fancy via


Also the headers and footers (in order to set them to suit your needs) are completely cleared via


You never use \thepage anywhere. Perhaps you're after


as part of your style so that it matches the plain page style (set as the first page of every \chapter).

  • Thank you so much. It was \fancyfoot[C]{\thepage}. – leo Jan 24 at 6:05

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.