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).
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
I personally think that Knuth's typewriter fonts are still very good, an alternative is charter and bera mono if you can get them.
Also check Different approach to literate programming for LaTeX for some typesetting settings for listings. |
||||
|
|
|
Inconsolata might be a choice. There is also a package for TeX support. It's font "designed for code listings and the like, in print," posing itself as a better alternative since many other fonts are designed for screen and not for the high resolutions in print.
As seen it replaces the |
|||
|
|
listingspackage to maintain column alignment (if needed). Palatino Sans might also be a very nice option (if you use XeLaTeX). – mforbes Apr 5 '12 at 7:31