I am enclosing some C source code in my latex file with the help of
lstlisting package.
However, I would like those source code to have a different font than
other normal texts. For example, monospace should be used for source
code.
Would anybody tell me how to do that with lstlisting package?
Thanks in advance
that is well described in the listings manual
--
/daleif (remove RTFSIGNATURE from email address)
LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL below
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
http://www.minimalbeispiel.de/mini-en.html
Sorry, I didn't find it
>> that is well described in the listings manual
>
> Sorry, I didn't find it
\lstset{%
basicstyle=\ttfamily
}
Ok, Thanks,
I have been trying
stringstyle
....