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).

-
ö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 Feb 20 '11 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. –  Björn Marschollek Feb 20 '11 at 14:39

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.
``````\makeatletter
@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 Feb 20 '11 at 14:52