Tagged Questions
1
vote
1answer
64 views
lstlisting: how to align highlighted code
I want to define a couple of new commands in order to highlight parts of my code (this is actually for a trace dump, not for a programming language).
My problem is that I can't seem to make the ...
3
votes
1answer
796 views
Color \ , [], {} and / in listings environment
I tried to color a source code listing as follows.
I would like the \ to be the same color as the word that follows for example:
\documentclass in red including "\"
\usepackage in blue including "\"
...
3
votes
1answer
1k views
Fortran syntax highlighting in listings
I've got some Fortran 90 source code I want to put into my thesis appendix. For this I'm using the listings package. Is it possible to have colored syntax highlighting for the Fortran code?
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 ...