[Tex/LaTex] Good monospace font for code in LaTeX

fontstypewriter

I'm currently working on my dissertation and am using Palatino for text with the Euler font for mathematics. As part of my work I'll be presenting quite a few code examples, and was wondering if someone could suggest a good monospace font to go with them. As an alternative I was thinking of using the Concrete Roman and Euler font package (ala Knuth's Concrete Mathematics).

Best Answer

I personally think that Knuth's typewriter fonts are still very good, an alternative is charter and bera mono if you can get them.

 \usepackage[charter]{mathdesign}
 \def\rmdefault{bch} % not scaled
 \def\ttdefault{blg}

Also check Different approach to literate programming for LaTeX for some typesetting settings for listings.