define algorithm environment, redefine tasks
This commit is contained in:
parent
051cb68d48
commit
712d63ee33
3 changed files with 100 additions and 58 deletions
|
|
@ -9,7 +9,7 @@
|
|||
\ProcessOptions\relax
|
||||
|
||||
% More declarations %
|
||||
\LoadClass{scrartcl}
|
||||
\LoadClass[sfdefaults=false, parskip=half]{scrartcl}
|
||||
|
||||
%\KOMAoptions{mpinclude=true}
|
||||
%\recalctypearea
|
||||
|
|
@ -18,9 +18,6 @@
|
|||
|
||||
% define fonts
|
||||
\RequirePackage{fontspec}
|
||||
%\RequirePackage{tgpagella}
|
||||
%\RequirePackage{tgheros}
|
||||
%\RequirePackage{euler-math}
|
||||
\RequirePackage[math-style=upright]{unicode-math}
|
||||
\setmainfont{TeX Gyre Pagella}
|
||||
\setsansfont{TeX Gyre Heros}
|
||||
|
|
@ -30,18 +27,6 @@
|
|||
\setlength{\marginparwidth}{1.5\marginparwidth}
|
||||
\setlength{\fboxrule}{\heavyrulewidth}
|
||||
|
||||
|
||||
%
|
||||
%\renewcommand\theenumi{\@alph\c@enumi}
|
||||
%\renewcommand\theenumii{\@arabic\c@enumii}
|
||||
%\renewcommand\theenumiii{\@roman\c@enumiii}
|
||||
%\renewcommand\theenumiv{\@Alph\c@enumiv}
|
||||
|
||||
%\renewcommand\labelenumi{\theenumi)}
|
||||
%\renewcommand\labelenumii{\theenumii.}
|
||||
%\renewcommand\labelenumiii{\theenumiii.}
|
||||
%\renewcommand\labelenumiv{\theenumiv.}
|
||||
|
||||
% Use sansfont for all title elements
|
||||
\addtokomafont{titlehead}{\sffamily}
|
||||
\addtokomafont{subject}{\normalfont \sffamily \itshape}
|
||||
|
|
@ -52,12 +37,18 @@
|
|||
\addtokomafont{publishers}{\sffamily}
|
||||
|
||||
% Use serif font for headings
|
||||
\addtokomafont{disposition}{\rmfamily}
|
||||
% \addtokomafont{disposition}{\rmfamily}
|
||||
|
||||
% Let sections be formated as in: Aufgabe 1 -- Section title
|
||||
%\renewcommand*{\sectionformat}{Aufgabe \thesection\autodot\enskip--\enskip}
|
||||
|
||||
% Let points of an exercise be printed as in: [__ / 2]
|
||||
%\newkomafont{points}{\sffamily}
|
||||
%\newcommand\points[2][\quad]{\marginline{\framebox{{\usekomafont{points}#1 \textbf{/} #2}}}}
|
||||
% Use serif italic for description labels
|
||||
\addtokomafont{descriptionlabel}{\normalfont \itshape}
|
||||
|
||||
\DeclareNewTOC
|
||||
[
|
||||
type=algorithm,
|
||||
types=algorithms,
|
||||
float,
|
||||
floattype=4,
|
||||
name=Algorithmus,
|
||||
listname={Algorithmenverzeichnis}
|
||||
]
|
||||
{loa}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue