shumway / asudis

LaTeX style files for ASU Ph. D. dissertations
http://shumway.github.io/asudis/
35 stars 25 forks source link

TOC fix for new format requirement #10

Open qmou opened 9 years ago

qmou commented 9 years ago

The \@chapter command needs to be patched so the chapter titles in TOC are all Capitalized. The following fix in asudis.sty worked for me:

\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
                        \refstepcounter{chapter}%
                        \typeout{\@chapapp\space\thechapter.}%
                        \addcontentsline{toc}{chapter}%
                        {\protect\numberline{\thechapter}\MakeUppercase{#1}}%
                    \else
                        \addcontentsline{toc}{chapter}{\MakeUppercase{#1}}%
                    \fi
                    \chaptermark{#1}%

Ref: http://tex.stackexchange.com/questions/23558/typeset-cftchapfont-as-uppercase