I used the resources here and it worked for me but still have errors on the list of tables and figures: Upper case chapter titles in the table of contents?. I am using a document class prepared by D. Leif Anderson \documentclass[nosmallcaps,toccaps,12pt]{csuthesis}
.
My modification:
\makeatletter
\renewcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
\thispagestyle{plain}%
\global\@topnum\z@
\@afterindentfalse
\secdef\@chapter\@schapter}
\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
\refstepcounter{chapter}%
\typeout{\@chapapp\space\thechapter.}%
\addcontentsline{toc}{chapter}%
{\protect\numberline{\thechapter}\MakeUppercase{#1}}%
\fi}
\makeatother
\makeatletter
\renewcommand\section{\if@openright\cleardoublepage\else\clearpage\fi
\thispagestyle{plain}%
\global\@topnum\z@
\@afterindentfalse
\secdef\@section\@section}
\def\@section[#1]#2{\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
\refstepcounter{section}%
\typeout{\@secapp\space\thesection.}%
\addcontentsline{toc}{section}%
{\protect\numberline{\thesection}\MakeUppercase{#2}}%
\fi}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makeatletter
\renewcommand\subsection{\if@openright\cleardoublepage\else\clearpage\fi
\thispagestyle{plain}%
\global\@topnum\z@
\@afterindentfalse
\secdef\@subsection\@subsection}
\def\@subsection[#1]#2#3{\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
\refstepcounter{subsection}%
\typeout{\@subsecapp\space\thesubsection.}%
\addcontentsline{toc}{subsection}%
{\protect\numberline{\thesubsection}\MakeUppercase{#3}}%
\fi}
\makeatother
Your help is a lot appreciated…
Best Answer
DISCLAIMER: The following answer only makes sense in this particular case (if at all), with the double-patched document class
csuthesis.cls
. The lines below are workarounds for workarounds for ...