[XeTeX] alphabets in maths and \mathbf

Khaled Hosny khaledhosny at eglug.org
Mon Jan 25 15:24:47 CET 2010


On Mon, Jan 25, 2010 at 11:15:24PM +1100, Vafa Khalighi wrote:
> I am writing a package for a maths font. Is there anyway that you can just
> change the font of digits in \mathbf and not the font of aphabets inside \
> mathbf.
> 
> To be more clear, if Isay
> 
> \DeclareMathAlphabet      {\mathbf}{OT1}{cmr}{bx}{n}
> 
> It will both changes the font of digits and the font of alphabets inside \
> mathbf command. But I just would like to change the font of digits and not the
> font of alphabets.
> 
> Is there any way to achieve this?

I think Will's unicode-math package (on github) can assign an arbitrary
font to an arbitrary range of characters, check it.

Regards,
 Khaled


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


More information about the XeTeX mailing list