next up previous
Next: Latex: how can I Up: FAQ Previous: FAQ

Latex: how can I get listings in type writer font?

Set basicstyle in the command in the Latex file:


\lstset{language=Java,basicstyle=\ttfamily,keywordstyle=\textbf,
        labelstep=1,labelsep=4pt,labelstyle=\small}



Anne Haxthausen
2002-12-04