You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

159 lines
3.0 KiB
TeX

\documentclass[a4paper, fontsize=11pt]{scrbook}
\KOMAoptions{twoside=false}
% \KOMAoptions{listof=totoc, toc=sectionentrywithdots}
\usepackage[includeheadfoot]{geometry}
\geometry{top = 3cm, hmargin = 2.5cm, bottom = 3.5cm}
\usepackage{polyglossia}
\setdefaultlanguage{english}
\usepackage{csquotes}
\usepackage[onehalfspacing]{setspace}
%
% fonts
%
\usepackage{emoji}
\usepackage{lmodern}
%
% header and footer
%
\usepackage{lastpage}
\usepackage{scrlayer-scrpage}
% style
\setkomafont{pagehead}{\normalfont\sffamily\onehalfspacing}
\setkomafont{pagefoot}{\normalfont\sffamily\onehalfspacing}
% rules
\newcommand{\hfrulewidth}{0.5pt}
\KOMAoptions{headsepline=\hfrulewidth, footsepline=\hfrulewidth}
% content
\clearpairofpagestyles % removes pre-set page numbers
\automark{section}
\ohead{\headmark}
\ihead{\Autor}
\cfoot{\pagemark \ von \pageref*{LastPage}}
%
% element styling
%
\addtokomafont{section}{\normalfont\scshape}
\addtokomafont{subsection}{\normalfont\underline}
%
% math packages
%
\usepackage{mathtools}
\usepackage{amsxtra,amssymb,amsthm,amstext,amsfonts}
\usepackage{thmtools}
\usepackage{calrsfs} % for changing \mathcal to beauty
\usepackage{physics}
\usepackage{xpatch} % for fixing thmtools
%
% microtype setting
%
\usepackage{float} % better control of placements
\usepackage{microtype} % package for optimising typographic details
%
% tables
%
\usepackage{tabularray}
\UseTblrLibrary{booktabs}
%
% misc packages
%
\usepackage[atend]{bookmark}
\bookmarksetup{numbered}
\usepackage{enumitem} % to change enumerate symbols
\setlist[enumerate,1]{label=\alph*)}
\usepackage{xcolor} % adds colours
\usepackage{pdfpages}
\usepackage{multicol} % allows dividing (parts of) the page into multiple columns
\usepackage{url} % adds hyperlinks
\usepackage[]{hyperref} % adds clickable links
%
% define custom colors
%
\include{custom_colors.tex}
%
% custom commands
%
\newcommand{\Autor}{Isabell Pflug} % your name here
%
% math related custom commands
%
\renewcommand{\epsilon}{\varepsilon}
\renewcommand{\phi}{\varphi}
%
% theorems
%
\theoremstyle{definition}
\newtheorem{definition}{Definition}[section]
\newtheorem{lemma}[definition]{Lemma}
% \renewcommand{\qed}{%
% \ifmmode
% \intertext{\hfill \emoji{feet} \nonumber}
% \else
% \hfill \emoji{feet}
% \fi
% }
\newcommand{\correct}{
\ifmmode
\intertext{\hfill \emoji{check-mark-button}}
\else
\hfill \emoji{check-mark-button}
\fi}
\newcommand{\contradiction}{
\ifmmode
\intertext{\hfill \emoji{high-voltage}}
\else
\hfill \emoji{high-voltage}
\fi}
\newcommand{\anm}{\: \vert \:}
\newcommand{\dx}{\: \mathrm{d}x}
\newcommand{\abl}[1]{\frac{\mathrm{d} #1}{\mathrm{d}x}}
%
% make title
%
\title{ Algorithm Engineering - Exam Assignments \\
{\Large Wintersemester 2024/2025}}
\author{\Autor}
\date{\today}
\begin{document}
\maketitle
\tableofcontents
\include{todo.tex}
\include{01.tex}
\include{02.tex}
\include{03.tex}
\end{document}