# Make amsbook consistently place page numbers in header or footer but not mixed

I had used amsbook as a starting point for typesetting my thesis.

As you may be aware, amsbook headings page style is used for content pages, and has a running header containing the section title and page number. Pages which start a new chapter or section use the plain page style instead, with no header and a page number in the footer.

While my university guidelines said

For the preliminary pages – dedication (optional), acknowledgements (optional), abstract, table of contents, list of tables, graphs, illustrations and preface (optional) – use small Roman numerals (i, ii, iii, iv, v, ...). These may be placed either at the top or the bottom of the page.

For the text, use Arabic numbers (1, 2, 3, 4, 5, ...) starting with page 1 (the first page of the text itself). These may be placed either at the top or the bottom of the page.

It seems that "either at the top or the bottom" does not include the amsbook default. I have been told

I'm writing you to request minor changes to your submission

• Page numbers may not change position but should be located in the same place throughout.

How can I fix this?

By considering the default setup for ps@plain found in the amsclass documentation, I was able to change the plain pages to use header numbering (with no running title) as follows:

\makeatletter
\def\ps@plain{\ps@empty
\normalfont\scriptsize
\rlap{\thepage}\hfil
}%

Basically, this is a clone of the ps@headings style but with the \leftmark{}{} and \rightmark{}{} invocations removed.