[OS X TeX] distance section nu to section title

Morten Høgholm morten.hoegholm at gmail.com
Wed May 31 14:30:53 CEST 2006


On 5/31/06, Peter Dyballa <Peter_Dyballa at web.de> wrote:
>
> Am 31.05.2006 um 12:31 schrieb Sergei Mariev:
>
> > Is it possible to configure that parameter as well
>
> There is also a "workaround:" \section{\hspace{±xmm}header text} ...
> (It works quite OK since the horizontal space starts where LaTeX
> would put the beginning of the header's text.)

Good that you put that workaround in quotes... This would get written
to the toc as well.

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


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 macostex-archives mailing list