tweaks
This commit is contained in:
parent
af15fec3f8
commit
db180c496e
3 changed files with 18 additions and 77 deletions
|
|
@ -9,7 +9,7 @@
|
||||||
\ProcessOptions\relax
|
\ProcessOptions\relax
|
||||||
|
|
||||||
% More declarations %
|
% More declarations %
|
||||||
\LoadClass{scrartcl}
|
\LoadClass[sfdefaults=false, parskip=half]{scrartcl}
|
||||||
|
|
||||||
\KOMAoptions{mpinclude=true}
|
\KOMAoptions{mpinclude=true}
|
||||||
\recalctypearea
|
\recalctypearea
|
||||||
|
|
@ -36,9 +36,6 @@
|
||||||
\addtokomafont{date}{\sffamily}
|
\addtokomafont{date}{\sffamily}
|
||||||
\addtokomafont{publishers}{\sffamily}
|
\addtokomafont{publishers}{\sffamily}
|
||||||
|
|
||||||
% Use serif font for headings
|
|
||||||
\addtokomafont{disposition}{\rmfamily}
|
|
||||||
|
|
||||||
% Let sections be formated as in: Aufgabe 1 -- Section title
|
% Let sections be formated as in: Aufgabe 1 -- Section title
|
||||||
\renewcommand*{\sectionformat}{Aufgabe \thesection\autodot\enskip--\enskip}
|
\renewcommand*{\sectionformat}{Aufgabe \thesection\autodot\enskip--\enskip}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,7 @@
|
||||||
|
|
||||||
% More declarations %
|
% More declarations %
|
||||||
\LoadClass[sfdefaults=false, parskip=half]{scrreprt}
|
\LoadClass[sfdefaults=false, parskip=half]{scrreprt}
|
||||||
|
\RequirePackage{scrlayer-scrpage}
|
||||||
%\KOMAoptions{mpinclude=true}
|
|
||||||
%\recalctypearea
|
|
||||||
|
|
||||||
\RequirePackage{ngutils}
|
\RequirePackage{ngutils}
|
||||||
|
|
||||||
|
|
@ -36,12 +34,6 @@
|
||||||
\addtokomafont{date}{\sffamily}
|
\addtokomafont{date}{\sffamily}
|
||||||
\addtokomafont{publishers}{\sffamily}
|
\addtokomafont{publishers}{\sffamily}
|
||||||
|
|
||||||
% Use serif font for headings
|
|
||||||
% \addtokomafont{disposition}{\rmfamily}
|
|
||||||
|
|
||||||
% Use serif italic for description labels
|
|
||||||
\addtokomafont{descriptionlabel}{\normalfont \itshape}
|
|
||||||
|
|
||||||
\DeclareNewTOC
|
\DeclareNewTOC
|
||||||
[
|
[
|
||||||
type=algorithm,
|
type=algorithm,
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,8 @@
|
||||||
}
|
}
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
\newcommand{\argmax}{\mathop{\mathrm{arg\,max}}}
|
||||||
|
\newcommand{\argmin}{\mathop{\mathrm{arg\,min}}}
|
||||||
\newcommand{\seilpmi}{\Longleftarrow}
|
\newcommand{\seilpmi}{\Longleftarrow}
|
||||||
|
|
||||||
\newcommand{\NN}{\mathbb{N}}
|
\newcommand{\NN}{\mathbb{N}}
|
||||||
|
|
@ -37,17 +39,25 @@
|
||||||
\newcommand{\CC}{\mathbb{C}}
|
\newcommand{\CC}{\mathbb{C}}
|
||||||
\newcommand{\PP}{\mathbb{P}}
|
\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{\Pe}{\mathrm{P}}
|
||||||
\newcommand{\NPe}{\mathrm{NP}}
|
\newcommand{\NPe}{\mathrm{NP}}
|
||||||
|
|
||||||
\newcommand{\Oh}{\mathcal{O}}
|
\newcommand{\Oh}{\mathcal{O}}
|
||||||
\newcommand{\oh}{\scriptstyle{\mathcal{O}}}
|
\newcommand{\oh}{\scriptstyle{\mathcal{O}}}
|
||||||
|
|
||||||
\newcommand{\Eh}{\mathop{\mathrm{E}}}
|
\newcommand{\indeg}{\mathrm{indeg}}
|
||||||
\newcommand{\Var}{\mathop{\mathrm{Var}}}
|
\newcommand{\outdeg}{\mathrm{outdeg}}
|
||||||
\newcommand{\pot}{\mathop{\mathcal{P}}}
|
|
||||||
\newcommand{\argmax}{\mathop{\mathrm{arg\,max}}}
|
\newcommand{\Eh}{\mathrm{E}}
|
||||||
\newcommand{\argmin}{\mathop{\mathrm{arg\,min}}}
|
\newcommand{\Var}{\mathrm{Var}}
|
||||||
|
|
||||||
\newcommand{\parens}[1]{\left(#1\right)}
|
\newcommand{\parens}[1]{\left(#1\right)}
|
||||||
\newcommand{\brackets}[1]{\left[#1\right]}
|
\newcommand{\brackets}[1]{\left[#1\right]}
|
||||||
|
|
@ -55,7 +65,7 @@
|
||||||
\newcommand{\angled}[1]{\left\langle#1\right\rangle}
|
\newcommand{\angled}[1]{\left\langle#1\right\rangle}
|
||||||
|
|
||||||
\newcommand{\suchthat}{\;\middle\vert\;}
|
\newcommand{\suchthat}{\;\middle\vert\;}
|
||||||
|
\newcommand{\set}[1]{\braces{#1}}
|
||||||
\newcommand{\tup}[1]{\parens{#1}}
|
\newcommand{\tup}[1]{\parens{#1}}
|
||||||
\newcommand{\interval}[2][b]{
|
\newcommand{\interval}[2][b]{
|
||||||
\if\detokenize{a}\detokenize{#1}%
|
\if\detokenize{a}\detokenize{#1}%
|
||||||
|
|
@ -71,20 +81,12 @@
|
||||||
\left]#2\right]
|
\left]#2\right]
|
||||||
\fi
|
\fi
|
||||||
}
|
}
|
||||||
\newcommand{\set}[2][]{
|
|
||||||
\ifx&
|
|
||||||
\braces{#2}
|
|
||||||
\else
|
|
||||||
\braces{#1 \suchthat #2}
|
|
||||||
\fi
|
|
||||||
}
|
|
||||||
\newcommand{\arr}[1]{\angled{#1}}
|
\newcommand{\arr}[1]{\angled{#1}}
|
||||||
\newcommand{\abs}[1]{\left\vert#1\right\vert}
|
\newcommand{\abs}[1]{\left\vert#1\right\vert}
|
||||||
\newcommand{\norm}[1]{\left\Vert#1\right\Vert}
|
\newcommand{\norm}[1]{\left\Vert#1\right\Vert}
|
||||||
\newcommand{\ceil}[1]{\left\lceil#1\right\rceil}
|
\newcommand{\ceil}[1]{\left\lceil#1\right\rceil}
|
||||||
\newcommand{\floor}[1]{\left\lfloor#1\right\rfloor}
|
\newcommand{\floor}[1]{\left\lfloor#1\right\rfloor}
|
||||||
|
|
||||||
% \newcommand{\alg}[2]{{\normalfont\scshape#1}{\normalfont(#2)}}
|
|
||||||
\newcommand{\algt}[1]{{\normalfont\scshape#1}}
|
\newcommand{\algt}[1]{{\normalfont\scshape#1}}
|
||||||
|
|
||||||
\makeatletter
|
\makeatletter
|
||||||
|
|
@ -105,53 +107,3 @@
|
||||||
\end{minipage}
|
\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}
|
|
||||||
% }
|
|
||||||
%
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue