Possible Duplicate:
Extend a language with additional keywords?
I'm using the package listings to write some Scheme code.
I setted:
\lstset{language=Lisp}
since "Lisp" is the most similar language i have found within the language values.
My problem is that in Lisp the word "define" is not a keyword, so in my listing it is not in bold style.
Can I add a keyword?How?
listings. See "3.2 Language definitions" in the package documentation. – Claudio Fiandrino Apr 18 '12 at 15:09\lstset{language=Lisp}to\lstset{language=Lisp, morekeywords={define}}. If it's the latter, you could use the instruction\lstset{language=Lisp, deletekeywords={define}}. – Mico Apr 18 '12 at 16:33