X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=preamble.tex;h=5c88b9847fed075f41876298abc8d6296dad4798;hb=8e6a726257b8aca62e28d6dbeec63edcf0e376e4;hp=303c89d225214cfb94816d32e6ae62db7c428461;hpb=42b72cae034cf7ce3d8b995c933bbfe6797341b7;p=phd-thesis.git diff --git a/preamble.tex b/preamble.tex index 303c89d..5c88b98 100644 --- a/preamble.tex +++ b/preamble.tex @@ -1,7 +1,16 @@ -\usepackage{geometry} % Papersize +\usepackage[ + inner=25mm, + outer=20mm, + marginparsep=3mm, + marginparwidth=13mm, + top=25mm, + bottom=20mm, + paperwidth=17cm, + paperheight=24cm]{geometry} % Papersize + \usepackage[british]{babel} % Internationalization \usepackage[titletoc]{appendix} % Appendices -\usepackage[hidelinks]{hyperref} % Hyperlinks +\usepackage[pagebackref,hidelinks]{hyperref} % Hyperlinks \usepackage{graphicx} % Graphics \usepackage{booktabs} % Better looking tables \usepackage{etoolbox} % Patch chapter command @@ -10,6 +19,24 @@ \usepackage[acronym,nonumberlist]{glossaries} % Glossaries and acronyms \usepackage[algochapter]{algorithm2e} % Pseudocode \usepackage{makeidx} % Index +\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}{}{} @@ -28,9 +55,6 @@ \my@chapter} \makeatother -% Always have url in teletype -\urlstyle{tt} - % Setup pdf parameters \hypersetup{% pdftitle={}, @@ -84,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}