[Tugindia] using OTF font in maths

Shashi Kumar shashikr08 at gmail.com
Tue May 27 12:53:20 CEST 2014


Yes.

In preamble, i am using \usepackage[math]{mathspec}.

But I do not see any option in mathspec to regulate math font usages for
sffamily. Please advise.

Best,Shashi




On Tue, May 27, 2014 at 4:10 PM, Radhakrishnan CV <cvr at river-valley.org>wrote:

> 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
> >
> _______________________________________________
> Home:        http://www.tug.org.in/
> TeX FAQ:     http://www.tex.ac.uk/faq
> unsubscribe: http://tug.org/mailman/listinfo/tugindia


More information about the tugindia mailing list