[XeTeX] Greek letterspacing with soul

Jonathan Kew jfkthame at googlemail.com
Mon May 24 14:53:01 CEST 2010


On 24 May 2010, at 11:30, Pablo Rodríguez wrote:

> 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.

I don't see why you shouldn't use LetterSpace.... something like

>  \documentclass[10pt]{book}
>  \usepackage{fontspec}
>  \setmainfont{Theano Didot}
>  \usepackage{polyglossia}
>  \setdefaultlanguage{english}
>  \setotherlanguage[variant=ancient]{greek}
>  \newfontfamily\grkemph[LetterSpace=10]{Theano Didot}
>  \begin{document}
>  This is only a {\grkemph{test}}.
> 
>  “Mind” is the English translation for \foreignlanguage{greek}
>  {\grkemph{νοῦς}}.
> 
>  “Mind” is the English translation for \foreignlanguage{greek}
>  {\grkemph{νοῦς,}}.
>  \end{document}

(Untested, as I don't have a suitable TeX environment on this machine...)

JK




More information about the XeTeX mailing list