Quantcast
Channel: Highlight variables prefixed with % and $ lstlisting - TeX - LaTeX Stack Exchange
Browsing all 2 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Answer by LukasPJ for Highlight variables prefixed with % and $ lstlisting

I expanded on Jubobs solution and by lots of research on the internet came up with a solution that handled this case.\lstnewenvironment{TorqueScript}{\lstset{ style=TS...

View Article


Image may be NSFW.
Clik here to view.

Highlight variables prefixed with % and $ lstlisting

I'm trying to get syntaxhighlighting comparable to this: (with $-prefixed variables as well)But I'm having issues with the %-prefixed identifiers. I tried doing it with...

View Article

Browsing all 2 articles
Browse latest View live