[XeTeX] Colored Arabic in Tables

Tilman Hannemann tilmanh at uni-bremen.de
Wed Mar 11 21:55:44 CET 2009

Ulrike and François,

you are both right.

Am 11.03.2009 um 20:49 schrieb François Charette:
> I'm still puzzled about the reason for this, but again, this has  
> nothing
> to do with setting colors!

I was first mislead because in my document, I also had to deal with  
constructs that can be reduced to:

{\arabicfont\addfontfeature{Color=FF00FF} ه}\\

{\arabicfont\addfontfeature{Color=000000} ه}

which, similar to François' example below, produce two nice ha', both  
in magenta. So, definitely no blame to ArabXeTeX...


> The same behaviour occurs with the following minimal document, in  
> which
> I only use the relevant portions of the code in arabxetex.sty:
> \documentclass{minimal}
> \usepackage{fontspec}
> \newfontfamily{\arabicfont}[Script=Arabic,Scale=1.7]{Scheherazade}
> \usepackage{tabularx}
> \begin{document}
> \begin{tabularx}{\linewidth}{X}
>     {\arabicfont\addfontfeature{Mapping=arabtex-fdf2alif-fullvoc}  
> ha}\\
> \end{tabularx}
> {\arabicfont\addfontfeature{Mapping=arabtex-fdf2alif-novoc} h}
> \end{document}

More information about the XeTeX mailing list