use latexmk,
[thesis-skel.git] / preamble.tex
index 61b5490..5c88b98 100644 (file)
@@ -7,6 +7,7 @@
        bottom=20mm,
        paperwidth=17cm,
        paperheight=24cm]{geometry}               % Papersize
+
 \usepackage[british]{babel}                   % Internationalization
 \usepackage[titletoc]{appendix}               % Appendices
 \usepackage[pagebackref,hidelinks]{hyperref}  % Hyperlinks
 \usepackage[acronym,nonumberlist]{glossaries} % Glossaries and acronyms
 \usepackage[algochapter]{algorithm2e}         % Pseudocode
 \usepackage{makeidx}                          % Index
-\usepackage[inline,shortlabels]{enumitem}
+\usepackage[inline,shortlabels]{enumitem}     % Customized enumerations
 \setlist{noitemsep}
 \setlist[description]{leftmargin=\parindent}
+\usepackage{epigraph}
+
+\usepackage[
+       height={1.5cm},
+       width={12mm},
+       distance={1.55cm},
+       topthumbmargin={auto},
+       bottomthumbmargin={auto},
+       eventxtindent={.5cm},
+       oddtxtexdent={.3cm}]{thumbs}
+
+\usepackage{lipsum}
+
+\usepackage{fancyhdr}
+\pagestyle{fancy}
 
 % Have better page numbering in chapters
 \patchcmd{\chapter}{plain}{headings}{}{}
@@ -39,9 +55,6 @@
   \my@chapter}
 \makeatother
 
-% Always have url in teletype
-\urlstyle{tt}
-
 % Setup pdf parameters
 \hypersetup{%
        pdftitle={},
 % Fix the algorithm font
 \renewcommand\AlCapFnt{\normalfont}
 
+\renewcommand{\contentsname}{Table of Contents} % change the name of the TOC
+\AtBeginDocument{\addtocontents{toc}{\protect\thispagestyle{empty}}} % to remove page numbering from the TOC
+
 % Initialize the glossaries
 \makeglossaries%
 \input{glossaries}