I am using the listings
-package to typeset some Haskell-sourcecode in my LaTeX-presentation. Is there a way to manually adjust the color of portions of the code? It's not regular syntax-highlighting what I am looking for, but a way to visually express and make it more easy to track how code-portions are shifted during term-rewriting. Therefore, i really want so say "beginning with this line let the code be green" and then "and now let the code be red", you got it.
Asked
Active
Viewed 770 times
0

Raoul
- 366
- 4
- 13
-
1https://stackoverflow.com/questions/1304315/highlighting-a-chunk-of-code-within-a-lstlisting ? – Stanislav Kralin Jan 15 '18 at 18:07
-
Possible duplicate of [Highlighting a Chunk of Code within a lstlisting](https://stackoverflow.com/questions/1304315/highlighting-a-chunk-of-code-within-a-lstlisting) – MattAllegro Jan 27 '18 at 10:54