Tagged Questions
3
votes
1answer
137 views
How to use angle brackets for a keyword in \listings?
I've got a code of a HTML website that I want to show in my LaTeX document. The problem is, that the HTML code has a tag called <canvas> and the JavaScript code inside the HTML document has a ...
2
votes
0answers
45 views
Override properties of a predefined listing style
I use the listings package and I want to override an attribute of the HTML style.
Unfortunately my code overrides the whole HTML style and not just a single property:
\lstloadlanguages{HTML}
...
2
votes
1answer
929 views
How to highlight own keywords in HTML lstlistings?
I would like to highlight some words in a lstlisting. The language is HTML.
However, \emph seems not to be working with HTML.
Any suggestions how I could work around this problem?
Right now I have:
...