General ⇒ TOC question... removing specific item ? Hidden items...
TOC question... removing specific item ? Hidden items...
I have a document that ends with 6 appendices, something like this;
\appendix
\include{Appendix1/appendix1}
\include{Appendix2/appendix2}
\include{Appendix3/appendix3}
\include{Appendix4/appendix4}
\include{Appendix5/appendix5}
\include{Appendix6/appendix6}
Now, the thing is, I DONT want appendix 6, or the single image in it to appear in either the TOC OR the list of figures. As in, if someone looks at the TOC, they should only expect the 5 appendices, so if they actually read it, there will be a 6th unexpected one. Long story why I want to do this, but I would ideally like to be able to. Is it possible?
I'd be grateful if anyone could help...
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
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
TOC question... removing specific item ? Hidden items...
Code: Select all
\addtocontents{toc}{\protect\setcounter{tocdepth}{0}}