You are not logged in.
Hello,
I have an issue with Texmaker. I want to use this configuration so all code listings are monospaced:
\usepackage{courier}
\lstset{showstringspaces=false,basicstyle=\footnotesize\ttfamily}However while compiling I get this error:
!pdfTeX error: pdflatex (file pcrb8u): Font pcrb8u at 600 not foundIf I don't use courier package I can compile documents to pdf but code listings are quite ugly.
I have installed textlive-core package which contains pcrb8u.tfm file. Do I need to install any another package?
Offline
The standard way of listing code is lstlisting. You can choose monospaced font (and an arsenal of toget stuff) easily. Google it ![]()
Offline