2024-04-18 16:33:38 +02:00
|
|
|
\RequirePackage{lettrine}
|
2024-03-27 19:51:22 +01:00
|
|
|
|
2024-03-21 19:36:09 +01:00
|
|
|
% Font
|
2024-03-20 12:19:56 +01:00
|
|
|
\usepackage{fontspec}
|
|
|
|
\setmainfont{TeX Gyre Termes} % Times New Roman alternative
|
2024-04-10 13:24:58 +02:00
|
|
|
\usepackage[onehalfspacing]{setspace} % 1.5 interline spacing
|
2024-03-20 12:19:56 +01:00
|
|
|
\defaultfontfeatures[\rmfamily,\sffamily]{Ligatures=TeX}
|
2024-04-10 13:24:58 +02:00
|
|
|
\setkomafont{disposition}{\bfseries}
|
2024-03-20 12:19:56 +01:00
|
|
|
|
|
|
|
% Float
|
|
|
|
\RequirePackage{graphicx}
|
|
|
|
\RequirePackage{float}
|
|
|
|
\RequirePackage{caption}
|
|
|
|
\RequirePackage{subcaption}
|
2024-03-21 19:36:09 +01:00
|
|
|
\RequirePackage{csquotes}
|
|
|
|
\RequirePackage[english]{babel}
|
2024-04-17 10:50:29 +02:00
|
|
|
%% Caption
|
|
|
|
\captionsetup{
|
|
|
|
labelfont={color=black, bf},
|
|
|
|
figurename=Figure,
|
|
|
|
tablename=Table,
|
|
|
|
font={sf},
|
|
|
|
labelsep=period,
|
|
|
|
justification=raggedright,
|
|
|
|
singlelinecheck=false
|
|
|
|
}
|
2024-04-17 08:07:39 +02:00
|
|
|
|
|
|
|
% Colors
|
|
|
|
\RequirePackage{xcolor}
|
|
|
|
\definecolor{lamme2024-blue}{HTML}{008682}
|
|
|
|
\colorlet{primary}{lamme2024-blue}
|
|
|
|
\colorlet{primaryLink}{primary!60!blue}
|
|
|
|
\colorlet{primaryCite}{red!70!primary}
|
|
|
|
|
|
|
|
|
2024-03-20 12:19:56 +01:00
|
|
|
% Math
|
|
|
|
\RequirePackage{amsmath}
|
|
|
|
\RequirePackage{amsthm}
|
|
|
|
\RequirePackage{amssymb}
|
|
|
|
|
|
|
|
\usepackage{enumitem}
|
|
|
|
|
|
|
|
\usepackage{lipsum}
|
|
|
|
|
|
|
|
% References
|
|
|
|
\usepackage[
|
|
|
|
maxcitenames=2,
|
2024-04-16 10:44:29 +02:00
|
|
|
maxbibnames=99, % show all authors in the cited part
|
2024-03-20 12:19:56 +01:00
|
|
|
style=authoryear-comp,
|
|
|
|
citestyle=authoryear-comp,
|
2024-04-16 10:44:29 +02:00
|
|
|
backend=biber,
|
2024-03-20 12:19:56 +01:00
|
|
|
natbib=true
|
2024-04-18 13:17:51 +02:00
|
|
|
]{biblatex}
|
|
|
|
|
|
|
|
\renewcommand\bibname{References}
|
2024-04-08 17:24:40 +02:00
|
|
|
|
|
|
|
\RequirePackage{doi}
|
|
|
|
\RequirePackage{xurl}
|
2024-03-20 12:19:56 +01:00
|
|
|
\RequirePackage{orcidlink}
|
|
|
|
|
|
|
|
\RequirePackage[
|
|
|
|
type={CC},
|
|
|
|
modifier={by-sa},
|
|
|
|
version={4.0},
|
|
|
|
]{doclicense}
|
|
|
|
|
|
|
|
\RequirePackage[
|
2024-04-18 12:49:53 +02:00
|
|
|
%nameinlink,
|
2024-03-20 12:19:56 +01:00
|
|
|
noabbrev
|
2024-04-17 08:07:39 +02:00
|
|
|
]{cleveref}
|
|
|
|
|
2024-03-20 12:19:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
\usepackage[
|
|
|
|
abbreviations, % create "abbreviations" glossary
|
2024-04-16 10:44:29 +02:00
|
|
|
%nomain, % don't create "main" glossary
|
2024-03-20 12:19:56 +01:00
|
|
|
stylemods=longbooktabs, % do the adjustments for the longbooktabs styles,
|
|
|
|
automake
|
2024-04-10 13:24:58 +02:00
|
|
|
]{glossaries-extra}
|
2024-04-08 17:24:40 +02:00
|
|
|
\setabbreviationstyle[acronym]{long-short}
|
2024-03-21 19:36:09 +01:00
|
|
|
|
|
|
|
\usepackage{hyperref}
|
2024-04-17 08:07:39 +02:00
|
|
|
\hypersetup{
|
|
|
|
colorlinks=true,
|
|
|
|
urlcolor=primaryLink,
|
|
|
|
linkcolor=primaryLink,
|
|
|
|
anchorcolor=primaryLink,
|
2024-04-18 12:49:53 +02:00
|
|
|
citecolor=primaryCite,
|
2024-04-18 12:53:14 +02:00
|
|
|
%linktoc=page
|
2024-04-17 08:07:39 +02:00
|
|
|
}
|
|
|
|
\newcommand*{\glsplainhyperlink}[2]{%
|
|
|
|
\begingroup%
|
|
|
|
\hypersetup{hidelinks}%
|
|
|
|
\hyperlink{#1}{#2}%
|
|
|
|
\endgroup%
|
|
|
|
}
|
|
|
|
|
|
|
|
\let\oldgls=\gls
|
|
|
|
\renewcommand{\gls}[1]{{\hypersetup{hidelinks}%
|
|
|
|
\oldgls{#1}}}%
|
|
|
|
|
|
|
|
\let\oldGls=\Gls
|
|
|
|
\renewcommand{\Gls}[1]{{\hypersetup{hidelinks}%
|
2024-04-18 13:17:51 +02:00
|
|
|
\oldGls{#1}}}%
|
|
|
|
|
|
|
|
\let\oldglspl=\glspl
|
|
|
|
\renewcommand{\glspl}[1]{{\hypersetup{hidelinks}%
|
|
|
|
\oldglspl{#1}}}%}
|
|
|
|
|
|
|
|
\let\oldGlspl=\Glspl
|
|
|
|
\renewcommand{\Glspl}[1]{{\hypersetup{hidelinks}%
|
|
|
|
\oldGlspl{#1}}}%}
|
2024-04-17 08:07:39 +02:00
|
|
|
|
|
|
|
|
|
|
|
%\renewcommand*{\glstextformat}[1]{\begingroup\hypersetup{hidelinks}#1\endgroup}
|
|
|
|
%\renewcommand*{\glsdohyperlink}[2]{%
|
|
|
|
% {\hypersetup{hidelinks=true}\hyperlink{#1}{#2}}}
|
|
|
|
\renewcommand*{\glsentryfmt}{%
|
|
|
|
\hypersetup{hidelinks}\glshyperlink[\glsgenentryfmt]{\glslabel}%
|
|
|
|
}
|
2024-03-21 19:36:09 +01:00
|
|
|
|
2024-04-10 13:24:58 +02:00
|
|
|
% Force text on right side, float on left side (does not work well)
|
2024-04-11 17:23:20 +02:00
|
|
|
\usepackage{sty/floatlefttextright}
|
2024-03-21 19:36:09 +01:00
|
|
|
|
|
|
|
\renewcommand\maketitle{\include{titlepage}}
|
2024-03-26 15:16:00 +01:00
|
|
|
|
2024-03-27 19:51:22 +01:00
|
|
|
\renewcommand*{\mkbibnamefamily}[1]{\textsc{#1}}
|
|
|
|
\renewcommand*{\mkbibnameprefix}[1]{\textsc{#1}}
|
2024-04-08 17:24:40 +02:00
|
|
|
|
|
|
|
% Ensure summary is on even page
|
|
|
|
\newcommand*\cleartoleftpage{
|
2024-04-10 13:24:58 +02:00
|
|
|
\clearpage\ifodd\c@page
|
|
|
|
\hbox{}
|
|
|
|
\vspace*{\fill}
|
|
|
|
\thispagestyle{empty}
|
|
|
|
\newpage
|
|
|
|
\fi
|
|
|
|
}
|
|
|
|
|
2024-04-18 16:33:38 +02:00
|
|
|
\usepackage{scrhack}
|
2024-04-17 10:50:29 +02:00
|
|
|
|
2024-04-18 16:33:38 +02:00
|
|
|
\usepackage{sty/cleanthesis-footer}
|
|
|
|
\usepackage{sty/scr-legrand-heading}
|