Skip to content

Commit

Permalink
Adding braces around listing captions (to allow commas).
Browse files Browse the repository at this point in the history
  • Loading branch information
fdupress committed Jul 11, 2013
1 parent 52a9b4e commit 2f23b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/defs.tex
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@

%% Language definition
\lstnewenvironment{easycrypt}[2][]%
{\lstset{language=easycrypt,caption=#2,#1}}%
{\lstset{language=easycrypt,caption={#2},#1}}%
{}

\newcommand{\rawec}[2][basicstyle=\normalsize\sffamily,mathescape]{\lstinline[language=easycrypt,#1]{#2}}
Expand Down

0 comments on commit 2f23b74

Please sign in to comment.