[XeTeX] Fwd: Re: Overline in xetex using polyglossia

Yusuf Mitha tongaatdiscountworld at gmail.com
Wed Jul 14 17:56:11 CEST 2010


---------- Forwarded message ----------
From: Yusuf Mitha <tongaatdiscountworld at gmail.com>
Date: 14 July 2010 17:53
Subject: Re: Re: [XeTeX] Overline in xetex using polyglossia
To: Khaled Hosny <khaledhosny at eglug.org>


>> > 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


Thanks a lot. That Has done the trick :)


--
__________
Yusuf Mitha



-- 
__________
Yusuf Mitha



More information about the XeTeX mailing list