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 !!
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- 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: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Appendix and Table of content
Code: Select all
\addtocontents{toc}{\protect\setcounter{tocdepth}{0}}
Stefan