X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=preamble.tex;h=5c88b9847fed075f41876298abc8d6296dad4798;hb=8e6a726257b8aca62e28d6dbeec63edcf0e376e4;hp=61b5490d8d7c5aa8068690b2616438bf89e89cf3;hpb=f0a360c44e8e72f8229f52989c2fa09046df40d3;p=phd-thesis.git diff --git a/preamble.tex b/preamble.tex index 61b5490..5c88b98 100644 --- a/preamble.tex +++ b/preamble.tex @@ -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 @@ -18,9 +19,24 @@ \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={}, @@ -95,6 +108,9 @@ % 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}