\tableofcontents
. Here is my code.
Code: Select all
\documentclass[12pt]{thesis} %12pt is larger than 11pt
\setcounter{tocdepth}{2}
\setcounter{secnumdepth}{2}
\begin{document}
\tableofcontents
\chapter{Introduction}
\section{sec 1}
\subsection{subsec 1}
\subsection{subsec 2}
\subsubsection{temp1}
\subsubsection{temp2}
\end{document}
tocdepth
to 1, then ToC displays currently up to the depth of \section
, but when I give it 2, it goes all the way to \subsubsection
while it should only display until \subsection
."thesis" is something that has been provided to me by my school. Strangely when I use the standard "report.cls", problem does not occur, but when I looked at both class files, the part that defines
\tablefocontents
seems same. Any help would be highly appreciated.I am uploading the "thesis" class file for you to see.
Thanks!