[XeTeX] Arabic text and color
Anas Ghrab
anas.ghrab at saramusik.org
Wed Aug 19 21:26:58 CEST 2009
Hi all,
Why I could not get the color on the wright text in the example below ?
Thank you for your help.
---
Anas Ghrab
======================================
\documentclass{article}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage[fullvoc,fdf2noalif]{arabxetex}
\newfontinstance\arabicfont[Script=Arabic,Scale=1.2,WordSpace=2]{XW Zar}
\usepackage[usenames]{color}
\newcommand{\green}[1]{
{\color{green}{#1}}
}
\begin{document}
\LARGE
\begin{arab}
اعْلَمْ بِأَنَّ
\green{الرّاست}
أَصْلٌ مُسْتَقِلْ
\end{arab}
\end{document}
More information about the XeTeX
mailing list