From 6e70a46771d3b28edc80a88de22b98df47147dc1 Mon Sep 17 00:00:00 2001
From: Gregor Kleen <gkleen@yggdrasil.li>
Date: Tue, 19 Apr 2016 15:20:48 +0200
Subject: TeX preamble with listings & algorithms

---
 preamble.tex | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 preamble.tex

(limited to 'preamble.tex')

diff --git a/preamble.tex b/preamble.tex
new file mode 100644
index 0000000..3aeecda
--- /dev/null
+++ b/preamble.tex
@@ -0,0 +1,20 @@
+\usepackage{listings}
+\usepackage{algorithmic}
+\usepackage{amsmath}
+
+\renewcommand{\algorithmicrequire}{\textbf{Input:}}
+\renewcommand{\algorithmicensure}{\textbf{Output:}}
+
+\lstset{
+frame=tb,
+numbers=left,
+numberstyle=\tiny,
+breaklines=true,
+postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{red}\hookrightarrow\space}}
+}
+
+\DeclareMathOperator{\Hom}{Hom}
+%\DeclareMathOperator{\P}{\frak{P}}
+%\DeclareMathOperator{\exp}{exp}
+%\DeclareMathOperator{\ln}{ln}
+\newcommand{\N}{\ensuremath{\mathbb{N}}}
-- 
cgit v1.2.3

