[Tex/LaTex] How to change the formatting/font of page numbers


So, I'm using the article class, and I'd like to make the page number smaller, and set it in a different font. I don't need to create a new pagestyle, necessarily, and I'm hesitant to do so without understanding the ramifications.

Best Answer

Thanks for the suggestion to use fancyhdr/redefine page styles. From the fancyhdr manual:

\fancyhf{} % clear all header and footer fields
\fancyfoot[C]{\sffamily\fontsize{9pt}{9pt}\selectfont\thepage} % except the center