Saturday, June 18, 2011

Removing Page Numbers from Latex document

This should be easier, right? But no, with such a powerful document preparation system and TeX typesetting program, authors have too much power in their hands (or document class/style file). A simple suggestion is to use \thispagestyle{empty} after \maketitle tag to overwrite the style file and remove the page numbers. However, some style files will over-power this approach and still print the page numbers on all pages (except the first one).

My suggestion? add \pagestyle{empty} tag and the page numbers from all the pages will be removed. So your final code will be:


\maketitle
\thispagestyle{empty}
\pagestyle{empty}

No comments:

Post a Comment