• Welcome to پارسی‌لاتک.
 
از تاریخ ۱۳۹۳/۸/۱۴ به دلیل ارائه خدمات بهتر به سایت جدید پرسش و پاسخ مهاجرت کرده‌ایم؛ از این رو امکان عضویت و ارسال پست در تالار غیرفعال شده است. لطفاً برای پرسیدن سوال‌های خود به سایت جدید مراجعه کنید.

ورود به سایت جدید

فارسی شدن اعداد موجود در فرمول ها

نویسنده ابوالفضل دیانت, اکتبر 28, 2011, 08:38:34 بعد از ظهر

« قبلی - بعدی »

ابوالفضل دیانت

با سلام
زیرپرشن کاملا بروز است
اعداد فرمول ها تا یکی دو ماه پیش به صورت انگلیسی بود
ولی الان به صورت فارسی شده البته من اصلا از دستور \setdigitfont استفاده نکردم که بخواهم اعداد را فارسی کنم
به نظر شما چگونه می توانم اعداد را به حالت و فونت قبلی به صورت انگلیسی برگردانم
باتشکر

هادی صفی‌اقدم

در راهنمای فعلی زی‌پرشین:

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