3

I am completing my dissertation and my school has a rather odd request. I'm using the document class "report" so that I have chapters. The school wants the page number for the first page of each chapter to be in the center of the page and every other page number to be on the top right. Is there a way to do this?

Thank you.

  • This should be the default. Have you tried? – Werner Mar 23 '17 at 18:22
  • Hi- Specifying nothing seems to make it go to the bottom left on every page – Jason McCormack Mar 23 '17 at 18:23
  • Oh, so by "center of the page" you mean in "the center of the header"? – Werner Mar 23 '17 at 18:24
  • correct. The instructions from the school are: "Number the first page of any chapter in the center of the page, one double- space below the last line of text, approximately 5/8 to 3⁄4 inch above the bottom. All other numbers are placed one double-space above the first line of printing and just inside the right margin, that is, approximately 5/8 to 3⁄4 inch from the top and 1 inch from the right edge." – Jason McCormack Mar 23 '17 at 18:24
  • So, not the "center of the header", but the "center of the footer". Again, this is the default. – Werner Mar 23 '17 at 18:48
3

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:

enter image description here

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.

  • @JasonMcCormack: Hi! Please note that Upvoting and accepting answers is the recommended way to show your gratitude to the person(s) who answered your question. :-) – GuM Mar 23 '17 at 19:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.