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