aboutsummaryrefslogtreecommitdiffstats
path: root/buch/common/lststyles.tex
diff options
context:
space:
mode:
authorAndreas Müller <andreas.mueller@ost.ch>2021-08-03 07:37:42 +0200
committerGitHub <noreply@github.com>2021-08-03 07:37:42 +0200
commitf31aca6129f3c84f1ed4f59378fd31cbdc58ec3b (patch)
tree97c32dbdcbcc888a9030d149f5a765f006fcd631 /buch/common/lststyles.tex
parent1. Version Kapitel Rotation und Spiegelung (diff)
parentMerge pull request #60 from Kuehnee/master (diff)
downloadSeminarMatrizen-f31aca6129f3c84f1ed4f59378fd31cbdc58ec3b.tar.gz
SeminarMatrizen-f31aca6129f3c84f1ed4f59378fd31cbdc58ec3b.zip
Merge branch 'master' into master
Diffstat (limited to 'buch/common/lststyles.tex')
-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,