ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/chuckDissertation/nddiss2e.cls
Revision: 3496
Committed: Wed Apr 8 19:13:41 2009 UTC (15 years, 2 months ago) by chuckv
File size: 21449 byte(s)
Log Message:
Final Version

File Contents

# Content
1 %%
2 %% This is file `nddiss2e.cls',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% nddiss2e.dtx (with options: `class')
8 %%
9 %% This is a generated file.
10 %%
11 %% Copyright (C) 2004-2005 Sameer Vijay
12 %%
13 %% This file may be distributed and/or modified under the
14 %% conditions of the LaTeX Project Public License, either
15 %% version 1.2 of this license or (at your option) any later
16 %% version. The latest version of this license is in
17 %% http://www.latex-project.org/lppl.txt
18 %%
19 %%
20 %% ==============================================================
21 %%
22 %% Notre Dame's Dissertation document class by Sameer Vijay
23 %% that adheres to the University of Notre Dame guidelines
24 %% published in Spring 2004.
25 %%
26 %% Please send any improvements/suggestions to :
27 %% Shari Hill, Graduate Reviewer.
28 %% shill2@nd.edu
29 %%
30 %% For documentation on how to use nddiss2e class, process the
31 %% file nddiss2e.dtx through LaTeX.
32 %%
33 %% ==============================================================
34 %%
35 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
36 \ProvidesClass{nddiss2e}
37 [2005/07/27 v3.0 ^^J%
38 Notre Dame Dissertation document class by Sameer Vijay^^J]
39 \providecommand{\dissfileversion}{3.0}
40 \providecommand{\dissfiledate}{2005/07/27}
41 \newif\ifdiss@draft \diss@drafttrue
42 \newif\ifdiss@review \diss@reviewfalse
43 \newif\ifdiss@final \diss@finalfalse
44 \newif\ifinfo@page \info@pagetrue
45 \newif\ifadvisors@two \advisors@twofalse
46 \newif\ifdiss@dedication \diss@dedicationfalse
47 \newif\ifnum@refs \num@refstrue
48 \newif\ifcentered@chaptitle \centered@chaptitletrue
49 \DeclareOption{draft}{
50 \setlength\overfullrule{5pt}
51 \typeout{DRAFT MODE}\typeout{}\info@pagefalse%
52 \diss@drafttrue\diss@reviewfalse\diss@finalfalse
53 \PassOptionsToClass{letterpaper,oneside,draft}{book} }
54 \DeclareOption{review}{
55 \typeout{REVIEW MODE}\typeout{}\info@pagetrue%
56 \diss@draftfalse\diss@reviewtrue\diss@finalfalse
57 \PassOptionsToClass{12pt,letterpaper,oneside,final}{book} }
58 \DeclareOption{final}{
59 \setlength\overfullrule{0pt}
60 \typeout{FINAL MODE}\typeout{}\info@pagetrue%
61 \diss@draftfalse\diss@reviewfalse\diss@finaltrue
62 \PassOptionsToClass{12pt,letterpaper,oneside,final}{book} }
63 \DeclareOption{numrefs}{
64 \typeout{NUMBERED REFERENCES}\num@refstrue}
65 \DeclareOption{textrefs}{
66 \typeout{TEXTUAL REFERENCES}\num@refsfalse}
67 \DeclareOption{nocenter}{\centered@chaptitlefalse}
68 \DeclareOption{openbib}{%
69 \PassOptionsToPackage{openbib}{natbib}
70 }
71 \DeclareOption{twoadvisors}{\typeout{TWO ADVISORS}\typeout{}%
72 \advisors@twotrue}
73 \DeclareOption{10pt}{%
74 \ifdiss@draft%
75 \PassOptionsToClass{10pt}{book}%
76 \else%
77 \OptionNotUsed%
78 \ClassWarningNoLine{nddiss2e}%
79 {Font size 10pt not allowed; using 12pt}%
80 \fi%
81 }
82 \DeclareOption{11pt}{%
83 \ifdiss@draft%
84 \PassOptionsToClass{11pt}{book}%
85 \else%
86 \OptionNotUsed%
87 \ClassWarningNoLine{nddiss2e}%
88 {Font size 11pt not allowed; using 12pt}%
89 \fi
90 }
91 \DeclareOption{12pt}{%
92 \PassOptionsToClass{12pt}{book}%
93 }
94 \DeclareOption{noinfo}{\info@pagefalse}
95 \DeclareOption{twoside}{\typeout{TWO SIDED DOCUMENT}%
96 \PassOptionsToClass{twoside}{book} }%
97 \DeclareOption*{\ClassWarning{nddiss2e}%
98 {UnknownOption `\CurrentOption'} }%
99 \ProcessOptions\relax
100 \LoadClass{book}
101 \RequirePackage{ifthen,exscale}
102 \RequirePackage{ifpdf}
103 \RequirePackage{longtable}
104 \RequirePackage{xspace}
105 \RequirePackage{indentfirst}
106 \RequirePackage{tabularx}
107 \RequirePackage{enumerate}
108 \RequirePackage{latexsym}
109 \ifdiss@final\relax\else\RequirePackage{showkeys}\fi
110 \ifpdf
111 \RequirePackage[pdftex]{epsfig}
112 \RequirePackage[pdftex]{color}
113 \RequirePackage[pdftex]{graphicx}
114 \RequirePackage[pdftex,
115 letterpaper=true,%
116 bookmarks=true,%
117 bookmarksnumbered=true,%
118 linktocpage=true,%
119 linkbordercolor={1 1 1},%
120 citebordercolor={1 1 1},%
121 breaklinks=true,%
122 bookmarkstype=toc,%
123 colorlinks=false,%
124 pdfpagemode=UseOutlines]{hyperref}
125 \AtBeginDocument{
126 \pdfadjustspacing=1
127 }
128 \else
129 \RequirePackage[dvips]{epsfig}
130 \RequirePackage[dvips]{color}
131 \RequirePackage[dvips]{graphicx}
132 \fi
133 \ifnum@refs
134 \RequirePackage[numbers,sort&compress]{natbib}
135 \else
136 \RequirePackage[authoryear,sort]{natbib}
137 \fi
138 \ifpdf
139 \RequirePackage{hypernat}
140 \fi
141 \AtBeginDocument{
142 \RequirePackage{amsmath,amssymb}
143 \RequirePackage{float}
144 \RequirePackage{lscape}
145 \RequirePackage{booktabs}
146 \RequirePackage{rotating}
147 \RequirePackage{url}
148 \RequirePackage[doublespacing]{setspace}[2000/12/01]
149 }
150 \AtBeginDocument{
151 \pagestyle{plain}
152 \normalspacing
153 \typeout{Pagestyle and spacing normal}
154 }
155 \newcommand{\normalspacing}{\doublespacing}
156 \newcommand\single@baselinestretch{1.0}
157 %\newcommand\double@baselinestretch{1.66}
158 \newcommand\double@baselinestretch{2.0}
159 \newlength{\single@skip}
160 \setlength{\single@skip}{\single@baselinestretch em}
161 \newlength{\double@skip}
162 \setlength{\double@skip}{\double@baselinestretch em}
163 \setlength{\hoffset}{0pt}
164 \setlength{\voffset}{0pt}
165 \addtolength{\topmargin}{-32pt}
166 \setlength{\headsep}{12pt}
167 \setlength{\marginparwidth}{54pt}
168 \setlength{\marginparsep}{0pt}
169 \addtolength{\textheight}{63pt}
170 \addtolength{\textwidth}{26pt}
171 \setlength{\oddsidemargin}{36pt}
172 \setlength{\evensidemargin}{18pt}
173 \setlength{\footskip}{36pt}
174 \setlength{\floatsep}{30pt}
175 \setlength{\intextsep}{50pt}
176 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}%
177 \cleardoublepage}}
178 \DeclareRobustCommand{\nddiss}{%
179 \textsf{{\scshape nd}diss}\kern-0.03em%
180 2$_\mathsf{\textstyle\varepsilon}$}
181 \newcommand{\work}[1]{\def\@work{#1}}
182 \newcommand{\degaward}[1]{\def\@degaward{#1}}
183 \newcommand{\degprior}[1]{\def\@degprior{#1}}
184 \newcommand{\advisor}[1]{\def\@advisor{#1}}
185 \ifadvisors@two
186 \newcommand{\secondadvisor}[1]{\def\@secondadvisor{#1}}
187 \fi
188 \newcommand{\department}[1]{\def\@department{#1}}
189 \newcommand{\degdate}[1]{\def\@degdate{#1}}
190 \degdate{\ifcase\month\or
191 January\or February\or March\or April\or May\or June\or
192 July\or August\or September\or October\or November\or December\fi
193 \space\number\year}
194 \title{}
195 \author{}
196 \work{}
197 \degaward{}
198 \degprior{}
199 \advisor{}
200 \ifadvisors@two \secondadvisor{} \fi
201 \department{}
202 \DeclareRobustCommand{\@infopage}{
203 \thispagestyle{empty}
204 \null\vspace*{\single@skip}
205 \begin{center}
206 \large This \@work\space \\ entitled \\ \@title \\
207 typeset with \nddiss\ v%
208 \dissfileversion\ (\dissfiledate) %
209 on \today\space for\\
210 \@author\\
211 \end{center}
212
213 \normalfont\normalsize\singlespacing
214
215 \noindent This \LaTeXe\space classfile conforms to the
216 University of Notre Dame style guidelines established in
217 Spring 2004. However it is still possible to generate a
218 non-conformant document if the instructions in the class
219 file documentation are not followed!
220
221 \begin{center}
222 \begin{minipage}{0.75\textwidth}
223 \noindent Be sure to refer to the published Graduate
224 School guidelines at \url{http://graduateschool.nd.edu}
225 as well. Those guidelines override everything mentioned
226 about formatting in the documentation for
227 this \nddiss\space class file.
228 \end{minipage}
229 \end{center}
230
231 \noindent It is YOUR responsibility to ensure that the Chapter titles
232 and Table caption titles are put in CAPS LETTERS. This classfile does
233 {\em NOT\space} do that! \\
234
235 \noindent\itshape This page can be disabled by
236 specifying the ``{\upshape\ttfamily noinfo}'' option to the class invocation.
237 \upshape
238 (i.e.,{\ttfamily{\textbackslash}documentclass[\ldots,noinfo]\{nddiss2e\}}
239 )
240 \begin{center}
241 {\bfseries\large\singlespacing This page is \slshape NOT
242 \upshape part of the dissertation/thesis, but MUST be turned in to the
243 proofreader(s) or the reviwer(s)!}
244 \end{center}
245 \normalsize\normalfont
246 \nddiss\ documentation can be found at these locations:
247 \begin{center}
248 \url{http://www.gsu.nd.edu}\\
249 \url{http://graduateschool.nd.edu}
250 \end{center}
251
252 \vfill
253 \normalfont\normalsize\normalspacing\eject}
254 \renewcommand{\maketitle}{
255 \ifinfo@page\@infopage\else\relax\fi%
256 \clearemptydoublepage
257 \normalfont\normalsize\normalspacing
258 \begin{titlepage}%
259 \ifthenelse{\equal{\@work}{}}{\ClassError{nddiss2e}%
260 {The \protect\work\space macro is undefined.\MessageBreak
261 The title page may be incorrectly formatted.}%
262 {Specify \protect\work\space as Dissertation or Thesis}}{\relax}
263 \ifthenelse{\equal{\@degaward}{}}{\ClassError{nddiss2e}%
264 {The \protect\degaward\space macro is undefined.\MessageBreak
265 The title page may be incorrectly formatted.}%
266 {Specify \protect\degaward\space. It defines the awarded degree%
267 (Ph.D., M.S., etc.)}}{\relax}
268 \ifthenelse{\equal{\@advisor}{}}{\ClassError{nddiss2e}%
269 {The \protect\advisor\space macro is undefined.\MessageBreak
270 The title page may be incorrectly formatted.}%
271 {Spepcify \protect\advisor\space It is who signs your walking papers!}}{\relax}
272 \ifthenelse{\equal{\@department}{}}{\ClassError{nddiss2e}%
273 {The \protect\department\space macro is undefined.\MessageBreak
274 The title page may be incorrectly formatted.}%
275 {Specify which \protect\department\space is awarding your degree?}}{\relax}
276 \ifadvisors@two
277 \ifthenelse{\equal{\@secondadvisor}{}}{\ClassError{nddiss2e}%
278 {The \protect\secondadvisor\space macro is undefined.\MessageBreak
279 The title page may be incorrectly formatted.}%
280 {Use \protect\secondadvisor\space for your second advisor}}{\relax}
281 \fi
282 \skip1=1.2\double@skip
283 \skip2=1.7\double@skip
284 \skip3=2.7\double@skip
285 \skip4=1em
286 \ifadvisors@two \skip1=1.0\double@skip \skip4=1.5em \else\relax\fi
287 \setbox0=\hbox{\@title}
288 \ifdim \wd0 > 3\hsize
289 \advance\skip4 .5\double@skip
290 \advance\skip1 -.33\double@skip
291 \else
292 \ifdim \wd0 > 2\hsize
293 \advance\skip4 .5\double@skip
294 \advance\skip1 -.167\double@skip
295 \else
296 \ifdim \wd0 > \hsize
297 \advance\skip4 .5\double@skip
298 \fi
299 \fi
300 \fi
301 \setbox1=\vbox{\@degaward}
302 \ifdim \ht1 > \double@skip\relax
303 \else \advance\skip1 .167\double@skip \fi
304 \null\vspace*{-\skip4}
305 \begin{center}%
306 \@title \par%
307 \vskip\skip1%
308 A \@work \par%
309 \vskip\skip1%
310 Submitted to the Graduate School \\
311 of the University of Notre Dame \\
312 in Partial Fulfillment of the Requirements \\
313 for the Degree of \par
314 \vskip\skip1%
315 \@degaward%
316 \vskip\skip1%
317 by%
318 \vskip\skip1%
319 {\normalsize
320 \begin{tabular}[t]{c@{}l}%
321 \@author
322 \end{tabular}\par }%
323 \ifadvisors@two
324 \vskip\skip2\else
325 \vskip\skip3\fi%
326 \hspace*{2.75in}\underline{\hspace{2.75in}}\\%
327 \hspace*{2.75in}\@advisor, Director\\
328 \ifadvisors@two %
329 \vskip\double@skip%
330 \hspace*{2.75in}\underline{\hspace{2.75in}}\\%
331 \hspace*{2.75in}\@secondadvisor, Director\\
332 \fi
333 \vskip\skip1%
334 Graduate Program in \@department \\%
335 Notre Dame, Indiana \\
336 \@degdate
337 \end{center}
338 \end{titlepage}%
339 }
340 \newenvironment{copyrightpage}{%
341 \clearemptydoublepage
342 \typeout{Copyleft page}
343 \pagestyle{empty}
344 \null\vfil
345 \begin{center}\normalspacing}%
346 { \end{center}\vfil\null \clearpage }
347 \newcommand{\@copyrightyear}{\year}
348 \newcommand{\@copyrightholder}{\@author}
349 \newcommand{\copyrightyear}[1]{\renewcommand{\@copyrightyear}{#1}}
350 \newcommand{\copyrightholder}[1]{\renewcommand{\@copyrightholder}{#1}}
351 \newcommand{\makecopyright}{%
352 \ifdiss@final
353 \begin{copyrightpage}
354 \normalfont\normalsize
355 \copyright\space Copyright by \\
356 \@copyrightholder \\
357 \@copyrightyear\\
358 All Rights Reserved \\[10mm]
359 \end{copyrightpage}
360 \fi
361 }%
362 \newcommand{\makepublicdomain}{%
363 \ifdiss@final
364 \begin{copyrightpage}
365 This document is in the public domain.
366 \end{copyrightpage}
367 \fi
368 }%
369 \providecommand{\abstractname}{Abstract}
370 \providecommand{\dedicationname}{\mbox{}}
371 \providecommand{\prefacename}{PREFACE}
372 \providecommand{\acknowledgename}{ACKNOWLEDGMENTS}
373 \providecommand{\symbolsname}{SYMBOLS}
374 \renewcommand{\tablename}{TABLE}
375 \renewcommand{\figurename}{Figure}
376 \renewcommand{\chaptername}{CHAPTER}
377 \renewcommand{\appendixname}{APPENDIX}
378 \renewcommand{\contentsname}{CONTENTS}
379 \renewcommand{\listfigurename}{FIGURES}
380 \renewcommand{\listtablename}{TABLES}
381 \renewcommand{\bibname}{BIBLIOGRAPHY}
382 \renewcommand{\indexname}{INDEX}
383 \newenvironment{abstract}{%
384 \ifpdf
385 \pdfbookmark[0]{\abstractname}{abstract}%abstract.0
386 \fi
387 \typeout{Abstract page(s)}
388 \renewcommand{\@oddfoot}{\@empty}
389 \renewcommand{\@evenfoot}{\@empty}
390 \let\@evenhead\@oddhead
391 \renewcommand{\@oddhead}{\hfil{\upshape\@author}}
392 \titlepage
393 \null
394 \begin{center}
395 \vspace*{0.25in}
396 {\normalsize\mdseries \normalspacing
397 \@title \\[3.5ex]
398 \normalsize\abstractname \\ by \\ \@author\space}%
399 \@endparpenalty \@M
400 \end{center}\par}%
401 {\par\vfil\null\endtitlepage}
402 \newenvironment{dedication}{%
403 \global\diss@dedicationtrue
404 \typeout{Dedication page}
405 \ifpdf
406 \pdfbookmark[0]{\dedicationname}{dedication}%dedication.0
407 \fi
408 \chapter*{\dedicationname}%
409 \thispagestyle{plain}
410 \setcounter{page}{2}
411 \null\centering}
412 {\par\null\clearpage}%
413 \renewcommand\tableofcontents{%
414 \ifdiss@dedication\relax\else\setcounter{page}{2}\fi
415 \chapter*{\contentsname}%
416 \ifpdf
417 \pdfbookmark[0]{\contentsname}{contents}%contents.0
418 \fi
419 \singlespacing
420 \@starttoc{toc}%
421 \normalspacing
422 }
423 \renewcommand\listoffigures{%
424 \chapter*{\listfigurename}%
425 \addcontentsline{toc}{chapter}{\listfigurename}%
426 \typeout{List of figures - \listfigurename}
427 \singlespacing
428 \@starttoc{lof}%
429 \normalspacing
430 }
431 \renewcommand\listoftables{%
432 \chapter*{\listtablename}%
433 \addcontentsline{toc}{chapter}{\listtablename}%
434 \typeout{List of tables - \listtablename}
435 \singlespacing
436 \@starttoc{lot}%
437 \normalspacing
438 }
439 \newenvironment{preface}{%
440 \typeout{Preface page}
441 \chapter*{\prefacename}
442 \addcontentsline{toc}{chapter}{\prefacename}%
443 }%
444 {\par\null\clearpage}%
445 \newenvironment{acknowledge}{%
446 \typeout{Acknowledgment page}
447 \chapter*{\acknowledgename}
448 \addcontentsline{toc}{chapter}{\acknowledgename}%
449 }%
450 {\par\null\clearpage}%
451 \newcommand{\sym}[2]{\ensuremath{#1} & #2 \\}
452 \newenvironment{symbols}[1][rl]{%
453 \typeout{Symbols page}
454 \chapter*{\symbolsname}%
455 \addcontentsline{toc}{chapter}{\symbolsname}%
456 \begin{center}\begin{longtable}{#1}}%
457 {\end{longtable}\end{center}\par\null}
458 \def\@chapter[#1]#2{
459 \ifnum \c@secnumdepth >\m@ne
460 \if@mainmatter
461 \refstepcounter{chapter}%
462 \typeout{\@chapapp\space\thechapter.}%
463 \addcontentsline{toc}{chapter}%
464 {{\@chapapp\ \thechapter: #1}}%
465 \else
466 \addcontentsline{toc}{chapter}{#1}%
467 \fi
468 \else
469 \addcontentsline{toc}{chapter}{#1}%
470 \fi
471 \chaptermark{#1}%
472 \addtocontents{lof}{\protect\addvspace{10\p@}}%
473 \addtocontents{lot}{\protect\addvspace{10\p@}}%
474 \@makechapterhead{#2}%
475 \@afterheading }%
476 \renewcommand{\@makechapterhead}[1]{%
477 \vspace*{.625in}%
478 {\parindent \z@ \raggedright
479 \ifnum \c@secnumdepth >\m@ne
480 \normalfont\normalsize%
481 \if@mainmatter
482 \ifcentered@chaptitle\center\else\relax\fi%
483 \@chapapp{} \thechapter\par\nobreak
484 \fi
485 \fi
486 \interlinepenalty\@M
487 \ifcentered@chaptitle\center\else\relax\fi%
488 \mdseries{#1}\par\nobreak
489 \vskip 30\p@
490 }}
491 \renewcommand{\@makeschapterhead}[1]{%
492 \vspace*{.625in}%
493 {\parindent \z@ \raggedright
494 \normalfont\normalsize%
495 \interlinepenalty\@M
496 \ifcentered@chaptitle\center\else\relax\fi
497 \mdseries{#1}\par\nobreak
498 \vskip 30\p@
499 }}
500 \renewcommand\section{\suppressfloats[t]%
501 \@startsection {section}{1}{\z@}%
502 {-4.2ex \@plus -1ex \@minus -.2ex}%
503 {1.8ex \@plus.2ex}%
504 {\normalfont\normalsize\mdseries} }
505 \renewcommand\subsection{\suppressfloats[t]%
506 \@startsection{subsection}{2}{\z@}%
507 {-3.9ex\@plus -1ex \@minus -.2ex}%
508 {1.2ex \@plus .2ex}%
509 {\normalfont\normalsize\mdseries} }
510 \renewcommand\subsubsection{\suppressfloats[t]%
511 \@startsection{subsubsection}{3}{\z@}%
512 {-3.9ex\@plus -1ex \@minus -.2ex}%
513 {1.2ex \@plus .2ex}%
514 {\normalfont\normalsize\mdseries} }
515 \renewcommand\paragraph{%
516 \@startsection{paragraph}{4}{\z@}%
517 {3.9ex \@plus1ex \@minus.2ex}%
518 {-1em}%
519 {\normalfont\normalsize\mdseries} }
520 \renewcommand\subparagraph{%
521 \@startsection{subparagraph}{5}{\parindent}%
522 {3.9ex \@plus1ex \@minus .2ex}%
523 {-1em}%
524 {\normalfont\normalsize\mdseries} }
525 \renewcommand*{\l@chapter}[2]{%
526 \addpenalty{-\@highpenalty}%
527 \setlength\@tempdima{1.5em}%
528 \begingroup \leavevmode
529 \@dottedtocline{1}{0pt}{\@tempdima}{#1}{#2}
530 \par
531 \penalty\@highpenalty
532 \endgroup
533 }
534 \renewcommand{\l@subsubsection}{%
535 \@dottedtocline{3}{3.8em}{4.1em}}
536 \addtocounter{secnumdepth}{1}
537 \addtocounter{tocdepth}{1}
538 \renewcommand{\thesubsubsection}{%
539 \thesubsection.\arabic{subsubsection}}
540 \renewenvironment{quote}
541 {\list{}{\rightmargin\leftmargin}%
542 \singlespacing
543 \item\relax}
544 {\endlist}
545 \setlength\abovecaptionskip{20\p@}
546 \newlength\capwidth
547 \setlength{\capwidth}{0.90\textwidth}
548 \newlength\abovetableskip
549 \newlength\belowtableskip
550 \newlength\abovefigureskip
551 \newlength\belowfigureskip
552 \setlength\abovetableskip\belowcaptionskip
553 \setlength\belowtableskip\abovecaptionskip
554 \setlength\abovefigureskip\abovecaptionskip
555 \setlength\belowfigureskip\belowcaptionskip
556 \renewenvironment{figure}{%
557 \setlength{\abovecaptionskip}{\abovefigureskip}
558 \setlength{\belowcaptionskip}{\belowfigureskip}
559 \let\@makecaption\@makefigurecaption
560 \@float{figure}}%
561 {%
562 \addtocontents{lof}{ {\vskip 0.4em} }%
563 \end@float%
564 }
565 \long\def\@makefigurecaption#1#2{%
566 \vskip\abovecaptionskip
567 \begin{center}
568 \parbox{\capwidth}{
569 \centering\singlespacing
570 {#1}. {#2}%\par
571 \vskip\belowcaptionskip\normalspacing }%
572 \end{center}
573 }%
574 \renewenvironment{table}{%
575 \setlength{\abovecaptionskip}{\abovetableskip}
576 \setlength{\belowcaptionskip}{\belowtableskip}
577 \singlespacing
578 \renewcommand{\arraystretch}{\double@baselinestretch}
579 \let\@makecaption\@maketablecaption
580 \@float{table}}%
581 {%
582 \addtocontents{lot}{ {\vskip 0.4em} }%
583 \end@float%
584 }
585 \long\def\@maketablecaption#1#2{
586 \vskip\abovecaptionskip
587 \begin{center}
588 \parbox{\capwidth}{
589 \centering\normalspacing
590 {#1}\\[\single@skip]
591 {#2}%\par
592 \vskip\belowcaptionskip }%
593 \end{center}
594 }
595 \renewcommand\longtable{%
596 \singlespacing
597 \renewcommand{\arraystretch}{\double@baselinestretch}
598 \begingroup
599 \@ifnextchar[\LT@array{\LT@array[x]}}
600 \renewcommand\endlongtable{%
601 \crcr
602 \noalign{%
603 \let\LT@entry\LT@entry@chop
604 \xdef\LT@save@row{\LT@save@row}}%
605 \LT@echunk
606 \LT@start
607 \unvbox\z@
608 \LT@get@widths
609 \if@filesw
610 {\let\LT@entry\LT@entry@write\immediate\write\@auxout{%
611 \gdef\expandafter\noexpand
612 \csname LT@\romannumeral\c@LT@tables\endcsname
613 {\LT@save@row}}}%
614 \fi
615 \ifx\LT@save@row\LT@@save@row
616 \else
617 \LT@warn{Column \@width s have changed\MessageBreak
618 in table \thetable}%
619 \LT@final@warn
620 \fi
621 \endgraf\penalty -\LT@end@pen
622 \addtocontents{lot}{ {\vskip 0.4em} }%
623 \endgroup
624 \global\@mparbottom\z@
625 \pagegoal\vsize
626 \endgraf\penalty\z@\addvspace\LTpost
627 \ifvoid\footins\else\insert\footins{}\fi
628 }
629 \setlength{\LTcapwidth}{\capwidth}
630 \renewcommand\LT@makecaption[3]{%
631 \LT@mcol\LT@cols c{\hbox to\z@{\hss\parbox[t]\LTcapwidth{%
632 \vskip\abovetableskip%
633 \centering\normalspacing
634 #1{#2 }\\[\single@skip]
635 {#3}\par
636 \endgraf\vskip\belowtableskip}%
637 \hss}}}
638 \newcommand\timenow{%
639 \@tempcnta=\time \divide\@tempcnta by 60 \number\@tempcnta:\multiply
640 \@tempcnta by 60 \@tempcntb=\time \advance\@tempcntb by -\@tempcnta
641 \ifnum\@tempcntb <10 0\number\@tempcntb\else\number\@tempcntb\fi}
642 \newcommand{\diss@header}{%
643 \ifdiss@review Review \else Draft \fi document [\today\/ at \timenow\/]
644 }%
645 \ifdiss@final
646 \renewcommand{\ps@plain}{
647 \renewcommand{\@oddhead}{\@empty}
648 \renewcommand{\@oddfoot}{\hfil\thepage\hfil}
649 \let\@evenhead\@oddhead
650 \let\@evenfoot\@oddfoot
651 }%
652 \else
653 \renewcommand{\ps@plain}{
654 \renewcommand{\@oddhead}{\framebox[\textwidth]{
655 \centering\footnotesize\tt\diss@header}}%
656 \renewcommand{\@oddfoot}{\hfil\textrm{\thepage}\hfil}
657 \let\@evenhead\@oddhead
658 \let\@evenfoot\@oddfoot
659 }%
660 \renewcommand{\ps@empty}{
661 \renewcommand{\@oddhead}{\framebox[\textwidth]{
662 \centering\footnotesize\tt\diss@header}}%
663 \renewcommand{\@oddfoot}{\@empty}
664 \let\@evenhead\@oddhead
665 \let\@evenfoot\@oddfoot
666 }%
667 \fi
668 \renewcommand{\bibsection}{
669 \chapter*{\bibname}%
670 \addcontentsline{toc}{chapter}{\bibname}%
671 }%
672 \newcommand{\bibfont}{\singlespacing}
673 \ifnum@refs
674 \renewcommand{\@biblabel}[1]{\hfill#1.\hfill}
675 \fi
676 \ifdiss@final
677 %\AtEndDocument{
678 % \vfill
679 % \centering\singlespacing
680 % \framebox[0.85\textwidth]{
681 % \begin{minipage}{0.80\textwidth}\footnotesize%
682 % \centering \itshape This document was prepared \& typeset with
683 % \upshape\ifpdf pdf\LaTeX\else\LaTeXe\fi\itshape , and
684 % formatted with \upshape\nddiss\xspace\itshape classfile
685 % (v\dissfileversion [\dissfiledate]) provided by Sameer Vijay.
686 % \end{minipage} }
687 % \clearpage}
688 \else\relax\fi
689 %%
690 %%
691 \endinput
692 %%
693 %% End of file `nddiss2e.cls'.