[XeTeX] Problem with leading with Charis SIL or Doulos SIL
Will Robertson
will at guerilla.net.au
Tue Mar 7 01:26:14 CET 2006
Hi Richard,
Jonathan has answered your question regarding the leading between
lines; I just wanted to make a quick remark about the commands you're
using. While there is nothing that should give you errors with this
line:
> \newcommand{\basetext}{\fontspec{Gentium}\fontsize{12}{14pt}
> \selectfont}
it would be better in the long run to use
\newfontinstance\fonta{Gentium}
\newcommand\basetext{\fonta\fontsize{12}{14}\selectfont}
(replace \fonta with a more descriptive name, like \sectionfont or
\greekfont)
This saves a lot of overhead, since the Gentium font processing is
only performed once. Again, it's unlikely to cause errors for you
*not* to do this, but better to be safe than sorry, eh?
Best wishes,
Will
More information about the XeTeX
mailing list