[XeTeX] Overline in xetex using polyglossia

Alan Munn amunn at gmx.com
Wed Jul 14 17:27:57 CEST 2010


On Jul 14, 2010, at 7:53 AM, Yusuf Mitha wrote:

> I have just started using polyglosia last week. I dont know if it an
> issue or there is a work around. In Englis text if I use {$\overline
> {test}$}, the word gets overlines. However If I do it to Arabic texts.
> It just dissapears.

Try loading the amsmath package and then using $\overline{\text{Arabic  
Text}}$ (assuming your main font it set to an Arabic font).  If you  
main font isn't an Arabic font, then put the appropriate font  
selection command inside the  \text{} command.

Alan



-- 
Alan Munn
amunn at gmx.com






More information about the XeTeX mailing list