-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.tex
114 lines (88 loc) · 2.54 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
\documentclass [11pt,letterpaper]{report}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{nomencl}
\usepackage{enumitem}
\usepackage{amsmath} % Extra math definitions
\usepackage{graphicx, subfigure} % PostScript figures
\usepackage{setspace} % 1.5 spacing
\usepackage{longtable} % Tables spanning pages
\usepackage{url}
\usepackage{titlesec}
\usepackage{hyperref} % to simplify the use of \href
\usepackage{array} % column width in tables
\usepackage{listings} % for displaying computer code
\usepackage[backend=biber,style=authoryear]{biblatex}
\addbibresource{bibliography.bib}
\usepackage{subfiles} %inline documents (allows for usage of packages in subfiles)
\usepackage{todonotes} %side margin todo notes
\usepackage{soul} %highlighting
% Custom commands
\newcommand{\tinytodo}[2][] {\todo[caption={#2}, #1]{\begin{spacing}{0.5} #2 \end{spacing}}}
\newenvironment{tinytest}%
{\begin{tiny}\it}%
{\end{tiny}}
% Custom packages
\usepackage[first]{datestamp} % Datestamp on first page of each chapter
\usepackage[fancyhdr]{McECEThesis} % Thesis style
\usepackage{McGillLogo} % McGill University crest
\makenomenclature
\usepackage{color}
\def\headrulehook{\color{red}} % Color the header rule
%===== page layout
% Define the side margins for a right-side page
\insidemargin = 1.3in
\outsidemargin = 0.8in
% Above margin is space above the header
% Below margin is space below footer
\abovemargin = 1.1in
\belowmargin = 0.75in
\begin{document}
%===== Title page
\title{My Super Thesis}
\author{John Doe}
\date{\Month\ \number\year}
\organization{%
\\[0.2in]
\McGillCrest {!}{1in}\\ % McGill University crest
\\[0.1in]
Music Technology Area \\
Schulich School of Music \\
McGill University\\
Montreal, Canada}
\note{%
{\color{red} \hrule height 0.4ex}
\vskip 3ex
A thesis submitted to McGill University in partial fulfillment of the
requirements for the degree of Master of Arts.
\vskip 3ex
\copyright\ \the\year\ John Doe
}
\maketitle
%===== Justification, spacing for the main text
\raggedbottom
\onehalfspacing
\pagenumbering{roman}
%========== Tables of contents, figures, tables
\tableofcontents
% \listoffigures
\listoftables
\newpage{}
\chapter*{List of Acronyms}
\begin{longtable}{ll}
DMI & Digital Music Instrument\\
\end{longtable}
\cleardoublepage
%========== Chapters ==========
\pagenumbering{arabic}
\doublespacing
\typeout{}
\subfile{chapter1}
\typeout{}
\subfile{chapter2}
%========== Bibliography ==========
\typeout{}
\begin{singlespace}
\printbibliography
\end{singlespace}
\end{document}