-
Notifications
You must be signed in to change notification settings - Fork 0
/
main-cu-phd-thesis.tex
173 lines (127 loc) · 4.82 KB
/
main-cu-phd-thesis.tex
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
\documentclass[defaultstyle,11pt]{thesis}
% custom added -- must go first
\usepackage[table,xcdraw]{xcolor} % support using rowcolor when pasting from table generator
% default packages from CU Boulder's template
\usepackage{amssymb} % to get all AMS symbols
\usepackage{amsmath}
\usepackage{graphicx} % to insert figures
\usepackage{float}
\usepackage{todonotes}
\usepackage{multirow}
% setup hyperlinks and colors
\usepackage{hyperref}
\hypersetup{
colorlinks = true, %Colours links instead of ugly boxes
urlcolor = blue, %Colour for external hyperlinks
linkcolor = blue, %Colour of internal links
citecolor = blue %Colour of citations
}
% custom added
\usepackage{subfiles}
\usepackage{subcaption}
\usepackage[export]{adjustbox} % allow margin definition in tables (center images)
\usepackage[acronym,nomain]{glossaries}
\loadglsentries{acronyms}
\makeglossaries % for acronyms
\renewcommand*{\glspostdescription}{} % Removes dots at the end of each entry.
\glsnogroupskiptrue % skip spaces in acronym list (that is don't group alphabetically)
\renewcommand*{\glstextformat}[1]{\textcolor{darkgray}{#1}} % Hyperlink color of glossary links
% column with ragged right and hyphenation
\usepackage{array}
\usepackage{ragged2e}
% table layout settings
\newcolumntype{P}[1]{>{\RaggedRight\hspace{0pt}}p{#1}}
\newcolumntype{L}[1]{>{\RaggedRight\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{R}[1]{>{\RaggedLeft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{M}[1]{>{\RaggedRight\arraybackslash}m{#1}}
% enum hyperlinks
\usepackage{enumitem}
% code highlighting
\usepackage{listings}
\input{listings-modelica.cfg}
\lstset{language = modelica,
basicstyle=\fontsize{9pt}{10pt}\ttfamily}
\renewcommand\lstlistingname{Code}
\renewcommand\lstlistlistingname{Code}
% color for the background of the code snippets
\definecolor{aliceblue}{rgb}{0.94, 0.97, 1.0}
%\DeclareCaptionStyle{listing} []{}
%\captionsetup[lstlisting]{style=listing, labelsep=none}
% landscape pages
\usepackage{pdflscape}
\usepackage{afterpage}
% Method for block comment
\newcommand{\comment}[1]{}
%%%%%%%%%%%% All the preamble material: %%%%%%%%%%%%
\title{CU Example Dissertation Thesis}
\author{First Middle}{Last}
\otherdegrees{B.S., University of Colorado, 2016 \\
M.S., University of Colorado, 2020}
\degree{Doctor of Philosophy} % #1 {long descr.}
{Ph.D., Architectural Engineering} % #2 {short descr.}
\dept{Department of} % #1 {designation}
{Civil, Environmental and Architectural Engineering} % #2 {department name}
\advisor{Prof.} % #1 {title}
{Gregor Henze, Ph.D, P.E.} {\normalsize } % #2 {name}
\reader{Second Advisor, Ph.D.} % 2nd person to sign thesis
\readerThree{Third Advisor, Ph.D.} % 3rd person to sign thesis
\readerFour{Fourth Advisor, Ph.D.} % 4th person to sign thesis
\readerFive{Fifth Advisor, Ph.D.} % 5th person to sign thesis
\abstract{ \OnePageChapter % because it is very short
What is the purpose of this document
}
% To create a dedication, remove the \comment{ block below. Don't
% forget to remove the last curly brace }.
\comment{
\dedication[Dedication]{ % NEVER use \OnePageChapter here.
To my friends and family
}
}
% To create the acknowledgments, remove the \comment{ block below. Don't
% forget to remove the last curly brace }.
\comment{
\acknowledgements{ \OnePageChapter % *MUST* BE ONLY ONE PAGE!
Support Team:
Amy Allen
Sourav Dey
Thibault Marzullo
}
}
% \IRBprotocol{E927F29.001X} % optional!
\ToCisShort
\LoFisShort
% \emptyLoF % use this if there is no List of Figures
\LoTisShort
% \emptyLoT % use this if there is no List of Tables
% LIst of listings (i.e., snippets of code)
\LoLisShort
% \emptyLoL % use this if there is no List of Listings (code chunks)
% List of acronyms
\LoAisShort
% \emptyLoA % use this if there are no acronyms
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%% BEGIN DOCUMENT... %%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
% path to where the figures are saved
\graphicspath{{\subfix{figures}}}
\input macros.tex
% main content
\input{chapter1-intro.tex}
\input{chapter2-litreview.tex}
\input{chapter3-methodology.tex}
\input{chapter4-results.tex}
\input{chapter5-conclusions.tex}
%%%%%%%%% then the Bibliography, if any %%%%%%%%%
%bibliographystyle{plain} % or "siam", or "alpha", etc.
% Use IEEEtr to order based on appearance in document. This will make the citations
% numbered by the order of appearance.
\bibliographystyle{ieeetr}
%\nocite{*} % list all refs in database, cited or not
% Change the name of the bibliography file if needed.
\bibliography{bibliography}
%%%%%%%%% then the Appendices, if any %%%%%%%%%
\appendix
\input{appendix-a.tex}
\end{document}