[Tex/LaTex] Removing the page number at the bottom of the page

header-footerpage-numbering

I'm making a report in latex, using the report documentclass, and i want to remove the page numbers on the buttom of the pages, that latex automatically adds, while also having the page number in the header instead. Can anybody help?

edit: I am using fancyhdr. My question has been answered, thank you guys.

Best Answer

Load this in your preamble

\usepackage{fancyhdr}

\pagestyle{fancy}
\rhead{\thepage}
\cfoot{}

A good description for the start is given in here. The fancyhdr package provides a lot of flexibility. You could also have a look at the koma-script classes.