I have the following lstset defined for my listings
\lstset{
numbers=left,
numberstyle=\scriptsize,
tabsize=4,
rulecolor=,
language=java,
basicstyle=\scriptsize,
upquote=true,
aboveskip={1.5\baselineskip},
columns=fixed,
showstringspaces=false,
extendedchars=true,
breaklines=true,
prebreak = \raisebox{0ex}[0ex][0ex]{\ensuremath{\hookleftarrow}},
frame=single,
showtabs=false,
showspaces=false,
showstringspaces=false,
identifierstyle=\ttfamily,
}
However, the issue is that when I create some java code in a listings, the keywords, such as private, boolean, return etc are hightlighted in bold. I do not want this. Is it possible to disable the bold keyword highlighting?



keywordstyle=<your keyword style>to your\lstsetmight help, e.g.,keywordstyle=\ttfamily.=)– Paulo Cereda Aug 25 '11 at 12:25prebreakwithensuremathreally helped me. – Ludovic Kuty Oct 29 '11 at 13:22