GeneralTOC question... removing specific item ? Hidden items...

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
drg85
Posts: 2
Joined: Thu Nov 25, 2010 4:39 pm

TOC question... removing specific item ? Hidden items...

Post by drg85 »

Edit - Originally, I had three questions. I've solved two myself, so just one left and it's an odd request

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...
Last edited by drg85 on Thu Apr 21, 2011 2:21 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

TOC question... removing specific item ? Hidden items...

Post by kaiserkarl13 »

Yes, you can turn off ToC numbering with a command like this at any time:

Code: Select all

\addtocontents{toc}{\protect\setcounter{tocdepth}{0}}
You can put that before the sixth appendix and it should hide it.
Post Reply