Feb 182009
 

The fonts that LaTeX uses by default (called “Computer Modern”) are very elegant, and are one of the great reasons to use LaTeX for typesetting documents. Frustratingly, I’ve been having difficulty lately with my pdfviewer (epdfview and sometimes xpdf) not displaying these fonts well in pdfs I’ve created using LaTeX.

Adobe acroread has been able to do a better job, but who wants to use such a slow and bloated piece of software just to quickly view a pdf? At least the pdfs have printed properly, so up till now I haven’t been too worried.

The solution, which I found at a page encouragingly called “High quality PDF output from LaTeX and TeX”, is profoundly simple. It simply involves telling LaTeX to use the scalable font rather than the older bitmap version. Add these two lines to the preamble:

\usepackage[T1]{fontenc}
\usepackage{ae,aecompl}

and you’re done.

  One Response to “Pretty display fonts from Latex”

  1. I really like the statement “profoundly simple”.

    alot.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)