Page numbering in LaTeX

From Notes_Wiki
Revision as of 06:04, 18 April 2022 by Saurabh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > LaTeX > Page numbering in LaTeX

Setting desired page number

In LaTeX we can set any desired page number using:

\setcounter{page}{1}

Learned from http://timmurphy.org/2009/06/29/latex-page-numbering/


Setting page numbering style

Page numbering style can be set using:

\pagenumbering{num_style}

where acceptable options for num_style are:

arabic
Arabic numerals - 1,2,3 etc
roman
Lowercase roman numerals - i, ii, iii, etc.
Roman
Uppercase roman numerals - I, II, III, etc.
alph
Lowercase letters - a, b, c, etc.
Alph
Uppercase letters - a, b, c, etc.

Learned from http://www.personal.ceu.hu/tex/pagestyl.htm


Seting page style

Whether page number itself should be displayed or not can be controlled using page style as:

\pagestyle{empty}

Other possible page styles are:

plain
Just a plain page number.
empty
Produces empty heads and feet - no page numbers.
headings
Puts running headings on each page. The document style specifies what goes in the headings.
myheadings
You specify what is to go in the heading with the \markboth or the \markright commands.

Learned from http://www.personal.ceu.hu/tex/pagestyl.htm



Home > LaTeX > Page numbering in LaTeX