[Tex/LaTex] How to change the numbering of \part, \chapter, \section, … to alphabetical, Roman numbers, etc


I'm fairly new to LaTeX and I want to know how to change the way sections are numbered by default. I use LyX, and there it is relatively simple to change the way an enumeration is numbered, i.e.

1 foo
 a bar
   i baz

But I want to know if there is a way to do this by default for sections and subsections.

Best Answer

You change section numbering by redefining the commands used to generate each section number. For example, the default article class uses something like


with similar commands like \thesubsubsection and so on -- of course, there's also \thechapter (in the book and report class) and \thepart. Commands to typeset numbers include:

  • \arabic (1, 2, 3, ...)
  • \alph (a, b, c, ...)
  • \Alph (A, B, C, ...)
  • \roman (i, ii, iii, ...)
  • \Roman (I, II, III, ...)
  • \fnsymbol (∗, †, ‡, §, ¶, ...)