%%
%% This is file `ndthesis.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% ndthesis.dtx  (with options: `class')
%% 
%% ========================================================================
%% Thesis document class by Donald A. Peterson and Jeffrey M. Squyres to
%% adhere to the University of Notre Dame guidelines.  Please send any
%% improvements/suggestions to DPETERSO@ND.EDU.  For documentation on how
%% to use this class, see the file ndthesisdoc.dtx
%% ========================================================================
%% 
%% NDTHESIS LaTeX2e class, blessed by the Notre Dame Graduate School
%%
%% See the instructions in ndthesis.ins for how to obtain a
%% sample template thesis file. Also see the sample_ndthesis
%% files located on the Notre Dame Graduate Student Union
%% web pages.  (Last located in the ITC Committee pages.)
%%
%% \CharacterTable
%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%%   Digits        \0\1\2\3\4\5\6\7\8\9
%%   Exclamation   \!     Double quote  \"     Hash (number) \#
%%   Dollar        \$     Percent       \%     Ampersand     \&
%%   Acute accent  \'     Left paren    \(     Right paren   \)
%%   Asterisk      \*     Plus          \+     Comma         \,
%%   Minus         \-     Point         \.     Solidus       \/
%%   Colon         \:     Semicolon     \;     Less than     \<
%%   Equals        \=     Greater than  \>     Question mark \?
%%   Commercial at \@     Left bracket  \[     Backslash     \\
%%   Right bracket \]     Circumflex    \^     Underscore    \_
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%%   Right brace   \}     Tilde         \~}
%%
\def\ndfiledate{2000/09/08}  \def\ndfileversion{2.14}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{ndthesis}
   [2000/09/08 2.14
   Official Notre Dame thesis document class]
\RequirePackage{ifthen,exscale,textcase}
\newif\if@NDTsummary       \@NDTsummarytrue
\newif\if@NDTcenter        \@NDTcentertrue
\newif\if@NDTheaders       \@NDTheadersfalse
\newif\if@NDTtex           \@NDTtexfalse
\newif\if@NDTmixed         \@NDTmixedfalse
\newif\if@NDTadvisorB      \@NDTadvisorBfalse
\newif\if@NDTdedicateTitle \@NDTdedicateTitlefalse
\newif\if@NDTcapchap       \@NDTcapchapfalse
\newif\if@NDTded           \@NDTdedfalse
\newif\if@NDTuct           \@NDTuctfalse
\newif\if@NDTucf           \@NDTucffalse
\newif\if@NDTindent        \@NDTindenttrue
\DeclareOption{nosummary}{\typeout{OMITTING SUMMARY PAGE}%
  \typeout{}\@NDTsummaryfalse}
\DeclareOption{nocenter}{\typeout{CHAPTER TITLES *NOT* CENTERED}%
  \typeout{}\@NDTcenterfalse}
\DeclareOption{mixed}{\typeout{MIXED-CASE LABELS}\typeout{} \@NDTmixedtrue}
\DeclareOption{titletex}{\typeout{BASIC (La)TeX CHAPTER FORMATTING CHOSEN}%
  \typeout{}\@NDTtextrue \@NDTmixedtrue}
\DeclareOption{fulltex}{\typeout{*COMPLETE* (La)TeX FORMATTING CHOSEN}%
  \typeout{}\@NDTcenterfalse \@NDTindentfalse \@NDTheaderstrue \@NDTtextrue \@NDTmixedtrue}
\DeclareOption{twoside}{\OptionNotUsed\typeout{TWO-SIDED PRINTING IS NOT AN
        OPTION FOR ND THESES: USING ONESIDE OPTION}\typeout{}}
\DeclareOption{twoadvisors}{\@NDTadvisorBtrue}
\DeclareOption{dedicatetitle}{\@NDTdedicateTitletrue}
\DeclareOption{noindentfirst}{\typeout{NOT INDENTING first paragraph of each
section}\@NDTindentfalse}
\long\def\MaketableCaptionUC#1{#1}
\let\MakefigureCaptionUC\MaketableCaptionUC
\DeclareOption{uctab}{\typeout{TABLE CAPTIONS will be forced into upper
        case.  This may affect math formulae in the caption!}%
  \let\MaketableCaptionUC\MakeTextUppercase\@NDTucttrue}
\DeclareOption{ucfig}{\typeout{FIGURE CAPTIONS will be forced into upper
        case.  This may affect math formulae in the caption!}%
 \let\MakefigureCaptionUC\MakeTextUppercase\@NDTucftrue}
