Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %!TEX TS-program = xelatex
- %!TEX encoding = UTF-8 Unicode
- \documentclass{harvard-thesis}
- \renewcommand{\contentsname}{CONTENTS}
- \renewcommand{\listfigurename}{FIGURES}
- \renewcommand{\listtablename}{TABLES}
- \renewcommand{\appendixname}{Appendix}
- \renewcommand{\appendixtocname}{Appendix}
- \usepackage{apptools, etoolbox}
- \renewcommand{\cftchappresnum}{Chapter }
- \setlength{\cftchapnumwidth}{2em}% Just for this example
- \let\oldappendix\appendix
- \renewcommand{\appendix}{%
- \oldappendix
- \addtocontents{toc} % Update \cftchappresnum within the .toc
- {\protect\renewcommand{\protect\cftchappresnum}{Appendix }}
- }
- \usepackage{geometry}
- \usepackage{tocloft,calc}
- \AtBeginDocument{\addtolength\cftchapnumwidth{\widthof{\bfseries Chapter :}}}
- \begin{document}
- \addtocontents{lof}{\vskip 12pt}
- \addtocontents{lot}{\vskip 12pt}
- \input{frontmatter/coverpage}
- \maketitle
- \copyrightpage
- \abstractpage
- \dedicationpage
- \tableofcontents %Double check!
- \listoffigures
- \addcontentsline{toc}{chapter}{Figures}
- \listoftables
- \addcontentsline{toc}{chapter}{Tables}
- \newpage
- \addcontentsline{toc}{chapter}{Acknowledgments}
- \acknowledgments
- \newgeometry{top=1in,bottom=1in,right=1in,left=1.5in}
- \titleformat{\chapter}[display]
- {\filcenter\normalfont}
- {\fontsize{12pt}{45pt}\selectfont\MakeUppercase{\chaptername{}\space
- \if@chapnumwords\formatchapnum{chapter}
- \else\thechapter\fi}}
- {-1em}
- {\begingroup\triplespacing\fontsize{12pt}{36pt}\selectfont\MakeUppercase}
- [\endgroup]
- \titlespacing*{\chapter}{0pt}{0pt}{\baselineskip}
- \renewcommand{\cftchappresnum}{Chapter }
- \include{chapters/chapter1test}
- \renewcommand\chaptername{Appendix}
- \renewcommand\thechapter{\Alph{chapter}}
- \renewcommand\thesection{\Alph{chapter}.\Roman{section}}
- \setcounter{chapter}{0}
- \appendix
- \include{appendices/appendixA}
- \singlespacing
- \clearpage
- \bibliography{references}
- \addcontentsline{toc}{chapter}{Bibliography}
- \bibliographystyle{achemso}
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement