-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path01-mandatory.tex
47 lines (41 loc) · 1.72 KB
/
01-mandatory.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
% Provides: Necessary tools for this template to work.
% Toolbox for e-TeX which provides, among other things, the ‘\newtoggle’-command, which is heavily used in this template.
% Much more robust than the somewhat obsolete ‘ifthen’-package. You should not load it.
\usepackage{etoolbox}
% NewDocumentCommand and NewDocumentEnvironment
\usepackage{xparse}
% Allows silencing of error messages
\usepackage[save]{silence}
% (the `silence`-package is especially helpful if a package throws an error incorrectly.
% In this case add a new filter to the ‘bugged’-filter-family, which is activated from now on)
\ActivateFilters[bugged]
% Family for warning- or error-messages I never want to see.
\ActivateFilters[default-disabled]
% Some packages behave differently (or not at all) with the beamer document class or a KOMA-Script-class.
% The following toggles provide an easy and more explicit way for all subsequent headers to check
% if they are loaded by a such a document.
\newtoggle{is-beamer}
\makeatletter
\@ifclassloaded{beamer}{\toggletrue{is-beamer}}{\togglefalse{is-beamer}}
\makeatother
\newtoggle{is-koma-class}
\makeatletter
\@ifundefined{KOMAClassName}{\togglefalse{is-koma-class}}{\toggletrue{is-koma-class}}
\makeatother
% One toggle for every optional header file, the initial state of each toggle is false.
\newtoggle{02-language-german}
\newtoggle{02-language-english}
\newtoggle{03-typography}
\newtoggle{04-improvements}
\newtoggle{05-dates}
\newtoggle{19-draft-mode}
\newtoggle{20-math}
\newtoggle{21-theorems}
\newtoggle{22-logic}
\newtoggle{25-complexity-classes}
\newtoggle{30-algorithms}
\newtoggle{40-tikz}
\newtoggle{60-exercise-sheets}
\newtoggle{70-latex-examples}
\newtoggle{90-bibliography}
\newtoggle{99-references}