[OS X TeX] distance section nu to section title
Morten Høgholm
morten.hoegholm at gmail.com
Wed May 31 10:43:36 EDT 2006
On 5/31/06, Bruno Voisin <bvoisin at mac.com> wrote:
> 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?
Precisely. :-)
Morten
------------------------- 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