Skip to content
Snippets Groups Projects
Commit d021b7a1 authored by GARION Christophe's avatar GARION Christophe
Browse files

listings: use texcl=true to use LaTeX in comments

parent 1dde9bf6
Branches
No related tags found
No related merge requests found
...@@ -145,7 +145,8 @@ ...@@ -145,7 +145,8 @@
{\lstset{mathescape=true,language=ADT,#1}} {\lstset{mathescape=true,language=ADT,#1}}
{} {}
\lstset{extendedchars=true, basicstyle=\ttfamily, commentstyle=\itshape, showstringspaces=false} \lstset{extendedchars=true, basicstyle=\ttfamily,
commentstyle=\itshape, texcl=true, showstringspaces=false}
\newcommand{\lstusecolors}{ \newcommand{\lstusecolors}{
\lstset{backgroundcolor=\color{gray!10}} \lstset{backgroundcolor=\color{gray!10}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment