| Center For Graduate Studies |
| NMT thesis/dissertation style file |
|
% MACROS FOR NEW MEXICO TECH THESIS FORMAT - Adapted by Gerald A. Arnold from % MACROS FOR UNIV OF TEXAS THESIS FORMAT - WRITTEN BY KHE-SING THE. % % **************************************************************************** % (C) Copyright 1986 by Khe-Sing The. % % Permission is granted to use and distribute verbatim and modified copies % of this file provided the copyright notice and this permission notice are % preserved on all copies. Any modification must be so indicated. % % Modified by Prasad Sakhamuri, UT Computation Center. April 87 % included thispagestyle, markboth definitions in \@chapter, \@schapter % definitions. % added pagestyle change to be effective after chapter 1 % in chapter definition. % changed textheight, footskip, headsep and topmargin values. % included thispagestyle definitions in titlepage, signature page. % % November 88 - added a \supervisor definition, updated \abstract, \preface. % % **************************************************************************** % % THIS MACRO PACKAGE MODIFIES LaTeX `report' DOCUMENT STYLE TO PRODUCE % NEW MEXICO TECH THESIS/DISSERTATION FORMAT. THE MACROS DEFINED % IN THIS FILE ARE ACTIVATED BY `nmtthes' OPTION IN YOUR % \documentstyle COMMAND. % % \documentstyle[12pt,nmtthes]{report} % % NOTE THAT THE OPTIONS MUST BE SPECIFIED IN THE ORDER SHOWN ABOVE, AND THIS % FILE MUST BE IN YOUR WORKING DIRECTORY OR IN THE SYSTEM'S TeX LIBRARY. % THE DOCUMENTATION ACCOMPANYING THIS FILE EXPLAINS HOW TO USE THE PACKAGE % FOR PREPARING YOUR THESIS. % % WARNING: Using this package does NOT guarantee that every detail % will automatically satisfy the Graduate School requirements. % Read carefully the format description published by the % Graduate Office and compare a sample of your output to that % description. % \typeout{NM Tech thesis format, by Gerald Arnold - Version 1.0 - May 10, 1994} \oddsidemargin 38pt \evensidemargin 38pt \textheight 556pt \textwidth 401pt \footskip 36pt \topmargin 2pt \headheight 14 pt \headsep 24pt \skip\footins 32.8pt plus 4pt minus 2pt \parindent 48pt \parskip 5 pt plus1.5pt minus .5pt \itemsep 0 pt plus .5pt \pagenumbering{roman} % % THESIS TYPE AND DEFAULT VALUES % \def\th@sistype{thesis}\def\TH@SISTYPE{Thesis} \def\pr@viousdegrees{B.S.} \def\gr@duationdate{\ifcase\month\or May\or May\or May\or May\or May\or August\or August\or August\or December\or December\or December\or December\fi, \number\year} \def\typ@ist{the author} \def\sign@line{\leftline{\hbox to \hsize{\hrulefill}}\bigskip\endgraf} \def\first@sign@line{\leftline{\hbox to \hsize{\hrulefill}} \leftline{\sup@rvisor, Advisor} \bigskip\endgraf} \def\sign@turelines{\first@sign@line\sign@line} \def\mastersreport{\def\th@sistype{report} \def\TH@SISTYPE{Independent Study } } \def\dissertation{\def\th@sistype{dissertation} \def\TH@SISTYPE{Dissertation} } \def\appr@val{\par\noindent This \th@sistype{} is accepted on behalf of the faculty of the Institute by the following committee:\hfill } % % DATA OF AUTHOR AND THESIS % \def\author#1{\def\auth@r{#1}\def\AUTH@R{#1}} \def\AUTHOR#1{\def\AUTH@R{#1}} \def\title#1{\def\ti@tle{#1}} \def\previousdegrees#1{\def\pr@viousdegrees{#1}} \def\degree#1{\def\d@gree{#1}} \def\graduationdate#1{\def\gr@duationdate{#1}} \def\address#1{\def\addr@ss{#1}} \def\typist#1{\def\typ@ist{#1}} \def\supervisor#1{\def\sup@rvisor{#1}} \def\committeesize#1{\newcount\c@mmiteesize \def\sign@turelines{\first@sign@line\c@mmiteesize=1 \loop\ifnum\c@mmiteesize<#1 \advance\c@mmiteesize by1 \sign@line \repeat} } % % CHAPTERS AND SECTIONS. % \def\ps@thesheadings{\let\@mkboth\@gobbletwo \def\@oddhead{\centerline{\rm \thepage}} \def\@oddfoot{} \def\@evenhead{\centerline{\rm \thepage}} \def\@evenfoot{} \def\chaptermark##1{} \def\sectionmark##1{} \def\cappmark##1{} \def\chapappmark##1{} \def\chapterappmark##1{} \def\endchapterappmark##1{} \def\subsectionmark##1{}} \def\@chapapp{CHAPTER} \def\@makechapterhead#1{ \vspace*{0pt} { \parindent 0pt \centering \ifnum \c@secnumdepth >\m@ne \large\bf \@chapapp{} \thechapter \par \vskip 15pt \fi \large \bf #1\par \nobreak \vskip 35pt } } \def\@makechaptertypehead#1{ \vspace*{0pt} { \parindent 0pt \centering \ifnum \c@secnumdepth >\m@ne \large\bf \@chapapp{} \thechapter \par \vskip 15pt \fi \large \bf #1\par \nobreak \vskip 35pt } } \def\@makeschapterhead#1{\vspace*{0pt} { \parindent 0pt \centering \large \bf #1\par \nobreak \vskip 30pt } } \def\chapter{\textheight 556pt \clearpage \baselineskip=22.5pt plus .5pt minus .2pt \global\@topnum\z@ \@afterindenttrue \secdef\@chapter\@schapter} \def\appfl@g{APPENDIX} \def\appendix{\par \setcounter{chapter}{0} \setcounter{section}{0} \def\@chapapp{APPENDIX} \def\thechapter{\Alph{chapter}}} \def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne \refstepcounter{chapter} \typeout{\@chapapp\space\thechapter.} \addcontentsline{toc}{chapter}{\protect \numberline{\thechapter.}#1}\else \addcontentsline{toc}{chapter}{#1}\fi \chaptermark{#1} \addtocontents{lof}{\protect\addvspace{10pt}} \addtocontents{lot}{\protect\addvspace{10pt}} \@makechapterhead{#2} \@afterheading \ifx\@chapapp\appfl@g{} \ifnum\value{chapter}=1 \pagestyle{plain} \fi \else \ifnum\value{chapter}=1 \markboth{}{}\pagestyle{thesheadings} \pagenumbering{arabic} \fi \fi \thispagestyle{plain} \textheight 556pt } \def\@schapter#1{\thispagestyle{plain} \addcontentsline{toc}{chapter}{#1} \@makeschapterhead{#1} \@afterheading } \def\section{\@startsection {section}{1}{\z@}{3.9ex plus -1ex minus -.2ex}{.3ex plus .2ex}{\normalsize\bf}} \def\subsection{\@startsection {subsection}{2}{\z@}{3.9ex plus -1ex minus -.2ex}{.3ex plus .2ex}{\indent\normalsize\bf}} \def\subsubsection{\@startsection {subsubsection}{3}{\z@}{3.9ex plus -1ex minus -.2ex}{.3ex plus .2ex}{\normalsize\bf}} \def\chapapp{\@startsection {section}{1}{\z@}{3.9ex plus -1ex minus -.2ex}{.3ex plus .2ex}{\normalsize\bf}} \def\chapterapp{\par \setcounter{section}{0} \def\thesection{\thechapter.\Alph{section}} \@startsection {section}{1}{\z@}{3.9ex plus -1ex minus -.2ex}{.3ex plus .2ex}{\normalsize\bf}} \def\endchapterapp{\par \setcounter{section}{0} \def\thesection{\thechapter.\arabic{section}}} \def\newheadline{\protect\\} % % COMPONENTS OF THESIS % \def\signaturepage{\clearpage \thispagestyle{empty} \vspace*{40pt} \baselineskip=22.5pt plus .5pt minus .2 pt \appr@val \vspace{25pt} \sign@turelines \vfill \sign@line \leftline{\AUTH@R} \vspace{-25 pt} \rightline{Date} \newpage } \newenvironment{dedication}{\dedhead}{\dedtail} \def\dedhead{\clearpage\thispagestyle{empty} \vspace*{170pt}\begin{center} } \def\dedtail{\end{center} \par\bigskip\bigskip \leftline{\hfill\auth@r\hbox to 15pt{} } \leftline{\sl\hfill New Mexico Institute of Mining and Technology\hbox to 15pt{} } \leftline{\sl\hfill\gr@duationdate\hbox to 15pt{} } \newpage } \def\titlepage{\thispagestyle{empty} \vspace*{5pt} \baselineskip=22.5pt plus .5pt minus .2 pt \begin{center} \large\bf\ti@tle \end{center} \vspace{25pt}\centerline{by}\vspace{25pt} \centerline{\AUTH@R} \begin{center} \vfill Submitted in Partial Fulfillment\\ of the Requirements for the Degree of\\ \d@gree \end{center} \vspace{25pt}\centerline{New Mexico Institute of Mining and Technology} \centerline{Socorro, New Mexico} \centerline{\gr@duationdate} } \newenvironment{acknowledgments}{\ackhead}{\acktail} \def\ackhead{\clearpage \@makeschapterhead{ACKNOWLEDGMENT} \@afterheading \setcounter{page}{2} } \def\acktail{\par\vfill} \def\acktail{\par This \th@sistype{} was typeset with \LaTeX{}\protect\footnote{ % % Usage of this package is permitted only if the source is mentioned. ******** % \LaTeX{} document preparation system was developed by Leslie Lamport as a special version of Donald Knuth's \TeX{} program for computer typesetting. \TeX{} is a trademark of the American Mathematical Society. The \LaTeX{} macro package for the New Mexico Institute of Mining and Technology \th@sistype{} format was adapted from Gerald Arnold's modification of the \LaTeX{} macro package for The University of Texas at Austin by Khe-Sing The.} % **************************************************************************** by \typ@ist. \par\vspace{28pt} } \newenvironment{preface}{\prefacehead}{\prefacetail} \def\prefacehead{\chapter*{PREFACE} } \def\prefacetail{\par\bigskip\bigskip \leftline{\hfill\auth@r\hbox to 15pt{} } \leftline{\sl New Mexico Institute of Mining and Technology} \leftline{\sl\gr@duationdate}\thispagestyle{plain}} \renewenvironment{abstract}{\abhead}{\abtail} \def\abhead{\clearpage\pagestyle{empty} \@makeschapterhead{ABSTRACT} \@afterheading \addtocounter{page}{-1} \baselineskip 26pt plus .5pt minus .2 pt } \def\abtail{\par\vfill \addtocounter{page}{-1} \thispagestyle{empty} \pagestyle{plain} } \def\chaptertype{\clearpage \thispagestyle{plain} \global\@topnum\z@ \@afterindentfalse \secdef\@chaptertype\@schaptertype} \def\@chaptertype[#1]#2{ \chaptermark{#1} \addtocontents{lof}{\protect\addvspace{10pt}} \addtocontents{lot}{\protect\addvspace{10pt}} \if@twocolumn \@topnewpage[\@makechaptertypehead{#2}] \else \@makechaptertypehead{#2} \@afterheading \fi} \def\@schaptertype#1{\@afterheading} \def\@schaptertype#1{\@makeschapterhead{#1} \@afterheading} \def\tableofcontents{\chaptertype*{TABLE OF CONTENTS\@mkboth{CONTENTS}{CONTENTS}} \baselineskip=18pt plus .5pt minus .5pt \@starttoc{toc}} \def\listoffigures{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn \fi\chapter*{LIST OF FIGURES\@mkboth {LIST OF FIGURES}{LIST OF FIGURES}}\@starttoc{lof}\if@restonecol \twocolumn\fi} \def\listoftables{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn \fi\chapter*{LIST OF TABLES\@mkboth {LIST OF TABLES}{LIST OF TABLES}} \@starttoc{lot}\if@restonecol \twocolumn\fi} \newcommand{\singlespacing}{\let\CS=\@currsize\renewcommand{\baselinestretch}{1.0}\tiny\CS} \newcommand{\doublespacing}{\let\CS=\@currsize\renewcommand{\baselinestretch}{1.75}\tiny\CS} \def\heading#1{\vfill\pagebreak\noindent\bf#1} \def\thebibliographyno#1{\chapter*{REFERENCES \@mkboth {REFERENCES}{REFERENCES}} \textheight 556pt \list {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]} \leftmargin\labelwidth \advance\leftmargin\labelsep \usecounter{enumi}} \def\newblock{\hskip .11em plus .33em minus -.07em} \sloppy \sfcode`\.=1000\relax \singlespacing} \def\endthebibliographyno{\doublespacing\endlist} \def\thebibliography#1{\chapter*{REFERENCES \@mkboth {REFERENCES}{REFERENCES}} \textheight 556pt \list {}{\addtolength\labelsep{-0.15in}\addtolength\itemindent{-0.3in} \leftmargin\labelwidth \advance\leftmargin\labelsep \usecounter{enumi}} \def\newblock{\hskip .11em plus .33em minus -.07em} \sloppy \sfcode`\.=1000\relax \singlespacing} \def\endthebibliography{\doublespacing\endlist} \def\thechbibliography#1{\section*{References \@mkboth {References}{References}} \textheight 556pt \list {}{\addtolength\labelsep{-0.15in}\addtolength\itemindent{-0.3in} \addcontentsline{toc}{section}{References} \leftmargin\labelwidth \advance\leftmargin\labelsep \usecounter{enumi}} \def\newblock{\hskip .11em plus .33em minus -.07em} \sloppy \sfcode`\.=1000\relax \singlespacing} \def\endthechbibliography{\doublespacing\endlist} \def\thechbibliographyno#1{\section*{References \@mkboth {References}{References}} \textheight 556pt \list {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]} \addcontentsline{toc}{section}{References} \leftmargin\labelwidth \advance\leftmargin\labelsep \usecounter{enumi}} \def\newblock{\hskip .11em plus .33em minus -.07em} \sloppy \sfcode`\.=1000\relax \singlespacing} \def\endthechbibliographyno{\doublespacing\endlist} \newenvironment{chapabstract}{\chapabshead}{\chapabstail} \def\chapabshead{ \typeout{Abstract} \centerline{\bf Abstract} \addcontentsline{toc}{section}{Abstract} \singlespacing \baselineskip=14pt \noindent} \def\chapabstail{ %\setlength{\@abhdskip}{.5in} %\addtolength{\@abhdskip}{\topmargin} } \newenvironment{chapack}{\chapackhead}{\chapacktail} \def\chapackhead{ \typeout{Acknowledgments} \vskip 35 pt \leftline{\bf Acknowledgments} \vskip 8pt \addcontentsline{toc}{section}{Acknowledgments} \baselineskip=1pt } \def\chapacktail{ %\setlength{\@abhdskip}{.5in} %\addtolength{\@abhdskip}{\topmargin} } \newenvironment{Bibliography}{\pagestyle{plain}\begin{thebibliography}{99} }{\end{thebibliography}} \newenvironment{Bibliographych}{\pagestyle{plain}\begin{thechbibliography}{99} }{\end{thechbibliography}} \newenvironment{Bibliographyno}{\pagestyle{plain}\begin{thebibliographyno}{99} }{\end{thebibliographyno}} \newenvironment{Bibliographychno} {\pagestyle{plain}\begin{thechbibliographyno}{99} }{\end{thechbibliographyno}} \newenvironment{References}{\citehead}{\citetail} \def\citehead{\clearpage\pagestyle{plain} } \def\citetail{\clearpage\thispagestyle{plain}} \newenvironment{vita}{\vitahead}{\vitatail} \def\vitahead{\clearpage\thispagestyle{empty} \centerline{\Large VITA}\par\nobreak\vskip 20pt \baselineskip=22.5pt plus .5pt minus .2pt \addtocontents{toc}{\protect\noindent Vita \protect\hfill} } \def\vitatail{\par\vspace{50pt}\par \noindent Permanent address: \parbox[t]{2in}{\raggedright\addr@ss} } |

