Next: \pagestyle, Previous: \maketitle, Up: Page styles [Contents][Index]
\pagenumberingSynopsis:
\pagenumbering{number-style}
Specifies the style of page numbers, and resets the page number. The numbering style is reflected on the page, and also in the table of contents and other page references. This declaration has global scope so its effect is not delimited by braces or environments.
In this example, before the Main section the pages are numbered ‘a’, etc. Starting on the page containing that section, the pages are numbered ‘1’, etc.
\begin{document}\pagenumbering{alph}
...
\section{Main}\pagenumbering{arabic}
...
The argument number-style is one of the following (see also \alph \Alph \arabic \roman \Roman \fnsymbol).
arabicArabic numerals: 1, 2, …
romanlowercase Roman numerals: i, ii, …
Romanuppercase Roman numerals: I, II, …
alphlowercase letters: a, b, … If you have more than 26 pages then you get ‘LaTeX Error: Counter too large’.
Alphuppercase letters: A, B, … If you have more than 26 pages then you get ‘LaTeX Error: Counter too large’.
gobbleLaTeX does not output a page number, although it
does get reset. References to that page also are blank. (This does not
work with the popular package hyperref so to have the page number
not appear you may want to instead use \pagestyle{empty} or
\thispagestyle{empty}.)
Traditionally, if a document has front matter—preface, table of contents, etc.—then it is numbered with lowercase Roman numerals. The main matter of a document uses arabic. See \frontmatter & \mainmatter & \backmatter.
If you want to address where the page number appears on the page,
see \pagestyle. If you want to change the value of page
number then you will manipulate the page counter
(see Counters).