[texhax] changing chapter (+ code)

Uwe Lueck uwe.lueck at web.de
Sun Jan 11 20:24:13 CET 2009


"Christian Deindl" <deindl at soziologie.uzh.ch> schrieb am 11.01.2009 19:10:31:
> I want to change the positon of the headline from the table of contents, the 
> list of tables etc. in the same way as I change the chapter-headings.

"same way" does not apply, the TOC design does not reflect the design of the first page of a chapter. 

You can

 \renewcommand*\l at chapter[2]{%
  \ifnum \c at tocdepth >\m at ne
    \addpenalty{-\@highpenalty}%
    \vskip 1.0em \@plus\p@ % PLAY WITH THIS
    \setlength\@tempdima{1.5em}%
    \begingroup
      \parindent \z@ \rightskip \@pnumwidth
      \parfillskip -\@pnumwidth
      \leavevmode \bfseries
      \advance\leftskip\@tempdima
      \hskip -\leftskip
      #1\nobreak\hfil \nobreak\hb at xt@\@pnumwidth{\hss #2}\par
      \penalty\@highpenalty
    \endgroup
  \fi}

in order to change the TOC design of chapter entries. 

Uwe.


More information about the texhax mailing list