[XeTeX] Defining fonts for table columns in XeLaTeX

Will Robertson will at guerilla.net.au
Mon Jun 20 15:27:03 CEST 2005

On 20 Jun 2005, at 10:47 PM, Pavel Straňák wrote:

> Ross, thank you for the solution, it works well.
> It also speeds up typesetting of the document greatly.
> It is a valuable piece of information on how LaTeX works for me.

Excellent, I'm glad to see that everything's now working.

> I haven't tried Will's sugestion, because this one does all I need.
> Yet I wonder, what is the diference.

When you call \fontspec multiple times with the same argument, the  
code that parses the input arguments has to run every single time  
(and yes, with \defaultfontfeatures{} set, this must indeed run every  
time). Defining the font commands with \newfontinstance is the  
efficient way to do things, since that caches the information and  
selects the requested font (with whatever options) directly.


More information about the XeTeX mailing list