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
--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex