[XeTeX] Error with \newfontfamily

Alan Munn amunn at gmx.com
Tue Jan 18 18:33:14 CET 2011


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
amunn at gmx.com







More information about the XeTeX mailing list