aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAdrian Kummerlaender2017-02-26 22:34:03 +0100
committerAdrian Kummerlaender2017-02-26 22:34:03 +0100
commit4ebfa3b9a7cec8cbf4b0c9d4622778868e389458 (patch)
treedada154ba5b813c2d3cd7ab326786abc63ace7b1 /common
parent970988995b7b48920403628c6d022a35a375a522 (diff)
downloadmath_reference_sheets-4ebfa3b9a7cec8cbf4b0c9d4622778868e389458.tar
math_reference_sheets-4ebfa3b9a7cec8cbf4b0c9d4622778868e389458.tar.gz
math_reference_sheets-4ebfa3b9a7cec8cbf4b0c9d4622778868e389458.tar.bz2
math_reference_sheets-4ebfa3b9a7cec8cbf4b0c9d4622778868e389458.tar.lz
math_reference_sheets-4ebfa3b9a7cec8cbf4b0c9d4622778868e389458.tar.xz
math_reference_sheets-4ebfa3b9a7cec8cbf4b0c9d4622778868e389458.tar.zst
math_reference_sheets-4ebfa3b9a7cec8cbf4b0c9d4622778868e389458.zip
Implement single column preview 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}