[XeTeX] color some Hebrew vowels

Lorenz Haas lorenz at lorenz-haas.de
Sat Sep 19 08:53:40 CEST 2009

Hi Tilman,

I've tried your suggestion in all possible variations, but the dont have any 
effects. Unfortunately.

As soon i use any kind of a command (e.g \textit{#1}) inside my "hem" 
definition the vowels get shifted. That the coloring works fine (only for the 
enclosed vowels/letters) I currently use:

\newfontface\HebFont[Mapping=tex-text,Script=Hebrew]{SBL Hebrew}
%\newfontface\HebFont[Mapping=tex-text,Script=Hebrew]{Ezra SIL} % both fonts 
dont work
\newcommand{\he}[1]{{\RL\HebFont #1}}

 \he{ל\hem{וֹ}מ\hem{ֵ}ד} % this is "lomed" with וֹ and ֵ colored.


More information about the XeTeX mailing list