[XeTeX] Greek letterspacing with soul

Ulrike Fischer news3 at nililand.de
Mon May 24 15:26:56 CEST 2010


Am Mon, 24 May 2010 12:30:41 +0200 schrieb Pablo Rodríguez:

> Hi there,
> 
> I want to achieve a kind of emphasizing which used in Greek through 
> letterspacing.
> 
> I have tried the LetterSpace and WordSpace properties, but I don't think 
> they are intended for this.
> 
> The proper way seems to be the \so command from the soul package. But 
> there is a weird issue with Greek glyphs.
> 
> Here you have the code:

[...]

> Letterspacing works fine with Latin glyphs. With Greek glyphs there is 
> something relly weird (and it makes no difference if I use soulutf8 
> instead of soul): there is no text after punctuation characters, so if 
> there is no punctuation character, there is no letterspaced text.
> 
> Does anyone know how to fix this?

That's quite fascinating. I can reproduce the problem without
polyglossia and greek with the euro sign. At the end of words it
disappears. But german Umlauts works fine:

  \documentclass[10pt]{book}
 \usepackage{fontspec}
 \usepackage{soul}
 \begin{document}
 This is only a \so{test} \so{äöü} \so{€€€€€}
 \so{a€€b€€} \so{€€c €€ d}
 \end{document}
 


-- 
Ulrike Fischer 



More information about the XeTeX mailing list