forked from espaulding/UMThesisTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
isumacros.sty
682 lines (608 loc) · 24 KB
/
isumacros.sty
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
%% Subpackage: isumacros.sty for use with the isuthesis package.
%%
%% LaTeX document package `isuthesis', for use with LaTeX2e.
%% This is a package that is used with the report class to
%% create a thesis at Iowa State University.
%%
%% COPYRIGHT 1997, by Joe Struss (jastruss@iastate.edu)
%%
%% Copying of part or all of any file in the isuthesis.sty package
%% including isumacros.sty, thesisreport.sty and isuthesis.sty
%% is allowed under the following conditions only:
%% (1) You may freely distribute unchanged copies of the files. Please
%% include the any or all documentation when you do so.
%% (2) You may modify a renamed copy of any file, but only for personal
%% use or use within an organization.
%% (3) You may copy fragments from the files, for personal use or for use
%% in a macro package for distribution, as long as credit is given
%% where credit is due.
%%
%% You are NOT ALLOWED to take money for the distribution or use of
%% these files or modified versions or fragments thereof, except for
%% a nominal charge for copying etc.
%%
% ****************************************
% * INITIALIZATION *
% ****************************************
%
% Default initializations
%\ps@plain % 'plain' page style.
\pagenumbering{arabic} % Arabic page numbers.
\onecolumn % Single column.
\if@twoside\else\raggedbottom\fi % Ragged bottom unless twoside option.
\edef\today{
\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, \number\year}
% ***********************************************
% * Local (Iowa State University) macros *
% ***********************************************
%\pagestyle{headings}
% singlespace environment
\def\singlespace{\vskip\baselineskip \def\baselinestretch{1}\@normalsize
\vskip-\baselineskip}
\def\endsinglespace{\par}
% \@setsize modified to multiply \baselineskip by \baselinestretch
\def\@setsize#1#2#3#4{\@nomath#1\let\@currsize#1
\baselineskip #2 \baselineskip\baselinestretch\baselineskip
\setbox\strutbox\hbox{\vrule height.7
\baselineskip depth.3\baselineskip width\z@}%
\normalbaselineskip\baselineskip#3#4}
% Floats are singlespaced
%\def\@xfloat#1[#2]{\ifhmode \@bsphack\@floatpenalty -\@Mii
% \else \@floatpenalty-\@Miii\fi\def\@captype{#1}
% \ifinner \@parmoderr\@floatpenalty\z@
% \else\@next\@currbox\@freelist{\@tempcnta
% \csname ftype@#1\endcsname
% \multiply\@tempcnta\@xxxii\advance\@tempcnta\sixt@@n
% \@tfor \@tempa :=#2\do
% {\if\@tempa h\advance\@tempcnta \@ne\fi
% \if\@tempa t\advance\@tempcnta \tw@\fi
% \if\@tempa b\advance\@tempcnta 4\relax\fi
% \if\@tempa p\advance\@tempcnta 8\relax\fi }
% \global\count\@currbox\@tempcnta}\@fltovf\fi
% \global\setbox\@currbox\vbox\bgroup
%% \def\baselinestretch{1}\@normalsize % removed 12 Feb 90 - causing problems
% % with using different sized text and
% % footnotes in tabular in table.
% \baselineskip 14.5pt % Added 12 Feb 90
% \normalbaselineskip\baselineskip % Added 12 Feb 90
% \setbox\strutbox\hbox{\vrule height 0.7\baselineskip % Added 12 Feb 90
% depth 0.3\baselineskip width \z@}
% \let\@currsize\normalsize % Added 13 Feb 90
% \def\baselinestretch{1} % Added 13 Feb 90
%% \def\baselinestretch{1}\@setsize\normalsize{14.5pt}\xiipt\@xiipt
%% \boxmaxdepth\z@ % commented out 15 Dec 87
% \hsize\columnwidth \@parboxrestore}
% Footnotes are singlespaced
\long\def\@footnotetext#1{\insert\footins%
{\def\baselinestretch{1}\footnotesize%
\interlinepenalty\interfootnotelinepenalty%
\splittopskip\footnotesep \splitmaxdepth%
\dp\strutbox \floatingpenalty \@MM \hsize\columnwidth%
\@parboxrestore \edef%
\@currentlabel{\csname p@footnote\endcsname\@thefnmark}
\@makefntext{\rule{\z@}{\footnotesep}\ignorespaces #1\strut}}}
% TABLE AND FIGURE CAPTIONS
% Same as \caption but calls \@isucaption instead
\def\isucaption{\refstepcounter\@captype
\@dblarg{\@isucaption\@captype}}
% Width to be used for setting the caption. Can be set by the user.
\newdimen\captionwidth \captionwidth=\textwidth
% the was the#1 line was changed to put the word Figure or Table in lot/lof
\long\def\@isucaption#1[#2]#3{\par
%\baselineskip 14.5 pt
\addcontentsline {\csname ext@#1\endcsname}{#1}
{\protect\numberline{\csname fnum@#1\endcsname}{\ignorespaces #2}}%was the#1
\begingroup
\@parboxrestore
\@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}
\par\vspace{1.7ex}
\endgroup}
% \isucontinuecaption allows easy captioning of continued tables and figures.
% No text supplied by user. Text is '(Continued)'. No ':' after table/figure
% number and current table/figure number is used without being stepped.
%\newif\if@continued \@continuedfalse
\def\isucontinuecaption{\@isucontinuecaption\@captype}
\def\@isucontinuecaption#1{\par %\baselineskip 14.5pt
\begingroup
\global\@continuedtrue
\@parboxrestore
\@makecaption{\csname fnum@#1\endcsname}{(Continued)}%
\par \vspace{1.7ex}%
\endgroup}
% \@makecaption{NUMBER}{TEXT} : Macro to make a figure or table caption.
% NUMBER : Figure or table number--e.g., 'Figure 3.2'
% TEXT : The caption text.
% Macro should be called inside a \parbox of right width, with \normalsize.
% changed 25 Jun 86 to fix according to Howard Trickey:
% instead of \unhbox\@tempboxa\par we do #1: #2\par
% We continue to use the old way in order to handle table footnotes on captions
% - if don't use \unhbox then footnotetext gets output twice and footnote
% number once with the second value.
\long\def\@makecaption#1#2{ \vskip 10pt
\newbox\@tempboxb
\setbox\@tempboxa\hbox{#2} % #2 is caption
\setbox\@tempboxb\hbox{#1~~~} % #1 is Figure n.n: or Table n.n:
\advance\captionwidth by -\wd\@tempboxb
% IF width of caption text > (\captionwidth - width of caption heading)
% THEN set caption text in a parbox
% ELSE set as is
% Complete caption is centered in both cases.
\ifdim\captionwidth < \wd\@tempboxa
\hbox to \hsize{\hfil\box\@tempboxb%
\parbox[t]{\captionwidth}{\unhbox\@tempboxa}\hfil}
\else
\hbox to \hsize{\hfil\box\@tempboxb\box\@tempboxa\hfil}
\fi}
% SPECIAL CHAPT COMMAND (NORMAL)
% Special chapter command for outputting a chapter title without 'Chapter'
% and the number. Unlike \chapter* the title is included in the toc.
\def\specialchapt{ % Start new page.
\global\@topnum\z@ % Prevent figures from going to top of page.
\@afterindenttrue % Indent first paragraph.
\@dblarg{\@specialchapt}}
\def\@specialchapt[#1]#2{
\typeout{#2}
\let\@tempchapapp=\@chapapp
\addtocontents{toc}{\def\protect\@chapapp{}}
\vspace*{50pt}{\centering\large\bfseries #2\par} % change normalsize to large to
\vspace*{40pt} % match chapter, JAS
\addcontentsline{toc}{chapter}{#1}
\addtocontents{toc}{\def\protect\@chapapp{\@tempchapapp}}}
% SPECIAL CHAPT COMMAND (ONLY TOC)
% Special chapter command for outputting no chapter title
% but still adding to table of contents
\def\specialtocchapt{ % Start new page.
\global\@topnum\z@ % Prevent figures from going to top of page.
\@afterindenttrue % Indent first paragraph.
\@dblarg{\@specialtocchapt}}
\def\@specialtocchapt[#1]#2{
\typeout{#2}
\let\@tempchapapp=\@chapapp
\addtocontents{toc}{\def\protect\@chapapp{}}
\addcontentsline{toc}{chapter}{#1}
\addtocontents{toc}{\def\protect\@chapapp{\@tempchapapp}}}
% SPECIAL CHAPTER COMMAND (FOR USE WITH PARTS)
% Special chapter command for outputting a chapter title without 'Chapter'
% and the number. Unlike \chapter* the title is included in the toc.
\def\specialchapter{\clearpage % Start new page.
\global\@topnum\z@ % Prevent figures from going to top of page.
\@afterindenttrue % Indent first paragraph.
\@dblarg{\@specialchapter}}
\def\@specialchapter[#1]#2{
\typeout{#2}
\let\@tempchapapp=\@chapapp
\addtocontents{toc}{\def\protect\@chapapp{}}
\vspace*{50pt}{\centering\large\bfseries #2\par} % change normalsize to large to
\vspace*{40pt} % match chapter, JAS
\addcontentsline{toc}{chapter}{\protect\numberline{}#1} % added numberline, JAS
\addtocontents{toc}{\def\protect\@chapapp{\@tempchapapp}}}
% SPECIAL PART COMMAND
% Puts part title out without 'Part' and part number. Enters title into table
% of contents at correct level.
\def\specialpart#1{\clearpage
\global\@topnum\z@
\@afterindenttrue
\typeout{#1}
\addcontentsline{toc}{specialpart}{#1} % change normalsize to large to
\vspace*{50pt}{\centering \Large \bf #1\par} % match part, JAS
\vspace*{40pt}}
\newif\if@specialpart \@specialpartfalse
\def\l@specialpart#1#2{
\if@specialpart \addvspace{4pt plus 2pt}
\else \addvspace{2em plus 1pt}
\global\@specialparttrue
\fi
\begingroup
\@tempdima 5.75em \relax
\rightskip\@tocrmarg
\parfillskip -\rightskip
\parindent\z@ \leftskip\@tempdima
{\normalsize\bf\leavevmode
\hbox{}\hskip -\leftskip #1\nobreak
\leaders\hbox{$\m@th\mkern\@dotsep mu.\mkern\@dotsep mu$}\hfill
\nobreak \hbox to \@pnumwidth{\hss #2}\par}
\endgroup}
% SINGLE APPENDIX
%
\newif\if@singleappendix \@singleappendixfalse
\def\singleappendix{\par
\@singleappendixtrue
\def\@chapapp{APPENDIX}
\def\thechapter{}
\addtocontents{toc}{\def\protect\@chapapp{APPENDIX}}
\setcounter{chapter}{0}
\setcounter{section}{0}
\def\theequation{A.\arabic{equation}}
\def\thetable{A.\@arabic\c@table}
\def\thefigure{A.\@arabic\c@figure}}
% SUPERSCRIPTS AND SUBSCRIPTS
% Declaration which causes superscripts and subscripts to be output at normal
% text size
\def\bigscript{
\scriptfont0=\textfont0
\scriptscriptfont0=\textfont0
\scriptfont1=\textfont1
\scriptscriptfont1=\textfont1
\scriptfont2=\textfont2
\scriptscriptfont2=\textfont2
\scriptfont3=\textfont3
\scriptscriptfont3=\textfont3
\def\xiipt{\textfont\z@\twlrm
\scriptfont\z@\twlrm \scriptscriptfont\z@\twlrm
\textfont\@ne\twlmi \scriptfont\@ne\twlmi \scriptscriptfont\@ne\twlmi
\textfont\tw@\twlsy \scriptfont\tw@\twlsy \scriptscriptfont\tw@\twlsy
\textfont\thr@@\tenex \scriptfont\thr@@\tenex \scriptscriptfont\thr@@\tenex
\def\unboldmath{\everymath{}\everydisplay{}\@nomath\unboldmath
\textfont\@ne\twlmi
\textfont\tw@\twlsy \textfont\lyfam\twlly
\@boldfalse}\@boldfalse
\def\boldmath{\@ifundefined{twlmib}{\global\font\twlmib\@mbi\@magscale1\global
\font\twlsyb\@mbsy \@magscale1\global\font
\twllyb\@lasyb\@magscale1\relax\@addfontinfo\@xiipt
{\def\boldmath{\everymath
{\mit}\everydisplay{\mit}\@prtct\@nomathbold
\textfont\@ne\twlmib \textfont\tw@\twlsyb
\textfont\lyfam\twllyb\@prtct\@boldtrue}}}{}\@xiipt\boldmath}%
\def\prm{\fam\z@\twlrm}%
\def\pit{\fam\itfam\twlit}\textfont\itfam\twlit \scriptfont\itfam\egtit
\scriptscriptfont\itfam\sevit
\def\psl{\fam\slfam\twlsl}\textfont\slfam\twlsl
\scriptfont\slfam\tensl \scriptscriptfont\slfam\tensl
\def\pbf{\fam\bffam\twlbf}\textfont\bffam\twlbf
\scriptfont\bffam\ninbf \scriptscriptfont\bffam\ninbf
\def\ptt{\fam\ttfam\twltt}\textfont\ttfam\twltt
\scriptfont\ttfam\nintt \scriptscriptfont\ttfam\nintt
\def\psf{\fam\sffam\twlsf}\textfont\sffam\twlsf
\scriptfont\sffam\tensf \scriptscriptfont\sffam\tensf
\def\psc{\@getfont\psc\scfam\@xiipt{\@mcsc\@magscale1}}%
\def\ly{\fam\lyfam\twlly}\textfont\lyfam\twlly
\scriptfont\lyfam\egtly \scriptscriptfont\lyfam\sixly
\@setstrut \rm}
} %end bigscript
% Singlespaced hanging paragraph environment for uncited bibliographies.
\def\hangpar{\par \def\baselinestretch{1}\@normalsize
\raggedright \parindent=0pt \parskip=12pt
\everypar{\hangindent=24pt \hangafter=1}}
\def\endhangpar{\par}
% Singlespaced hanging paragraph environment suitable for uncited
% bibliographies in sociology and anthropology.
\newif\if@firstdate \@firstdatetrue
\def\socbib{\par \def\baselinestretch{1}\@normalsize
\raggedright \parindent=0pt \parskip=0pt
\newskip\socparskip \socparskip = 12pt
\newdimen\@datewidth \@datewidth = 60 pt
\newdimen\@stextwidth \@stextwidth=\textwidth
\advance \@stextwidth by -\@datewidth
\newskip\@socskip \@socskip=5pt plus 1pt minus 1pt
\newbox\@sdatebox
\def\@twodates##1[##2]{\global\setbox\@sdatebox=\vtop{%
\hbox to \@datewidth{\kern 20 pt ##1\hfil}%
\hbox to \@datewidth{\kern 20 pt ##2\hfil}%
}\@socdate}
\def\@onedate##1{\global\setbox\@sdatebox=%
\vtop{\hbox to \@datewidth{\kern 20pt ##1\hfil}}\@socdate}
\def\par{\egroup \egroup \endgraf \vskip\socparskip \@firstdatetrue}
\def\@socdate{\if@firstdate \endgraf \nopagebreak \@firstdatefalse \else %
\egroup \egroup \endgraf \vskip\@socskip \fi%
\hbox to \textwidth\bgroup%
\box\@sdatebox\vtop\bgroup\hsize\@stextwidth\ignorespaces}
\def\socdate##1{\@ifnextchar[{\@twodates{##1}}{\@onedate{##1}}}
}
\def\endsocbib{\egroup\egroup\endgraf\vskip\baselineskip}
% TITLEPAGE
% The titlepage environment inhibits output of page number, and starts roman
% page numbering.
\def\titlepage
{\thispagestyle{empty}
\pagenumbering{roman}}
\def\endtitlepage{\newpage}
\def\title#1{\gdef\@title{#1}} \title{Unknown}
\def\author#1{\gdef\@author{#1}} \author{Unknown}
\def\format#1{\gdef\@format{#1}} \format{thesis}
\def\level#1{\gdef\@level{#1}} \level{Master's}
\def\degree#1{\gdef\@degree{#1}} \degree{\mycurrentdegree}
\def\mprof#1{\gdef\@mprof{#1, Major Professor}} \def\@mprof{}
\def\submit#1{\gdef\@submit{#1}} \submit{the graduate faculty}
\def\prevdegree#1{\gdef\@prevdegree{#1}} \prevdegree{\myprevdegree}
\def\prevschool#1{\gdef\@prevschool{#1}} \prevschool{\myprevcollege}
\def\prevdegreeyear#1{\gdef\@prevdegreeyear{#1}} \prevdegreeyear{\myprevdegdate}
\newcount\@deptnum \@deptnum=1
\newcount\@majornum \@majornum=1
\def\@depart{}
\def\@deptone{}
\def\@depttwo{}
\def\@depttitle{}
\newcount\@numcomm
\def\committee#1{\@numcomm=#1}
\committee{0}
\newdimen\@signwidth \@signwidth=6cm
\def\@depmajmac#1#2#3#4{% department and major macro
\ifcase\@deptnum \def\@depart{}
\or \def\@depart{\@depttitle #1 \\}
\else \def\@depart{\@depttitle #1\\ #2\\}\fi
\ifcase\@majornum \def\@major{}
\or \def\@major{\@majortitle #3}
\else \def\@major{\@majortitle #3 \\ #4}\fi}
\newif\if@interdept \@interdeptfalse
\newif\if@interdeptm \@interdeptmfalse
\newcount\signdeptnum \signdeptnum=1
\newcount\signmajornum \signmajornum=1
\def\interdept{\@interdepttrue}
\def\interdeptm{\@interdeptmtrue}
\def\dept#1{\gdef\@deptone{#1} \gdef\@depttwo{} \@deptnum=1
\if@interdept\def\@depttitle{Interdepartmental Program: } \else
\def\@depttitle{Department: }\fi}
\def\codepts#1#2{\gdef\@deptone{#1} \gdef\@depttwo{#2} \@deptnum=2
\def\@depttitle{Departments: }\signdeptnum=2}
\def\major#1{\@majornum=1 \@depmajmac{\@deptone}{\@depttwo}{#1}{}
\if@interdeptm\def\@majortitle{Interdepartmental Major: } \else
\def\@majortitle{Major: }\fi}
\def\comajors#1#2{\@majornum=2 \signmajornum=2
\@depmajmac{\@deptone}{\@depttwo}{#1}{#2}
\def\@majortitle{Co-majors: }}
\def\signmajor#1{\def\@signmajor{#1}}
\signmajor{\ifnum\signmajornum=2 Co-major Professor \else
Chairperson\fi}
\def\signdept#1{\def\@signdept{#1}}
\signdept{\if@interdept Dean, Graduate School \else
\ifnum\@deptnum=2 For the Co-major Program \else
Dean, Graduate School\fi\fi}
\def\@depart{}
\def\@major{}
\def\minor#1{\def\@minor{\\Minor: #1}}
\def\@minor{}
\def\mprofs#1#2{\def\@mprofs{#1, Co-major Professor\\#2, Co-major Professor}
\signmajornum=2}
\def\@mprofs{}
\def\members#1{\def\@members{\\#1}}
\def\@members{}
\newcount\@linecount
\def\makelines#1#2{\@linecount=#1
\loop\ifnum \@linecount > 0
\advance \@linecount by -1
\vskip 3pt
\underline{\mbox{\hspace{\@signwidth}}}
% \hrule width \@signwidth
% \vskip -7pt #2 \vskip 4pt
\repeat}
% allow major and department signature titles to be longer than
% the signature line width without complaints from TeX
% \repeat \hbox to \@signwidth{#2\hss} \vskip 4pt}
\long\def\@signbox{
\vfill
\hskip 3.65in Approved by:
\begin{flushright}
%\makelines{\@numcomm}{Committee Member}
\makelines{\signmajornum}{\@signmajor}
\if@interdeptm \makelines{1}{For the Interdeparmental Major} \fi
\end{flushright}
{\vskip -15pt \hskip 3.6in} \@signmajor
\begin{flushright}
\makelines{1}{\@signdept}
\end{flushright}
{\vskip -15pt \hskip 3.6in} \@signdept
\begin{flushright}
\makelines{1}{Date}
\end{flushright}
{\vskip -15pt \hskip 3.6in} Date
%\makelines{1}{For the Graduate School}
\hfill
\par}
\def\copyyear#1{\gdef\@copyyear{\number#1}}
\copyyear{\year}
\def\notice{\gdef\@notice{Copyright
\copyright\/ \@author,\ \@copyyear. All rights reserved.}}
\def\@notice{}
\def\supervisor#1{\gdef\@supervisor{#1}}
\def\@supervisor{}
\def\@titlefoot{\begin{center}\college \\
\location \\ \today\\
%\@copyyear\ \\
%\@notice
\end{center}
}%Added \ after \@copyyear to avoid having \\ problem
\long\def\maketitle{\begin{titlepage}
% \vbox ensures whole title page stays on one page even if it becomes overfull
\vbox to \textheight{
\begin{center}
{\bfseries \@title}
\vskip 11pt
by \\
\vskip 11pt
\@author
\vskip 30pt
A \@format\ submitted to \@submit\ \\
in partial fulfillment of the requirements for the degree of\\
\@degree \\[2.5pt]
\vskip 11pt % Changed from 30pt to cover dept loss
% \@depart
%\@major
% \@minor % No longer listed - Sept. 2001
\vskip 14pt
\begin{singlespace}
Program of Study Committee: \\
\@mprof
\@mprofs
\@members
\end{singlespace}
\end{center}
\vfill
\vspace{14pt}
\vfill
\@titlefoot } % end of \vbox
\newpage
\vbox to \textheight{
\begin{center}
\begin{singlespace}
Graduate School\\
\college \\
\end{singlespace}
\vskip 41pt
This is to certify that the
\@level\
\@format\ of\\
\@author\\
has met the \@format\ requirements of \college \\
\vfill\\
\@signbox
\end{center}
}
\end{titlepage}
}% end maketitle
\long\def\makenosigtitle{\begin{titlepage}
% \vbox ensures whole title page stays on one page even if it becomes overfull
\vbox to \textheight{
\begin{center}
{\bfseries \@title}
\vskip 11pt
By \\
\vskip 11pt
\@author
\vskip 11pt
\@prevdegree, \@prevschool, \@prevdegreeyear
\vskip 11pt
presented in partial fulfillment of the requirements \\for the degree of\\
\mycurrentdegree\\ [2.5pt]
\vskip 11pt % Changed from 30pt to cover dept loss
in \cs\\
% \@depart
% \@major
% \@minor % No longer listed - Sept. 2001
\@titlefoot
\vskip 14pt
%\begin{singlespace}
%Program of Study Committee: \\
%\@mprof
%\@mprofs
%\@members
%\end{singlespace}
\end{center}
\vfill
\vspace{14pt}
\vfill
} % end of \vbox
\end{titlepage}
}% end makenosigtitle
\long\def\startabstract{
\begin{center}
{\bfseries \@title}
\vskip 11pt
\@author
\vskip 11pt
\begin{singlespace}
\@mprof
\@mprofs \\
\college
\end{singlespace}
\end{center}
}% end startabstract
\newcommand{\paperinfo}[1]{\vspace{-.4 in} \begin{center} A paper #1 \end{center}
\vspace{.4 in}}
\newcommand{\paperauthor}[1]{\vspace{-.5 in} \begin{center} #1 \end{center}
\vspace{.25 in}}
\def\alternatenum{% command to set numbering down to subpara
\setcounter{secnumdepth}{5}}
\def\alternate{% command to set numbering down to subsection
\setcounter{secnumdepth}{3}}
\def\alternatepart{% command to number only parts
\setcounter{secnumdepth}{0}
\renewcommand{\thechapter}{}
\makeatletter
\renewcommand{\thefigure}{\@arabic\c@figure}
\renewcommand{\theequation}{\arabic{equation}}
\renewcommand{\thetable}{\@arabic\c@table}
\makeatother
}
\def\alternatechap{% command to number only parts and chapters
\setcounter{secnumdepth}{0}
\makeatletter
\renewcommand{\thefigure}{\@arabic\c@figure}
\renewcommand{\theequation}{\arabic{equation}}
\renewcommand{\thetable}{\@arabic\c@table}
\makeatother
}
\def\reset{% resets many chapter level counters
\setcounter{chapter}{0}
\setcounter{section}{0}
\setcounter{subsection}{0}
\setcounter{subsubsection}{0}
\setcounter{paragraph}{0}
\setcounter{subparagraph}{0}
\setcounter{equation}{0}
\setcounter{figure}{0}
\setcounter{table}{0}
\setcounter{footnote}{0}
\setcounter{mpfootnote}{0}}
\def\nochap{% bizarre hack to not use a chapter number
\makeatletter
\renewcommand{\thefigure}{\@arabic\c@figure}
\renewcommand{\theequation}{\arabic{equation}}
\renewcommand{\thetable}{\@arabic\c@table}
\makeatother
\renewcommand{\thechapter} {}
\renewcommand{\thesection} {\arabic{section}}
\renewcommand{\thesubsection} {\thesection.\arabic{subsection}}
\renewcommand{\thesubsubsection}{\thesubsection .\arabic{subsubsection}}
\renewcommand{\theparagraph} {\thesubsubsection.\arabic{paragraph}}
\renewcommand{\thesubparagraph} {\theparagraph.\arabic{subparagraph}}
}%end nochap
\def\partnochap{% bizarre hack to not use a chapter number but use parts
\makeatletter
\renewcommand{\thefigure}{\@arabic\c@figure}
\renewcommand{\theequation}{\arabic{equation}}
\renewcommand{\thetable}{\@arabic\c@table}
\makeatother
% \renewcommand{\thepart} {\roman{part}}
\renewcommand{\thechapter} {}
\renewcommand{\thesection} {\thepart.\arabic{section}}
\renewcommand{\thesubsection} {\thesection.\arabic{subsection}}
\renewcommand{\thesubsubsection}{\thesubsection .\arabic{subsubsection}}
\renewcommand{\theparagraph} {\thesubsubsection.\arabic{paragraph}}
\renewcommand{\thesubparagraph} {\theparagraph.\arabic{subparagraph}}
}%end partnochap
% \isucontinuecaption allows easy captioning of continued tables and figures.
% No text supplied by user. Text is '(Continued)'. No ':' after table/figure
% number and current table/figure number is used without being stepped.
\newif\if@continued \@continuedfalse
\def\isucontinuecaption{\@isucontinuecaption\@captype}
\def\@isucontinuecaption#1{\par %\baselineskip 14.5pt
\begingroup
\global\@continuedtrue
\@parboxrestore
\@makecaption{\csname fnum@#1\endcsname}{(Continued)}%
\par \vspace{1.7ex}%
\endgroup}
% The thesis office wants Chapters with a dotted leader
% (This redefinition borrowed from isuthes may not be a very
% good idea but it seems to work.) - JAS, April 1996
\renewcommand{\l@chapter}[2]{\addpenalty{-\@highpenalty}
\vskip 4pt plus 2pt
{\bf \@dottedtocline{0}{0em}{1.5em}{\@chapapp#1}{#2}}}
% The following lines and a slight redefinition in isucaption allow
% the word Table and Figure to be placed before Table and Figure entries
% in the List of Tables and List of Figures
\renewcommand{\l@figure}{\@dottedtocline{1}{1.5em}{6em}}
\renewcommand{\l@table}{\@dottedtocline{1}{1.5em}{6em}}
% Resets chapter command so the word CHAPTER appears
\def\chaptertitle{% resets chaptername
\renewcommand{\chaptername}{CHAPTER\ }}
% Resets part name so PART appears
\renewcommand{\partname}{PART\ }
% Resets appendix command so the word APPENDIX appears
% after unsetting chaptername
\def\appendixtitle{% resets appendixname
\def\@chapapp{APPENDIX}
\def\thechapter{}
\addtocontents{toc}{\def\protect\@chapapp{APPENDIX\ }}
\renewcommand{\appendixname}{APPENDIX\ }}
% Resets appendix command so the word APPENDIX appears
% after unsetting chaptername
\def\unappendixtitle{% resets appendixname
\def\@chapapp{}
\def\thechapter{}
\addtocontents{toc}{\def\protect\@chapapp{}}
\renewcommand{\appendixname}{}}
%\newcommand{\labelchaptersintoc}[1][Chapter]{%
% \addtocontents{toc}{\protect\contentsline{part}{#1}{}}}