aboutsummaryrefslogtreecommitdiffstats
path: root/buch/common
diff options
context:
space:
mode:
authorJODBaer <JODBaer@github.com>2021-07-12 19:01:59 +0200
committerJODBaer <JODBaer@github.com>2021-07-12 19:01:59 +0200
commitfe76c58ca12076d0e340ef04706c55bfacbf10d1 (patch)
tree8f025c61d5182bd54730c6aa4cce1d5c8f7afb4d /buch/common
parentdivisions created (diff)
parentName angepasst (diff)
downloadSeminarMatrizen-fe76c58ca12076d0e340ef04706c55bfacbf10d1.tar.gz
SeminarMatrizen-fe76c58ca12076d0e340ef04706c55bfacbf10d1.zip
Merge remote-tracking branch 'upstream/master' into Baer
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,