hide an entry from Toc in latex
I would like to know how I can hide a section from the table of contents but without loosing the section number in the body of the document. For example, in this tex file I loose the number for hide , and all the sequences are damaged: \documentclass{article} \begin{document} \tableofcontents \section{uno} \section{dos} \section*{hide} \section{tres} \end{document} I think you are looking for \section*{hide} \addtocounter{section}{1} or make it into a command: \newcommand{\toclesssection}[1]{\section*{#1}\addtocounter{section}{1}} EDIT: Okay, I think I understand what is wanted now (and it