[XeTeX] Error with \newfontfamily
Fr. Michael Gilmary
FrMichaelGilmary at MaroniteMonks.org
Tue Jan 18 18:26:10 CET 2011
Alan Munn wrote:
> I've encountered a weird error with \newfontfamily. What am I doing wrong? -Alan
>
> Minimal example:
>
> % !TEX TS-program = XeLaTeX
>
> \documentclass{article}
> \usepackage{fontspec}
> \setmainfont{Linux Libertine O}
> %\newfontfamily\LM{\fontspec{Luxi Mono}} % fails if uncommented
>
Try this (I don't have your font, so can't test):
\newfontfamily\LM{Luxi Mono}
load options for \LM as desired with the definition or using \fontspec
in the doc.
--
United in adoration of Jesus,
fr. michael gilmary, mma
Most Holy Trinity Monastery
67 Dugway Road
Petersham, MA 01366-9725
www.MaroniteMonks.org
More information about the XeTeX
mailing list