General ⇒ Appendix and Table of content
Appendix and Table of content
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 !!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Appendix and Table of content
you could use starred versions of sectioning commands:
Code: Select all
\section*{An appendix section}
Stefan
Re: Appendix and Table of content
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
Code: Select all
\addtocontents{toc}{\protect\setcounter{tocdepth}{0}}
Stefan