This commit is contained in:
Never Gude 2026-06-18 12:22:38 +02:00
parent af15fec3f8
commit db180c496e
3 changed files with 18 additions and 77 deletions

View file

@ -9,7 +9,7 @@
\ProcessOptions\relax
% More declarations %
\LoadClass{scrartcl}
\LoadClass[sfdefaults=false, parskip=half]{scrartcl}
\KOMAoptions{mpinclude=true}
\recalctypearea
@ -36,9 +36,6 @@
\addtokomafont{date}{\sffamily}
\addtokomafont{publishers}{\sffamily}
% Use serif font for headings
\addtokomafont{disposition}{\rmfamily}
% Let sections be formated as in: Aufgabe 1 -- Section title
\renewcommand*{\sectionformat}{Aufgabe \thesection\autodot\enskip--\enskip}

View file

@ -10,9 +10,7 @@
% More declarations %
\LoadClass[sfdefaults=false, parskip=half]{scrreprt}
%\KOMAoptions{mpinclude=true}
%\recalctypearea
\RequirePackage{scrlayer-scrpage}
\RequirePackage{ngutils}
@ -36,12 +34,6 @@
\addtokomafont{date}{\sffamily}
\addtokomafont{publishers}{\sffamily}
% Use serif font for headings
% \addtokomafont{disposition}{\rmfamily}
% Use serif italic for description labels
\addtokomafont{descriptionlabel}{\normalfont \itshape}
\DeclareNewTOC
[
type=algorithm,

View file

@ -28,6 +28,8 @@
}
{}
\newcommand{\argmax}{\mathop{\mathrm{arg\,max}}}
\newcommand{\argmin}{\mathop{\mathrm{arg\,min}}}
\newcommand{\seilpmi}{\Longleftarrow}
\newcommand{\NN}{\mathbb{N}}
@ -37,17 +39,25 @@
\newcommand{\CC}{\mathbb{C}}
\newcommand{\PP}{\mathbb{P}}
\newcommand{\pot}{\mathcal{P}}
\newcommand{\REC}{\mathrm{REC}}
\newcommand{\RE}{\mathrm{RE}}
\newcommand{\EA}{\mathrm{EA}}
\newcommand{\DEA}{\mathrm{DEA}}
\newcommand{\NEA}{\mathrm{DEA}}
\newcommand{\Pe}{\mathrm{P}}
\newcommand{\NPe}{\mathrm{NP}}
\newcommand{\Oh}{\mathcal{O}}
\newcommand{\oh}{\scriptstyle{\mathcal{O}}}
\newcommand{\Eh}{\mathop{\mathrm{E}}}
\newcommand{\Var}{\mathop{\mathrm{Var}}}
\newcommand{\pot}{\mathop{\mathcal{P}}}
\newcommand{\argmax}{\mathop{\mathrm{arg\,max}}}
\newcommand{\argmin}{\mathop{\mathrm{arg\,min}}}
\newcommand{\indeg}{\mathrm{indeg}}
\newcommand{\outdeg}{\mathrm{outdeg}}
\newcommand{\Eh}{\mathrm{E}}
\newcommand{\Var}{\mathrm{Var}}
\newcommand{\parens}[1]{\left(#1\right)}
\newcommand{\brackets}[1]{\left[#1\right]}
@ -55,7 +65,7 @@
\newcommand{\angled}[1]{\left\langle#1\right\rangle}
\newcommand{\suchthat}{\;\middle\vert\;}
\newcommand{\set}[1]{\braces{#1}}
\newcommand{\tup}[1]{\parens{#1}}
\newcommand{\interval}[2][b]{
\if\detokenize{a}\detokenize{#1}%
@ -71,20 +81,12 @@
\left]#2\right]
\fi
}
\newcommand{\set}[2][]{
\ifx&#1&
\braces{#2}
\else
\braces{#1 \suchthat #2}
\fi
}
\newcommand{\arr}[1]{\angled{#1}}
\newcommand{\abs}[1]{\left\vert#1\right\vert}
\newcommand{\norm}[1]{\left\Vert#1\right\Vert}
\newcommand{\ceil}[1]{\left\lceil#1\right\rceil}
\newcommand{\floor}[1]{\left\lfloor#1\right\rfloor}
% \newcommand{\alg}[2]{{\normalfont\scshape#1}{\normalfont(#2)}}
\newcommand{\algt}[1]{{\normalfont\scshape#1}}
\makeatletter
@ -105,53 +107,3 @@
\end{minipage}
}
% \newlength{\theoremskip}
% \setlength{\theoremskip}{6em}
%
% \newcommand{\theoremfont}{\normalfont\bfseries}
% \newcommand{\definitionfont}{\normalfont\bfseries}
%
% \newenvironment{theoremic}[3][]{
% {#3 #2 #1}
% \hfill
% \begin{minipage}[t]{\the\dimexpr\linewidth-\theoremskip\relax}
% }{
% \end{minipage}
% }
%
% \newenvironment{theorem}[1][]{
% \begin{theoremic}[#1]{Satz}{\theoremfont}
% }{
% \end{theoremic}
% }
%
% \newenvironment{lemma}[1][]{
% \begin{theoremic}[#1]{Lemma}{\theoremfont}
% }{
% \end{theoremic}
% }
%
% \newenvironment{corrolary}[1][]{
% \begin{theoremic}[#1]{Korall}{\theoremfont}
% }{
% \end{theoremic}
% }
%
% \newenvironment{proof}[1][]{
% \begin{theoremic}[#1]{Beweis}{\theoremfont}
% }{
% \end{theoremic}
% }
%
% \newenvironment{definition}[1][]{
% \begin{theoremic}[#1]{Definition}{\theoremfont}
% }{
% \end{theoremic}
% }
%
% \newenvironment{example}[1][]{
% \begin{theoremic}[#1]{Beispiel}{\theoremfont}
% }{
% \end{theoremic}
% }
%