I would like to remove page numbering on a specific page. However, the header and footer should remain intact. If I try:
\thispagestyle{empty}
The header and footer disappear. What is the recommended way of removing just the page number?
The standard page style doesn't allow disappearing only the footer. However I can imagine two possibilities.
\thispagestyle
. \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}}
.\cfoot{}
for page containing large floating table?
Commented
Feb 6, 2018 at 19:27
\usepackage{fancyhdr} % Uses the fancyheadr package
\fancyhf[L]{\underline{MYCONTENT}} % Above justifies Left in header and footer "MYCONTENT".
\fancyfoot[C]{} % Removes the page number from Center of the footer.
As learned from the documentation of fancyhdr
package dated January 31, 2019.
I hope this helps.
\thispagestyle{mypagestyle}
cfoot
inside the document. E.g.\def\nofoot{\cfoot{}}
and\def\withfoot{\cfoot{\thepage}}
: Now you can call\nofoot
on pages with no footer. But you have to activate the footer on the next page with\withfoot
.\cfoot{}
works for my purpose. Could you provide this as an answer to accept it?