-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathThesis.tex
310 lines (260 loc) · 8.36 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
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
% MARK: Preamble
\documentclass{thesis}
\usepackage{geometry}
\geometry{a4paper, margin=25mm}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
% MARK: Supress Warnings
\usepackage{silence}
% Warnings from keywords seperated by $-$
\WarningFilter{hyperref}{Token not allowed in a PDF string (Unicode)}
% Warnings from combining sc, it, and bf font variations
\WarningFilter{latexfont}{Font shape `T1/cmr/m/scit' undefined}
\WarningFilter{latexfont}{Font shape `T1/cmr/bx/scit' undefined}
\WarningFilter{latexfont}{Font shape `T1/cmr/m/scsl' undefined}
% Table 2.2 sfrac fontsize warning
\WarningFilter{latexfont}{Font shape `T1/cmr/m/n' in size <4.46661> not available}
\WarningFilter{latexfont}{Size substitutions with differences}
% Set paragraph seperation and indentation
\usepackage[%
skip=1.0\baselineskip plus2pt,
indent=20pt
]{parskip}
% Remove lineskip in itemize environment
\usepackage{enumitem}
\setlist[itemize]{nosep}
% Allow text coloring
% https://www.overleaf.com/learn/latex/Using_colours_in_LaTeX
% https://www.overleaf.com/learn/latex/Environments
\usepackage{xcolor}
\definecolor{mylinkcolor}{HTML}{313e80}
\definecolor{mycitecolor}{HTML}{179b7d}%{0f4636}
% Set the styling of captions
\usepackage[%
hypcap=true,
font=scriptsize,
labelfont=bf,
figurename=Figure,
tablename=Table,
]{caption}
\usepackage{subcaption}
% MARK: Math packages
% Add: \degree and \micro, etc.
\usepackage{textcomp, gensymb}
% To get matrixes
% \usepackage{amsmath}
% Add additional math support, eg.: \lesssim
\usepackage{amssymb}
\usepackage{comment}
% \usepackage{mathtools}
\usepackage{siunitx}
% Provide sfrac command: $\sfrac{a}{b}$ -> a/b
\usepackage{xfrac}
% MARK: Graphics packages
% Include tikz figures
\usepackage{tikz}
\usetikzlibrary{shapes.geometric, arrows}
\tikzset{font=\footnotesize}
% Include svg figures
\usepackage{svg}
% Convert eps figures to pdf
% \usepackage{epstopdf}
% Allow custom in-text plots
\usepackage{pgfplots}
\pgfplotsset{compat=1.15}
% Include pdf documents in latex. Eg. for publications included in the appendix
\usepackage{pdfpages}
% Allows you to work with graphics
\usepackage{graphicx}
\graphicspath{%
{chapter_0/figures/}%
{chapter_1/figures/}%
{chapter_2/figures/}%
{chapter_3/figures/}%
{chapter_4/figures/}%
{chapter_5/figures/}%
{chapter_6/figures/}%
}
% Add support for floats, i.e., floating
% \usepackage{float}
% programmatic-like interface to create highly customizable subfloats/subfigures
% \usepackage[farskip=0pt]{subfig}
% Needed for `Python pandas` tables
\usepackage{booktabs}
% Allow figure text wrapping
% \usepackage{wrapfig}
% Allow rotation of tables
% \usepackage{rotating}
% Enhanced table setup
% \usepackage{ctable}
% Create tables that may continue to the next page
% \usepackage{longtable}
% Section depth, e.g.: \S 1.1.1.1
% \setcounter{secnumdepth}{5}
% MARK: hyperref
% Looks for hyperref.cfg
\usepackage[lowtilde]{url}
\usepackage{hyperref}
% Define keywords for use in the document
% Redefine \autoref{} defaults
\renewcommand\chapterautorefname{Chapter}
\renewcommand\sectionautorefname{\S}
\renewcommand\subsectionautorefname{\S}
\renewcommand\subsubsectionautorefname{\S}
\renewcommand\pageautorefname{p.}
% \renewcommand\pagesautorefname{pp.}
\newcommand\mykeywords{\GetDocumentProperties{hyperref/pdfkeywords}}
% MARK: Title constants
\title{\textbf{\GetDocumentProperties{hyperref/pdftitle}}}
\author{\GetDocumentProperties{hyperref/pdfauthor}}
\Cdegree{B.Sc. (Hons) \textit{cum laude}}
\Sdegree{Master of Science in Astrophysics} % \SDegree{Magister Scienti\ae}
\department{Department of Physics}
\faculty{Faculty of Natural and Agricultural Sciences}
\university{University of the Free State}
\country{South Africa}
\degreedate{\monthyear\today}
\supervisor{Prof. B. van Soelen}
% MARK: Other packages
% Add support to split a table cell into multiple rows
\usepackage{multirow}
% Format tabular environments. Used by math and table packages
\usepackage{array}
% Allow strikethrough, eg.: \sout{example strikethrough text}
\usepackage{ulem}
\usepackage{datetime}
\newdateformat{monthyear}{\monthname[\THEMONTH] \THEYEAR}
% Control footnote layouts
% \usepackage[bottom, hang, flushmargin]{footmisc}
% Upright greek letters
% \usepackage{upgreek}
% 'robusify' the \subref command so it doesn't break on a whim
% \robustify{\subref}
% MARK: 'include' files
\includeonly{%
chapter_0/Abstract,
chapter_0/Acknowledgements,
chapter_0/Appendix_reduction,
chapter_0/Appendix_code,
chapter_1/Introduction,
chapter_2/SALT_RSS_pipeline,
chapter_3/Developed_tools,
chapter_4/Testing_Application,
chapter_5/Conclusions,
}
% Allow directory `tree' structures
\usepackage{dirtree}
% Allow relative font resizing.
\usepackage{relsize}
% MARK: My listings
\usepackage{mylistings}
% \usepackage[path=G:/STOPS/]{mylistings}
% MARK: Custom cmd's
\newcommand\todo[1]{{\noindent}\textcolor{red}{\textbf{TODO: #1}}}
% Hide TODO's
% \renewcommand\todo[1]{}
\newcommand{\Chapter}[2]{\chapter[#1]{#1:\\ \smallskip {\smaller[1] #2}}}
\newcommand{\arcmin}{\hbox{$^\prime$} }
\newcommand{\arcsec}{\hbox{$^{\prime\prime}$} }
\newcommand{\avg}[1]{\left< #1 \right> }
\newcommand{\matr}[1]{\mathbf{#1}}
% \newcommand{\degr}{\hbox{$^\circ$}}
% Use numeric counting for footnotes
\renewcommand{\thefootnote}{\arabic{footnote}}
\newcommand{\super}[1]{\textsuperscript{#1}}
\newcommand{\rmn}[1]{{\mathrm{#1}}}
% Shorthand for blank line after a paragraph
% \newcommand{\prgph}%{}%{\vspace{\baselineskip}}
% \renewcommand{\arraystretch}{0.8}
% \renewcommand{\floatpagefraction}{.9}
% https://www.overleaf.com/learn/latex/Page_numbering
% Page numbering alteration
% \pagenumbering{Roman}
% MARK: My Glossary
\usepackage{myglossary}
% Set the bibliography references
\usepackage[%
round,
colon,
authoryear,
sort&compress
]{natbib}
% Add bibliography to ToC
\usepackage[nottoc]{tocbibind}
% Set NASA ADS journal abbrevation macros
\usepackage{journal_macros}
% Fix Bibliography Underfull \hbox (badness 10000)
\usepackage{etoolbox}
\apptocmd{\sloppy}{\hbadness 10000\relax}{}{}
% Remnants from Hanno commands
% \newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
% MARK: Main document
\begin{document}
% MARK: Front matter
\frontmatter
\maketitle
\clearpage
\include{chapter_0/Abstract}
\include{chapter_0/Acknowledgements}
\tableofcontents
% \printglossaries
% Longest abbreviation so the column width can be set
% \glssetwidest{\gls{STOPS}}
\printglossary[%
type=\acronymtype,
style=super,
title={List of Acronyms and Symbols}
]
% \printglossary[%
% type=main,
% title={Glossary}
% ]
% Reset all acronyms to their full form
\glsresetall
% MARK: Main matter
\mainmatter
\include{chapter_1/Introduction}
\include{chapter_2/SALT_RSS_pipeline}
\include{chapter_3/Developed_tools}
\include{chapter_4/Testing_Application}
\include{chapter_5/Conclusions}
% MARK: Back matter
{
% No chapter count type
\backmatter
\bibliographystyle{plainnat}
\bibliography{references}
}
% MARK: Appendix
% New chapter count type
\appendix
% Roman numerals for Appendix numbering
% \renewcommand{\thechapter}{\Roman{chapter}}
\include{chapter_0/Appendix_reduction}
\include{chapter_0/Appendix_code}
\chapter{Proceedings} \label{app:papers}
Development of \stops\ and it's application to spectropolarimetric observations was presented at conferences, with the following proceedings included here.
\begin{itemize}
\item \glsxtrshort{HEASA} $2021$ -- \citet*{Cooper_HEASA2021}
\item \glsxtrshort{HEASA} $2022$ -- \citet*{Cooper_HEASA2022}
\end{itemize}
\includepdf[pages=-]{chapter_4/papers/Cooper_HEASA2021.pdf}
\includepdf[pages=-]{chapter_4/papers/Cooper_HEASA2022.pdf}
% \chapter{Supplementary Information} \label{app:supp}
% Specific versions as used throughout this thesis were used and are included here for reference.
% \begin{itemize}
% \item \polsalt\ v0.2.dev144
% \item PySALT v0.5dev%
% \footnote{PySALT version date: 1 October 2014}
% \item PyRAF v1.8.1
% \item \iraf\ v2.14
% \item specpolfinalstokes -- $20171226$
% \item specpolcorrect -- $20191123 | 20191210$%
% \footnote{Multiple versions are noted in the `extract_sc' source file.}
% \item specpolspectrum_sc -- $20191123$
% \item specpolrawstokes -- $20191111$
% \item specpolwavmap -- $20180804$
% \item specpolextract_dev -- $20180524$
% \item specpolrawstokes_dev -- $20171226$
% \end{itemize}
\end{document}