Hello,
I would like that the sections of my appendix do not appears in the TOC.
But I would like that the toc shows all the others items (chapter, sections, subsections) of the document.
What do I have to do ?
thank you !!
General ⇒ Appendix and Table of content
Appendix and Table of content
Last edited by MikeBieb on Thu May 26, 2011 7:15 pm, edited 1 time in total.
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
Appendix and Table of content
Hi,
you could use starred versions of sectioning commands:
This way there's no table of contents entry for the section. There's also no section number, however it's common not to number sections if they are not in the table of contents. So, references resp. bibliography, index etc. are usually not numbered. Numbering isn't done just because numbers look nice or showing progress in the text, but for referencing in an index such as the table of contents is, therefore numbering is not very necessary if they are not listed for look-up in the TOC.
Stefan
you could use starred versions of sectioning commands:
Code: Select all
\section*{An appendix section}
Stefan
LaTeX.org admin
Re: Appendix and Table of content
Thank you Stephan,
But the problem is that I want to have the numbers of the sections.
Actually, I would like to make a toc for the appendix at the beginning of this one (using minitoc for example).
I don't want it in the toc of the doc because the appendix is very big.
does it exist a command that do not include the section in the toc ?
thank you !
But the problem is that I want to have the numbers of the sections.
Actually, I would like to make a toc for the appendix at the beginning of this one (using minitoc for example).
I don't want it in the toc of the doc because the appendix is very big.
does it exist a command that do not include the section in the toc ?
thank you !
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Appendix and Table of content
You could modify the tocdepth counter, such as by
The tocvsec2 provides better ways for such customizations.
Stefan
Code: Select all
\addtocontents{toc}{\protect\setcounter{tocdepth}{0}}
Stefan
LaTeX.org admin