is there any chance to customize the spacing between the (sub)section number and its title in every appearance in the document? That is, in any header or footer as well as in the table of contents and the main part of the document?
In this particular case, I have a scrartcl document, but a class-independent solution would be really helpful.
|
|
||||
|
|
|
Those section numbers are used in several places using different formatting commands, such as in the TOC, in headers and in the body text. That's why the answer consists of several parts. For a class independent solution you could use packages:
In that case have a look at the respective package documentation. With LaTeX's base classes you could redefine internal macros. KOMA-Script classes provide additional formatting macros, which are described in the manual. Let's have a look at the base LaTeX side. LaTeX formats section numbers by
You could redefine it to replace the
Within the TOC, LaTeX uses
Also this could be redefined:
Now we come to the headings. Since you're using a KOMA-Script class, let's redefine a KOMA formatting command for the number: Originally it uses
Redefinition:
Do similarly for With base classes you could redefine |
||||
|
|