Browse code

Bachelorarbeit

M. Ozgan authored on29/01/2015 11:29:49
Showing1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,82 @@
1
+
2
+
3
+\newcommand{\mat}[1]{\ensuremath{\mathbf #1}}
4
+\newcommand{\set}[1]{\ensuremath{\mathbf #1}}
5
+\newcommand{\cset}[1]{\ensuremath{\mathbf{\mathcal #1}}}
6
+\renewcommand{\vec}[1]{\ensuremath{\mathbf #1}}
7
+
8
+\newcommand{\nth}[1]{\ensuremath{#1^\mathrm{th}}}
9
+\newcommand{\fst}[1]{\ensuremath{#1^\mathrm{st}}}
10
+\newcommand{\snd}[1]{\ensuremath{#1^\mathrm{nd}}}
11
+
12
+\newcommand{\argmax}[1]{\ensuremath{\arg\hspace{-0.4ex}\max_{\hspace*{-3.0ex}#1}}}
13
+\newcommand{\argmin}[1]{\ensuremath{\arg\min_{\hspace*{-4.0ex}#1}}}
14
+
15
+\newcommand{\argmaxi}[1]{\ensuremath{\arg\hspace{-0.4ex}\max_{#1}}}
16
+\newcommand{\argmini}[1]{\ensuremath{\arg\hspace{-0.4ex}\min_{#1}}}
17
+
18
+% \newcommand{\argmin}[1]{\ensuremath{\begin{array}[t]{c} \arg \min \\
19
+% \vspace*{-0.1ex} #1 \end{array}}}
20
+
21
+\newcommand{\NP}{\ensuremath{\mathcal{NP}}}
22
+\newcommand{\PP}{\ensuremath{\mathcal{P}}}
23
+\newcommand{\e}[2]{\ensuremath{\{#1,#2\}}}
24
+\newcommand{\tup}[1]{\ensuremath{\langle#1\rangle}}
25
+\newcommand{\bigO}[1]{\ensuremath{\mathcal{O}\left(#1\right)}}
26
+
27
+\newcommand{\trans}[1]{\ensuremath{{#1}^\top}}
28
+\newcommand{\diag}[1]{\ensuremath{\mathrm{diag}\left(#1\right)}}
29
+
30
+\newcommand{\eq}[1]{equation \ref{#1}}
31
+\newcommand{\Eq}[1]{equation \ref{#1}}
32
+\newcommand{\fig}[1]{figure \ref{#1}}
33
+\newcommand{\Fig}[1]{figure \ref{#1}}
34
+\newcommand{\chap}[1]{chapter \ref{#1}}
35
+\newcommand{\Chap}[1]{chapter \ref{#1}}
36
+\newcommand{\sect}[1]{section \ref{#1}}
37
+\newcommand{\Sect}[1]{section \ref{#1}}
38
+
39
+\newcommand{\bydefn}{\ensuremath{\stackrel{\bigtriangleup}{=}}}
40
+\newcommand{\elmat}[2]{\ensuremath{#1 \odot #2}}
41
+
42
+\newcommand{\prune}[1]{\ensuremath{\mathrm{prune}\left(#1\right)}}
43
+
44
+\newcommand{\labelfig}[2]{\parbox[b]{0.2in}{\Large#1\normalsize\vspace{#2}}}
45
+% \newcommand{\labelfig}[1]{\parbox[b]{0.2in}{#1\vspace{1.8in}}}
46
+
47
+% \newcommand{\emptyset}{\ensuremath{\O}}
48
+
49
+\renewcommand{\Re}{\mathbb{R}}
50
+
51
+\newcommand{\incfig}[3]{\ifx\pdfoutput\undefined
52
+                          \epsfig{#1.eps,#2,#3}
53
+                        \else
54
+                          \epsfig{#1.eps,#2,#3}
55
+                        \fi}
56
+          
57
+% Eigene Befehle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
58
+\newcommand{\todo}[1]{
59
+      {\colorbox{red}{ TODO: #1 }}
60
+}
61
+
62
+\newcommand{\todotext}[1]{
63
+      {\color{red} TODO: #1} \normalfont
64
+}
65
+
66
+\newcommand{\info}[1]{
67
+      {\colorbox{blue}{ (INFO: #1)}}
68
+}
69
+
70
+\newcommand{\infotext}[1]{
71
+      {\color{blue}{ (INFO: #1)}}
72
+}
73
+
74
+% Hinweis auf Programme in Datei
75
+\newcommand{\datei}[1]{
76
+      {\ttfamily{#1}}
77
+}
78
+
79
+\newcommand{\code}[1]{
80
+      {\small \ttfamily {#1}}
81
+}
82
+