-
Notifications
You must be signed in to change notification settings - Fork 3
/
utk-proposal.cls
591 lines (516 loc) · 24.8 KB
/
utk-proposal.cls
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% UT.UT.UT.UT UT.UT.UT.UT.UT.UT UT.UT.UT.UT.UT.UT.UT.UT.UT %
% UT.UT.UT.UT UT.UT.UT.UT.UT.UT UT.UT.UT.UT.UT.UT.UT.UT.U %
% UT.UT.UT.UT T.UT.UT.UT.UT.UT.UT UT.UT.UT.UT.UT.UT.UT.UT %
% UT.UT.UT.UT UT.UT.UT.UT.UT.UT.UT UT.UT.UT.UT.UT.UT.UT.T %
% UT.UT.UT.UT T.UT.UT.UT.UT.UT.UT.UT UT.UT.UT.UT.UT.UT.UT %
% UT.UT.UT.UT UT.UT.UT.UT.UT.UT.UT.UT UT.UT.UT.UT.UT.UT.U %
% UT.UT.UT.UT T.UT.UT.UT.UT.UT.UT.UT.UT UT.UT.UT.UT.UT.UT %
% UT.UT.UT.UT UT.UT.UT.UT.UT.UT.UT.UT.UT UT.UT.UT.UT.UT.UT %
% UT.UT.UT.UT UT.UT.UT.UT UT.UT.UT.UT %
% UT.UT.UT.UT UT.UT.UT.UT UT.UT.UT.UT %
% UT.UT.UT.UT UT.UT.UT.UT UT.UT.UT.UT %
% UT.UT.UT.UT UT.UT.UT.UT UT.UT.UT.UT %
% UT.UT.UT.UT UT.UT.UT.UT UT.UT.UT.UT %
% UT.UT.UT.UT UT.UT.UT.UT UT.UT.UT.UT %
% UT.UT.UT.UT UT.UT.UT.UT UT.UT.UT.UT %
% UT.UT.UT.UT.UT.UT.UT.UT.UT.UT.UT.UT.UT UT.UT.UT.UT %
% UT.UT.UT.UT.UT.UT.UT.UT.UT.UT.UT.UT.UT UT.UT.UT.UT %
% UT.UT.UT.UT.UT.UT.UT.UT.UT.UT.UT.UT.UT UT.UT.UT.UT %
% UT.UT.UT.UT.UT.UT.UT.UT.UT.UT.UT.UT UT.UT.UT.UT %
% UT.UT.UT.UT.UT.UT.UT.UT.UT.UT.UT UT.UT.UT.UT %
% UT.UT.UT.UT.UT.UT.UT.UT.UT.UT UT.UT.UT.UT %
% UT.UT.UT.UT.UT.UT.UT.UT.UT UT.UT.UT.UT %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%-----------------------------------------------------------------------------%
% THESIS & DISSERTATION TEMPLATE
%-----------------------------------------------------------------------------%
% This template is distributed with ABSOLUTELY NO WARRANTY.
% It serves as a guideline and constitutes a basic structure for a thesis or
% dissertation. The user assumes full responsibility for formatting and
% typesetting their document and for verifying that all the thesis requirements
% set by the University of Tennessee are met. Please refer to the most recent
% UTK thesis guide (https://gradschool.utk.edu/thesesdissertations/formatting)
% or contact the thesis consultant (https://gradschool.utk.edu/thesesdissertations).
% Please report any bugs to the thesis consultant.
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{utk-proposal}
\def\filename{utk-proposal.cls}
\def\fileversion{version 1.5}
\def\filedate{March 19, 2021}
\def\contributors{Eduardo Ponce}
\typeout{UTK Thesis and Dissertation Proposal Template}
\typeout{\filename}
\typeout{\fileversion}
\typeout{\filedate}
\typeout{This LaTeX class is based on the template provided by David L. Page
and updated by \contributors.}
%-----------------------------------------------------------------------------%
%-----------------------------------------------------------------------------%
% DEFAULT DOCUMENT CLASS OPTIONS
%-----------------------------------------------------------------------------%
% Document type
% Values: [thesis, dissertation]
\providecommand{\@defaultDoctype}{dissertation}
% Font size
% Values: [11pt, 12pt]
\providecommand{\@defaultFontSize}{12pt}
% Font family
% Values: [sans, roman, typewriter]
\providecommand{\@defaultFontFamily}{roman}
% Text line spacing
% Values: [singlespace, onehalfspace, doublespace]
\providecommand{\@defaultTextSpace}{onehalfspace}
% Text horizontal alignment
% Values: [justifytext, lefttext]
\providecommand{\@defaultTextAlign}{justifytext}
% Section title horizontal alignment
% ((sub)sub)sections are always left-aligned
% Values: [lefttitle, centertitle]
\providecommand{\@defaultTitleAlign}{lefttitle}
% Page number horizontal alignment
% Values: [centerpagenum, rightpagenum]
\providecommand{\@defaultPageNumAlign}{centerpagenum}
% Margin notes
% Values: [notes]
\providecommand{\@defaultNotes}{}
%-----------------------------------------------------------------------------%
%-----------------------------------------------------------------------------%
% DOCUMENT CLASS CONFIGURATIONS
%-----------------------------------------------------------------------------%
\DeclareOption{thesis}{\renewcommand{\@defaultDoctype}{thesis}}
\DeclareOption{dissertation}{\renewcommand{\@defaultDoctype}{dissertation}}
\DeclareOption{11pt}{\renewcommand{\@defaultFontSize}{11pt}}
\DeclareOption{12pt}{\renewcommand{\@defaultFontSize}{12pt}}
\DeclareOption{sans}{\renewcommand{\@defaultFontFamily}{sans}}
\DeclareOption{roman}{\renewcommand{\@defaultFontFamily}{roman}}
\DeclareOption{typewriter}{\renewcommand{\@defaultFontFamily}{typewriter}}
\DeclareOption{singlespace}{\renewcommand{\@defaultTextSpace}{singlespace}}
\DeclareOption{onehalfspace}{\renewcommand{\@defaultTextSpace}{onehalfspace}}
\DeclareOption{doublespace}{\renewcommand{\@defaultTextSpace}{doublespace}}
\DeclareOption{lefttext}{\renewcommand{\@defaultTextAlign}{lefttext}}
\DeclareOption{justifytext}{\renewcommand{\@defaultTextAlign}{justifytext}}
\DeclareOption{lefttitle}{\renewcommand{\@defaultTitleAlign}{lefttitle}}
\DeclareOption{centertitle}{\renewcommand{\@defaultTitleAlign}{centertitle}}
\DeclareOption{centerpagenum}{\renewcommand{\@defaultPageNumAlign}{centerpagenum}}
\DeclareOption{rightpagenum}{\renewcommand{\@defaultPageNumAlign}{rightpagenum}}
\DeclareOption{notes}{\renewcommand{\@defaultNotes}{notes}}
% Pass non-implemented options to base class
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
% Set default options
\ExecuteOptions{\@defaultFontFamily,\@defaultTextSpace}
% Process given options
\ProcessOptions*
% Load base class
\LoadClass[letterpaper,\@defaultFontSize]{article}
%-----------------------------------------------------------------------------%
%-----------------------------------------------------------------------------%
% PACKAGES
%-----------------------------------------------------------------------------%
% Resolve clashes by passing global options to packages
% enumitem vs xcolor
\PassOptionsToPackage{usenames,dvipsnames,table,svgnames}{xcolor}
\RequirePackage[T1]{fontenc} % accented characters for output
\RequirePackage[utf8]{inputenc} % accented characters for input
\RequirePackage[english]{babel} % USA captions and hyphenation patterns
\RequirePackage{geometry} % page margins/layout
%\RequirePackage[showframe]{geometry} % (debug) page margins/layout
\RequirePackage{fancyhdr} % headers/footers
\RequirePackage{setspace} % text spacing
\RequirePackage{ragged2e} % text alignment
\RequirePackage{soul} % text highlight
\RequirePackage{parskip} % paragraph formatting
\RequirePackage[hyphens]{url} % url links
\RequirePackage{hyperref} % hyperlinks
\RequirePackage{appendix} % appendix environment
\RequirePackage{marginnote} % margin notes
\RequirePackage{xcolor} % colors
\RequirePackage{etoolbox} % e-TeX programming facilities
\RequirePackage{graphicx} % graphics
\RequirePackage{titlesec} % customize section displays
\RequirePackage[titles]{tocloft} % customize TOC, LOT, LOF
\RequirePackage{caption} % figure and table captions
\RequirePackage{subcaption} % subfigure and subtable captions
\RequirePackage{float} % improve environment for floats
\RequirePackage{amsmath} % AMS math
\RequirePackage{amsthm} % AMS theorem
\RequirePackage{amssymb} % AMS symbols
\RequirePackage{amsfonts} % AMS fonts
\RequirePackage{array} % row and column types
\RequirePackage{multicol} % multiple columns
\RequirePackage{multirow} % multiple rows
\RequirePackage{siunitx} % SI units
\RequirePackage{algorithm} % algorithm environment
\RequirePackage{algpseudocode} % layout for algorithm environment
\RequirePackage{booktabs} % professional tables
\RequirePackage{threeparttable} % table formatting (caption, table, tablenotes)
\RequirePackage{pdflscape} % landscape support
\RequirePackage[nameinlink,noabbrev]{cleveref} % improved references
\RequirePackage{enumitem} % improved enumerate environment
% Extra Packages
\RequirePackage{listings} % code listings
\RequirePackage{tikz} % vector drawings
\RequirePackage{pgfplots} % generate plots
%-----------------------------------------------------------------------------%
%-----------------------------------------------------------------------------%
% GLOBAL AND PACKAGES CONFIGURATIONS
%-----------------------------------------------------------------------------%
% Page margins/layout
% MS Word template:
% (top=1.0in,bottom=1.3in,left=1.25in,right=1.25in,header=0.5in,footer=1.0in)
\geometry{
top=1in,bottom=1.25in,left=1.25in,right=1.25in,
marginparwidth=1.05in,marginparsep=0.1in,
heightrounded,headheight=0.25in,headsep=0.25in,footskip=0.75in
}
% Fancy headers/footers
\pagestyle{fancyplain}
\renewcommand{\sectionmark}[1]{\markright{\MakeUppercase{\thesection\ \ #1}}}
\fancyhead{}
\fancyfoot{} % overriden by class option
\renewcommand{\headrulewidth}{0in} % remove default rule in header
\renewcommand{\footrulewidth}{0in} % remove default rule in footer
% Footnotes numbering style
\renewcommand{\thefootnote}{\arabic{footnote}}
% Paragraph indentation
\setlength{\parindent}{0em}
\newcommand{\tab}[1][3em]{\hspace*{#1}}
% Document type
\ifthenelse{\equal{\@defaultDoctype}{thesis}}{\newcommand{\@defaultFCDoctype}{Thesis}}{%
\ifthenelse{\equal{\@defaultDoctype}{dissertation}}{\newcommand{\@defaultFCDoctype}{Dissertation}}{}}
% Font family
\ifthenelse{\equal{\@defaultFontFamily}{sans}}{\renewcommand{\familydefault}{\sfdefault}}{%
\ifthenelse{\equal{\@defaultFontFamily}{roman}}{\renewcommand{\familydefault}{\rmdefault}}{%
\ifthenelse{\equal{\@defaultFontFamily}{typewriter}}{\renewcommand{\familydefault}{\ttdefault}}{}}}
% Text line spacing
\ifthenelse{\equal{\@defaultTextSpace}{singlespace}}{\singlespacing}{%
\ifthenelse{\equal{\@defaultTextSpace}{onehalfspace}}{\onehalfspacing}{%
\ifthenelse{\equal{\@defaultTextSpace}{doublespace}}{\doublespacing}{}}}
% Text horizontal alignment
\ifthenelse{\equal{\@defaultTextAlign}{lefttext}}{\RaggedRight}{%
\ifthenelse{\equal{\@defaultTextAlign}{justifytext}}{\justifying}{}}
% Section title horizontal alignment
\ifthenelse{\equal{\@defaultTitleAlign}{lefttitle}}{\renewcommand{\@defaultTitleAlign}{\filright}}{%
\ifthenelse{\equal{\@defaultTitleAlign}{centertitle}}{\renewcommand{\@defaultTitleAlign}{\filcenter}}{}}
% Page number horizontal alignment
\ifthenelse{\equal{\@defaultPageNumAlign}{centerpagenum}}{\fancyfoot[C]{\thepage}}{%
\ifthenelse{\equal{\@defaultPageNumAlign}{rightpagenum}}{\fancyfoot[R]{\thepage}}{}}
% Margin notes font and (on/off)
\renewcommand{\marginfont}{\singlespacing\scriptsize}
\renewcommand{\raggedleftmarginnote}{}
\renewcommand{\raggedrightmarginnote}{\RaggedRight}
\ifthenelse{\equal{\@defaultNotes}{notes}}{\newcommand{\note}[2][yellow]{\sethlcolor{#1}\hl{#2}}\newcommand{\mnote}[2][-\baselineskip]{\marginnote{#2}[#1]}}{%
\newcommand{\note}[2][yellow]{\unskip}\newcommand{\mnote}[2][0em]{\unskip}}
% Override LaTeX hyphenation
\tolerance=1000
\pretolerance=1000
\hbadness=10000
\emergencystretch=\maxdimen
\hyphenpenalty=10000 % reduce hyphenation
\clubpenalty=10000 % reduce orphan hyphens
\widowpenalty=10000 % reduce widow hyphens
\brokenpenalty=10000 % reduce hyphens across pages
% Hyperlinks setup
\hypersetup{
pdftitle={\@title}, % PDF title option
pdfauthor={\@author}, % PDF author option
pdfsubject={\@defaultDoctype Proposal on \@title}, % PDF subject option
pdfborder=0 0 0, % PDF border options
pdfnewwindow=true, % open PDF links in new window
pdfpagelayout=SinglePage, % open PDF in single page mode
bookmarksnumbered=true,bookmarksopen=true, % PDF bookmarking options
hypertexnames=false, % extend link names parts and subparts
plainpages=false, % name page anchors by correct form of page number
colorlinks=true, % enable link colors
allcolors=blue, % set link colors
breaklinks=false, % allow multi-line links
linktoc=all % link entries of TOC, LOF, LOT
}
\urlstyle{same} % use same style as the text
% Keep environment font for SI units
\sisetup{detect-weight=true,detect-family=true}
% Custom column types, 'array' package
\newcolumntype{L}[1]{>{\raggedright\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{C}[1]{>{\centering\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{R}[1]{>{\raggedleft\arraybackslash\hspace{0pt}}m{#1}}
% Plotting and drawing settings, 'tikz' and 'pgfplots' packages
\usetikzlibrary{arrows,backgrounds,calc,decorations,er,folding,intersections,matrix,mindmap,patterns,positioning,shadows,shapes,trees}
\pgfplotsset{compat=1.13}
% Set custom names for \autoref macros (defaults are in hyperref.sty)
\addto\HyLang@english{%
\providecommand*{\algorithmautorefname}{Algorithm}
\renewcommand*{\equationautorefname}{equation}
\renewcommand*{\footnoteautorefname}{footnote}
\renewcommand*{\itemautorefname}{item}
\renewcommand*{\figureautorefname}{Figure}
\renewcommand*{\tableautorefname}{Table}
\renewcommand*{\partautorefname}{Part}
\renewcommand*{\appendixautorefname}{Appendix}
\renewcommand*{\chapterautorefname}{Chapter}
\renewcommand*{\sectionautorefname}{section}
\renewcommand*{\subsectionautorefname}{subsection}
\renewcommand*{\subsubsectionautorefname}{subsubsection}
\renewcommand*{\paragraphautorefname}{paragraph}
\renewcommand*{\subparagraphautorefname}{subparagraph}
\renewcommand*{\FancyVerbLineautorefname}{line}
\renewcommand*{\theoremautorefname}{Theorem}
\renewcommand*{\pageautorefname}{page}
}
\addto\captionsenglish{%
\providecommand*{\algorithmautorefname}{Algorithm}
\renewcommand*{\equationautorefname}{equation}
\renewcommand*{\footnoteautorefname}{footnote}
\renewcommand*{\itemautorefname}{item}
\renewcommand*{\figureautorefname}{Figure}
\renewcommand*{\tableautorefname}{Table}
\renewcommand*{\partautorefname}{Part}
\renewcommand*{\appendixautorefname}{Appendix}
\renewcommand*{\chapterautorefname}{Chapter}
\renewcommand*{\sectionautorefname}{section}
\renewcommand*{\subsectionautorefname}{subsection}
\renewcommand*{\subsubsectionautorefname}{subsubsection}
\renewcommand*{\paragraphautorefname}{paragraph}
\renewcommand*{\subparagraphautorefname}{subparagraph}
\renewcommand*{\FancyVerbLineautorefname}{line}
\renewcommand*{\theoremautorefname}{Theorem}
\renewcommand*{\pageautorefname}{page}
}
% Set custom names for \cref macros (similar to \autoref ones)
% Note that formatting may differ from \autoref, so user should be consistent
% throughout document.
\crefname{algorithm}{Algorithm}{Algorithms}
\crefname{equation}{equation}{equations}
\crefname{footnote}{footnote}{footnotes}
\crefname{item}{item}{items}
\crefname{section}{section}{sections}
\crefname{subsection}{subsection}{subsections}
\crefname{subsubsection}{subsubsection}{subsubsections}
\crefname{paragraph}{paragraph}{paragraphs}
\crefname{subparagraph}{subparagraph}{subparagraphs}
\crefname{line}{line}{lines}
\crefname{page}{page}{pages}
%-----------------------------------------------------------------------------%
%-----------------------------------------------------------------------------%
% INTERNAL MACROS
%-----------------------------------------------------------------------------%
% User-related macros
\providecommand{\@graduationYear}{}
\providecommand{\@graduationMonth}{}
\providecommand{\@majorProfessor}{}
\providecommand{\@dean}{}
\providecommand{\@major}{}
\providecommand{\@academicdegree}{}
\providecommand{\@department}{}
\providecommand{\@university}{}
\providecommand{\@committeeMembers}{}
\newcommand{\graduationYear}[1]{\renewcommand{\@graduationYear}{#1}}
\newcommand{\graduationMonth}[1]{\renewcommand{\@graduationMonth}{#1}}
\newcommand{\majorProfessor}[1]{\renewcommand{\@majorProfessor}{#1}}
\newcommand{\dean}[1]{\renewcommand{\@dean}{#1}}
\newcommand{\major}[1]{\renewcommand{\@major}{#1}}
\newcommand{\academicdegree}[1]{\renewcommand{\@academicdegree}{#1}}
\newcommand{\college}[1]{\renewcommand{\@college}{#1}}
\newcommand{\department}[1]{\renewcommand{\@department}{#1}}
\newcommand{\university}[1]{\renewcommand{\@university}{#1}}
\newcommand{\committeeMembers}[1]{\renewcommand{\@committeeMembers}{#1}}
%-----------------------------------------------------------------------------%
%-----------------------------------------------------------------------------%
% LEMMA, COROLLARY, THEOREM, AND DEFINITION CONFIGURATIONS
%-----------------------------------------------------------------------------%
\theoremstyle{plain}
\newtheorem*{theorem*}{Theorem}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{corollary}{Corollary}[theorem]
\newtheorem{lemma}{Lemma}[theorem]
\newtheorem{proposition}{Proposition}[theorem]
\newtheorem{definition}{Definition}[theorem]
%-----------------------------------------------------------------------------%
%-----------------------------------------------------------------------------%
% SECTION CONFIGURATIONS
%-----------------------------------------------------------------------------%
% section group - "Title"
\titleformat{\section}[hang]
{\singlespacing\large\bfseries\@defaultTitleAlign} % format for label and title
{} % label
{0em} % horizontal space between label and title
{\thesection\ } % pre-title commands
{} % post-title commands
\titlespacing{\section}
{0em} % left space
{0.1in} % before space
{0.1in} % after space
% subsection group - "Title"
\titleformat{\subsection}[hang]
{\singlespacing\normalsize\bfseries\filright} % format for label and title
{} % label
{0em} % horizontal space between label and title
{\thesubsection\ } % pre-title commands
{} % post-title commands
\titlespacing{\subsection}
{0em} % left space
{0.1in} % before space
{0in} % after space
% subsubsection group - "Title"
\titleformat{\subsubsection}[hang]
{\singlespacing\normalsize\bfseries\filright} % format for label and title
{} % label
{0em} % horizontal space between label and title
{\thesubsubsection\ } % pre-title commands
{} % post-title commands
\titlespacing{\subsubsection}
{0em} % left space
{0.1in} % before space
{0in} % after space
%-----------------------------------------------------------------------------%
%-----------------------------------------------------------------------------%
% HELPER COMMANDS, ENVIRONMENT, ETC.
%-----------------------------------------------------------------------------%
\newenvironment{pagefloat}[1][0em]
{\newpage\null\vfill\vspace{#1}}
{\vfill\null\clearpage}
%-----------------------------------------------------------------------------%
% TITLE PAGE
%-----------------------------------------------------------------------------%
\newcommand{\makeTitlePage}{%
\clearpage
\thispagestyle{empty}
\begingroup
\Centering\Large
\vspace*{0in}
\MakeUppercase{\textbf{\@title}}\par
\vspace*{\fill}
A \@defaultFCDoctype\ Proposal\ Presented for the\\ \@academicdegree\\ Degree\\ \@university\par
\vspace*{\fill}
\@author\\ \@graduationMonth\ \@graduationYear\par
\endgroup
}
%-----------------------------------------------------------------------------%
%-----------------------------------------------------------------------------%
% TABLE OF CONTENTS, LIST OF TABLES, LIST OF FIGURES
%-----------------------------------------------------------------------------%
% Change labels to capital letters
% These commands are found in the 'babel' package
\addto\captionsenglish{%
\renewcommand{\contentsname}{\MakeUppercase{\Large\bfseries Table of Contents}}
\renewcommand{\listtablename}{\MakeUppercase{\Large\bfseries List of Tables}\vspace{0.5em}}
\renewcommand{\listfigurename}{\MakeUppercase{\Large\bfseries List of Figures}\vspace{0.5em}}
}
% Remove additional vertical space for entries from different chapters LOT and LOF
\newcommand*{\noaddvspace}{\renewcommand*{\addvspace}[1]{}}
\addtocontents{lot}{\protect\noaddvspace}
\addtocontents{lof}{\protect\noaddvspace}
% Depth of entries
\setcounter{tocdepth}{3}
\setcounter{lotdepth}{1}
\setcounter{lofdepth}{1}
\setcounter{secnumdepth}{3}
% Font of entries
\renewcommand{\cftsecfont}{}
\renewcommand{\cftsubsecfont}{}
\renewcommand{\cftsubsubsecfont}{}
\renewcommand{\cfttabfont}{}
\renewcommand{\cftfigfont}{}
% Symbol from label to page number in TOC, LOT, LOF
\renewcommand{\cftdot}{.}
\renewcommand{\cftdotsep}{1}
% Table 1-1. This is the caption of table ........ 1
\newlength{\@tabLabelLen}
\setlength{\@tabLabelLen}{0pt}
\setlength{\cfttabindent}{0pt}
\renewcommand{\cfttabpresnum}{\bfseries\tablename\ }
\renewcommand{\cfttabaftersnum}{.}
\settowidth{\@tabLabelLen}{\cfttabpresnum\cfttabaftersnum}
\addtolength{\cfttabnumwidth}{\@tabLabelLen}
% Figure 1-1. This is the caption of figure ........ 1
\newlength{\@figLabelLen}
\setlength{\@figLabelLen}{0pt}
\setlength{\cftfigindent}{0pt}
\renewcommand{\cftfigpresnum}{\bfseries\figurename\ }
\renewcommand{\cftfigaftersnum}{.}
\settowidth{\@figLabelLen}{\cftfigpresnum\cftfigaftersnum}
\addtolength{\cftfignumwidth}{\@figLabelLen}
% Caption font and style setup
% (table/figure)within = {none,section}
% labelformat = {empty,simple,parens)
% labelsep = {none,colon,period,endash,space,quad,newline}
% (label/text)font = {bf,it}
% justification = {RaggedRight,Centering}
% singlelinecheck = {on,off} if 'on', then single line caption will always be centered
\captionsetup[table]{%
labelformat=simple,labelsep=period,
labelfont=bf,textfont=normal,
singlelinecheck=off,justification=Centering
}
\captionsetup[figure]{%
labelformat=simple,labelsep=period,
labelfont=bf,textfont=normal,
singlelinecheck=off,justification=Centering
}
\captionsetup[subtable]{%
labelformat=parens,labelsep=none,
labelfont=normalfont,textfont=normal,
singlelinecheck=off,justification=Centering
}
\captionsetup[subfigure]{%
labelformat=parens,labelsep=none,
labelfont=normalfont,textfont=normal,
singlelinecheck=off,justification=Centering
}
% Table and Figure (sub)captions numbering
% arabic = 1,2
% alph = a,b
% Alph = A,B
% roman = i,ii
% Roman = I,II
\renewcommand{\thetable}{\thesection-\arabic{table}}
\renewcommand{\thefigure}{\thesection-\arabic{figure}}
\renewcommand{\thesubtable}{\alph{subtable}}
\renewcommand{\thesubfigure}{\alph{subfigure}}
%\renewcommand{\thesubtable}{(\alph{subtable})} % for text references use manual parenthesis and labelformat=simple, instead of using labelformat=parens from captionsetup
%\renewcommand{\thesubfigure}{(\alph{subfigure})} % for text references use manual parenthesis and labelformat=simple, instead of using labelformat=parens from captionsetup
%-----------------------------------------------------------------------------%
%-----------------------------------------------------------------------------%
% MACROS TO SUPPORT ADDING MANUAL ENTRIES TO TABLE OF CONTENTS
%-----------------------------------------------------------------------------%
% ((sub)sub)section without number
\newcommand{\addToTOC}[2][section]{%
\phantomsection
\addtocounter{#1}{1}
\addcontentsline{toc}{#1}{#2}
}
% ((sub)sub)section with number
\newcommand{\addToTOCn}[2][section]{%
\phantomsection
\addtocounter{#1}{1}
\addcontentsline{toc}{#1}{\protect\numberline\expandafter\csname the#1\endcsname #2}
}
% Set environment for TOC, LOT, LOF commands (e.g., remove section number)
\newcommand{\initializeTocLotLof}{%
\titleformat{\section}[hang]
{\singlespacing\large\bfseries\@defaultTitleAlign} % format for label and title
{} % label
{0em} % horizontal space between label and title
{\MakeUppercase} % pre-title commands
{} % post-title commands
\titlespacing{\section}
{0em} % left space
{0in} % before space
{0.3in} % after space
}
% Restore environment to state before TOC, LOT, LOF commands
\newcommand{\finalizeTocLotLof}{%
\titleformat{\section}[hang]
{\singlespacing\large\bfseries\@defaultTitleAlign} % format for label and title
{} % label
{0em} % horizontal space between label and title
{\thesection\ } % pre-title commands
{} % post-title commands
\titlespacing{\section}
{0em} % left space
{0.1in} % before space
{0.1in} % after space
}
%-----------------------------------------------------------------------------%
\endinput % end UTK class