diff --git a/my-listings.sty b/my-listings.sty index e5c9ed39446cd4d3d0d529bbeb19c2f426c588fe..46537d542011c9c0979ae6bf8628249ffa2cfb24 100644 --- a/my-listings.sty +++ b/my-listings.sty @@ -57,11 +57,17 @@ \lstdefinelanguage{algo}{ morekeywords={:=, end, if, then, else, while, do, for, until, - Function, Procedure, out} + Function, Procedure, out}, + keywordstyle=\color{black}\bfseries, + stringstyle=\color{black}, + commentstyle=\color{black}, + identifierstyle=\color{black}, + mathescape=true } \lstdefinelanguage{ADT}{ - morekeywords={sorts, operations, equations, preconditions} + morekeywords={sorts, operations, equations, preconditions}, + mathescape=true } \input{jml-junit-listings}