تالار گفتگوی پارسی‌لاتک

لاتک LATEX => قلم‌ها و حروف => نويسنده: ابوالفضل دیانت در اكتبر 28, 2011, 08:38:34 pm

عنوان: فارسی شدن اعداد موجود در فرمول ها
رسال شده توسط: ابوالفضل دیانت در اكتبر 28, 2011, 08:38:34 pm
با سلام
زیرپرشن کاملا بروز است
اعداد فرمول ها تا یکی دو ماه پیش به صورت انگلیسی بود
ولی الان به صورت فارسی شده البته من اصلا از دستور \setdigitfont استفاده نکردم که بخواهم اعداد را فارسی کنم
به نظر شما چگونه می توانم اعداد را به حالت و فونت قبلی به صورت انگلیسی برگردانم
باتشکر
عنوان: پاسخ : فارسی شدن اعداد موجود در فرمول ها
رسال شده توسط: هادی صفی‌اقدم در اكتبر 28, 2011, 09:20:45 pm
در راهنمای فعلی زی‌پرشین:
\DefaultMathsDigits \PersianMathsDigits \AutoMathsDigits

 As we discussed before, \setdigitfont will choose the Persian font for digits
in math mode. By default, digits in math mode will appear in Persian form
and if you do not use this command at all, the Persian Modern font for digits
in math mode will be used.

 As we discussed before, \setmathsfdigitfont, and \setmathttdigitfont
will choose the Persian sans serif and typewriter fonts for digits in math
mode. By using this command, digits in math mode will appear in Persian
form and if you do not use this command at all, you will get default TEX font
for digits in math mode and digits appear in their original form (Western).
If you use \setdigitfont, \setmathsfdigitfont, and \setmathttdigitfont,
then you should know that:

 By default, \AutoMathsDigits is active, which means that in Persian
mode, you get Persian digits in math mode and in Latin mode, you get
TEX’s default font and digits in math mode.

 If you use \PersianMathsDigits anywhere, you will overwrite XePersian’s
default behaviour and you will always get Persian digits in math
mode.

 If you use \DefaultMathsDigits anywhere, again you will overwrite
XePersian’s default behaviour and you will always get TEX’s default
font and digits in math mode.