Wednesday, October 6, 2010

XeTeX

Lately I have been trying XeTeX and it's pretty good! It is compatible with unicode by default and is capable of working with the fonts installed on your system. To use it, just add:

\usepackage{fontspec}
\usepackage{xltxtra}
\setmainfont[Mapping=tex-text]{Liberation Sans}
In your tex file. You can then compile by using xelatex. It is pretty awesome to be able to access all the fonts from latex.

2 comments:

  1. The problem is then to find nice, good, complete fonts outside the ones bundled with OS X :)

    ReplyDelete