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