[OS X TeX] distance section nu to section title

Bruno Voisin bvoisin at mac.com
Wed May 31 10:37:38 EDT 2006

Le 31 mai 06 à 14:30, Morten Høgholm a écrit :

> An alternative could be to do something like this:
> \makeatletter
> \renewcommand*\@seccntformat[1]{%
>  \@ifundefined{@seccntformat#1}%
>  {\@nameuse{the#1}\quad}% <- no special form exists
>  {\@nameuse{@seccntformat#1}}%
> }
> \newcommand*\@seccntformatsection{\thesection\hspace{2em}}
> \makeatother

I'm curious how this works. Does this mean for every sectional unit  
(\section, \subsection, \subsubsection, \paragraph, etc.), LaTeX  
looks first for a specific definition such as \@seccntformatsection,  
\@seccntformatsubsection, etc.; and that, if it does, then it uses  
this specific definition, and otherwise uses the standard  
\@seccntformat as a fallback?

Bruno Voisin------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/

More information about the MacOSX-TeX mailing list