Getting rid of page numbers from a latex document is a tricky thing to do :) sometimes you do not want page numbers in your document but the document class or style file you are using puts page numbers...
many websites/manuals/blogs suggest the use of \thispagestyle{empty} after \maketitle tag to overwrite the style file and remove the page numbers. But some style files will still print the page numbers on all pages except the first one... if this is the case then add \pagestyle{empty} tag and the page numbers from all the pages will be removed :)... the code will look like
\maketitle
\thispagestyle{empty}
\pagestyle{empty}
this trick worked in my case where i was using ieeetr.cls as document class... i hope it works for other cases as well...
************************************************************************
The following things copied from comments section may also help (I thank the people who commented):
Instead I use
\renewcommand\thepage{}
to get rid of page numbers.
34 comments:
Thanks, this was quite a helpful tip!
Thanks and it helps.
Works! Thanks!
Thanks! THANKS A LOT! GREAT! FINALLY!
The solution for my problem. Great! 1000 Thanks!
Thank you!
Thank you. This helped
In my case using only the command \thispagestyle{empty} worked fine!
Thanks a lot
Thanks!
Just to introduce some change:
Cheers mate!
It worked for me! Thank you!
Thanks a lot.
Thank you! This saved me a LOT of time. Super tip.
Thanks you, very much appreciated :-)
Thanksss
Worked for the memoir class too, I guess it would work for any... Thanks!
Thanks.
It was really helpful.
Nice!!
Thanks for the share!
Simple majic worked for me as well in llncs.cls
Thanks. It helps.
Thanks!
Didn't work for me. Perhaps because of the custom header package I use.
Instead I use
\renewcommand\thepage{}
to get rid of page numbers.
thank you anonymous, for me too worked in the scrreprt class just \renewcommand\thepage{}
Great tip, thanks a lot!
This worked flawlessly. Thanks
Works, pdflatex, ubuntu 12.04
Thank you
:( it does not work for me
I use memoir. I cant see what the problem is, it a rather complex document.
Thank you! simple solution but it works exactly what i want
Cool! Thanks mate.
Is there a way to do that in the bibliography you have imported from jabref for example?
clearly explained, good job
That is a pretty radical solution, it not only removes the numbering, but also all the remanding style, such as headers and footers. To kill a fly you do not need a bazooka. Simply use \pagenumbering{gobble} to switch off page numbering.
Thanks a lot
Post a Comment