I'm trying to modify the font size of my page numbers in footers, but running into problems with the chapter page when using an epigraph. Here is my MWE:

\usepackage{epigraph, fancyhdr}


% clear plain page style
\fancyfoot[C]{\changefont \thepage}


\fancyhead[LE]{\changefont \slshape \rightmark}
\fancyhead[RO]{\changefont \slshape \leftmark}
\fancyfoot[C]{\changefont \thepage}

\ \thechapter.\ #1}{}}



\fancyhead[LE,RO]{\changefont \slshape Acknowledgements}
\fancyfoot[C]{\changefont \thepage}

\epigraphhead[70]{\epigraph{The isolated man does not develop any intellectual power. It is necessary for him to be immersed in an environment\ldots}{Alan Turing}}

Acknowledgements go here.


I've tried changing the epigraph pagestyle with the modified footer, using

\fancypagestyle{epigraph}{\fancyfoot[C]{\changefont \thepage}}

but this removes my epigraph. Any ideas?

1 Answer 1


The correct way to modify the size of the page number in the footer is by redefining the \epigraphhead macro, which sets the page-style for that page (in which \epigraphhead[...]{...} is provided) using \ps@epigraph command. This can't be done using \fancypagestyle{epigraph}{\fancyfoot[C]{\changefont \thepage}}, as this removes the epigraph itself. The position and placement of epigraph is handled by this macro along with the pagestyle definition.

The right way is to add the macro just before \begin{document}:


Note: I have added \changefont to the definition of \@oddfoot.

There is also a \reset@font command provided in the \@oddfoot macro. We can also change the font size by setting \changefont to \reset@font without the above provided tweak. I think this will not be a good idea, since \reset@font work as \normalfont in core macros.

  • Excellent! This worked perfectly. Jul 26, 2013 at 16:59
  • @Jagath AR: is there a simple way to just have the "normal" page style (as without the \epigraphhead command)?
    – Dan
    Nov 25, 2013 at 20:35

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.