# [XeTeX] Eastern Arabic numerals in math environment

VAFA KHALIGHI vafaklg at gmail.com
Fri Sep 23 10:52:54 CEST 2011

Yes, you can. You can modify xepersian-mathsdigitspec to suit your needs.
bidi has nothing to do with font.

On Fri, Sep 23, 2011 at 6:46 PM, Nathan Sidoli <nathan.sidoli at utoronto.ca>wrote:

> Is is possible to use Eastern Arabic numerals inside a math environment,
> say inside \frac{}{} (such as \frac{٥}{٢})? When I try this with unicode
> input, I get no errors, but blank output. When I enter a RL environment
> within \frac, using bidi, I get errors. (This must have something to do with
> \frac because I can generally use bidi within a math environment to get
> Easter Arabic numerals.)
>
> When I try to change the math environment's digits font for the whole text
> (say using \usepackage{mathspec} -> \setmathsfont(Digits){Some Arabic
> Font}), it uses the right font, but it uses the Western Arabic numeral set,
> not the Eastern Arabic set.
>
>
> ------------------------------**--------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/**listinfo/xetex<http://tug.org/mailman/listinfo/xetex>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20110923/c1056411/attachment.html>