aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/commands.tex8
-rw-r--r--common/packages.tex18
2 files changed, 26 insertions, 0 deletions
diff --git a/common/commands.tex b/common/commands.tex
new file mode 100644
index 0000000..ae5f308
--- /dev/null
+++ b/common/commands.tex
@@ -0,0 +1,8 @@
+\newcommand{\R}{\mathbb{R}}
+\newcommand{\N}{\mathbb{N}}
+\newcommand{\K}{\mathbb{K}}
+\newcommand{\Q}{\mathbb{Q}}
+
+\newcommand{\powerset}[1]{\mathcal{P}(#1)}
+\newcommand{\skp}[1]{\langle #1 \rangle}
+\newcommand{\restrictedto}[2]{{\left.\kern-\nulldelimiterspace #1 \vphantom{\big|} \right|_{#2}}}
diff --git a/common/packages.tex b/common/packages.tex
new file mode 100644
index 0000000..378842c
--- /dev/null
+++ b/common/packages.tex
@@ -0,0 +1,18 @@
+\usepackage[utf8]{inputenc}
+\usepackage[ngerman]{babel}
+\usepackage[nosf]{kpfonts}
+\usepackage[small,compact]{titlesec}
+
+\usepackage{listings}
+\usepackage{multicol}
+\usepackage{wrapfig}
+\usepackage{enumitem}
+\usepackage{pgfplots}
+
+\pagestyle{empty}
+
+\setlength{\parindent}{0mm}
+\setcounter{MaxMatrixCols}{20}
+
+\lstset{basicstyle=\ttfamily\footnotesize}
+\lstset{showstringspaces=false}