\DeclareOption{ucchap}{\typeout{CHAPTER TITLES will be forced into upper
        case.  This may affect math formulae in the title!}%
          \@NDTcapchaptrue}
\DeclareOption{openbib}{%
  \AtEndOfPackage{%
   \renewcommand\@openbib@code{%
      \dosingle\advance\leftmargin\bibindent
      \itemindent -\bibindent
      \listparindent \itemindent
      }%
   \renewcommand\newblock{\newline}}%
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}
\ProcessOptions
\LoadClass[12pt,oneside]{book}
\RequirePackage{longtable}
\if@NDTindent\RequirePackage{indentfirst}\else\relax\fi
\def\singlebaselinestretch{1.1}
\def\realbaselinestretch{1.69}
\newlength{\singleskip}
\setlength{\singleskip}{\singlebaselinestretch em}
\newlength{\doubleskip}
\setlength{\doubleskip}{\realbaselinestretch em}
\def\dosingle{\setlength{\baselineskip}{1.0\singleskip}}
\def\dodouble{\setlength{\baselineskip}{1.0\doubleskip}}
\def\@dottedtocline#1#2#3#4#5{%
  \ifnum #1>\c@tocdepth \else
    \vskip \z@ \@plus.2\p@
    {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
     \parindent #2\relax\@afterindenttrue
     \interlinepenalty\@M
     \leavevmode
     \@tempdima #3\relax
     \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
     \dosingle{#4}\nobreak
     \leaders\hbox{$\m@th
        \mkern \@dotsep mu\hbox{.}\mkern \@dotsep
        mu$}\hfill
     \nobreak
     \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}%
     \par}%
  \fi}
\renewcommand*{\l@chapter}[2]{%
  \addpenalty{-\@highpenalty}%
  \setlength\@tempdima{1.5em}%
  \begingroup \leavevmode
  \@dottedtocline{1}{0pt}{\@tempdima}{%
        \if@NDTtex\bfseries\else\relax\fi%
        \if@NDTcapchap\MakeTextUppercase{#1}\else #1\fi}{%
        \if@NDTtex\bfseries\else\relax\fi%
        #2}
  \par
  \penalty\@highpenalty
  \endgroup
}
\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
                       \if@mainmatter
                         \refstepcounter{chapter}%
                         \typeout{\@chapapp\space\thechapter.}%
                         {\addcontentsline{toc}{chapter}%
                           {\@chapapp\ \thechapter:\ #1}}
                       \else
                         \addcontentsline{toc}{chapter}{#1}%
                       \fi
                    \else
                      \addcontentsline{toc}{chapter}{#1}%
                    \fi
                    \chaptermark{#1}%
                    \addtocontents{lof}{\protect\addvspace{10\p@}}%
                    \addtocontents{lot}{\protect\addvspace{10\p@}}%
                    \@makechapterhead{#2}%
                    \@afterheading}
\def\@makechapterhead#1{%
  \renewcommand{\baselinestretch}{1.0}
  \vspace*{.625in}%
  {\parindent \z@ \raggedright \normalfont
    \ifnum \c@secnumdepth >\m@ne
      \if@mainmatter
              \if@NDTtex\LARGE\bfseries\else\mdseries\fi%
                  \if@NDTcenter\center\else\relax\fi \@chapapp{} \thechapter%
        \par\nobreak
        \vskip 20\p@
      \fi
    \fi
    \interlinepenalty\@M
           \if@NDTtex\LARGE\bfseries\else\mdseries\fi%
           \if@NDTcenter\center\else\relax\fi%
   \if@NDTcapchap\MakeTextUppercase{#1}\else #1\fi%
   \par\nobreak
    \vskip 40\p@
    \renewcommand{\baselinestretch}{\realbaselinestretch}
  }}
  \def\@makeschapterhead#1{%
  \renewcommand{\baselinestretch}{1.0}
    \vspace*{.625in}%
    {\parindent \z@ \raggedright
      \normalfont
      \interlinepenalty\@M
           \if@NDTtex\LARGE\bfseries\else\mdseries\fi%
           \if@NDTcenter\center\else\relax\fi #1\par\nobreak
      \vskip 40\p@
      \renewcommand{\baselinestretch}{\realbaselinestretch}
    }}
\renewcommand\section{\@startsection {section}{1}{\z@}%
                                   {-4.2ex \@plus -1ex \@minus -.2ex}%
                                   {1.8ex \@plus.2ex}%
                                   {\normalfont%
                                     \if@NDTtex
                                     \Large\bfseries\else\mdseries\fi}}
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
                                     {-3.9ex\@plus -1ex \@minus -.2ex}%
                                     {1.2ex \@plus .2ex}%
                                     {\normalfont%
                                       \if@NDTtex
                                       \large\bfseries\else\mdseries\fi}}
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
                                     {-3.9ex\@plus -1ex \@minus -.2ex}%
                                     {1.2ex \@plus .2ex}%
                                     {\normalfont\normalsize%
                                       \if@NDTtex
                                       \bfseries\else\mdseries\fi}}
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
                                    {3.9ex \@plus1ex \@minus.2ex}%
                                    {-1em}%
                                    {\normalfont\normalsize%
                                      \if@NDTtex\bfseries\else\mdseries\fi}}
\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
                                       {3.9ex \@plus1ex \@minus .2ex}%
                                       {-1em}%
                                       {\normalfont\normalsize%
                                         \if@NDTtex\bfseries\else\mdseries\fi}}
\renewcommand\listoffigures{%
    \if@twocolumn
      \@restonecoltrue\onecolumn
    \else
      \@restonecolfalse
    \fi
    \chapter*{\listfigurename
      \@mkboth{\MakeUppercase\listfigurename}%
              {\MakeUppercase\listfigurename}}%
    \addcontentsline{toc}{chapter}{\listfigurename}%
    \@starttoc{lof}%
    \if@restonecol\twocolumn\fi
}
\renewcommand\listoftables{%
    \if@twocolumn
      \@restonecoltrue\onecolumn
    \else
      \@restonecolfalse
    \fi
    \chapter*{\listtablename
      \@mkboth{%
          \MakeUppercase\listtablename}{\MakeUppercase\listtablename}}%
    \addcontentsline{toc}{chapter}{\listtablename}%
    \@starttoc{lot}%
    \if@restonecol\twocolumn\fi
}
\newcommand{\work}[1]{\def\@work{#1}}  %Thesis or Dissertation
  \work{}
\newcommand{\degaward}[1]{\def\@degaward{#1}}  %M.S. Ph.D. M.B.A. what?
  \degaward{}
\newcommand{\degprior}[1]{\def\@degprior{#1}}  %M.S. Ph.D. M.B.A. what?
  \degprior{}
\newcommand{\degdate}[1]{\def\@degdate{#1}}  %Default to current month year
  \degdate{\ifcase\month\or
        January\or February\or March\or April\or May\or June\or
        July\or August\or September\or October\or November\or December\fi
        \space\number\year}
\newcommand{\advisor}[1]{\def\@advisor{#1}}%The signature you need
  \advisor{}
\newcommand{\advisorB}[1]{\def\@advisorB{#1}}%The other signature you need
  \advisorB{}
\newcommand{\department}[1]{\def\@department{#1}}  %Thesis or Dissertation
  \department{}
\def\NDthesis{\mbox{N\kern-.18em\lower.35ex\hbox{\scshape d}%
        \kern-.55exT\kern-.3em\lower.35ex\hbox{h}\kern-.0833emesiS}}
\newcommand{\summarypage}{\thispagestyle{empty}
  \begin{center}
  \large Typeset with \NDthesis\ version \ndfileversion\ (\ndfiledate)\\[-.25\baselineskip]
  on \today\normalsize\\[-.25\baselineskip]
  for\\[-.25\baselineskip]
  \@author\\[-.25\baselineskip]
  entitled\\[.25\baselineskip]
  \@title
  \end{center}

  \noindent\dosingle This class conforms to the University of Notre Dame style
  guidelines established  Fall  2000. However it is still
  possible to generate a non-conformant document if the published
  instructions are not followed! Be sure to refer to the published Graduate
  School guidelines as well.\\[\singleskip]

  \noindent\dosingle\itshape This summary page can be disabled by specifying
  the \sffamily nosummary \rmfamily option to the class invocation.\upshape
  (i.e., \textbackslash documentclass[nosummary]\{ndthesis\})\\[\singleskip]

  \begin{center}
          \bfseries\large\dosingle THIS PAGE IS \slshape NOT
          \upshape PART OF THE THESIS, BUT SHOULD BE TURNED IN TO THE
        PROOFREADER!
  \end{center}
        \normalsize
                \NDthesis\ documentation can be found at these locations:
        \begin{center}\dosingle
                {\ttfamily http://www.nd.edu/\textasciitilde
                  afsunix/faq/tetexdoc/latex/ndthesis/}\\
                {\ttfamily http://www.gsu.nd.edu/Committees/ITC/ndthesis.pdf}\\
                {\ttfamily http://www.gsu.nd.edu/Committees/ITC/sample\symbol{95}ndthesis.tar.gz}\\
        \end{center}

\small
General \LaTeX\ documentation and info:\\
\begin{minipage}[t]{.45\textwidth}
        \raggedleft\dosingle
        \bfseries On-line docs:\mdseries \\
                ND installation \\
                        \TeX\ User's Group \\[\doubleskip]
                \bfseries Books:\mdseries \\
        \emph{A Guide\ldots for Beg.\ \& Adv.\ Users}\\
        \emph{\LaTeX\ User's Guide \ldots} \\
                \emph{The \LaTeX\ Companion} \\[\doubleskip]
                \bfseries Packages: \mdseries (check on-line docs)\\
                rotating \\
                longtable \\
                graphicx
\end{minipage}
\hfill
\begin{minipage}[t]{.5\textwidth}
        \raggedright\dosingle
        {}\ \\
        {\ttfamily http://www.nd.edu/\textasciitilde
          afsunix/faq/tetexdoc/}\\
        {\ttfamily http://www.tug.org/}\\[\doubleskip]
    {}\ \\
        by Kopka/Daly \\
        by Lamport\\
        by Goossens/Mittelbach/Samarin\\[\doubleskip]
        {}\ \\
        sideways tables and figures \\
        multi-page tables \\
        using Postscript and other figures
\end{minipage}

\normalsize\eject}
\renewcommand{\maketitle}{\if@NDTsummary\summarypage\else\relax\fi%
  \begin{titlepage}%
\ifthenelse{\equal{\@work}{}}{\ClassError{ndthesis}%
  {The \protect\work\space macro is undefined.\MessageBreak
        The title page may be incorrectly formatted.}%
  {Specify \protect\work\space as Dissertation or Thesis}}{\relax}
\ifthenelse{\equal{\@degaward}{}}{\ClassError{ndthesis}%
  {The \protect\degaward\space macro is undefined.\MessageBreak
        The title page may be incorrectly formatted.}%
  {\protect\degaward\space defines the awarded degree (Ph.D., M.S., etc.)}}%
{\relax}
\ifthenelse{\equal{\@advisor}{}}{\ClassError{ndthesis}%
  {The \protect\advisor\space macro is undefined.\MessageBreak
        The title page may be incorrectly formatted.}%
  {\protect\advisor\space is who signs your walking papers!}}{\relax}
\ifthenelse{\equal{\@department}{}}{\ClassError{ndthesis}%
  {The \protect\department\space macro is undefined.\MessageBreak
        The title page may be incorrectly formatted.}%
  {What \protect\department\space is awarding your degree?}}{\relax}
\if@NDTadvisorB \ifthenelse{\equal{\@advisorB}{}}{%
  \ClassError{ndthesis}{The \protect\advisorB\space macro is undefined.
        \MessageBreak The title page may be incorrectly formatted.}%
  {Use \protect\advisorB{mysecondboss}.}}{\relax}
\fi
\skip1=1.2\doubleskip
\skip2=1.7\doubleskip
\skip3=2.7\doubleskip
\skip4=1em
\if@NDTadvisorB \skip1=1.0\doubleskip \skip4=1.5em \else\relax\fi
\setbox0=\hbox{\@title}
\ifdim \wd0 > 3\hsize
   \advance\skip4 .5\doubleskip
   \advance\skip1 -.33\doubleskip
\else
   \ifdim \wd0 > 2\hsize
     \advance\skip4 .5\doubleskip
         \advance\skip1 -.167\doubleskip
  \else
     \ifdim \wd0 > \hsize
        \advance\skip4 .5\doubleskip
         \fi
  \fi
\fi
\setbox1=\vbox{\@degaward}
\ifdim \ht1 > \doubleskip\relax
   \else \advance\skip1 .167\doubleskip \fi
\null\vspace*{-\skip4}
  \begin{center}%
    \@title \par%
    \vskip\skip1%
    A \@work \par%
    \vskip\skip1%
      Submitted to the Graduate School \\
          of the University of Notre Dame \\
          in Partial Fulfillment of the Requirements \\
          for the Degree of \par
    \vskip\skip1%
        \@degaward \vskip\skip1  by \vskip\skip1%
    {\normalsize
%%     \lineskip .75em%
      \begin{tabular}[t]{c@{}l}%
        \@author, &\ \@degprior
      \end{tabular}\par}%
\if@NDTadvisorB\vskip\skip2\else \vskip\skip3\fi%
        \hspace*{2.75in}\underline{\hspace{2.75in}}\\%
        \hspace*{2.75in}\@advisor, Director\\
\if@NDTadvisorB %
      \vskip\doubleskip%
        \hspace*{2.75in}\underline{\hspace{2.75in}}\\%
        \hspace*{2.75in}\@advisorB, Director\\
\fi
  \vskip 3em%
  Graduate Program in \@department \\%
  Notre Dame, Indiana \\
  \@degdate
  \end{center}\par
  \end{titlepage}%
}
  \newcommand{\copypage}[1][\number\year]{%
        \thispagestyle{empty}
        \vspace*{3in}
        \begin{center}
          \copyright Copyright by \\
          \@author \\
          #1 \\
          All Rights Reserved
        \end{center}
        \newpage}
  \newenvironment{abstract}{%
        \renewcommand{\@oddfoot}{\@empty}
                \addtolength{\topmargin}{.206in}
        \def\@oddhead{\hfil{\upshape\@author}}
        \titlepage
        \null
        \begin{center}
                  \vspace*{.2525in}
          {\normalsize\mdseries
                \@title \\[3.5ex]
                \normalsize\abstractname \\ by \\ \@author}%
          \@endparpenalty \@M
        \end{center}\par}%
  {\par\vfil\null\endtitlepage}
%% Dedication
  \newenvironment{dedication}{%
        \global\@NDTdedtrue     \setcounter{page}{2}
        \renewcommand{\@oddfoot}{\@empty}
        \vspace*{3\p@}%
     \begin{center}%
           \@NDTdedtrue
           \vspace*{1in}%
                {\if@NDTtex\Large\bfseries\else\mdseries\fi%
                  \if@NDTdedicateTitle\dedicationname\fi}%
        \@endparpenalty\@M
                \par\nobreak \vskip 20\p@}%
        {\end{center}%
        \par\vfil\null}
%% Preface
  \newenvironment{preface}{%
        \cleardoublepage
        \addcontentsline{toc}{chapter}{\prefacename}
        \vspace*{.5in}%
        \begin{center}%
          {\if@NDTtex\Large\bfseries\else\mdseries\fi \prefacename}%
          \@endparpenalty\@M
          \par\nobreak \vskip 20\p@
        \end{center}\par}%
  {\par\null}
%% Acknowledgements
  \newenvironment{acknowledge}{%
        \cleardoublepage
        \addcontentsline{toc}{chapter}{\acknowledgename}
        \vspace*{.5in}%
        \begin{center}%
          {\if@NDTtex\Large\bfseries\else\mdseries\fi \acknowledgename}%
          \@endparpenalty\@M
          \par\nobreak \vskip 20\p@
        \end{center}\par}%
  {\par\null}
%% List of Symbols
  \newcommand{\sym}[2]{\ensuremath{#1} & #2 \\}
  \newenvironment{symbols}[1][rl]{%
        \cleardoublepage
        \addcontentsline{toc}{chapter}{\symbolsname}
        \vspace*{.5in}%
        \begin{center}%
          {\if@NDTtex\Large\bfseries\else\mdseries\fi \symbolsname}%
          \@endparpenalty\@M
          \par\nobreak \vskip 20\p@
        \begin{longtable}{#1}}%
  {\end{longtable}\end{center}\par\null}
\renewcommand\tableofcontents{%
  \if@NDTded\relax\else\setcounter{page}{2}\fi
  \chapter*{\contentsname
        \@mkboth{%
          \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
  \@starttoc{toc}%
  }
\renewcommand{\tablename}{\if@NDTuct TABLE\else Table\fi}
\renewcommand{\figurename}{\if@NDTucf FIGURE\else Figure\fi}
\renewcommand{\chaptername}{\if@NDTmixed Chapter\else CHAPTER\fi}
\newcommand{\appendicename}{\if@NDTmixed Appendices\else APPENDICES\fi}
\renewcommand{\appendixname}{\if@NDTmixed Appendix\else APPENDIX\fi}
\renewcommand{\contentsname}{\if@NDTmixed Contents\else CONTENTS\fi}
\renewcommand{\listfigurename}{\if@NDTmixed Figures\else FIGURES\fi}
\renewcommand{\listtablename}{\if@NDTmixed Tables\else TABLES\fi}
\renewcommand{\bibname}{\if@NDTmixed Bibliography\else BIBLIOGRAPHY\fi}
\renewcommand{\indexname}{\if@NDTmixed Index\else INDEX\fi}
\newcommand{\abstractname}{Abstract}
\newcommand{\dedicationname}{\if@NDTmixed Dedication\else DEDICATION\fi}
\newcommand{\prefacename}{\if@NDTmixed Preface\else PREFACE\fi}
\newcommand{\acknowledgename}{\if@NDTmixed Acknowledgments\else ACKNOWLEDGMENTS\fi}
\newcommand{\symbolsname}{\if@NDTmixed Symbols\else SYMBOLS\fi}
\long\def\@caption#1[#2]#3{%
  \par
  \addcontentsline{\csname ext@#1\endcsname}{#1}%
  {\protect\numberline{\csname the#1\endcsname}%
        {\csname Make#1CaptionUC\endcsname{\ignorespaces #2}}}%
  \addtocontents{\csname ext@#1\endcsname}{\vskip 0.80em}%
  \begingroup
    \@parboxrestore
        \if@minipage
          \@setminipage
        \fi
        \normalsize
    \@makecaption{\csname fnum@#1\endcsname}%
        {\csname Make#1CaptionUC\endcsname{\ignorespaces #3}}\par
  \endgroup}
\long\def\@makecaption#1#2{%
  \vskip\abovecaptionskip
    \advance\leftskip by 0pt plus 1fil%
        \advance\rightskip by 0pt plus -1fil%
        \parfillskip0pt plus 2fil%
    #1. #2\par
  \vskip\belowcaptionskip}
\setlength\abovecaptionskip{20\p@} %was originally 10pt, leave below at 0pt
\newlength\abovetableskip
\newlength\belowtableskip
\newlength\abovefigureskip
\newlength\belowfigureskip
\setlength\abovetableskip\belowcaptionskip
\setlength\belowtableskip\abovecaptionskip
\setlength\abovefigureskip\abovecaptionskip
\setlength\belowfigureskip\belowcaptionskip
\renewenvironment{table}{%
   \setlength{\abovecaptionskip}{\abovetableskip}
   \setlength{\belowcaptionskip}{\belowtableskip}
   \@float{table}}%
   {\end@float}
\renewenvironment{figure}{%
  \setlength{\abovecaptionskip}{\abovefigureskip}
  \setlength{\belowcaptionskip}{\belowfigureskip}
  \@float{figure}}%
  {\end@float}
\LTcapwidth=\textwidth
\def\LT@c@ption#1[#2]#3{%
  \LT@makecaption#1\fnum@table{#3}%
  \def\@tempa{#2}%
  \ifx\@tempa\@empty\else {\let\\\space
     \addcontentsline{lot}{table}{\protect\numberline{\thetable}%
       \MaketableCaptionUC{{\ignorespaces #2}}}}%
     \addtocontents{lot}{\vskip 0.80em}%
  \fi}
\def\LT@makecaption#1#2#3{%
  \LT@mcol\LT@cols c{\hbox to\z@{\hss\parbox[t]\LTcapwidth{%
  \vskip\abovetableskip%
    \advance\leftskip by 0pt plus 1fil%
        \advance\rightskip by 0pt plus -1fil%
        \parfillskip0pt plus 2fil%
    \dosingle #1{#2. }\MaketableCaptionUC{#3}\par%
  \endgraf\vskip\belowtableskip}%
  \hss}}}
\renewcommand{\baselinestretch}{\realbaselinestretch}
\addtolength{\textwidth}{0.50in}
\addtolength{\topmargin}{-.75in}
\addtolength{\textheight}{0.725in}
\addtolength{\footskip}{0.02in}
\if@NDTheaders
   \addtolength{\topmargin}{0.50in} \addtolength{\textheight}{1em}
\else
   \addtolength{\textheight}{0.50in}
\fi
\renewenvironment{quote}
               {\list{}{\rightmargin\leftmargin}%
                 \dosingle
               \item\relax}
               {\endlist}
\let\@openbib@code=\dosingle
\if@NDTheaders\relax\else\pagestyle{plain}\fi
\endinput
%%
%% End of file `ndthesis.cls'.
