set the font family for lstlisting
I need to change the font while using the listings-package since my TeX template seems to interfere with standard listings settings (the code text appears in some calligraphic font which looks really stupid for source code).
I already tried using
basicstyle=\ttfamily as an option, but this only changes the character spaces. Is there a way to completely switch the font to e.g. Courier?
Any help appreciated, I couldn't find anything on this in the package manual or google...
EDIT: The link from Peter Grill ( set the font family for lstlisting ) solved my problem, thanks a lot! (And sorry for the duplicate!)