```
\documentclass[12pt]{nmsuth01}
%If your system does not have a latex package ``pkg'', for example,
%attempting to run latex on the file will produce an error report
%reading something like ``Latex error: File pkg.sty not found.''
%
%Your system should have the latex symbol package. If not comment out
%the next line by placing a percent sign % at the beginning of the line.
\usepackage{latexsym}
%Your system may not have the American Mathematical Society packages
%for mathematics and theorem formatting. If not, comment out the
%next line. If you comment out the next line, you should also
%comment out all the theorem formatting commands, and you should not
%try to process the part of the document called chp1a.tex. Commment
%out the line below calling for \input{chp1a}.
\usepackage{amsmath,amsthm}
%Your system may not have the xypic drawing package. If not, comment
%out the next line. If you comment out the next line, you should
%also not try to process chp1a.tex.
\usepackage[all]{xy}
%Your system should have the graphicx package for included graphics.
%If not, or, if you have no graphics to include, comment out the next
%line. If you commment out the next line, then you should not try to
%process the part of the document called graphics.tex. Comment out
%the line below calling for \input{graphics}
\usepackage{graphicx}
%The next settings give the correct margins for an NMSU Ph.D. thesis.
%They are commented out due to updates in requirements (apparently)
%\setlength{\evensidemargin}{0.56in}
%\setlength{\oddsidemargin}{0.56in}
%\setlength{\textwidth}{5.75in}
%\setlength{\topmargin}{-0.25in}
%\setlength{\textheight}{8.25in}
\usepackage[margin=1in]{geometry}
%
%
%\newtheorem{theorem}{Theorem}[section]
%\newtheorem{lemma}[theorem]{Lemma}
%\newtheorem{prop}[theorem]{Proposition}
%\newtheorem{cor}[theorem]{Corollary}
%\newtheorem{conjecture}[theorem]{Conjecture}
%\newtheorem{fact}[theorem]{Fact}
%\theoremstyle{definition}
%\newtheorem{defn}[theorem]{Definition}
%\newtheorem{example}[theorem]{Example}
%\newtheorem{question}[theorem]{Question}
%\newtheorem{remark}[theorem]{Remark}
% Theorem Formatting Commands.
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}%[section]
\newtheorem{prop}[theorem]{Proposition}%[section]
\newtheorem{cor}[theorem]{Corollary}%[section]
\newtheorem*{nametheorem}{Theorem}%[section]
\theoremstyle{definition}
\newtheorem{defn}[theorem]{Definition}%[section]
\newtheorem{example}[theorem]{Example}%[section]
\theoremstyle{remark}
\newtheorem*{rem}{Remark}
\newtheorem*{convention*}{Convention}
%
% Miscellaneous Special Capitals
\newcommand{\bZ}{{\mathbf Z}}
\newcommand{\bQ}{{\mathbf Q}}
\newcommand{\bR}{{\mathbf R}}
\newcommand{\cC}{{\mathcal C}}
%
%Miscellaneous symbols
\newcommand{\op}{{\rm \oplus}}
\newcommand{\id}{\rm id}
%
%Miscellaneous Greek letters
\newcommand{\eps}{\ensuremath{\epsilon}}
\newcommand{\ga}{\ensuremath{\gamma}}
%
%Miscellaneous operators
\DeclareMathOperator{\Coker}{Coker}
\DeclareMathOperator{\Tor}{Tor}
\DeclareMathOperator{\Ext}{Ext}
\DeclareMathOperator{\Maps}{Maps}
\DeclareMathOperator{\Hom}{Hom}
\DeclareMathOperator{\Aut}{Aut}
\DeclareMathOperator{\Sin}{Sin}
\DeclareMathOperator{\Tot}{Tot}
\DeclareMathOperator{\im}{im}
%
%Prepare for double spacing
%\renewcommand{\baselinestretch}{1.5}
\newlength{\singlespace}
\setlength{\singlespace}{\baselineskip}
\newlength{\doublespace}
\setlength{\doublespace}{2.0\baselineskip}
%
\begin{document}
%Use the next line to obtain double spacing for the main body of the document
\setlength{\baselineskip}{\doublespace}
%Comment out the preceding line and uncomment the next line containing
%a \setlength command to obtain single spacing for the main body of
%the document.
%\setlength{\baselineskip}{\singlespace}
%
%Why do you care about this option?
%There are two answers. One is that it takes less paper to print a
%preliminary draft of the thesis. The second is that singlespacing
%makes the structural units of the document more apparent. Single
%spacing makes it easy to identify definitions, lemmas, theorems, and
%so on, and it makes apparent such problems as a paragraph that is
%running too long. On the other hand, the double spacing is good for
%checking for typographical errors in a manuscript. Note that a
%document printed in singlespacing and doublespacing formats will
%have its problems with page and line breaks in different locations.
%
%The title page, approval page, dedication page, acknowledgment page,
%vita page, abstract page, and pages listing tables and figures (if
%there are any) all carry roman numerals.
\pagenumbering{roman}
\pagestyle{empty}
\include{title}
\include{copyright}
\pagestyle{plain}
\include{approval}
%
\include{dedica}
%
\include{ackno}
%
\include{vita}
%
\include{abstract}
\tableofcontents
%If you have tables you will use the next three lines to create a list
%of tables following the table of contents page. If you have no
%tables in your document, then you comment out the next three lines
%by placing a percent sign (%) at the beginning of each line. You
%may also delete the next three lines if they are not needed.
\newpage
\listoftables
\addcontentsline{toc}{section}{LIST OF TABLES}
%If you have figures you will use the next three lines to create a
%list of figures following the table of contents page (and the list
%of tables, if there is one). If you have no list of figures, then
%you comment out the next three lines by placing a percent sign (%)
%at the beginning of the line. You may also delete the next three
%lines if they are not needed.
\newpage
\listoffigures
\addcontentsline{toc}{section}{LIST OF FIGURES}
%The next two lines are essentially the start of the main body of the
%thesis. You go to a new page, start numbering in arabic numerals,
%and input the introduction.
\newpage
\pagenumbering{arabic}
%
\input{intro}
\newpage
\input{chp1a}
\newpage
\input{table}
\newpage
\input{graphics}
\newpage
%The next four lines create a list of references for the
%paper from a .bbl file created by BibTeX from a .bib bibliographic
%database file.
%The MathSciNet clipboard was used to prepare
%the .bib file. See Lamport's book mentioned in the references for
%basic information about BibTeX. If you don't use BibTeX, you need
%to create and format the list of references yourself.
\addcontentsline{toc}{section}{REFERENCES}
\setlength{\baselineskip}{\singlespace}
\bibliographystyle{plain}
\bibliography{main}
%These next three command lines create a list of references for the paper from
%a biblio.tex file you create yourself.
\addcontentsline{toc}{section}{REFERENCES}
\setlength{\baselineskip}{\singlespace}
\input{biblio}
%
\end{document}
```