From b9e7427d720b489fa8d712a0ab6e8baa1dcca6be Mon Sep 17 00:00:00 2001
From: Paul Jungeblut <paul.jungeblut@gmail.com>
Date: Wed, 2 Dec 2015 19:57:02 +0100
Subject: Improvements in datastructures chapter.

---
 tcr.tex | 11 +++++++++++
 1 file changed, 11 insertions(+)

(limited to 'tcr.tex')

diff --git a/tcr.tex b/tcr.tex
index 53e7724..1c27503 100644
--- a/tcr.tex
+++ b/tcr.tex
@@ -44,6 +44,17 @@
 	commentstyle=\itshape\bfseries,
 	frame=trbl
 }
+% Listings doesn't support UTF8. This is just enough for German umlauts.
+\lstset{literate=%
+    {Ö}{{\"O}}1
+    {Ä}{{\"A}}1
+    {Ü}{{\"U}}1
+    {ß}{{\ss}}1
+    {ü}{{\"u}}1
+    {ä}{{\"a}}1
+    {ö}{{\"o}}1
+    {~}{{\textasciitilde}}1
+}
 
 % Don't waste space at the page borders.
 \usepackage[top=2cm, bottom=2cm, left=2cm, right=1cm]{geometry}
-- 
cgit v1.2.3

