forked from Tufte-LaTeX/tufte-latex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
infthesis-tufty.tex
112 lines (95 loc) · 3.19 KB
/
infthesis-tufty.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
\RequirePackage{eushield, xspace}
\setlength{\parskip}{0.5\baselineskip}%
%% Choose the monochrome crest for the front page (if crests used)
\shieldtype{0}
%% Default values for various fields
\newcommand{\thesistext}{4th Year Project Report}
\newcommand{\degreetext}{Artificial Intelligence and Computer Science}
\newcommand{\infschool}{School of Informatics}
\newcommand{\university}{University of Edinburgh}
%%
% Produces a full title page
\renewcommand{\maketitlepage}[0]{%
\cleardoublepage%
{%
\begin{fullwidth}%
\begin{centering}%
\resizebox{30mm}{!}{\includeshield}%
\vspace{2.5cm}%
\fontsize{32pt}{35pt}%
\selectfont\par\noindent{\sc\thanklesstitle}\par%
\vspace{0.75cm}%
\fontsize{12}{15}%
\selectfont\par\noindent\allcaps{\thanklessauthor}%
\vspace{0.75cm}%
\fontsize{12}{15}%
\selectfont\par\noindent\textit{\thesistext}%
\vspace{-0.5em}%
\fontsize{10}{15}%
\selectfont\par\noindent\textit{\degreetext}%
\vfill%
\fontsize{12}{15}%
\selectfont\par\noindent\allcaps{\infschool}%
\fontsize{11}{11}%
\selectfont\par\noindent\allcaps{\university}%
\vspace{0.5cm}%
\fontsize{24}{24}%
\selectfont\par\noindent\the\year%
\par%
\end{centering}%
\end{fullwidth}%
}
\thispagestyle{empty}%
\clearpage%
}
%%
%% Let's have a dedication page so I can thank my mummy.
%%
\newcommand{\dedication}[1]
{\clearpage\vspace*{\fill}
{\itshape\LARGE #1}
\vspace*{\fill}}
%%
%% Some commands which are generally useful...
%%
\newcommand{\NB}{N.B.\@\xspace}
\newcommand{\eg}{e.g.\@\xspace}
\newcommand{\Eg}{E.g.\@\xspace}
\newcommand{\ie}{i.e.\@\xspace}
\newcommand{\Ie}{I.e.\@\xspace}
\newcommand{\etc}{etc.\@\xspace}
\newcommand{\etal}{{\em et al}.\@\xspace}
\newcommand{\etseq}{{\em et seq}.\@\xspace}
\newcommand{\naive}{na\"\i ve\xspace}
\newcommand{\Naive}{Na\"\i ve\xspace}
\newcommand{\tm}{\raisebox{1ex}{\tiny TM}\xspace}
\newcommand{\cpright}{\raisebox{1ex}{\tiny\copyright}\xspace}
\newcommand{\degrees}{\raisebox{1.2ex}{\tiny\ensuremath{\circ}}\xspace}
\newcommand{\ch}{{\sc Ch.}}
\newcommand{\eqn}{{\sc Eq.}}
\newcommand{\fig}{{\sc Fig.}}
\newenvironment{publicationmeta}{%
\cleardoublepage%
\thispagestyle{plain}%
\setlength{\parindent}{0pt}%
}{%
\par\vspace*{\fill}\par%
\smallcaps{\thesistext}\par%
\smallcaps{\degreetext}\\%
\smallcaps{\infschool}\\%
\smallcaps{\thanklesspublisher}\par%
\vspace{2\baselineskip}%
\textit{Copyright \copyright\ \the\year\ \thanklessauthor}\par%
\textit{%
This \LaTeX\ document class is derived from the `Tufte-\LaTeX' document class and is licensed
under the \href{https://www.apache.org/licenses/LICENSE-2.0}{Apache 2.0 license.}%
}\par%
\smallcaps{\href{https://github.com/AngusP/tufte-latex}{https://github.com/AngusP/tufte-latex}}%
}
%%
% Table of Contents Depth
\setcounter{tocdepth}{4}
%%
% Definition List
\newcommand{\deflisthead}[1]{\noindent\textit{#1}\par}
\newcommand{\deflistitem}[1]{\noindent\begin{quote}#1\end{quote}\par}