%clemsonphd:
%clemsonphd: This is a sample dissertation.  You will find many comments
%clemsonphd: throughout the text on various topics.  They all begin
%clemsonphd: with %clemsonphd:
%clemsonphd: I just paged through and commented non-standard type stuff.
%clemsonphd:  Since comments are spread throughout, you may want to
%clemsonphd:  use grep to yank'em out and look at 'em.
%clemsonphd: One way to use this file is to latex the stuff in the darrell
%clemsonphd: subdirectory and look at my actual dissertation with xtex.
%clemsonphd:

%clemsonphd:
%clemsonphd: For document style, we spec our mod'd clemsonphd.sty file
%clemsonphd:
\documentstyle[11pt]{clemsonphd}
\textwidth=6in
\textheight=9in
\evensidemargin=0.5in
\oddsidemargin=0.5in
%clemsonphd:
%clemsonphd:  Note that this top margin was set for one of our printers.
%clemsonphd:  It may have to be changed slightly for printers that are
%clemsonphd:  out of line (all in the cpsc dept.).
%clemsonphd:
%\topmargin=-0.375in	% lwt?
\topmargin=-0.437in	% lws?
\topskip=0pt
\parindent=3em

\input{psfig}
\begin{document}

%clemsonphd: the unsrt option makes refs appear in the order of their reference
%clemsonphd: instead of in alphabetical order.  stupid grad school rules.
\bibliographystyle{unsrt}

%clemsonphd: this pagestyle command gets rid of running headers
\pagestyle{myheadings}

%clemsonphd: page numbers should be in arabic.
\pagenumbering{arabic}

%clemsonphd: 
%clemsonphd: Build a toc, lof, and lot from which we can get the page
%clemsonphd: numbers to put in the files toc.tex, lof.tex, lot.tex
%clemsonphd: 
\baselineskip=11pt
%\tableofcontents
%\listoffigures
%\listoftables
\baselineskip=22pt

\setcounter{chapter}{0}

%clemsonphd: 
%clemsonphd: Redefine the chapter command.  This command does a lot of stuff.
%clemsonphd: - Takes one parameter, the chapter name
%clemsonphd: - Forces a newpage, and forces all pix, etc. from the previous
%clemsonphd:   chapter to be flushed out.
%clemsonphd: - Forces a 2 line space, this is because major header pages
%clemsonphd:   need a larger top margin than normal pages.
%clemsonphd: - Says do not put a number on major header pages.
%clemsonphd: - Bumps the chapter counter.
%clemsonphd: - Centers two lines, the chapter # line followed by chapter title
%clemsonphd: - Puts a blank line after
%clemsonphd: - Finally, adds the chapter name to the table of contents.
%clemsonphd: 
\renewcommand{\chapter}[1]{\clearpage \vspace*{22pt} \thispagestyle{empty} \addtocounter{chapter}{1} {\centering {\elvrm CHAPTER \Roman{chapter}} \\ \uppercase{\elvrm #1}\\} \vspace*{11pt} \addcontentsline{toc}{chapter}{\thechapter. \hspace{1em} {\elvrm #1}}}

%clemsonphd: Redefine section command in a similar manner as chapter.
\renewcommand{\section}[1]{{\centering \underline{\elvrm #1}\\} \addcontentsline{toc}{section} {\elvrm #1}}

%clemsonphd: Redefine section command in a similar manner as chapter.
\renewcommand{\subsection}[1]{{\centering {\elvrm #1}\\} \addcontentsline{toc}{subsection} {\elvrm #1}}

%clemsonphd: keeps latex from trying to make all pages the same height
\raggedbottom

%clemsonphd:  tex command to set the page number to 0
%\global\count0 = 0

\chapter{Introduction}
	\input{chap01/text}

\chapter{Initial Results}
	\input{chap02/text}

\chapter{Problem Decomposition}
	\input{chap03/text}

\chapter{Generation of a List of Possible Answers}
	\input{chap04/text}

\chapter{Extraction of the Correct Answer}
	\input{chap05/text}

\chapter{Results}
	\input{chap06/text}

\chapter{Conclusions and Future Work}
	\input{chap07/text.tex}

%\chapter{Future Work}
	\input{chap08/text.tex}

%clemsonphd:
%clemsonphd: Redefine the chapter command again to do the right stuff
%clemsonphd: for the bibliography section.
%clemsonphd:
\renewcommand{\chapter}[1]{\clearpage \vspace*{22pt} \thispagestyle{empty} \addtocounter{chapter}{1} {\centering \uppercase{\elvrm LITERATURE CITED}\\} \vspace*{11pt}}

\baselineskip=12pt
\bibliography{/home/phd/fredh/papers/bibdir/steiner,/home/phd/fredh/papers/bibdir/simulated,/home/phd/fredh/papers/bibdir/parallel,/home/phd/fredh/papers/bibdir/reliable}
\end{document}
