aboutsummaryrefslogtreecommitdiffstats
path: root/buch/common
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-07-12 11:08:25 +0200
committerNao Pross <np@0hm.ch>2021-07-12 11:08:25 +0200
commita8f63b6f417f8514c622bdffc85378029c9db514 (patch)
tree02ce1b49c5652e851647567aa31e5dc095d07988 /buch/common
parentFix typos and add TODOs (diff)
parentTitel für Arbeit über Punktgruppen (diff)
downloadSeminarMatrizen-a8f63b6f417f8514c622bdffc85378029c9db514.tar.gz
SeminarMatrizen-a8f63b6f417f8514c622bdffc85378029c9db514.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,