2024-03-20 12:19:56 +01:00
|
|
|
|
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}
|
|
|
|
\RequirePackage{xcolor}
|
2024-03-21 19:36:09 +01:00
|
|
|
\RequirePackage{csquotes}
|
|
|
|
\RequirePackage[english]{babel}
|
2024-03-20 12:19:56 +01:00
|
|
|
% Math
|
|
|
|
\RequirePackage{amsmath}
|
|
|
|
\RequirePackage{amsthm}
|
|
|
|
\RequirePackage{amssymb}
|
|
|
|
|
|
|
|
\usepackage{enumitem}
|
|
|
|
|
|
|
|
\usepackage{lipsum}
|
|
|
|
|
|
|
|
% References
|
|
|
|
\usepackage[
|
|
|
|
maxcitenames=2,
|
|
|
|
style=authoryear-comp,
|
|
|
|
backend=biber,
|
|
|
|
citestyle=authoryear-comp,
|
|
|
|
natbib=true
|
2024-04-10 13:24:58 +02:00
|
|
|
]{biblatex}
|
2024-04-08 17:24:40 +02:00
|
|
|
|
|
|
|
\RequirePackage{doi}
|
|
|
|
\RequirePackage{xurl}
|
|
|
|
% \AtEveryBibitem{\clearfield{number}}
|
|
|
|
\DeclareSortingNamekeyScheme{
|
2024-04-10 13:24:58 +02:00
|
|
|
\keypart{
|
|
|
|
\namepart{given}
|
|
|
|
}
|
|
|
|
\keypart{
|
|
|
|
\namepart{prefix}
|
|
|
|
}
|
|
|
|
\keypart{
|
|
|
|
\namepart{family}
|
|
|
|
}
|
|
|
|
\keypart{
|
|
|
|
\namepart{suffix}
|
|
|
|
}
|
2024-04-08 17:24:40 +02:00
|
|
|
}
|
2024-03-20 12:19:56 +01:00
|
|
|
|
|
|
|
\RequirePackage{orcidlink}
|
|
|
|
|
|
|
|
\RequirePackage[
|
|
|
|
type={CC},
|
|
|
|
modifier={by-sa},
|
|
|
|
version={4.0},
|
|
|
|
]{doclicense}
|
|
|
|
|
|
|
|
\RequirePackage[
|
|
|
|
nameinlink,
|
|
|
|
noabbrev
|
|
|
|
]{cleveref}
|
|
|
|
|
|
|
|
|
|
|
|
\usepackage[
|
|
|
|
abbreviations, % create "abbreviations" glossary
|
2024-04-08 17:24:40 +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-10 13:24:58 +02:00
|
|
|
% Force text on right side, float on left side (does not work well)
|
|
|
|
%\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
|
|
|
\hypersetup{
|
2024-04-10 13:24:58 +02:00
|
|
|
hidelinks
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
\usepackage{scrhack}
|