[XeTeX] WordSpace in SizeFeatures

Will Robertson wspr81 at gmail.com
Thu Oct 28 02:40:03 CEST 2010


On 2010-10-27 22:11:47 +1030, Vadim Radionov 
<vadim.radionov at gmail.com> said:

> Is it possible to set different interword space for different font
> sizes?
> SizeFeatures={
> {Size=-10,LetterSpace=-10,WordSpace={20,1,1}},
> {Size=10-,WordSpace={1.1,1,1}}}

I am afraid that this is a limitation in LaTeX's font selection 
mechanism (although not in TeX itself).

If you need to change the inter-word space locally, you can use the 
\spaceskip and \xspaceskip commands (see TeX by Topic §20.3).

I should document all this in fontspec itself. I've added a note to do 
so for the next release.

Cheers,
Will




More information about the XeTeX mailing list