I have a section which I don't want to be numbered, but which I still want in the table of contents. So I have written
\addtotoc{section}{My section}
\section*{My section}
I have done the same thing for all the subsections in this section. The problem is just that the subsections end up at separate pages, creating a lot of empty space in my document. If I remove the \addtotoc macro then the problem disappears. The question is why \addtotoc automatically starts a new page and if this can be turned off?
\addtotocin theClemsonThesisclass and it has a very bizarre definition. If you're using that class, I strongly suggest never using that command. – egreg Jul 5 '12 at 14:51