On Jan 18, 2011, at 12:26 PM, Fr. Michael Gilmary wrote:
> 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.
>
Thanks, Fr. Michael. That works.
Alan
--
Alan Munn
[email protected]
--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex