%% Master thesis document container
%%
%% Includes all the parts into this file for processing
\documentclass[draft,12pt,titlepage]{uuthesis2e}

% for figures
\usepackage[final]{graphicx}
% for landscape figures and tables
\usepackage{rotating}
% for the references and ref list
\usepackage{ggthesisbib}
\bibpunct{[}{]}{;}{a}{,}{,}

%%%%
%%% New Commands/Macros
%%
\def\degree{\ensuremath{^\circ}} % degree circle symbol
\def\uGal{\ensuremath{\mu\mbox{Gal}}} % microGal unit symbol

\author{Some Dude}
\title{SOME TITLE IN ALL CAPS ACCORDING TO SPEC}

%%%%%
%%%% Stuff for front matter unique to a thesis
%%%
\degreeType{Master of Science}
\subject{Geophysics}
\thesistype{thesis} % thesis, not dissertation
\chairtitle{Professor}
\committeechair{Chairman}
\firstreader{Second Prof}
\secondreader{Third Prof}
\graduatedean{Dean of Grad School}
\department{Department of Geology and Geophysics}
\departmentchair{Department Chair}
\submitdate{Month 200x}
\copyrightyear{200x}
%\dedication{Some dedication, if used}

% set number of levels of chapter & section numbering
\fourlevels
\numberofappendices=4

% Only 3 levels in TOC
\setcounter{tocdepth}{3}

\begin{document}

% downloadable from AGU website!
\bibliographystyle{agu04}

%%%%%
%%%% Main document starts here
%%%

%%%%%
%%%% title page, approval form etc.
%%%
\frontmatterformat

\titlepage     % no longer standard latex command, but still in format
\copyrightpage
\committeeapproval\clearpage
\readingapproval\clearpage

%%%%%
%%%% Abstract, toc, etc. 
%%%
\preface{abstract}{ABSTRACT}
%\dedicationpage \clearpage
\tableofcontents
%\listoffigures		% not required for <5 or >25
%\listoftables		% not required for <5 or >25
%\preface{acknowlegement-filename}{ACKNOWLEDGMENTS}	% this instead
							% of dedication?

%%%%%
%%%% Main text
%%%
\maintext

% Parts of the thesis, each in its own file
\include{intro}
\include{chapter2}
\include{chapter3}
\include{chapter4}

% Appendices to the document
\appendix
\include{appendixA}
\include{appendixB}
\include{appendixC}
\include{appendixD}

%%%%
%%% Make the reference list
%%
\noappendix
\singlespace	% refs are single spaced!
\bibliography{thesis}
\endsinglespace

\end{document}
