I am looking for condensed mono spaced (typewriter) fonts to typeset program listings with pdflatex. The fonts should have the common shapes (up and italic or slanted) and series (normal and bold). Any suggestions?
|
|
Latin Modern ha a condensed version of the typewriter font:
|
|||
|
|
|
Instead of looking for condensed fonts, you can also just change the size of the default font. I find that Latin Modern in
Latin Modern typewriter font has normal and bold series, but the difference is subtle. You can try passing the You can also browse The LaTeX Font Catalogue. |
|||
|
|
|
I do not know any free fonts satisfying your requirements. If you can consider non free fonts. I would recommend The Sans Mono Condensed Font designed by Lucas de Groot specifically for typesetting program code: http://www.lucasfonts.com/fonts/thesansmono/thesansmono-condensed/. Years ago I wrote LaTeX support package for it: http://www.ctan.org/pkg/thsmc. Of course XeTeX can use this font directly. |
|||
|
|
