hide an entry from Toc in latex

I think you are looking for


or make it into a command:



Okay, I think I understand what is wanted now (and it makes more sense then the answer I gave). Here is a command that you can use to suppress adding a section, subsection, etc. to the TOC. The idea is to temporarily disable \addcontentsline.


Leave a Comment