I am writing a small KOMA-Script scrartcl document with multiple sections. In the table of contents, LaTeX fills the current line with dots between the end of the section name and the page number. Is there any way to customize this behavior? I would like to reduce the space between the single dots (i.e. use more dots in the same space).

  • 1
    örn: that's not the default behavior of scrartcl. Section titles would be set without dots, subsections would produce dotted TOC lines. Perhaps show your settings, the best would be a minimal example.
    – Stefan Kottwitz
    Commented Feb 20, 2011 at 14:32
  • Yes, you are right. Actually, I am referring to subsections (and subsubsections). However, this is a general question that is also interesting for other document classes. Commented Feb 20, 2011 at 14:39

1 Answer 1


For dotted TOC lines, standard LaTeX and also KOMA-Script use the internal macro \@dotsep which specifies that space in mu. Its original value is 4.5.

You could adjust it this way:

  • It would be helpful if you also specified the default setting.
    – lockstep
    Commented Feb 20, 2011 at 14:44
  • @lockstep: Right! I thought the same and added it, right at the same time of your comment I guess. :-) I used \show\@dotsep first. Then I cross-checked: it's usually defined by the class, for example by \newcommand\@dotsep{4.5} in the base classes.
    – Stefan Kottwitz
    Commented Feb 20, 2011 at 14:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .