1 |
mmeineke |
954 |
%% |
2 |
|
|
%% This is file `ndthesis.cls', |
3 |
|
|
%% generated with the docstrip utility. |
4 |
|
|
%% |
5 |
|
|
%% The original source files were: |
6 |
|
|
%% |
7 |
|
|
%% ndthesis.dtx (with options: `class') |
8 |
|
|
%% |
9 |
|
|
%% ======================================================================== |
10 |
|
|
%% Thesis document class by Donald A. Peterson and Jeffrey M. Squyres to |
11 |
|
|
%% adhere to the University of Notre Dame guidelines. Please send any |
12 |
|
|
%% improvements/suggestions to DPETERSO@ND.EDU. For documentation on how |
13 |
|
|
%% to use this class, see the file ndthesisdoc.dtx |
14 |
|
|
%% ======================================================================== |
15 |
|
|
%% |
16 |
|
|
%% NDTHESIS LaTeX2e class, blessed by the Notre Dame Graduate School |
17 |
|
|
%% |
18 |
|
|
%% See the instructions in ndthesis.ins for how to obtain a |
19 |
|
|
%% sample template thesis file. Also see the sample_ndthesis |
20 |
|
|
%% files located on the Notre Dame Graduate Student Union |
21 |
|
|
%% web pages. (Last located in the ITC Committee pages.) |
22 |
|
|
%% |
23 |
|
|
%% \CharacterTable |
24 |
|
|
%% {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 |
25 |
|
|
%% 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 |
26 |
|
|
%% Digits \0\1\2\3\4\5\6\7\8\9 |
27 |
|
|
%% Exclamation \! Double quote \" Hash (number) \# |
28 |
|
|
%% Dollar \$ Percent \% Ampersand \& |
29 |
|
|
%% Acute accent \' Left paren \( Right paren \) |
30 |
|
|
%% Asterisk \* Plus \+ Comma \, |
31 |
|
|
%% Minus \- Point \. Solidus \/ |
32 |
|
|
%% Colon \: Semicolon \; Less than \< |
33 |
|
|
%% Equals \= Greater than \> Question mark \? |
34 |
|
|
%% Commercial at \@ Left bracket \[ Backslash \\ |
35 |
|
|
%% Right bracket \] Circumflex \^ Underscore \_ |
36 |
|
|
%% Grave accent \` Left brace \{ Vertical bar \| |
37 |
|
|
%% Right brace \} Tilde \~} |
38 |
|
|
%% |
39 |
|
|
\def\ndfiledate{2000/09/08} \def\ndfileversion{2.14} |
40 |
|
|
\NeedsTeXFormat{LaTeX2e} |
41 |
|
|
\ProvidesClass{ndthesis} |
42 |
|
|
[2000/09/08 2.14 |
43 |
|
|
Official Notre Dame thesis document class] |
44 |
|
|
\RequirePackage{ifthen,exscale,textcase} |
45 |
|
|
\newif\if@NDTsummary \@NDTsummarytrue |
46 |
|
|
\newif\if@NDTcenter \@NDTcentertrue |
47 |
|
|
\newif\if@NDTheaders \@NDTheadersfalse |
48 |
|
|
\newif\if@NDTtex \@NDTtexfalse |
49 |
|
|
\newif\if@NDTmixed \@NDTmixedfalse |
50 |
|
|
\newif\if@NDTadvisorB \@NDTadvisorBfalse |
51 |
|
|
\newif\if@NDTdedicateTitle \@NDTdedicateTitlefalse |
52 |
|
|
\newif\if@NDTcapchap \@NDTcapchapfalse |
53 |
|
|
\newif\if@NDTded \@NDTdedfalse |
54 |
|
|
\newif\if@NDTuct \@NDTuctfalse |
55 |
|
|
\newif\if@NDTucf \@NDTucffalse |
56 |
|
|
\newif\if@NDTindent \@NDTindenttrue |
57 |
|
|
\DeclareOption{nosummary}{\typeout{OMITTING SUMMARY PAGE}% |
58 |
|
|
\typeout{}\@NDTsummaryfalse} |
59 |
|
|
\DeclareOption{nocenter}{\typeout{CHAPTER TITLES *NOT* CENTERED}% |
60 |
|
|
\typeout{}\@NDTcenterfalse} |
61 |
|
|
\DeclareOption{mixed}{\typeout{MIXED-CASE LABELS}\typeout{} \@NDTmixedtrue} |
62 |
|
|
\DeclareOption{titletex}{\typeout{BASIC (La)TeX CHAPTER FORMATTING CHOSEN}% |
63 |
|
|
\typeout{}\@NDTtextrue \@NDTmixedtrue} |
64 |
|
|
\DeclareOption{fulltex}{\typeout{*COMPLETE* (La)TeX FORMATTING CHOSEN}% |
65 |
|
|
\typeout{}\@NDTcenterfalse \@NDTindentfalse \@NDTheaderstrue \@NDTtextrue \@NDTmixedtrue} |
66 |
|
|
\DeclareOption{twoside}{\OptionNotUsed\typeout{TWO-SIDED PRINTING IS NOT AN |
67 |
|
|
OPTION FOR ND THESES: USING ONESIDE OPTION}\typeout{}} |
68 |
|
|
\DeclareOption{twoadvisors}{\@NDTadvisorBtrue} |
69 |
|
|
\DeclareOption{dedicatetitle}{\@NDTdedicateTitletrue} |
70 |
|
|
\DeclareOption{noindentfirst}{\typeout{NOT INDENTING first paragraph of each |
71 |
|
|
section}\@NDTindentfalse} |
72 |
|
|
\long\def\MaketableCaptionUC#1{#1} |
73 |
|
|
\let\MakefigureCaptionUC\MaketableCaptionUC |
74 |
|
|
\DeclareOption{uctab}{\typeout{TABLE CAPTIONS will be forced into upper |
75 |
|
|
case. This may affect math formulae in the caption!}% |
76 |
|
|
\let\MaketableCaptionUC\MakeTextUppercase\@NDTucttrue} |
77 |
|
|
\DeclareOption{ucfig}{\typeout{FIGURE CAPTIONS will be forced into upper |
78 |
|
|
case. This may affect math formulae in the caption!}% |
79 |
|
|
\let\MakefigureCaptionUC\MakeTextUppercase\@NDTucftrue} |
80 |
|
|
\DeclareOption{ucchap}{\typeout{CHAPTER TITLES will be forced into upper |
81 |
|
|
case. This may affect math formulae in the title!}% |
82 |
|
|
\@NDTcapchaptrue} |
83 |
|
|
\DeclareOption{openbib}{% |
84 |
|
|
\AtEndOfPackage{% |
85 |
|
|
\renewcommand\@openbib@code{% |
86 |
|
|
\dosingle\advance\leftmargin\bibindent |
87 |
|
|
\itemindent -\bibindent |
88 |
|
|
\listparindent \itemindent |
89 |
|
|
}% |
90 |
|
|
\renewcommand\newblock{\newline}}% |
91 |
|
|
} |
92 |
|
|
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}} |
93 |
|
|
\ProcessOptions |
94 |
|
|
\LoadClass[12pt,oneside]{book} |
95 |
|
|
\RequirePackage{longtable} |
96 |
|
|
\if@NDTindent\RequirePackage{indentfirst}\else\relax\fi |
97 |
|
|
\def\singlebaselinestretch{1.1} |
98 |
|
|
\def\realbaselinestretch{1.69} |
99 |
|
|
\newlength{\singleskip} |
100 |
|
|
\setlength{\singleskip}{\singlebaselinestretch em} |
101 |
|
|
\newlength{\doubleskip} |
102 |
|
|
\setlength{\doubleskip}{\realbaselinestretch em} |
103 |
|
|
\def\dosingle{\setlength{\baselineskip}{1.0\singleskip}} |
104 |
|
|
\def\dodouble{\setlength{\baselineskip}{1.0\doubleskip}} |
105 |
|
|
\def\@dottedtocline#1#2#3#4#5{% |
106 |
|
|
\ifnum #1>\c@tocdepth \else |
107 |
|
|
\vskip \z@ \@plus.2\p@ |
108 |
|
|
{\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip |
109 |
|
|
\parindent #2\relax\@afterindenttrue |
110 |
|
|
\interlinepenalty\@M |
111 |
|
|
\leavevmode |
112 |
|
|
\@tempdima #3\relax |
113 |
|
|
\advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip |
114 |
|
|
\dosingle{#4}\nobreak |
115 |
|
|
\leaders\hbox{$\m@th |
116 |
|
|
\mkern \@dotsep mu\hbox{.}\mkern \@dotsep |
117 |
|
|
mu$}\hfill |
118 |
|
|
\nobreak |
119 |
|
|
\hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}% |
120 |
|
|
\par}% |
121 |
|
|
\fi} |
122 |
|
|
\renewcommand*{\l@chapter}[2]{% |
123 |
|
|
\addpenalty{-\@highpenalty}% |
124 |
|
|
\setlength\@tempdima{1.5em}% |
125 |
|
|
\begingroup \leavevmode |
126 |
|
|
\@dottedtocline{1}{0pt}{\@tempdima}{% |
127 |
|
|
\if@NDTtex\bfseries\else\relax\fi% |
128 |
|
|
\if@NDTcapchap\MakeTextUppercase{#1}\else #1\fi}{% |
129 |
|
|
\if@NDTtex\bfseries\else\relax\fi% |
130 |
|
|
#2} |
131 |
|
|
\par |
132 |
|
|
\penalty\@highpenalty |
133 |
|
|
\endgroup |
134 |
|
|
} |
135 |
|
|
\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne |
136 |
|
|
\if@mainmatter |
137 |
|
|
\refstepcounter{chapter}% |
138 |
|
|
\typeout{\@chapapp\space\thechapter.}% |
139 |
|
|
{\addcontentsline{toc}{chapter}% |
140 |
|
|
{\@chapapp\ \thechapter:\ #1}} |
141 |
|
|
\else |
142 |
|
|
\addcontentsline{toc}{chapter}{#1}% |
143 |
|
|
\fi |
144 |
|
|
\else |
145 |
|
|
\addcontentsline{toc}{chapter}{#1}% |
146 |
|
|
\fi |
147 |
|
|
\chaptermark{#1}% |
148 |
|
|
\addtocontents{lof}{\protect\addvspace{10\p@}}% |
149 |
|
|
\addtocontents{lot}{\protect\addvspace{10\p@}}% |
150 |
|
|
\@makechapterhead{#2}% |
151 |
|
|
\@afterheading} |
152 |
|
|
\def\@makechapterhead#1{% |
153 |
|
|
\renewcommand{\baselinestretch}{1.0} |
154 |
|
|
\vspace*{.625in}% |
155 |
|
|
{\parindent \z@ \raggedright \normalfont |
156 |
|
|
\ifnum \c@secnumdepth >\m@ne |
157 |
|
|
\if@mainmatter |
158 |
|
|
\if@NDTtex\LARGE\bfseries\else\mdseries\fi% |
159 |
|
|
\if@NDTcenter\center\else\relax\fi \@chapapp{} \thechapter% |
160 |
|
|
\par\nobreak |
161 |
|
|
\vskip 20\p@ |
162 |
|
|
\fi |
163 |
|
|
\fi |
164 |
|
|
\interlinepenalty\@M |
165 |
|
|
\if@NDTtex\LARGE\bfseries\else\mdseries\fi% |
166 |
|
|
\if@NDTcenter\center\else\relax\fi% |
167 |
|
|
\if@NDTcapchap\MakeTextUppercase{#1}\else #1\fi% |
168 |
|
|
\par\nobreak |
169 |
|
|
\vskip 40\p@ |
170 |
|
|
\renewcommand{\baselinestretch}{\realbaselinestretch} |
171 |
|
|
}} |
172 |
|
|
\def\@makeschapterhead#1{% |
173 |
|
|
\renewcommand{\baselinestretch}{1.0} |
174 |
|
|
\vspace*{.625in}% |
175 |
|
|
{\parindent \z@ \raggedright |
176 |
|
|
\normalfont |
177 |
|
|
\interlinepenalty\@M |
178 |
|
|
\if@NDTtex\LARGE\bfseries\else\mdseries\fi% |
179 |
|
|
\if@NDTcenter\center\else\relax\fi #1\par\nobreak |
180 |
|
|
\vskip 40\p@ |
181 |
|
|
\renewcommand{\baselinestretch}{\realbaselinestretch} |
182 |
|
|
}} |
183 |
|
|
\renewcommand\section{\@startsection {section}{1}{\z@}% |
184 |
|
|
{-4.2ex \@plus -1ex \@minus -.2ex}% |
185 |
|
|
{1.8ex \@plus.2ex}% |
186 |
|
|
{\normalfont% |
187 |
|
|
\if@NDTtex |
188 |
|
|
\Large\bfseries\else\mdseries\fi}} |
189 |
|
|
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}% |
190 |
|
|
{-3.9ex\@plus -1ex \@minus -.2ex}% |
191 |
|
|
{1.2ex \@plus .2ex}% |
192 |
|
|
{\normalfont% |
193 |
|
|
\if@NDTtex |
194 |
|
|
\large\bfseries\else\mdseries\fi}} |
195 |
|
|
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}% |
196 |
|
|
{-3.9ex\@plus -1ex \@minus -.2ex}% |
197 |
|
|
{1.2ex \@plus .2ex}% |
198 |
|
|
{\normalfont\normalsize% |
199 |
|
|
\if@NDTtex |
200 |
|
|
\bfseries\else\mdseries\fi}} |
201 |
|
|
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}% |
202 |
|
|
{3.9ex \@plus1ex \@minus.2ex}% |
203 |
|
|
{-1em}% |
204 |
|
|
{\normalfont\normalsize% |
205 |
|
|
\if@NDTtex\bfseries\else\mdseries\fi}} |
206 |
|
|
\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}% |
207 |
|
|
{3.9ex \@plus1ex \@minus .2ex}% |
208 |
|
|
{-1em}% |
209 |
|
|
{\normalfont\normalsize% |
210 |
|
|
\if@NDTtex\bfseries\else\mdseries\fi}} |
211 |
|
|
\renewcommand\listoffigures{% |
212 |
|
|
\if@twocolumn |
213 |
|
|
\@restonecoltrue\onecolumn |
214 |
|
|
\else |
215 |
|
|
\@restonecolfalse |
216 |
|
|
\fi |
217 |
|
|
\chapter*{\listfigurename |
218 |
|
|
\@mkboth{\MakeUppercase\listfigurename}% |
219 |
|
|
{\MakeUppercase\listfigurename}}% |
220 |
|
|
\addcontentsline{toc}{chapter}{\listfigurename}% |
221 |
|
|
\@starttoc{lof}% |
222 |
|
|
\if@restonecol\twocolumn\fi |
223 |
|
|
} |
224 |
|
|
\renewcommand\listoftables{% |
225 |
|
|
\if@twocolumn |
226 |
|
|
\@restonecoltrue\onecolumn |
227 |
|
|
\else |
228 |
|
|
\@restonecolfalse |
229 |
|
|
\fi |
230 |
|
|
\chapter*{\listtablename |
231 |
|
|
\@mkboth{% |
232 |
|
|
\MakeUppercase\listtablename}{\MakeUppercase\listtablename}}% |
233 |
|
|
\addcontentsline{toc}{chapter}{\listtablename}% |
234 |
|
|
\@starttoc{lot}% |
235 |
|
|
\if@restonecol\twocolumn\fi |
236 |
|
|
} |
237 |
|
|
\newcommand{\work}[1]{\def\@work{#1}} %Thesis or Dissertation |
238 |
|
|
\work{} |
239 |
|
|
\newcommand{\degaward}[1]{\def\@degaward{#1}} %M.S. Ph.D. M.B.A. what? |
240 |
|
|
\degaward{} |
241 |
|
|
\newcommand{\degprior}[1]{\def\@degprior{#1}} %M.S. Ph.D. M.B.A. what? |
242 |
|
|
\degprior{} |
243 |
|
|
\newcommand{\degdate}[1]{\def\@degdate{#1}} %Default to current month year |
244 |
|
|
\degdate{\ifcase\month\or |
245 |
|
|
January\or February\or March\or April\or May\or June\or |
246 |
|
|
July\or August\or September\or October\or November\or December\fi |
247 |
|
|
\space\number\year} |
248 |
|
|
\newcommand{\advisor}[1]{\def\@advisor{#1}}%The signature you need |
249 |
|
|
\advisor{} |
250 |
|
|
\newcommand{\advisorB}[1]{\def\@advisorB{#1}}%The other signature you need |
251 |
|
|
\advisorB{} |
252 |
|
|
\newcommand{\department}[1]{\def\@department{#1}} %Thesis or Dissertation |
253 |
|
|
\department{} |
254 |
|
|
\def\NDthesis{\mbox{N\kern-.18em\lower.35ex\hbox{\scshape d}% |
255 |
|
|
\kern-.55exT\kern-.3em\lower.35ex\hbox{h}\kern-.0833emesiS}} |
256 |
|
|
\newcommand{\summarypage}{\thispagestyle{empty} |
257 |
|
|
\begin{center} |
258 |
|
|
\large Typeset with \NDthesis\ version \ndfileversion\ (\ndfiledate)\\[-.25\baselineskip] |
259 |
|
|
on \today\normalsize\\[-.25\baselineskip] |
260 |
|
|
for\\[-.25\baselineskip] |
261 |
|
|
\@author\\[-.25\baselineskip] |
262 |
|
|
entitled\\[.25\baselineskip] |
263 |
|
|
\@title |
264 |
|
|
\end{center} |
265 |
|
|
|
266 |
|
|
\noindent\dosingle This class conforms to the University of Notre Dame style |
267 |
|
|
guidelines established Fall 2000. However it is still |
268 |
|
|
possible to generate a non-conformant document if the published |
269 |
|
|
instructions are not followed! Be sure to refer to the published Graduate |
270 |
|
|
School guidelines as well.\\[\singleskip] |
271 |
|
|
|
272 |
|
|
\noindent\dosingle\itshape This summary page can be disabled by specifying |
273 |
|
|
the \sffamily nosummary \rmfamily option to the class invocation.\upshape |
274 |
|
|
(i.e., \textbackslash documentclass[nosummary]\{ndthesis\})\\[\singleskip] |
275 |
|
|
|
276 |
|
|
\begin{center} |
277 |
|
|
\bfseries\large\dosingle THIS PAGE IS \slshape NOT |
278 |
|
|
\upshape PART OF THE THESIS, BUT SHOULD BE TURNED IN TO THE |
279 |
|
|
PROOFREADER! |
280 |
|
|
\end{center} |
281 |
|
|
\normalsize |
282 |
|
|
\NDthesis\ documentation can be found at these locations: |
283 |
|
|
\begin{center}\dosingle |
284 |
|
|
{\ttfamily http://www.nd.edu/\textasciitilde |
285 |
|
|
afsunix/faq/tetexdoc/latex/ndthesis/}\\ |
286 |
|
|
{\ttfamily http://www.gsu.nd.edu/Committees/ITC/ndthesis.pdf}\\ |
287 |
|
|
{\ttfamily http://www.gsu.nd.edu/Committees/ITC/sample\symbol{95}ndthesis.tar.gz}\\ |
288 |
|
|
\end{center} |
289 |
|
|
|
290 |
|
|
\small |
291 |
|
|
General \LaTeX\ documentation and info:\\ |
292 |
|
|
\begin{minipage}[t]{.45\textwidth} |
293 |
|
|
\raggedleft\dosingle |
294 |
|
|
\bfseries On-line docs:\mdseries \\ |
295 |
|
|
ND installation \\ |
296 |
|
|
\TeX\ User's Group \\[\doubleskip] |
297 |
|
|
\bfseries Books:\mdseries \\ |
298 |
|
|
\emph{A Guide\ldots for Beg.\ \& Adv.\ Users}\\ |
299 |
|
|
\emph{\LaTeX\ User's Guide \ldots} \\ |
300 |
|
|
\emph{The \LaTeX\ Companion} \\[\doubleskip] |
301 |
|
|
\bfseries Packages: \mdseries (check on-line docs)\\ |
302 |
|
|
rotating \\ |
303 |
|
|
longtable \\ |
304 |
|
|
graphicx |
305 |
|
|
\end{minipage} |
306 |
|
|
\hfill |
307 |
|
|
\begin{minipage}[t]{.5\textwidth} |
308 |
|
|
\raggedright\dosingle |
309 |
|
|
{}\ \\ |
310 |
|
|
{\ttfamily http://www.nd.edu/\textasciitilde |
311 |
|
|
afsunix/faq/tetexdoc/}\\ |
312 |
|
|
{\ttfamily http://www.tug.org/}\\[\doubleskip] |
313 |
|
|
{}\ \\ |
314 |
|
|
by Kopka/Daly \\ |
315 |
|
|
by Lamport\\ |
316 |
|
|
by Goossens/Mittelbach/Samarin\\[\doubleskip] |
317 |
|
|
{}\ \\ |
318 |
|
|
sideways tables and figures \\ |
319 |
|
|
multi-page tables \\ |
320 |
|
|
using Postscript and other figures |
321 |
|
|
\end{minipage} |
322 |
|
|
|
323 |
|
|
\normalsize\eject} |
324 |
|
|
\renewcommand{\maketitle}{\if@NDTsummary\summarypage\else\relax\fi% |
325 |
|
|
\begin{titlepage}% |
326 |
|
|
\ifthenelse{\equal{\@work}{}}{\ClassError{ndthesis}% |
327 |
|
|
{The \protect\work\space macro is undefined.\MessageBreak |
328 |
|
|
The title page may be incorrectly formatted.}% |
329 |
|
|
{Specify \protect\work\space as Dissertation or Thesis}}{\relax} |
330 |
|
|
\ifthenelse{\equal{\@degaward}{}}{\ClassError{ndthesis}% |
331 |
|
|
{The \protect\degaward\space macro is undefined.\MessageBreak |
332 |
|
|
The title page may be incorrectly formatted.}% |
333 |
|
|
{\protect\degaward\space defines the awarded degree (Ph.D., M.S., etc.)}}% |
334 |
|
|
{\relax} |
335 |
|
|
\ifthenelse{\equal{\@advisor}{}}{\ClassError{ndthesis}% |
336 |
|
|
{The \protect\advisor\space macro is undefined.\MessageBreak |
337 |
|
|
The title page may be incorrectly formatted.}% |
338 |
|
|
{\protect\advisor\space is who signs your walking papers!}}{\relax} |
339 |
|
|
\ifthenelse{\equal{\@department}{}}{\ClassError{ndthesis}% |
340 |
|
|
{The \protect\department\space macro is undefined.\MessageBreak |
341 |
|
|
The title page may be incorrectly formatted.}% |
342 |
|
|
{What \protect\department\space is awarding your degree?}}{\relax} |
343 |
|
|
\if@NDTadvisorB \ifthenelse{\equal{\@advisorB}{}}{% |
344 |
|
|
\ClassError{ndthesis}{The \protect\advisorB\space macro is undefined. |
345 |
|
|
\MessageBreak The title page may be incorrectly formatted.}% |
346 |
|
|
{Use \protect\advisorB{mysecondboss}.}}{\relax} |
347 |
|
|
\fi |
348 |
|
|
\skip1=1.2\doubleskip |
349 |
|
|
\skip2=1.7\doubleskip |
350 |
|
|
\skip3=2.7\doubleskip |
351 |
|
|
\skip4=1em |
352 |
|
|
\if@NDTadvisorB \skip1=1.0\doubleskip \skip4=1.5em \else\relax\fi |
353 |
|
|
\setbox0=\hbox{\@title} |
354 |
|
|
\ifdim \wd0 > 3\hsize |
355 |
|
|
\advance\skip4 .5\doubleskip |
356 |
|
|
\advance\skip1 -.33\doubleskip |
357 |
|
|
\else |
358 |
|
|
\ifdim \wd0 > 2\hsize |
359 |
|
|
\advance\skip4 .5\doubleskip |
360 |
|
|
\advance\skip1 -.167\doubleskip |
361 |
|
|
\else |
362 |
|
|
\ifdim \wd0 > \hsize |
363 |
|
|
\advance\skip4 .5\doubleskip |
364 |
|
|
\fi |
365 |
|
|
\fi |
366 |
|
|
\fi |
367 |
|
|
\setbox1=\vbox{\@degaward} |
368 |
|
|
\ifdim \ht1 > \doubleskip\relax |
369 |
|
|
\else \advance\skip1 .167\doubleskip \fi |
370 |
|
|
\null\vspace*{-\skip4} |
371 |
|
|
\begin{center}% |
372 |
|
|
\@title \par% |
373 |
|
|
\vskip\skip1% |
374 |
|
|
A \@work \par% |
375 |
|
|
\vskip\skip1% |
376 |
|
|
Submitted to the Graduate School \\ |
377 |
|
|
of the University of Notre Dame \\ |
378 |
|
|
in Partial Fulfillment of the Requirements \\ |
379 |
|
|
for the Degree of \par |
380 |
|
|
\vskip\skip1% |
381 |
|
|
\@degaward \vskip\skip1 by \vskip\skip1% |
382 |
|
|
{\normalsize |
383 |
|
|
%% \lineskip .75em% |
384 |
|
|
\begin{tabular}[t]{c@{}l}% |
385 |
|
|
\@author, &\ \@degprior |
386 |
|
|
\end{tabular}\par}% |
387 |
|
|
\if@NDTadvisorB\vskip\skip2\else \vskip\skip3\fi% |
388 |
|
|
\hspace*{2.75in}\underline{\hspace{2.75in}}\\% |
389 |
|
|
\hspace*{2.75in}\@advisor, Director\\ |
390 |
|
|
\if@NDTadvisorB % |
391 |
|
|
\vskip\doubleskip% |
392 |
|
|
\hspace*{2.75in}\underline{\hspace{2.75in}}\\% |
393 |
|
|
\hspace*{2.75in}\@advisorB, Director\\ |
394 |
|
|
\fi |
395 |
|
|
\vskip 3em% |
396 |
mmeineke |
1083 |
Graduate Program in \@department \\% |
397 |
mmeineke |
954 |
Notre Dame, Indiana \\ |
398 |
|
|
\@degdate |
399 |
|
|
\end{center}\par |
400 |
|
|
\end{titlepage}% |
401 |
|
|
} |
402 |
|
|
\newcommand{\copypage}[1][\number\year]{% |
403 |
|
|
\thispagestyle{empty} |
404 |
|
|
\vspace*{3in} |
405 |
|
|
\begin{center} |
406 |
|
|
\copyright ~Copyright by \\ |
407 |
|
|
\@author \\ |
408 |
|
|
#1 \\ |
409 |
|
|
All Rights Reserved |
410 |
|
|
\end{center} |
411 |
|
|
\newpage} |
412 |
|
|
\newenvironment{abstract}{% |
413 |
|
|
\renewcommand{\@oddfoot}{\@empty} |
414 |
|
|
\addtolength{\topmargin}{.206in} |
415 |
|
|
\def\@oddhead{\hfil{\upshape\@author}} |
416 |
|
|
\titlepage |
417 |
|
|
\null |
418 |
|
|
\begin{center} |
419 |
|
|
\vspace*{.2525in} |
420 |
|
|
{\normalsize\mdseries |
421 |
|
|
\@title \\[3.5ex] |
422 |
|
|
\normalsize\abstractname \\ by \\ \@author}% |
423 |
|
|
\@endparpenalty \@M |
424 |
|
|
\end{center}\par}% |
425 |
|
|
{\par\vfil\null\endtitlepage} |
426 |
|
|
%% Dedication |
427 |
|
|
\newenvironment{dedication}{% |
428 |
|
|
\global\@NDTdedtrue \setcounter{page}{2} |
429 |
|
|
\renewcommand{\@oddfoot}{\@empty} |
430 |
|
|
\vspace*{3\p@}% |
431 |
|
|
\begin{center}% |
432 |
|
|
\@NDTdedtrue |
433 |
|
|
\vspace*{1in}% |
434 |
|
|
{\if@NDTtex\Large\bfseries\else\mdseries\fi% |
435 |
|
|
\if@NDTdedicateTitle\dedicationname\fi}% |
436 |
|
|
\@endparpenalty\@M |
437 |
|
|
\par\nobreak \vskip 20\p@}% |
438 |
|
|
{\end{center}% |
439 |
|
|
\par\vfil\null} |
440 |
|
|
%% Preface |
441 |
|
|
\newenvironment{preface}{% |
442 |
|
|
\cleardoublepage |
443 |
|
|
\addcontentsline{toc}{chapter}{\prefacename} |
444 |
|
|
\vspace*{.5in}% |
445 |
|
|
\begin{center}% |
446 |
|
|
{\if@NDTtex\Large\bfseries\else\mdseries\fi \prefacename}% |
447 |
|
|
\@endparpenalty\@M |
448 |
|
|
\par\nobreak \vskip 20\p@ |
449 |
|
|
\end{center}\par}% |
450 |
|
|
{\par\null} |
451 |
|
|
%% Acknowledgements |
452 |
|
|
\newenvironment{acknowledge}{% |
453 |
|
|
\cleardoublepage |
454 |
|
|
\addcontentsline{toc}{chapter}{\acknowledgename} |
455 |
|
|
\vspace*{.5in}% |
456 |
|
|
\begin{center}% |
457 |
|
|
{\if@NDTtex\Large\bfseries\else\mdseries\fi \acknowledgename}% |
458 |
|
|
\@endparpenalty\@M |
459 |
|
|
\par\nobreak \vskip 20\p@ |
460 |
|
|
\end{center}\par}% |
461 |
|
|
{\par\null} |
462 |
|
|
%% List of Symbols |
463 |
|
|
\newcommand{\sym}[2]{\ensuremath{#1} & #2 \\} |
464 |
|
|
\newenvironment{symbols}[1][rl]{% |
465 |
|
|
\cleardoublepage |
466 |
|
|
\addcontentsline{toc}{chapter}{\symbolsname} |
467 |
|
|
\vspace*{.5in}% |
468 |
|
|
\begin{center}% |
469 |
|
|
{\if@NDTtex\Large\bfseries\else\mdseries\fi \symbolsname}% |
470 |
|
|
\@endparpenalty\@M |
471 |
|
|
\par\nobreak \vskip 20\p@ |
472 |
|
|
\begin{longtable}{#1}}% |
473 |
|
|
{\end{longtable}\end{center}\par\null} |
474 |
|
|
\renewcommand\tableofcontents{% |
475 |
|
|
\if@NDTded\relax\else\setcounter{page}{2}\fi |
476 |
|
|
\chapter*{\contentsname |
477 |
|
|
\@mkboth{% |
478 |
|
|
\MakeUppercase\contentsname}{\MakeUppercase\contentsname}}% |
479 |
|
|
\@starttoc{toc}% |
480 |
|
|
} |
481 |
mmeineke |
1089 |
\renewcommand{\tablename}{TABLE} |
482 |
mmeineke |
954 |
\renewcommand{\figurename}{\if@NDTucf FIGURE\else Figure\fi} |
483 |
|
|
\renewcommand{\chaptername}{\if@NDTmixed Chapter\else CHAPTER\fi} |
484 |
|
|
\newcommand{\appendicename}{\if@NDTmixed Appendices\else APPENDICES\fi} |
485 |
|
|
\renewcommand{\appendixname}{\if@NDTmixed Appendix\else APPENDIX\fi} |
486 |
|
|
\renewcommand{\contentsname}{\if@NDTmixed Contents\else CONTENTS\fi} |
487 |
|
|
\renewcommand{\listfigurename}{\if@NDTmixed Figures\else FIGURES\fi} |
488 |
|
|
\renewcommand{\listtablename}{\if@NDTmixed Tables\else TABLES\fi} |
489 |
|
|
\renewcommand{\bibname}{\if@NDTmixed Bibliography\else BIBLIOGRAPHY\fi} |
490 |
|
|
\renewcommand{\indexname}{\if@NDTmixed Index\else INDEX\fi} |
491 |
|
|
\newcommand{\abstractname}{Abstract} |
492 |
|
|
\newcommand{\dedicationname}{\if@NDTmixed Dedication\else DEDICATION\fi} |
493 |
|
|
\newcommand{\prefacename}{\if@NDTmixed Preface\else PREFACE\fi} |
494 |
mmeineke |
1083 |
\newcommand{\acknowledgename}{\if@NDTmixed Acknowledgments\else ACKNOWLEDGMENTS\fi} |
495 |
mmeineke |
954 |
\newcommand{\symbolsname}{\if@NDTmixed Symbols\else SYMBOLS\fi} |
496 |
|
|
\long\def\@caption#1[#2]#3{% |
497 |
|
|
\par |
498 |
|
|
\addcontentsline{\csname ext@#1\endcsname}{#1}% |
499 |
|
|
{\protect\numberline{\csname the#1\endcsname}% |
500 |
|
|
{\csname Make#1CaptionUC\endcsname{\ignorespaces #2}}}% |
501 |
|
|
\addtocontents{\csname ext@#1\endcsname}{\vskip 0.80em}% |
502 |
|
|
\begingroup |
503 |
|
|
\@parboxrestore |
504 |
|
|
\if@minipage |
505 |
|
|
\@setminipage |
506 |
|
|
\fi |
507 |
|
|
\normalsize |
508 |
|
|
\@makecaption{\csname fnum@#1\endcsname}% |
509 |
|
|
{\csname Make#1CaptionUC\endcsname{\ignorespaces #3}}\par |
510 |
|
|
\endgroup} |
511 |
|
|
\long\def\@makecaption#1#2{% |
512 |
|
|
\vskip\abovecaptionskip |
513 |
|
|
%% \advance\leftskip by 0pt plus 1fil% |
514 |
|
|
%% \advance\rightskip by 0pt plus -1fil% |
515 |
|
|
\parfillskip0pt plus 2fil% |
516 |
|
|
#1. #2\par |
517 |
|
|
\vskip\belowcaptionskip} |
518 |
|
|
\setlength\abovecaptionskip{20\p@} %was originally 10pt, leave below at 0pt |
519 |
|
|
\newlength\abovetableskip |
520 |
|
|
\newlength\belowtableskip |
521 |
|
|
\newlength\abovefigureskip |
522 |
|
|
\newlength\belowfigureskip |
523 |
|
|
\setlength\abovetableskip\belowcaptionskip |
524 |
|
|
\setlength\belowtableskip\abovecaptionskip |
525 |
|
|
\setlength\abovefigureskip\abovecaptionskip |
526 |
|
|
\setlength\belowfigureskip\belowcaptionskip |
527 |
|
|
\renewenvironment{table}{% |
528 |
|
|
\setlength{\abovecaptionskip}{\abovetableskip} |
529 |
|
|
\setlength{\belowcaptionskip}{\belowtableskip} |
530 |
|
|
\@float{table}}% |
531 |
|
|
{\end@float} |
532 |
|
|
\renewenvironment{figure}{% |
533 |
|
|
\setlength{\abovecaptionskip}{\abovefigureskip} |
534 |
|
|
\setlength{\belowcaptionskip}{\belowfigureskip} |
535 |
|
|
\@float{figure}}% |
536 |
|
|
{\end@float} |
537 |
|
|
\LTcapwidth=\textwidth |
538 |
|
|
\def\LT@c@ption#1[#2]#3{% |
539 |
|
|
\LT@makecaption#1\fnum@table{#3}% |
540 |
|
|
\def\@tempa{#2}% |
541 |
|
|
\ifx\@tempa\@empty\else {\let\\\space |
542 |
|
|
\addcontentsline{lot}{table}{\protect\numberline{\thetable}% |
543 |
|
|
\MaketableCaptionUC{{\ignorespaces #2}}}}% |
544 |
|
|
\addtocontents{lot}{\vskip 0.80em}% |
545 |
|
|
\fi} |
546 |
|
|
\def\LT@makecaption#1#2#3{% |
547 |
|
|
\LT@mcol\LT@cols c{\hbox to\z@{\hss\parbox[t]\LTcapwidth{% |
548 |
|
|
\vskip\abovetableskip% |
549 |
|
|
\advance\leftskip by 0pt plus 1fil% |
550 |
|
|
\advance\rightskip by 0pt plus -1fil% |
551 |
|
|
\parfillskip0pt plus 2fil% |
552 |
|
|
\dosingle #1{#2. }\MaketableCaptionUC{#3}\par% |
553 |
|
|
\endgraf\vskip\belowtableskip}% |
554 |
|
|
\hss}}} |
555 |
|
|
\renewcommand{\baselinestretch}{\realbaselinestretch} |
556 |
|
|
\addtolength{\textwidth}{0.50in} |
557 |
|
|
\addtolength{\topmargin}{-.75in} |
558 |
|
|
\addtolength{\textheight}{0.725in} |
559 |
|
|
\addtolength{\footskip}{0.02in} |
560 |
|
|
\if@NDTheaders |
561 |
|
|
\addtolength{\topmargin}{0.50in} \addtolength{\textheight}{1em} |
562 |
|
|
\else |
563 |
|
|
\addtolength{\textheight}{0.50in} |
564 |
|
|
\fi |
565 |
|
|
\renewenvironment{quote} |
566 |
|
|
{\list{}{\rightmargin\leftmargin}% |
567 |
|
|
\dosingle |
568 |
|
|
\item\relax} |
569 |
|
|
{\endlist} |
570 |
|
|
\let\@openbib@code=\dosingle |
571 |
|
|
\if@NDTheaders\relax\else\pagestyle{plain}\fi |
572 |
|
|
\endinput |
573 |
|
|
%% |
574 |
|
|
%% End of file `ndthesis.cls'. |