[Tugindia] using OTF font in maths

Radhakrishnan CV cvr at river-valley.org
Tue May 27 12:40:40 CEST 2014


On Tue, May 27, 2014 at 3:28 PM, Shashi Kumar <shashikr08 at gmail.com> wrote:

>
> I have defined following two sets for font usages with XeLatex on Mactex
> 2013.
>
>
> \setallmainfonts[ItalicFont={AGaramondPro-Italic.otf},BoldFont={AGaramondPro-Bold.otf},BoldItalicFont={AGaramondPro-BoldItalic.otf}]{AGaramondPro-Regular.otf}
>
>
> \setsansfont[ItalicFont={OptimaLTStd-Italic.otf},BoldFont={OptimaLTStd-Bold.otf},BoldItalicFont={OptimaLTStd-BoldItalic.otf}]{OptimaLTStd.otf}
>
> my problem is how to get math fonts automatically for section header that
> are in Optima. It is taking Agaramond by default.


​Have you tried "mathspec" package​ which provides more hooks to choose a
different font for math?

-- 
Radhakrishnan
River Valley<https://maps.google.com/maps?q=River%20Valley,%20Thiruvananthapuram%20Neyyardam%20Road,%20Kerala,%20India&vector=1>


More information about the tugindia mailing list