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 @@
% Images % Images
\usepackage{graphicx} \usepackage{graphicx}% Include images
\usepackage{caption}% Point references to the figure not the caption \usepackage{caption}% Point references to the figure not the caption
\usepackage[export]{adjustbox}% For valign in subfigs \usepackage[export]{adjustbox}% For valign in subfigs
@@ -20,13 +20,13 @@
\renewcommand{\floatpagefraction}{0.7} \renewcommand{\floatpagefraction}{0.7}
% Formatting % Formatting
\usepackage[autostyle]{csquotes}% For quotes \usepackage[autostyle]{csquotes}% Correctly quote text in different languages
\usepackage[dvipsnames]{xcolor}% More colors \usepackage[dvipsnames]{xcolor}% More colors
\usepackage{tocloft}% Customise the table of contents \usepackage{tocloft}% Customise the table of contents
\usepackage[nottoc]{tocbibind}% Add bibliography and lists to the table of contents, and hide the table of contents itself \usepackage[nottoc]{tocbibind}% Add bibliography and lists to the table of contents, and hide the table of contents itself
% Footnotes % Footnotes
\usepackage[hang]{footmisc} \usepackage[hang]{footmisc}% hang: no indentation for footnotes
\setlength{\footnotemargin}{3mm}% Margin between footnote number and text \setlength{\footnotemargin}{3mm}% Margin between footnote number and text
\NewCommandCopy{\oldfootnote}{\footnote} \NewCommandCopy{\oldfootnote}{\footnote}

View File

@@ -167,11 +167,23 @@
\endgroup% \endgroup%
} }
\newcommand{\sectionstartoc}[1]{%
\section*{#1}%
\addcontentsline{toc}{section}{#1}%
}
\newcommand{\sectionstarbookmark}[1]{%
\pdfbookmark[section]{#1}{#1}%
\section*{#1}%
}
\newcommand{\subsectionstartoc}[1]{ \newcommand{\subsectionstartoc}[1]{%
\subsection*{#1}\addcontentsline{toc}{subsection}{#1}} \subsection*{#1}%
\newcommand{\subsectionstarbookmark}[1]{\pdfbookmark[subsection]{#1}{#1} \addcontentsline{toc}{subsection}{#1}%
\subsection*{#1}} }
\newcommand{\subsectionstarbookmark}[1]{%
\pdfbookmark[subsection]{#1}{#1}%
\subsection*{#1}%
}
\newcommand{\subsubsubsection}[1]{\paragraph*{\textit{#1}}} \newcommand{\subsubsubsection}[1]{\paragraph*{\textit{#1}}}