I'm trying to write my dissertation using LaTeX. I downloaded a class file provided by my university. The
\tableofcontents
command was defined in the class file as follows:Code: Select all
\def\tableofcontents{
\newpage
\let \tempp \topskip
\topskip 1em
\tocspace
\chapter*{\vspace*{-2em}TABLE OF CONTENTS\markright{CHAPTER}}
{\vskip -1em CHAPTER \hfill Page \vspace{0.5ex}\\}
\thispagestyle{myheadings}
\@starttoc{toc}
\doublespace \topskip \tempp}
\chapter*
as follows:Code: Select all
\setlength{\headheight}{26pt}
\makeatletter
\def\@makeschapterhead#1{
{\parindent \z@ \centering
\normalfont
\interlinepenalty\@M
#1\par\nobreak
\vskip 30\p@
}}
\makeatother
\tableofcontents
:Code: Select all
\def\l@section{\@dottedtocline{1}{7em}{3em}}
\def\l@subsection{\@dottedtocline{2}{9em}{3em}}
\def\l@subsubsection{\@dottedtocline{3}{11em}{1.5em}}
\def\l@paragraph{\@dottedtocline{4}{13em}{1.5em}}
\def\l@subparagraph{\@dottedtocline{5}{14em}{1.5em}}
Thanks in advance!