Oh thank you, that's stupid of me!
Now i have put:
\renewcommand{\cfttoctitlefont}{
\hrule
\vspace{5pt}
\Huge \bfseries {Inhoudsopgave}
\vspace{5pt}%
\hrule }
But now I get the right title, but after that I get the word 'inhoudsopgave' again in the style of the original table of contents title... And when I leave the word 'inhoudsopgave' away I get two horizontal lines and then the title inhoudsopgave
Hmmm so there is still a little problem...
General ⇒ Modify Table of Contents: Reduce Spacing Between Lines?
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10340
- Joined: Mon Mar 10, 2008 9:44 pm
Modify Table of Contents: Reduce Spacing Between Lines?
\cfttoctitlefont is intended to contain formatting commands, not the toc title itself. You could try it together with \cftaftertoctitle:
Stefan
Code: Select all
\renewcommand{\cfttoctitlefont}{
\hrule
\vspace{5pt}
\Huge \bfseries}
\renewcommand{\cftaftertoctitle}{
\vspace{5pt}%
\hrule}
LaTeX.org admin
Re: Modify Table of Contents: Reduce Spacing Between Lines?
Thank you!!! You're great! Now I can go out tonight without worries
Have a nice weekend too!
bye bye!!!

Have a nice weekend too!
bye bye!!!