28

In my \documentclass{article}, I would like the last few pages (in essence appendix) to be without numbers, but retain the header (\thispagestyle{empty}) is so out of the question). Is there a way to turn off only page numbering? I use fancyhdr to construct my headers.

2 Answers 2

44

How stupid of me. After I submitted my question, my search led me to this page that solves the problem by using \pagenumbering{gobble}.

2
  • 7
    A couple of years too late to say this perhaps but "not stupid at all, sir!". You pretty much just saved my (academic) life!
    – dearN
    Feb 28, 2013 at 13:35
  • @Roman: It's a good idea to mark your own answer as accepted if it solves your problem.
    – Lii
    Sep 2, 2013 at 17:30
3

With the fancyhdr package, you can avoid page numbers simply by doing:

\fancyfoot{}

And you can still use \pagestyle{fancy} or anything else than \pagestyle{empty}.

1
  • Not sure why but this didn’t work for me.
    – Roly
    May 28, 2023 at 15:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .