[texhax] Put a . after the section number

Michael Barr barr at math.mcgill.ca
Fri Nov 12 16:35:08 CET 2010


On Fri, 12 Nov 2010, Uwe Lueck wrote:

> LaTeX has
>
>    \def\@seccntformat#1{\csname the#1\endcsname\quad}
>
> and you could change it into
>
>    \def\@seccntformat#1{\csname the#1\endcsname.\quad}
>
> -- so much for the section heading in main text, vs. TOC!?
>
> HTH -- Uwe.
>
>
Yes that works pretty well.  It leaves too much space after the period. 
This looks better:
\def\@seccntformat#1{\csname the#1\endcsname.\kern.5em}

Michael


More information about the texhax mailing list