[NTG-context] Math fonts for Nimbus fonts
Otared Kavian
otared at gmail.com
Mon Sep 21 15:30:46 CEST 2020
Hi,
I wish to use the Nimbus fonts, but since I didn't know which Math fonts is best adapted to this family, I tried several fonts such as Stix Math, TeX Gyre Math, and so on, but doing this the math-italic does not appear in these fonts: does this mean that I have to set explicitely math-italic in definefontfamily?
Also what is the best math font adapted for Nimbus?
Below is my definition of a fontfamily for Nimbus fonts.
Thanks in advance for any help: Otared K
%% begin definefontfamily-nimbus.tex
\definefontfamily [mainface] [rm] [Nimbus Roman No9 L]
\definefontfamily [mainface] [ss] [Nimbus Sans L] [rscale=0.85]
\definefontfamily [mainface] [tt] [Nimbus Mono] [features=none,rscale=0.95]
\definefontfamily [mainface] [mm] [STIX Math]
%\definefontfamily [mainface] [mm] [Asana Math]
%\definefontfamily [mainface] [mm] [Lucida Bright Math OT]
%\definefontfamily [mainface] [mm] [TeX Gyre Termes Math]
%\definefontfamily [mainface] [mm] [XITSMath]
\setupmathematics[integral=nolimits,lcgreek=normal,default=normal]
\setupbodyfont[mainface]
\starttext
{\rm\tf Regular \it Italic \bf Bold \bi BoldItalic}
{\ss\tf Regular \it Italic \bf Bold \bi BoldItalic}
{\tt\tf Regular \it Italic \bf Bold \bi BoldItalic}
And here are a few math formulas $\alpha^2 + \beta^2 + \gamma^2 = x^2 + y^2 + t^2$.
\startformula
\int_{0}^{2\pi} \sin(x)dx = 0,
\qquad {\rm e}^{{\rm i}\pi} + 1 = 0,
\qquad \sum_{n=1}^{\infty}{1 \over n^2} = {\pi^2 \over 6}.
\stopformula
\stoptext
%% end definefontfamily-nimbus.tex
More information about the ntg-context
mailing list