Hide page numbering but retain header/footer
The standard page style doesn't allow disappearing only the footer. However I can imagine two possibilities.
- You can define your own page style with the required header and without any footer. This new defined page style can be used with
\thispagestyle
. - On the other hand you can use declaration commands of the footer (e.g.
\cfoot
) inside the document body. If you want to suppress the footer on a page your can do\cfoot{}
. Be aware that you have to activate the footer on the next page with\cfoot{\thepage}
. You can simplify the process by definition two new commands:\def\nofoot{\cfoot{}}
and\def\withfoot{\cfoot{\thepage}}
.