This commit is contained in:
2025-05-04 22:52:40 +02:00
parent 708b836397
commit 58161d561f
2 changed files with 34 additions and 22 deletions

View File

@@ -1,5 +1,5 @@
%% Packages required
\usepackage[caption=false]{subfig} % Good looking subfigs
\usepackage[caption=false]{subfig}% Good looking subfigs
%% Abbreviations
\newcommand{\etal}{\textit{et al.}}
@@ -93,11 +93,11 @@
}
%% Footnotes
\newcommand{\footnotemarkrepeat}{\footnotemark[\value{footnote}]} % Repeat the last footnote mark
\newcommand{\footnotemarkrepeat}{\footnotemark[\value{footnote}]}% Repeat the last footnote mark
\newcommand{\footnoteurl}[1]{\footnote{\ \url{#1}}}
%% Lists
\renewcommand{\descriptionlabel}[1]{\hspace{\labelsep}\textit{#1}} % Use italics instead of bold for descriptions
\renewcommand{\descriptionlabel}[1]{\hspace{\labelsep}\textit{#1}}% Use italics instead of bold for descriptions
%% Maths
\newcommand{\measure}[3]{$\mathrm{#1} = \qty{#2}{#3}$}
@@ -167,11 +167,23 @@
\endgroup%
}
\newcommand{\sectionstartoc}[1]{%
\section*{#1}%
\addcontentsline{toc}{section}{#1}%
}
\newcommand{\sectionstarbookmark}[1]{%
\pdfbookmark[section]{#1}{#1}%
\section*{#1}%
}
\newcommand{\subsectionstartoc}[1]{
\subsection*{#1}\addcontentsline{toc}{subsection}{#1}}
\newcommand{\subsectionstarbookmark}[1]{\pdfbookmark[subsection]{#1}{#1}
\subsection*{#1}}
\newcommand{\subsectionstartoc}[1]{%
\subsection*{#1}%
\addcontentsline{toc}{subsection}{#1}%
}
\newcommand{\subsectionstarbookmark}[1]{%
\pdfbookmark[subsection]{#1}{#1}%
\subsection*{#1}%
}
\newcommand{\subsubsubsection}[1]{\paragraph*{\textit{#1}}}
@@ -210,10 +222,10 @@
\newcolumntype{P}[1]{>{\raggedright}p{#1}}
%% Other
\newcommand{\horizontalrule}{\par\noindent\rule{\textwidth}{0.4pt}} % Horizontal line
\newcommand{\horizontalrule}{\par\noindent\rule{\textwidth}{0.4pt}}% Horizontal line
\makeatletter
\def\convertto#1#2{\strip@pt\dimexpr #2*65536/\number\dimexpr 1#1} % Convert units. Usage: \convertto{cm}{1pt}. From: https://tex.stackexchange.com/a/8337
\def\convertto#1#2{\strip@pt\dimexpr #2*65536/\number\dimexpr 1#1}% Convert units. Usage: \convertto{cm}{1pt}. From: https://tex.stackexchange.com/a/8337
\makeatother
%% User studies