Tagged Questions
2
votes
0answers
49 views
Regular expressions in listings
I'm looking for a possibility to use regular expression in listings. I'd like to highlight each N thats followed by 4 decimal numbers for example N1234. How can I achieve that?
Here is an example:
...
4
votes
2answers
160 views
Warnings and errors highlighting when compiling in Bash environment
I'm processing a large document, using Latexmk in a Bash environment. It would be very helpful if error and warning messages were somehow highlighted or coloured, in order to facilitate spotting them. ...
5
votes
1answer
278 views
How to render Android listings with syntax highlighting?
I need to include the source code of a bigger Android project in the documentation written with LaTeX. Do you recommend any particular package that is capable of highlighting Java code and which also ...
2
votes
1answer
455 views
Using “listings” package to colorize the source code of ANTLR grammar file?
I use listings package in my diploma thesis for source code. Besides the mainstream languages like Java and C# I also need to include the sources of the language grammars (.g) which are pure mark-up ...
2
votes
1answer
2k views
Is there a way to enable syntax highlighting coloring in Lyx for program listings?
I want to embed a small program listing and have used Insert -> Program Listing in LyX's menu for that.
The settings dialog supports selecting a language (Java), but I can't actually see any ...