Quantcast
Channel: Highlight variables prefixed with % and $ lstlisting - TeX - LaTeX Stack Exchange
Browsing latest articles
Browse All 2 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 latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>