TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

And how to make them show as roman numerals in TOC?

share|improve this question
up vote 13 down vote accepted

Change the representation of the corresponding counter (section, in this case) by adding to the preamble:


EDIT: this redefinition will probably require increasing the space allowed for typesetting section numbers in the ToC; this can be done, for example, with the help of the tocloft package by adding the following lines to the preamble:

share|improve this answer
and how to set space between roman numeral and item name in TOC and in general for sections? – Kabumbus May 10 '11 at 16:17
Well, you can make \thesection do anything you want, so \renewcommand\thesection{\Roman{section}\quad} would throw a quad space in. However, if you are realy getting into section styling, it is better to use a package like titlesec or a document class like memoir that really gives you fine control over such things. – Sharpie May 10 '11 at 16:25
quad helps in main article but does not help in \tableofcontents =( – Kabumbus May 10 '11 at 16:29
@Kabumbus: using the tocloft package you can add to the preamble: \usepackage{tocloft} and \addtolength{\cftsecnumwidth}{1cm} – Gonzalo Medina May 10 '11 at 16:33
@Sharpie: Never define \thesection with a \quad. Euqation numbers, cross reference whould also use \thesection. – Leo Liu May 10 '11 at 16:36

It depends on your packages. Maybe you are loading tocstyle or tocloft. Normally you can redefine l@section. See also \@dottedtocline.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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