forked from harmsk/wustl-latex-dissertation-template
-
Notifications
You must be signed in to change notification settings - Fork 13
/
thesis.tex
187 lines (156 loc) · 5.9 KB
/
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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
\documentclass{wustlthesis}
\setmainfont{Times New Roman} % Use Times New Roman
\setmathfont{STIXTwoMath}[math-style=ISO] % Use math font that matches Times New Roman
% Re-calculate the lengths of a text line using the current font
\setlxvchars[\normalfont\normalsize]
\setxlvchars[\normalfont\normalsize]
\checkandfixthelayout[classic]
% Enable refinements of typographics
\usepackage[
activate=true,
disable=false, % enable microtype even in the draft mode
babel=true, % enable language-specific kerning.
]{microtype}
\DeclareMicrotypeAlias{Times New Roman}{ptm}
% Hyperlinks
\usepackage{hyperref}
\hypersetup{%
colorlinks=true,
linkcolor=black,
urlcolor=blue,
citecolor=black,
}
% default URL style
\urlstyle{same}
% Tables (optional packages)
\usepackage{threeparttable}
\usepackage{makecell} % allow multiple lines in a table cell
\usepackage{multirow} % allow multiple lines in a table cell
% Graphics
\usepackage{graphicx}
% Subcaptions
% The caption format is "Figure 1. Some caption. (A) subcaption. (B) subcaption".
% And the label reference format is "Figure 1A".
\usepackage{subcaption}
\renewcommand\thesubfigure{\Alph{subfigure}}
\renewcommand\thesubtable{\Alph{subtable}}
\captionsetup{subrefformat=parens}
% Enable subcaption for supplemental figures/tables.
% The caption format is "Supplemental Figure S1. Some caption. (A) …. (B) …."
% and the label reference format is "Figure S1A".
\DeclareCaptionSubType{suppfigure}
\DeclareCaptionSubType{supptable}
\renewcommand\thesubsuppfigure{\Alph{subsuppfigure}}
\renewcommand\thesubsupptable{\Alph{subsupptable}}
% Allowing subcaptions when all figure panels are combined
% into one source image. Based on https://tex.stackexchange.com/a/255790
\newcommand{\phantomlabel}[1]{%
\parbox{0pt}{\phantomsubcaption\label{#1}}%
}
% Add a note for figure caption spanning multiple pages
\newcommand{\legendcontdnote}{%
\sourceatright[2em]{%
\footnotesize\itshape(legend continued on next page)%
}}
\newcommand{\legendcontdref}[1]{%
\emph{(\fref{#1} continued)}%
}
% Bibliography
% use BibLaTeX + Biber and Nature citation style.
% some extra configurations:
% - Hide ISBN and URL
% - Display DOI
% - Show up to 9 authors
% - Enable back references
\usepackage[
backend=biber,
style=nature,
date=year,
isbn=false, url=false, doi=true,
minnames=1, maxnames=9,
backref=true
]{biblatex}
% rename bibliography section name
\DefineBibliographyStrings{english}{
bibliography = {References},
backrefpage = {cited on p\adddot},
backrefpages = {cited on pp\adddot}}
% hide PubMed ID (pmid:xxx) in the bibliography
\DeclareFieldFormat{eprint:pmid}{}
% define the bibliography path
\addbibresource{references.bib}
% Configure title page
\settitle{A Mock Thesis on the Proper Formatting of Dissertations and Theses for\\ Arts \& Sciences Graduate Students}
\setauthor{Paige Turner}
\setthesistype{Dissertation}
\setthesisdegree{Doctor of Philosophy}
\setthesisdegreeabbrv{Ph.D.}
% Degree officially earn date must be in December, May, or August
\setdegreedatemy{August}{2022}
\setthesiscommittee{%
Katherine Davidsen, Chair\\
Michael Randolf, Co-Chair\\
Richard Lewis\\
Hillary O'Connell\\
Jack Taylor}
\setthesisschool{Division of Biology and Biomedical Sciences}
\setthesisdepartment{Neurosciences}
\setthesispresentee{Washington University in St.\@ Louis}
\setthesisabstractfulldegree{%
\thesisdegree\ in Biology and Biomedical Sciences\\
\thesisdepartment}
\setthesisadvisorwithtitle{%
Professor Katherine Davidsen, Chair\\
Professor Michael Randolf, Co-Chair}
% Configure PDF metadata
\hypersetup{
pdftitle={%
A Mock Thesis on the Proper Formatting of%
Dissertations and Theses for Arts \& Sciences Graduate Students%
},
pdfauthor={\thesisauthor},
}
% Optional packages that are not required in the real thesis
\usepackage[shortlabels]{enumitem} % Custom list structures (lettered list)
\setlist{noitemsep}
\usepackage{layout} % Show page layout
\usepackage{pifont} % Extra symbols (optional if the main font has the symbols)
\usepackage{emoji} % Emojis
% Optional styling that is not required in the real thesis
\newcommand*{\file}[1]{\texttt{#1}}
\begin{document}
\thetitlepage % Title page
\frontmatter
\thesiscopyright{% % Thesis copyright page
\textcopyright~\degreeearnyear, Paige Turner}
\SingleSpacing*
\setSingleSpace{1.15}
\tableofcontents* % Table of contents (ToC)
\listoffigures % List of figures (LoF)
\listoftables % List of tables (LoT)
\DoubleSpacing
\setPagenoteSpacing{1} % single spacing for footnotes
\include{thesis-acknowledgments} % Acknowledgements
\thesisdedication{% % Dedication page
Dedicated to my parents.}
\begin{abstract}
After removing these comments, begin typing the body of your abstract here, double-spaced.
Your font should be 12-point (which is the text of this sample paragraph).
No part of the abstract should be bolded.
In the abstract heading above, make sure you use the year your degree is to be officially earned.
Be sure to use your full name as it is recorded in WebSTAC, your dissertation or
thesis advisor's full name(s) wherever appropriate, and the correct title of your degree whenever referencing it.
The title of your degree will not always be the same as the title of your department or program, so please check with your departmental administrative assistant and advisor(s) to be sure you are using the correct degree title.
Please note that an abstract is required for all dissertation submissions in ProQuest.
\end{abstract}
\mainmatter
\pagestyle{main}
\include{thesis-chapter-structure}
\include{thesis-chapter-format}
\include{thesis-chapter-latex}
\begin{SingleSpace}
\printbibliography
\end{SingleSpace}
\appendix
\include{thesis-appendix-degree-program}
\end{document}