-
Notifications
You must be signed in to change notification settings - Fork 8
/
template.tex
86 lines (64 loc) · 2.86 KB
/
template.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
% ======================================================= %
% Random Thesis of super-cool author %
% %
% Structure: %
% template.tex (main file) %
% - _packages.tex (load packages) %
% - _settings.tex (basic configuration) %
% - _newcommands.tex (custom commands) %
% - 1 - Introduction/ (chapters in subdirectories) %
% - 2 - ... %
% - %
% %
% ======================================================= %
% draft or final?
\newcommand{\status}{final}
% The most general information for this document
\newcommand{\Title}{An Article About the Correlation of Random Words with Alpha Male Gorillas and Rainbow-colored Highland Unicorns}
\newcommand{\Pdftitle}{\Title} % For if you want to have a different title in the pdf document (e.g. special characters removed)
\newcommand{\Author}{The Doctor, PhD}
\newcommand{\keywords}{LaTeX, template, Sublime Text 3, keyword, unicorns}
\newcommand{\refereeOne}{Prof.~Dr.~A. Einstein}
\newcommand{\refereeTwo}{Prof.~Dr.~P. Thagoras}
\newcommand{\dateHandIn}{1~June~1970}
\newcommand{\dateDefense}{8~July~1970}
% load the general configuration
\input{_packages}
\input{_settings}
\input{_newcommands}
\addbibresource{references.bib} % Use with BibLaTeX
% -------------------------------------------------- %
% title, TOC, ... %
% -------------------------------------------------- %
% begin the document
\begin{document}
\frontmatter
\include{glossaries}
% the title page
\input{_titlepage}
% table of contents
\microtypesetup{protrusion=false} % disables protrusion locally in the document
\tableofcontents*
\microtypesetup{protrusion=true} % enables protrusion again
\newpage
% load glossaries
% -------------------------------------------------- %
% the main content %
% -------------------------------------------------- %
\mainmatter
\chapter{Showcase}
\label{s:showcase}
\input{1_Showcase/Showcase}
\chapter{Unicorns}
\input{2_Unicorns/Unicorns}
% -------------------------------------------------- %
% appendix and stuff %
% -------------------------------------------------- %
\backmatter
% \bibliography{references} % use with BibTeX
\hypersetup{urlcolor=darkgreen}
\printbibliography % use with BibLaTeX
\hypersetup{urlcolor=darkblue}
% \printglossary[type=\acronymtype, toctitle=\myacronymtitle, title=\myacronymtitle] % print only one glossary, and define its title (\myacronymtitle is defined in _settings.tex)
\printglossaries % print all glossaries available
\end{document}