Re: using OTF font in maths

Radhakrishnan CV <[email protected]> Tue, 27 May 2014 16:10:40 +0530
Newsgroups gmane.comp.tex.tugindia
Message-ID <CA+uu9n8by2zKoVGUdqeUsfSEnrNhKkvyOhx09mQZvWv7s6oBWA@mail.gmail.com>
On Tue, May 27, 2014 at 3:28 PM, Shashi Kumar <[email protected]> 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>
_______________________________________________
Home:        http://www.tug.org.in/
TeX FAQ:     http://www.tex.ac.uk/faq
unsubscribe: http://tug.org/mailman/listinfo/tugindia