\typeout{TCI Document Style `sw20nmsu' <20 Aug 1994>.}
\typeout{NOTICE:  This macro file is NOT proprietary and may be 
freely copied and distributed.}
\input tcilcomm.tex
%
\input thmsupp.tex %TCI theorem option support
%
\newfield{auniversity}{University}
\newfield{thesistitle}{Title of Thesis}
\newfield{gmajor}{Graduate Major}
\newfield{thesisauthor}{Author of Thesis}
\newfield{tcopyright}{Copyright}
\newfield{degreename}{Name of Thesis Degree }
\newfield{committeesigna}{Thesis Advisor  Signature Block}
\newfield{committeesignb}{Thesis Committee Member 2}
\newfield{committeesignc}{Thesis Committee Member 3}
\newfield{committeesignd}{Thesis Committee Member 4}
\newfield{committeesigne}{Thesis Committee Member 5}
\newfield{committeesignf}{Thesis Committee Member 6}
\newfield{committeesigng}{Bottom Thesis Cmtte Member Sig}
\newfield{thelistoffigures}{The List of Figures}
\newfield{thelistoftables}{The List of Tables}
\newfield{generalabstract}{General Abstract}
\newfield{preface}{Preface}
\newfield{acknowledgments}{Acknowledgments}
\newfield{thesisdate}{The Thesis Date: }
\newfield{MajorSubject}{Major Subject: }
\newfield{MinorSubject}{Minor Subject: }
\newfield{intdegreename}{Interdisciplinary Degree: }
\newfield{intsubject}{Interdisciplinary Subject: }
\newfield{dissertation}{Dissertation Degree Name: }
\newfield{intdissertation}{Interdisciplinary Dissertation: }
\newfield{specialization}{Specialization in: }
\newfield{approvaldate}{Approval Date: }
\newfield{committeeincharge}{Committee in Charge: }
\newfield{vita}{Vita: }
\newfield{chair}{Chair Person for Abstract: }
\newfield{cochaira}{Co Chair #1: }
\newfield{cochairb}{Co Chair #2: }
\newfield{cochairc}{Co Chair #3: }
\newfield{toc}{Table of Contents: }
\newfield{lof}{List of Figures: }
\newfield{lot}{List of Tables: }
%
\def\doublespace{\def\baselinestretch{2}\Huge\normalsize}
\def\singlespace{\def\baselinestretch{1}\Huge\normalsize}
%
% JCS - added year.
\def\the@year{1993}
\setlength{\textwidth}{5.75in}
\setlength{\topmargin}{-.25in}
\setlength{\leftmargin}{.25in}
\@twosidefalse
\setlength{\textheight}{8.5in}

\thispagestyle{empty}
%
% JCS - added uppercase to title.
\def\@do@thesistitle{%
   \vfill
   \ifx\@empty\the@thesistitle{}%
   \else
     \thispagestyle{empty}
     \pagenumbering{roman}
     \begin{center}
         {\Large\bf\expandafter\uppercase\expandafter{\the@thesistitle}}
     \end{center}
   \fi}
%
% JCS - added uppercase to author.
\def\@do@thesisauthor{%
   \ifx\@empty\the@thesisauthor {} 
   \else
     \vskip -.15in 
     \vskip 0.0pt
     {\begin{center}{\bf BY}\vskip .15in \vskip 0.0pt
        {\large\bf \expandafter\uppercase\expandafter{\the@thesisauthor}}
      \end{center}}
      \vfill
   \fi}
%
\def\@do@degreename{%
   \ifx\@empty\the@degreename {} \else 
\def\baselinestretch{1}\small\normalsize 
   \begin{center}\bf A Thesis submitted to the Graduate School%
   \vskip .03in in partial fulfillment of the requirements%
   \vskip .03in for the Degree%
   \end{center}\vskip -.15in
     {\begin{center}{\bf \the@degreename}\end{center}}\vfill\fi}
%
\def\@do@dissertation{%
   \ifx\@empty\the@dissertation {} \else 
\def\baselinestretch{1}\small\normalsize 
   \begin{center}\bf A Dissertation submitted to the Graduate School%
   \vskip .03in in partial fulfillment of the requirements%
   \vskip .03in for the Degree%
   \end{center}\vskip -.15in
     {\begin{center}{\bf \the@dissertation}\end{center}}\vfill\fi}
%
\def\@do@intdegreename{%
   \ifx\@empty\the@intdegreename {} \else 
\def\baselinestretch{1}\small\normalsize 
   \begin{center}\bf A Thesis submitted to the Graduate School%
   \vskip .03in in partial fulfillment of the requirements%
   \vskip .03in for the Degree%
   \end{center}\vskip -.15in
     {\begin{center}{\bf \the@intdegreename}\end{center}}
    \begin{center} \bf   
     \vskip .03in Interdisciplinary Program
    \end{center}     
    \vfill\fi}
%
\def\@do@intdissertation{%
   \ifx\@empty\the@intdissertation {} \else 
\def\baselinestretch{1}\small\normalsize 
   \begin{center}\bf A Dissertation submitted to the Graduate School%
   \vskip .03in in partial fulfillment of the requirements%
   \vskip .03in for the Degree%
   \end{center}\vskip -.15in
     {\begin{center}{\bf \the@intdissertation}\end{center}}
    \begin{center} \bf   
     \vskip .03in Interdisciplinary Program
    \end{center}     
    \vfill\fi}
%
\def\@do@gmajor{%
   \ifx\@empty\the@gmajor {} \else {\begin{center}%
     {\bf \the@gmajor}\end{center}}\vfill\fi}
%
\def\@do@intsubject{%
   \ifx\@empty\the@intsubject {} \else {\begin{center}%
     {\bf Subject: \the@intsubject}\end{center}}\vfill\fi}
%
\def\@do@MajorSubject{%
   \ifx\@empty\the@MajorSubject {} \else
   \vfill\vfill{\begin{center}{\bf Major Subject:  \the@MajorSubject}
   \end{center}}\fi}
%
\def\@do@specialization{%
   \ifx\@empty\the@specialization {} \else
   \vfill\vfill{\begin{center}{\bf Specialization in:  \the@specialization}
   \end{center}}\fi}
%
\def\@do@MinorSubject{%
   \ifx\@empty\the@MinorSubject {} \else
   {\begin{center}{\bf Minor Subject:  \the@MinorSubject}
   \end{center}}\vfill\fi}
%
\def\@do@auniversity{
  \ifx\@empty\the@auniversity \typeout{University is plain} \else
   \vfill
   \vfill{\begin{center}{\large\bf \the@auniversity}\end{center}}\fi}%
%
\def\@do@thesisdate{
    \ifx\@empty\the@thesisdate {} \else
   {\begin{center} {\bf \the@thesisdate} \end{center}}\fi}
%
\def\@do@tcopyright{%
   \ifx\@empty\the@tcopyright {} 
   \else
     {\begin{center}{\bf \the@tcopyright}\end{center}}
     \vfill
   \fi}

%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%        The Approval Page
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%\@mparswitchfalse
%
\def\@do@committeesigna{\bf\newpage\thispagestyle{plain}\def\baselinestretch{2}%
   \small\normalsize%
   \begin{flushleft} `` \the@thesistitle ,"
  {\ifx\@empty\the@degreename \  a dissertation \else
     \  a thesis \fi} prepared by \the@thesisauthor in partial
fulfillment of the requirements for the degree,{\ifx\@empty
\the@degreename \  \the@dissertation \else
\  \the@degreename \fi}, has been approved and accepted by the
following: \newline
\vskip .5in
\makebox[6in]\hrulefill \newline
{\def\baselinestretch{1}\small\normalsize\bf \the@committeesigna}
\vfill
\end{flushleft}
}
%
\def\@do@committeesignb{\ifx\@empty\the@committeesignb {}
\else \begin{flushleft}
\makebox[6in]\hrulefill \newline
\the@committeesignb 
\end{flushleft}
\vfill
}
%
\def\@do@committeesignc{\ifx\@empty\the@committeesignc {}
\else \begin{flushleft}
\makebox[6in]\hrulefill \newline
\the@committeesignc 
\end{flushleft}
\vfill
}
%
\def\@do@committeesignd{\ifx\@empty\the@committeesignd {}
\else \begin{flushleft}
\makebox[6in]\hrulefill \newline
\the@committeesignd 
\end{flushleft}
\vfill
}
%
\def\@do@approvaldate{
    \ifx\@empty\the@approvaldate {} \else
   {\begin{flushleft}
\makebox[6in]\hrulefill \newline
 {\bf Date}
\end{flushleft}}\fi
\vfill
}
\def\@do@committeeincharge{\def\baselinestretch{2}\small\normalsize
   \ifx\@empty\the@committeeincharge {} \else
\begin{flushleft}
{\bf Committee in charge:} \par
{\bf \the@committeeincharge\par}
\end{flushleft}
}
%
\def\@do@vita{\newpage\pagestyle{plain}   
\def\baselinestretch{2}\small\normalsize%
   \ifx\@empty\the@vita {} \else
   \begin{center} {\Large \bf VITA} \end{center} \vskip .25in
   \begin{flushleft} \the@vita \end{flushleft} \fi}
%
%****************************************************************
%
%                                                                
%
%                 General Abstract Section                       
%
%                                                                
%
%****************************************************************
%
\def\@do@chair{}
\def\@do@cochaira{}
\def\@do@cochairb{}
\def\@do@cochairc{}
\def\@do@cochaird{}
%
\def\@do@generalabstract{\newpage\pagestyle{plain}%
      \ifx\@empty\the@generalabstract {} 
      \else 
         \begin{center} {\large \bf ABSTRACT} \end{center}
         \vskip .25in
         \def\baselinestretch{2}\small\normalsize 
         \begin{center}
            {\bf \expandafter\uppercase\expandafter{\the@thesistitle}}
             \vskip .15in
            {\bf BY} \vskip .15in
            {\bf \expandafter\uppercase\expandafter{\the@thesisauthor}}
            \vskip .5in
         \end{center}
         \begin{center}
            \ifx\@empty\the@intdegreename  
            \ifx\@empty\the@intdissertation 
            \ifx\@empty\the@degreename\the@dissertation\\ 
            \else
               \the@degreename\\ 
            \fi\else
               \the@intdissertation , Interdisciplinary Program\\ 
            \fi\else
               \the@intdegreename , Interdisciplinary Program\\ 
            \fi
            \the@auniversity\hskip -4pt, \the@year\\
            \ifx\@empty\the@chair{}
            \else
               \the@chair \vskip .10in
            \fi 
            \ifx\@empty\the@cochaira{}
            \else
               \the@cochaira \vskip .10in
            \fi 
            \ifx\@empty\the@cochairb{}
            \else
               \the@cochairb \vskip .10in 
            \fi
         \end{center}
         \begin{flushleft}
             {\bf \the@generalabstract}
         \end{flushleft}
         \vfill\fi}
%
\def\@do@toc{\tableofcontents}
\setcounter{tocdepth}{5}
\setcounter{secnumdepth}{0}
%
%
\def\arabicnumbering{\pagenumbering{arabic}
           \def\arabicnumbering{\relax}}
%
\def\@makechapterhead#1{\arabicnumbering
   {\parindent \z@\raggedright
    \ifnum \c@secnumdepth >\m@ne
     \huge\bf\centering \@chapapp{} \thechapter
    \par
    \vskip 20\p@ \fi
    \Huge \bf
    #1\par
    \nobreak
    \vskip 40\p@
  }}
%
\def\tableofcontents{\@restonecolfalse
  \if@twocolumn\@restonecoltrue\onecolumn\fi
  \chapter*{\vskip -1.5in \vskip 0.0pt\centering\contentsname
        \@mkboth{\uppercase{\contentsname}}{\uppercase{\contentsname}}}%
  \@starttoc{toc}\if@restonecol\twocolumn\fi}
%
\def\section{\@startsection {section}{1}{\z@}{3.5ex plus -.1ex minus
    -.2ex}{.7ex plus.2ex}{\centering\reset@font\large\bf}}
\def\subsection{\@startsection{subsection}{2}{\z@}{3.25ex plus -.1ex
    minus-.2ex}{.7ex plus.2ex}{\centering\reset@font\large\bf}}
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{3.25ex plus
    -1ex minus-.2ex}{1.5ex plus.2ex}{\centering\reset@font\normalsize\bf}}
\def\paragraph{\@startsection
    {paragraph}{4}{\z@}{3.25ex plus1ex minus.2ex}{-1em}{\reset@font
    \normalsize\bf}}
\def\subparagraph{\@startsection
    {subparagraph}{4}{\parindent}{3.25ex plus1ex minus
     .2ex}{-1em}{\reset@font\normalsize\bf}}
%
\def\appendix{%
		\chapter*{Appendices\@mkboth
      {\uppercase{Appendices}}{\uppercase{Appendices}}}
	   \addtocontents{toc}{\noindent{\bf APPENDICES}}
	     % Previous sections were not numbered - start now.
	   \setcounter{section}{0}
	   \setcounter{secnumdepth}{1}
	   \def\thesection{\Alph{section}.}
       \def\theequation{\thesection\arabic{equation}}
}
%
%\def\@do@lof{\ifx\@empty\the@lof {} \else
%   \listoffigures \fi}
%%
%\def\@do@lot{\ifx\@empty\the@lot {} \else           
%   \listoftables \fi}
%
\def\listoffigures{\@restonecolfalse
  \if@twocolumn\@restonecoltrue\onecolumn\fi
  \chapter*{\vskip -1.5in \vskip 0.0pt\centering\listfigurename
  \@mkboth{\uppercase{\listfigurename}}%
  {\uppercase{\listfigurename}}}\@starttoc{lof}\if@restonecol
   \twocolumn\fi
\addcontentsline{toc}{chapter}{List of Figures}
}
%
\let\para\par
\def\@do@thelistoftables{\@restonecolfalse
  \if@twocolumn\@restonecoltrue\onecolumn\fi
  \chapter*{\vskip -1.5in \vskip 0.0pt\centering\listtablename\@mkboth{\uppercase{\listtablename}}%
  {\uppercase{\listtablename}}}\@starttoc{lot}\if@restonecol
    \twocolumn\fi
  \addcontentsline{toc}{chapter}{List of Tables}
  \addtocontents{toc}{\protect{\noindent{\bf Chapter}\para}}  
}
%
\def\@do@thelistoffigures{\@restonecolfalse
  \if@twocolumn\@restonecoltrue\onecolumn\fi
  \chapter*{\vskip -1.5in \vskip 0.0pt\centering\listfigurename\@mkboth{\uppercase{\listfigurename}}%
  {\uppercase{\listfigurename}}}\@starttoc{lof}\if@restonecol
    \twocolumn\fi
  \addcontentsline{toc}{chapter}{List of Figures}
  \addtocontents{toc}{\protect{\noindent{\bf Chapter}\para}}  
}
%
\def\@do@acknowledgments{%
\newpage\thispagestyle{plain}\def\baselinestretch{2}\small\normalsize%
   \ifx\@empty\the@acknowledgments {} \else
   \begin{center}{\Large \bf ACKNOWLEDGMENTS}\end{center}%
   \vskip 1in
   \begin{flushleft} \the@acknowledgments \end{flushleft}\fi}

%
\parindent 20pt

% JCS added singlespace

\long\def\@footnotetext#1{\insert\footins{%
    \reset@font\footnotesize
    \interlinepenalty\interfootnotelinepenalty
    \splittopskip\footnotesep
    \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
    \hsize\columnwidth \@parboxrestore
    \edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
    {\rule{\z@}{\footnotesep}\ignorespaces
      \baselineskip 10pt {\def\baselinestretch{.8}\Large\footnotesize #1\strut}}}}

% JCS - single space bibitems

\def\thebibliography#1{\chapter*{\bibname\@mkboth
  {\uppercase{\bibname}}{\uppercase{\bibname}}}
  \singlespace
  \list
  {\@biblabel{\arabic{enumiv}}}{\settowidth\labelwidth{\@biblabel{#1}}%
    \leftmargin\labelwidth
	\itemsep 24pt
    \advance\leftmargin\labelsep
    \usecounter{enumiv}%
    \let\p@enumiv\@empty
    \def\theenumiv{\arabic{enumiv}}}%
    \def\newblock{\hskip .11em plus.33em minus.07em}%
    \sloppy\clubpenalty4000\widowpenalty4000
    \sfcode`\.=\@m}

\def\endthebibliography{%
  \def\@noitemerr{\@warning{Empty `thebibliography' environment}}%
  \endlist}
