aboutsummaryrefslogtreecommitdiffhomepage
path: root/exams/mathe2/hauptklausur/definitions.tex
blob: 1f9cca40c4f9280393d3a9289c6b3b54a8005b6e (plain) (blame)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
%%%% START OF PREAMBLE
% Copyright (c) 2021 Frederik, Franz, Marvin
% Copyright (c) 2022 Linus, Benny, Marvin
\usepackage[a4paper, inner=1cm, outer=1cm, top=2cm, bottom=2cm, bindingoffset=0cm]{geometry}
\usepackage{amsmath,amsthm,amssymb,amsfonts}
\usepackage{mathrsfs}
\usepackage{braket}
\usepackage{enumitem}
\usepackage{csquotes}
\usepackage{colortbl}
\usepackage{environ}
\usepackage{graphicx,tikz,xcolor,color,float,titlesec}
\usepackage{pgfplots}
\usepackage{fancyhdr}
\usepackage{gauss}
\usepackage{polynom}
\usepackage{bm}
\usepackage[ngerman=ngerman-x-latest]{hyphsubst}
\usepackage[ngerman]{babel}
\usetikzlibrary{matrix,shapes,trees}
\usepgfplotslibrary{fillbetween}
\pgfplotsset{compat=1.18}
\setlength\parindent{0pt}
\definecolor{ochsblau}{RGB}{26,122,219}
\definecolor{ochsgelb}{RGB}{245,209,168}
\definecolor{ochsorange}{RGB}{243,92,43}
\renewcommand{\headrulewidth}{2pt}
\let\oldheadrule\headrule
\renewcommand{\headrule}{\color{ochsgelb}\oldheadrule}
\newcommand\bracketify[1]{\lbrack#1\rbrack}
\titleformat{\section}{\normalfont\large\bfseries\color{ochsblau}}{Aufgabe \thesection.\ }{0em}{\bracketify}
%%%% END OF PREAMBLE

%\usepackage{background}
%\backgroundsetup{
%  position=current page.east,
%  angle=-90,
%  nodeanchor=east,
%  vshift=-5mm,
%  hshift=1cm,
%  opacity=1,
%  scale=3,
%  contents=Entwurf
%}

\newcommand\namesnstuff{
    \pagestyle{fancy}
    \fancyhf{}
    \fancyhead[L,LO]{\textcolor{ochsblau}{\textbf{Name:}}}
    \fancyhead[C,CO]{\textcolor{ochsblau}{\textbf{MFI2 - SS22}}}
    \fancyhead[R,RO]{\textcolor{ochsblau}{\textbf{Hauptklausur}}}
    \fancyfoot[C,CO]{\thepage}
    \setlength{\headheight}{13.6pt}
    
    \vspace{-2.0cm}
    \noindent\includegraphics[width=0.2\textwidth]{../ochs_logo.png}
    \begin{minipage}[b]{0.6\textwidth}
    	\centering
    	\textcolor{ochsblau}{\textbf{\Large Mathematik 2 für Informatik}}\\
    	\vspace{3mm}
    	Peter Ochs, Tobias Nordgauer\\
    	\vspace{3mm}
    	Sommersemester 2022
    \end{minipage}
    \noindent\includegraphics[width=0.2\textwidth]{../uni_logo.png}\\
    \begin{center}\textcolor{ochsblau}{\textbf{Hauptklausur Gedächtnisprotokoll}}\end{center}
}

\newcommand\refiff[1]{\stackrel{\text{#1}}{\iff}}
\newcommand\refimp[1]{\stackrel{\text{#1}}{\implies}}
\newcommand\refeq[1]{\stackrel{\text{#1}}{=}}
\newcommand\refless[1]{\stackrel{\text{#1}}{<}}
\newcommand\refleads[1]{\stackrel{\text{#1}}{\leadsto}}

\newcommand\NR{\textbf{Nebenrechnung: }}
\newcommand\proposition{\textbf{Behauptung: }}
\newcommand\toprove{\textbf{Zu zeigen: }}
\newcommand\task{\textbf{Aufgabe: }}
\newcommand\defi{\textbf{Definition: }}

% denglish ftw
\newcommand\da{\text{ da }}
\newcommand\with{\text{ mit }}
\newcommand\und{\text{ und }}
\newcommand\oder{\text{ oder }}
\newcommand\for{\text{ für }}
\newcommand\when{\text{ wenn }}
\newcommand\sei{\text{ sei }}

\newcommand\Real{\mathrm{Re}} % Realteil
\newcommand\Imag{\mathrm{Im}} % Imaginärteil

\newcommand\N{\mathbb{N}}
\newcommand\R{\mathbb{R}}
\newcommand\Z{\mathbb{Z}}
\newcommand\C{\mathbb{C}}
\newcommand\Q{\mathbb{Q}}
\renewcommand\P{\mathbb{P}}
\renewcommand\O{\mathcal{O}}
\newcommand\pot{\mathcal{P}}

\newcommand\rank{\mathrm{rank}}
\newcommand\lin{\mathrm{Lin}}
\renewcommand\det{\mathrm{det}}
\renewcommand\dim{\mathrm{dim}}

\renewcommand\u{\boldsymbol{u}}
\renewcommand\v{\boldsymbol{v}}
\newcommand\w{\boldsymbol{w}}

% for vertical line in gmatrix
\usepackage{etoolbox}
\makeatletter
\patchcmd\g@matrix
 {\vbox\bgroup}
 {\vbox\bgroup\normalbaselines}
 {}{}
\makeatother
\newcommand{\gvline}{%
  \hspace{-\arraycolsep}%
  \strut\vrule
  \hspace{-\arraycolsep}%
}

% lol
\makeatletter
\renewenvironment{proof}[1][\proofname] {\par\pushQED{\qed}\normalfont\topsep6\p@\@plus6\p@\relax\trivlist\item[\hskip\labelsep\bfseries#1\@addpunct{.}]\ignorespaces}{\popQED\endtrivlist\@endpefalse}
\makeatother
\def\qedsymbol{\sc q.e.d.} % hmm?

\newenvironment{induktion}{\renewcommand*{\proofname}{Beweis durch vollständige Induktion}\begin{proof}$ $\newline}{\end{proof}}
\newcommand\IA[1]{\textbf{Induktionsanfang ($#1$):}}
\newcommand\IV[1]{\textbf{Induktionsvoraussetzung:} Die Behauptung gelte für ein beliebiges aber festes $#1$.\\}
\newcommand\IS[1]{\textbf{Induktionsschritt ($#1$):}}

\newenvironment{gegenbeweis}{\renewcommand*{\proofname}{Beweis durch Gegenbeweis}\begin{proof}}{\end{proof}}
\newenvironment{gegenbeispiel}{\renewcommand*{\proofname}{Beweis durch Gegenbeispiel}\begin{proof}}{\end{proof}}

\NewEnviron{splitty}{\begin{displaymath}\begin{split}\BODY\end{split}\end{displaymath}}
\newcolumntype{C}{>{$}c<{$}} % math-mode column

\DeclareMathOperator{\ggT}{ggT}

\newlist{abc}{enumerate}{10}
\setlist[abc]{label=(\alph*)}

\newlist{num}{enumerate}{10}
\setlist[num]{label=\arabic*.}

\newlist{rom}{enumerate}{10}
\setlist[rom]{label=(\roman*)}