[OS X TeX] changing \tableofcontent fonts

Peter Breitfeld phbrf at t-online.de
Sat Dec 16 06:13:28 EST 2006

Am 14. Dez 2006 um 01:38 schrieb KL Tah:

> hi all,
> i'd like to have my table of contents be all non-bold (including
> ``Table of Contents'', ``List of Figures'' and ``List of Tables''
> themselves). I've downloaded tocloft but was wondering if anyone out
> there has done this before. the manual looks pretty dense and i  
> have a thesis due tomorrow...
> any help would be much appreciated!
> cheers

I did the change of the contents stuff by redefining  the appropriate  
environments. May be this gives you a hint how to proceed to change  
it to your needs (sorry, comments are in german). If you set

\ifNeuesToktrue, then the new settings will apply. It's an option for  

%  Aussehen der Inhalts- Abbildungs- und Tabellenverzeichnisse ändern

%%----- ein \if zur Feststellung, ob ein Befehl nicht existiert:

   \newcommand*\l at Abschnitt[2]{%
     \ifnum \c at tocdepth >\m at ne
       \vskip 1.0em \@plus\p@
         \parindent \z@%
         \leavevmode% \large
         \hskip -\leftskip
         \quad\nobreak \nobreak\hb at xt@\@pnumwidth{#2}\par
     \ifnum #1>\c at tocdepth \else
       \vskip \z@ \@plus.2\p@
       {\leftskip #2\relax%
       \parindent #2\relax\@afterindenttrue
       \@tempdima #3\relax
       \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
       \hb at xt@\@pnumwidth{\normalfont \normalcolor #5}%
   \renewcommand*\l at part[2]{%
     \ifnum \c at tocdepth >-2\relax
       \addvspace{2.25em \@plus\p@}%
         \parindent \z@%
         \slshape{#1}\upshape\quad\hb at xt@\@pnumwidth{#2}}\par
   \ifNeuesTok\let\l at section\l at Abschnitt\fi
   \ifNeuesTok\let\l at chapter\l at Abschnitt\fi

Gruß Peter
Peter Breitfeld                 | http://www.pBreitfeld.de
Kreuzgasse 4, 88348 Bad Saulgau | PGP/GPG Key gibt's hier

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/

More information about the MacOSX-TeX mailing list