[XeTeX] Colored Arabic in Tables
Ulrike Fischer
news3 at nililand.de
Wed Mar 11 17:55:30 CET 2009
Am Wed, 11 Mar 2009 08:02:11 +0100 schrieb Tilman Hannemann:
>> I don't pretend to understand what these characters mean
>> nor how they should look;
>
> If you remove the tabularx environment from the example I sent, the
> second and the third letter won't have any accents. That's it how it
> should look like.
>
I don't know arabic but if I got it right "novoc" should led to a
char without a small accent while "fullvoc" gives a sort of small
circle.
I can reproduce the problem. I think that you can avoid it by using
the font/feature combination before the tabularx. You could do it
e.g. in a box or in a \phantom:
\begin{document}
%\newsavebox\tempbox
%\savebox\tempbox{\mbox{\textarab[novoc]{\colorred{h}}}}
%
\phantom{\textarab[novoc]{\colorred{h}}}
\begin{tabularx}{\linewidth}{X}
\textarab[novoc]{\colorred{ha}}\\
\end{tabularx}
\textarab[fullvoc]{h}\\
\textarab[fullvoc]{\colorred{h}}
\textarab[novoc]{\colorred{h}}
\textarab[fullvoc]{\colorred{h}}
\end{document}
--
Ulrike Fischer
More information about the XeTeX
mailing list