aboutsummaryrefslogtreecommitdiffstats
path: root/buch/common
diff options
context:
space:
mode:
authorLukaszogg <82384106+Lukaszogg@users.noreply.github.com>2021-07-17 16:03:21 +0200
committerLukaszogg <82384106+Lukaszogg@users.noreply.github.com>2021-07-17 16:03:21 +0200
commitf4e4cd2fd6afeab395a63db5401e68a1b379eee8 (patch)
treecb7be6b76ce1ec7ec3821b3bd61b85d65f0a2fa5 /buch/common
parentTeil1+Teil0 (diff)
parentMerge pull request #37 from JODBaer/Baer (diff)
downloadSeminarMatrizen-f4e4cd2fd6afeab395a63db5401e68a1b379eee8.tar.gz
SeminarMatrizen-f4e4cd2fd6afeab395a63db5401e68a1b379eee8.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'buch/common')
-rw-r--r--buch/common/lststyles.tex23
1 files changed, 23 insertions, 0 deletions
diff --git a/buch/common/lststyles.tex b/buch/common/lststyles.tex
index b1105ed..15ac379 100644
--- a/buch/common/lststyles.tex
+++ b/buch/common/lststyles.tex
@@ -12,6 +12,29 @@
\definecolor{mygreen}{RGB}{28,172,0} % color values Red, Green, Blue
\definecolor{mylilas}{RGB}{170,55,241}
+\lstset{
+ extendedchars=true,
+ basicstyle=\ttfamily,
+ literate=%
+ {€}{\euro}1%
+ {§}{\S}1%
+ {°}{\textdegree{}}1%
+ {ä}{{\"a}}1%
+ {ö}{{\"o}}1%
+ {ü}{{\"u}}1%
+ {ß}{{\ss}}1%
+ {Ä}{{\"A}}1%
+ {Ö}{{\"O}}1%
+ {Ü}{{\"U}}1%
+ {µ}{\textmu}1%
+ {¹}{{\textsuperscript{1}}}1%
+ {²}{{\textsuperscript{2}}}1%
+ {³}{{\textsuperscript{3}}}1%
+ {¼}{\textonequarter}1%
+ {½}{\textonehalf}1%
+ {¢}{\textcent}1%
+}
+
\lstdefinestyle{Matlab}{
numbers=left,
belowcaptionskip=1\baselineskip,