summaryrefslogtreecommitdiff
path: root/tcr.tex
diff options
context:
space:
mode:
authorPaul Jungeblut <paul.jungeblut@gmail.com>2015-12-02 19:57:02 +0100
committerPaul Jungeblut <paul.jungeblut@gmail.com>2015-12-02 19:57:02 +0100
commitb9e7427d720b489fa8d712a0ab6e8baa1dcca6be (patch)
treec61b6e3a603d4a65536cf4e1e1f8574877ed8295 /tcr.tex
parentaab58bfc13a11f1a8e6161d3a3750f1547d5d896 (diff)
Improvements in datastructures chapter.
Diffstat (limited to 'tcr.tex')
-rw-r--r--tcr.tex11
1 files changed, 11 insertions, 0 deletions
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}