General ⇒ How can I omit "Table of Contents" above the TOC?
How can I omit "Table of Contents" above the TOC?
Hello,
how can I make "Table of Contents" disappear when producing the TOC via \tableofcontents?
how can I make "Table of Contents" disappear when producing the TOC via \tableofcontents?
Last edited by Montag on Thu Jun 02, 2011 5:10 pm, edited 1 time in total.
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Re: How can I omit "Table of Contents" above the TOC?
This depends on the class, since the classes define \tableofcontents. Check the definition in your class for an option or redefine it without printing out that heading. Or use a package such as tocloft or titletoc.
Stefan
Stefan
LaTeX.org admin
Re: How can I omit "Table of Contents" above the TOC?
Oh, ok, it is one of the KOMA classes. Still can't find what I must do. :/
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
How can I omit "Table of Contents" above the TOC?
With a current KOMA class you can solve it by
That's a feature of tocbasic.
Stefan
Code: Select all
\deftocheading{toc}{}
Stefan
LaTeX.org admin
Re: How can I omit "Table of Contents" above the TOC?
Thank you, that's it.
I can promise I wouldn't have found it in this decade in the scrguide.pdf.
I can promise I wouldn't have found it in this decade in the scrguide.pdf.

OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Re: How can I omit "Table of Contents" above the TOC?
I did not find in the documentation too. I read tocbasic.sty to find it - after reading a cls file to see that tocbasic is used. 
Stefan

Stefan
LaTeX.org admin
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How can I omit "Table of Contents" above the TOC?
The feature is documented in Chapter 12 of the KOMA Script user guide. This chapter represents a documentation for the »tocbasic« package. The command is explained in Section 12.2 at the bottom of page 317 in the German version of the user guide.
Thorsten
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Re: How can I omit "Table of Contents" above the TOC?
Good to know! I had an outdated copy of the manual here, and the KOMA-Script book is at home while I'm elsewhere.
Stefan
Stefan
LaTeX.org admin
How can I omit "Table of Contents" above the TOC?
I just noticed this reply. Thank you for the hint, Thorsten!localghost wrote:The feature is documented in Chapter 12 of the KOMA Script user guide. This chapter represents a documentation for the »tocbasic« package. The command is explained in Section 12.2 at the bottom of page 317 in the German version of the user guide.
Thorsten
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1