[XeTeX] Overline in xetex using polyglossia

Khaled Hosny khaledhosny at eglug.org
Wed Jul 14 17:33:16 CEST 2010


On Wed, Jul 14, 2010 at 01:53:56PM +0200, 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.
> 
> Is there a way to implement the \eamph command for overlining arabic
> texts just like arabxetex?

You can try this:
\def\aemph#1{$\overline{\hbox{#1}}$}

Basically, you have to set the text inside an hbox so that it is not
treated as maths text.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


More information about the XeTeX mailing list