-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
330 lines (263 loc) · 14.9 KB
/
main.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
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% dissertation.tex, to be compiled with latex2e. %
%% 16 April 2012 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %
%% Writing a Doctoral Dissertation with LaTeX at %
%% Georgia State University %
%% %
%% (Running this ``template'' will generate the documentation.) %
%% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\listfiles
\documentclass[12pt,gsu,online,openany,singleside,hidelinks]{gsudiss}
% Original CAS template used the below for 'natbib'
% \usepackage{natbib} % apacite, betterbibtex (as alternative)
%% \usepackage{subfigure} % To format bibliographies.
%% \usepackage{aastex}
% \setlength{\bibsep}{0pt} % Necessary for bib entries to have
% correct line spacing.
% Added to switch to biblatex
\usepackage[backend=biber,
natbib=true,
style=nature,
maxbibnames=99,
date=year,
url=false]{biblatex}
\addbibresource{bibliography.bib} % if using biblatex
%% --------------------------------------------------------------------------
% The below commands correctly specify Sentence casing for article titles, but preserve Title casing for journals
\DeclareFieldFormat{titlecase}{\MakeTitleCase{#1}}
\newrobustcmd{\MakeTitleCase}[1]{%
\ifthenelse{\ifcurrentfield{booktitle}\OR\ifcurrentfield{booksubtitle}%
\OR\ifcurrentfield{maintitle}\OR\ifcurrentfield{mainsubtitle}%
\OR\ifcurrentfield{journaltitle}\OR\ifcurrentfield{journalsubtitle}%
\OR\ifcurrentfield{issuetitle}\OR\ifcurrentfield{issuesubtitle}%
\OR\ifentrytype{book}\OR\ifentrytype{mvbook}\OR\ifentrytype{bookinbook}%
\OR\ifentrytype{booklet}\OR\ifentrytype{suppbook}%
\OR\ifentrytype{collection}\OR\ifentrytype{mvcollection}%
\OR\ifentrytype{suppcollection}\OR\ifentrytype{manual}%
\OR\ifentrytype{periodical}\OR\ifentrytype{suppperiodical}%
\OR\ifentrytype{proceedings}\OR\ifentrytype{mvproceedings}%
\OR\ifentrytype{reference}\OR\ifentrytype{mvreference}%
\OR\ifentrytype{report}\OR\ifentrytype{thesis}}
{#1}
{\MakeSentenceCase{#1}}}
%% --------------------------------------------------------------------------
\usepackage{tocloft}
\usepackage[hidelinks]{hyperref}
\hypersetup{
colorlinks=false,
pdfborder={0 0 0},
}
\renewcommand{\cftfigfont}{Figure\ }
\renewcommand{\cfttabfont}{Table\ }
\renewcommand{\cftchapfont}{\bfseries}
\renewcommand{\cftsecfont}{\bfseries}
\renewcommand{\cftsubsecfont}{\bfseries\itshape}
\renewcommand{\cftsubsubsecfont}{\itshape}
\renewcommand{\cftparafont}{\mdseries}
\usepackage{lscape}
\usepackage{geometry}
\usepackage{array}
\usepackage{siunitx} % added package for SI units (e.g. micrometers)
\sisetup{group-separator = {,}, group-minimum-digits = 4}
\usepackage{deluxetable}
%\usepackage{aastex_hack}
\usepackage{longtable,ltcaption}
\usepackage{float}
\usepackage[caption = false]{subfig}
% The ltcaption package supports \CaptionLabelFont & \CaptionTextFont
% introduced by the NTG document classes
\renewcommand\CaptionLabelFont{\normalsize}
\renewcommand\CaptionTextFont{\normalsize}
% may want to change this cite style
% \usepackage{aas} % Some abbreviations for AAS references.
% \citestyle{aa} % Astronomy & Astrophysics cite style.
\usepackage{eucal} % Euler fonts for equations.
\usepackage{verbatim} % Allows quoting source with commands.
\usepackage{graphicx} % For powerful manipulation of figures.
\graphicspath{Plots/} % Figure subdirectory
\usepackage{amsmath,amsthm,amsfonts,amsopn,amssymb} % Some nice math packages.
\usepackage{ctable} % My preference table package.
\usepackage[overlay]{textpos} % Put stuff anywhere, I mean anywhere ...
\usepackage{pstricks} % Draw stuff especially on top figures etc...
\usepackage{afterpage} % Useful for absolute placement of figures and tables.
\usepackage{longtable} % for 'longtable' environment
\usepackage{pdflscape} % for 'landscape' environment
%\input{figures} % My defined figures, see the file "figures.tex".
\input{usercommands} % User defined commands go in this
% file called "usercommands.tex".
% Of course you can rename it.
\usepackage{float}
\floatstyle{boxed}
\newfloat{code}{h}{ext}
\floatname{code}{Code}
\usepackage{fancyvrb}
\DefineVerbatimEnvironment{code}{Verbatim}{fontsize=\small}
\DefineVerbatimEnvironment{example}{Verbatim}{fontsize=\small}
\usepackage{atbeginend} % Modify space before and after
% equations. These are my preferences.
\AfterBegin{equation}{\addtolength{\abovedisplayskip}{-0.5\baselineskip}}
\BeforeEnd{equation}{\addtolength{\belowdisplayskip}{-0.5\baselineskip}}
\AfterBegin{equation*}{\addtolength{\abovedisplayskip}{-0.5\baselineskip}}
\BeforeEnd{equation*}{\addtolength{\belowdisplayskip}{-0.5\baselineskip}}
\renewcommand{\topfraction}{0.85} % These modify figure placement on
\renewcommand{\bottomfraction}{0.85} % the page and various other space
\renewcommand{\textfraction}{0.10} % requirements for figures.
\renewcommand{\floatpagefraction}{0.80} % These 5 lines are not
\renewcommand{\arraystretch}{0.5} % necessary but I think its better
% than latex default.
\setlength{\tabcolsep}{3pt} % shrink column spacing so your tables
% can be wider (yay Todd Tables)
%\setlength{\LTcapwidth}{\textwidth}% so your rotated, normal-sized
% longtable titles won't wrap oddly.
\clubpenalty=1000 % Make Latex try hard to fix
\widowpenalty=1000 % "stray lines" in paragraphs,
% i.e. paragraph that begin at the
% last line of a page, or end with
% the last line on the following
% page. This looks silly.
\raggedbottom
\settocname{TABLE OF CONTENTS} % Set the "Table of Contents"
% name. This is the default. You
% can use "Table of Contents" for example.
\setlofname{LIST OF FIGURES} % Change the name from 'List of
% Figures'. Use whatever you wish.
\setlotname{LIST OF TABLES} % Change the name from 'List of
% Tables'. Use whatever suit your
% fancy.
\settocbibname{REFERENCES} % Change the name from
% 'Bibliography'. Change it back if
% you feel like it.
\setloaname{LIST OF ABBREVIATIONS}
% I Changed the name from 'List of
% Abbreviations'. Use any name that
% makes sense here. If you don't
% have an "abbreviations.tex" file,
% this command will do nothing.
\setfigname{Figure\ } % Set the caption labels for figures.
\settabname{Table\ } % Set the caption labels for tables.
\setcapfont{pnc} % Set the caption font for
% both tables and figures.
\chapternumsize{\normalsize} % You can use any standard latex sizes here.
\chapterheadsize{\normalsize} % You can use any standard latex sizes here.
\chaptertitlesize{\normalsize} % You can use any standard latex sizes here.
% These defaults look good to me.
\beforechapterheadname{CHAPTER} % Optional text to put in front of
% the chapter number.
\afterchapterheadname{} % Optional text to put after the
% chapter number. The default
% looks like this: --1--. Of course
% you can change this to any
% format, for e.g. $\sim$
\chapterheadpos{center} % You can use 'right', 'left',
% 'center'.
\chaptertitlepos{center} % You can use 'right', 'left',
% 'center'
\chapterheadverticalspace{-1em} % The space between the Chapter head
% and the top of page. This distance
% is not absolute, but relative to
% the parameters set by the
% geometry package. Play around
% with this number to suit your needs.
\chapterbetweentitlespace{-1.em} % The space between the chapter head
% and the title head.
\titleheadverticalspace{2em} % The space between the title head
% and the text.
\sectiontitlesize{\normalsize} % This is obvious.
\sectiontitlepos{left} % Obvious.
\sectiontitleverticalspace{1em} % The space between the section head
% and the text.
\subsectiontitlesize{\normalsize} % Obvious.
\subsectiontitlepos{left} % Obvious.
\subsectiontitleverticalspace{0.5em} % You get the idea...
\subsubsectiontitlesize{\normalsize}
\subsubsectiontitlepos{left}
\subsubsectiontitleverticalspace{0.5em}
\sepabbrev{7em} % The space between the abbreviation
% lists, that is, if you have
% one. Has to be >= 5em.
\prettify{pnc}
\printdraft{\textcolor{gray}\small DRAFT} % In order to use this
% command, you have to enable "drafts"
% in the option of the gsudiss
% class, otherwise it does
% nothing. This prints the word
% "DRAFT" in gray color in the header of your
% dissertation. You can go wild
% here if you want. Just make sure
% you disable the draft option
% before final printing.
\author(First and Last Name) % Name required.
\title(Your Title in Title Caps) % Title of dissertation Required.
\titlesize(11)(11) % This is for changing
% the default font size
% for your title. The
% first argument is the
% font size, the second
% is the line spacing for
% long tiles that wrap to
% more than one line.
% Default is equivalent
% to the \LARGE command,
% which is roughly (22)(22).
% \committee: The first parenthesis must contain your supervisor name.
% You can have two supervisors, in which case, the
% second supervisor goes into the square brackets, next to the
% first. If you have one like me, then leave the second entry blank, like below. The
% rest of the parentheses contains the rest of your committee members. You
% can have up to six entries, NOT including your supervisor(s). My
% school requires five or four. I have five (5) members
% below. Note that there is no need to put the "Dr." title in front of any of the names.
% Adjust margins to 1.0in on all sides
\committee(Committee Chair)[]
(Committee Member)
(Committee Member)
(Committee Member)
(Committee Member)
\department(Department of Physics and Astronomy)
% Your Department name.
% Other departments you can
% use include
% \department(School of Arts \& Design)
% or \department(School of Music), etc...
\departmenttitle(Chair) % For Arts and Music school
% students use
% \departmenttitle{Director}
\graduationyear(YEAR) % Defaults to the same year
% you are writing this
% Dissertation. Do
% \graduationyear(200x) if
% you ever need to change it.
\graduationmonth(Month) % This is the date of the
% official graduation ceremony.
% Do \graduationmonth{January}
% for example. Defaults to "August"
\newcommand\omicron{o}
\usepackage{subfiles} % Added subfiles package for modular section compilation
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The dissertation starts here. %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\include{TitleAbstract} % See the TitleAbstract.tex file
\include{frontmatter} % See the frontmatter.tex file
\mainmatter % Main chapters start here
\subfile{./Chapters/ch_01/Chapter_01} % Use subfile instead of include
\clearpage % ensure pagebreak between chapters
\subfile{./Chapters/ch_02/Chapter_02}
\clearpage
\appendix
\section*{Appendices}
\addcontentsline{toc}{section}{Appendices}
\renewcommand{\thesubsection}{\Alph{subsection}}
% \include{./Chapters/appendices/Appendix_A}
\subfile{./Chapters/appendices/Appendix_A}
\clearpage
\subfile{./Chapters/appendices/Appendix_B}
\clearpage
\include{backmatter} % See the backmatter.tex file
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The dissertation ends here. %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}