You can use, e.g., fancyhdr
or scrlayer-scrpage
to change the default header and footer. Here an example using scrlayer-scrpage
. The default of the plain page style, that is used for the pages with the chapter head, is already with centered number at there page footer. So we need to change only the default of the page header and footer for the non-plain pages:
\documentclass{report}
\usepackage[automark]{scrlayer-scrpage}% automark activates running head
\clearmainofpairofpagestyles% remove the default elements of non-plain pages
\ohead{\pagemark}% page number at outer margin in the head of non-plain pages
\ihead{\headmark}% running head (repeated chapter title) at the inner margin in the head of non-plain pages
\usepackage{mwe}% for dummy text in minimal working examples
\begin{document}
\Blinddocument
\end{document}
results in:
If you have to change the margins or distances between the head an the text area you can use package geometry
.
For a fancyhdr
solution see, e.g., Changing page number location or Removing the page number at the bottom of the page.