Hello
Until someone works out how to fix this in SOUL, you could try the
following.
In your file header give:
\def \littlespace{\kern .1em}
\def \letterspace #1{#1\littlespace\letterspace}
\def \endletterspace \littlespace \letterspace{}
Then to get 10% letter-spaced text give e.g.:
ἡ τοῦ \letteerspace δυνάμει\ ὄντος\ ἐντελέχεια,\ ᾗ\ τοιοῦτον,
κίνησίς\endletterspace\ ἐστιν
Note that you have to give the spaces explicitly with \
This isn't as versatile as SOUL - it won't hyphenate - but it might do until
something better turns up. If you find \letterspace \endlettersrpace too
tedious to type, just give something briefer in the definitions: e.g.
\def\ls and \def\els
If you want something other than 10% letterspacing, then just change .1em in
the above to whatever you need.
John
----- Original Message -----
From: "Pablo Rodríguez" <oi...@web.de>
To: "Unicode-based TeX for Mac OS X and other platforms" <xetex@tug.org>
Sent: 24 May 2010 11:30
Subject: [XeTeX] Greek letterspacing with soul
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:
\documentclass[10pt]{book}
\usepackage{fontspec}
\setmainfont{Theano Didot}
\usepackage{polyglossia}
\setdefaultlanguage{english}
\setotherlanguage[variant=ancient]{greek}
\usepackage{soul}
\begin{document}
This is only a \so{test}.
“Mind” is the English translation for \foreignlanguage{greek
{\so{νοῦς}}.
“Mind” is the English translation for \foreignlanguage{greek}
{\so{νοῦς,}}.
\end{document}
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?
Thanks,
Pablo
--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex
--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex