truetype fonts in LaTeX the easy way (on Debian/Unbuntu)

July 29, 2008

programming

Steps:

  1. Read: How to use nice fonts in LaTeX

  2. Install the software:

    sudo apt-get install texlive-xetex

    sudo apt-get install lcdf-typetools

The latter one is needed for otfinfo to determine the font family name.

  1. Read /usr/share/doc/texlive-doc/xetex/XeTeX-reference.pdf

  2. Use xelatex to create the pdf of your LaTeX documents

If you get the following error install the package lmodern

 LaTeX Error: File `lmodern.sty' not found.

Finally I can use truetype fonts in my LaTeX documentation. Sweet!

LaTeX