Commit d67f49dd authored by Luc Grosheintz's avatar Luc Grosheintz

Turn off mathescape.

A code listing should be treated as verbatim with high-lighting.
Enabling LaTeX commands makes the exam-print-script susceptible to
faulty LaTeX code the student may have added to his code. (For example
to make his plots look fancy.)

Additionally I'd prefer to see the code. Not how the code would be
rendered if one ran it through LaTeX.
parent 867818b6
......@@ -47,7 +47,7 @@
or, pass, print, raise, return, try, while, with, yield, True, False, None},
keywordstyle=\bfseries,
language=python,
mathescape=true,
mathescape=false,
numbers=left,
numberstyle=\color{gray},
postbreak=\mbox{{\color{gray}$\cdots$}},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment