-
Notifications
You must be signed in to change notification settings - Fork 0
/
thesis.tex
96 lines (74 loc) · 2.87 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
% Set the font size, Deakin specifies a readable font only
%\documentclass[12pt,a4paper]{report}
\documentclass[12pt,a4paper,twoside]{report} % twoside (Double-sided) will alternate margins on odd/even pages.
\include{preamble}
% See https://en.wikibooks.org/wiki/LaTeX/Document_Structure#Section_numbering for details
%\setcounter{secnumdepth}{1} % numbers chapters and sections, but not subsections
\setcounter{secnumdepth}{2} % numbers chapters, sections, and subsections
\setcounter{tocdepth}{1}
\usepackage[T1]{fontenc}
%\usepackage{lmodern}
%\usepackage{times}
\usepackage{tgbonum} %% Use the extended bookman font
% https://tex.stackexchange.com/questions/26318/disabling-urls-in-bibliography/26319#26319
% https://tex.stackexchange.com/questions/402714/biblatex-not-working-with-biber-2-8-error-reading-bib-file-in-ascii-format
\usepackage[backend=biber, bibencoding=utf8, url=false]{biblatex}
\input{thesis-refs} % bib resources
\input{thesis-includes} % Generated by Makefile. Use to includeonly chapters or set LaTeX variables.
% Actual document
\begin{document}
% https://tex.stackexchange.com/questions/9107/how-can-i-make-my-text-never-go-over-the-right-margin-by-always-hyphenating-or-b?lq=1
\sloppy % Not recommended, but seems to help prevent overflowing into margins.
% https://texfaq.org/FAQ-splitfoot
%\interfootnotelinepenalty=10000 % don't split footnotes (Paul disliked it, and is particularly problematic when it splits access dates from URLs)
% Need to ensure TOC page number column is wide enough for triple digits.
% See http://mirror.aarnet.edu.au/pub/CTAN/macros/latex/contrib/tocloft/tocloft.pdf for figure explaining TOC dimensions.
% https://tex.stackexchange.com/questions/49951/minitoc-package-overfull-hbox
\makeatletter
\renewcommand{\@pnumwidth}{2.5em}% default is 1.55em
% \renewcommand{\@tocrmarg}{8em}% default is 1.55em
\makeatother
\dominitoc % Keeps track of chapters/sections so that minitoc can generate TOC at start of each chapter. Need to initialise here BEFORE the main table of contents.
% Show the title pages
% Note: some PDF viewers, e.g. Google Chrome, ignore page numbering metadata and just display page count
\pagenumbering{roman}
%\tableofcontents
%\newpage
\include{title}
% Set the spacing margin, 1.5 is required by Swinburne University
%\setstretch{1.1}
\onehalfspacing
%\setstretch{1.27}
\pagenumbering{arabic} \setcounter{page}{1}
% INTRO
\include{010}
% BACKGROUND
\include{020}
% MODELLING
\include{030}
% PROV
\include{040}
% DE-IDENT
\include{050}
% REFERENCE FRAMES
\include{060}
% SPORT
\include{070}
% CONCLUSIONS
\include{080}
% REFS (if full thesis)
\ifchrefs
\else
\include{101-refs}
\fi
\include{102-glossary}
% Appendix
\appendix
\include{appendix0-model}
\include{appendix1-prov}
\include{appendix2-deidentification}
\include{appendix3-spatiotemporal}
\include{appendix4-ethics}
\include{appendix5-authorship}
\setstretch{1.0}
\end{document}