61b5490d8d7c5aa8068690b2616438bf89e89cf3
9 paperheight=
24cm
]{geometry
} % Papersize
10 \usepackage[british
]{babel
} % Internationalization
11 \usepackage[titletoc
]{appendix
} % Appendices
12 \usepackage[pagebackref,hidelinks
]{hyperref
} % Hyperlinks
13 \usepackage{graphicx} % Graphics
14 \usepackage{booktabs
} % Better looking tables
15 \usepackage{etoolbox
} % Patch chapter command
16 \usepackage[nodayofweek
]{datetime
} % Use a fixed document date
17 \usepackage{listings
} % Code
18 \usepackage[acronym,nonumberlist
]{glossaries
} % Glossaries and acronyms
19 \usepackage[algochapter
]{algorithm2e
} % Pseudocode
20 \usepackage{makeidx
} % Index
21 \usepackage[inline,shortlabels
]{enumitem
}
23 \setlist[description
]{leftmargin=
\parindent}
25 % Have better page numbering in chapters
26 \patchcmd{\chapter}{plain
}{headings
}{}{}
31 % Fix list of listings title
32 \renewcommand{\lstlistlistingname}{List of Listings
}
34 % Fix list of listings chapter separator
36 \let\my@chapter\@chapter
%
37 \renewcommand*
{\@chapter
}{%
38 \addtocontents{lol
}{\protect\addvspace{10pt
}}%
42 % Always have url in teletype
45 % Setup pdf parameters
55 % Fix gls in hyperlink errors
56 \pdfstringdefDisableCommands{%
75 % General listings settings
77 breakatwhitespace=false,
81 basicstyle=
\ttfamily\fontseries{l
}\footnotesize,
82 commentstyle=
\slshape\fontseries{m
},
83 keywordstyle=
\bfseries\fontseries{b
},
84 stringstyle=
\ttfamily,
86 showstringspaces=false,
92 % Increase the depth for the table of contenst
93 \setcounter{secnumdepth
}{3}
95 % Fix the algorithm font
96 \renewcommand\AlCapFnt{\normalfont}
98 % Initialize the glossaries