Re: [NTG-context] Math fonts for Nimbus fonts

2020-09-21 Thread Otared Kavian


> On 21 Sep 2020, at 16:45, Wolfgang Schuster 
>  wrote:
> 
> Otared Kavian schrieb am 21.09.2020 um 15:30:
> […]
> I don't understand your problem because you tell ConTeXt to use upright 
> letters (normal = upright) in math mode with the following setup.
> 
>> \setupmathematics[integral=nolimits,lcgreek=normal,default=normal]

Oops… indeed. I was stupid to copy-paste \setupmathematics from another test 
file, without paying attention to « default=normal ».
The resaon for which I did this copy-paste was that with 
\definefontfamily [mainface] [mm] [STIX Math] [rscale=1.10]
the upper bound of the integral is misplaced and I don't know how to fix it.
In the archives I saw that there is « mathnolimitsmode » which can be added as 
a font feature, but its values and how to set it up are far from being clear to 
me.

Thank you so much for your help: Otared K.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Math fonts for Nimbus fonts

2020-09-21 Thread Wolfgang Schuster

Otared Kavian schrieb am 21.09.2020 um 15:30:

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?


I don't understand your problem because you tell ConTeXt to use upright 
letters (normal = upright) in math mode with the following setup.



\setupmathematics[integral=nolimits,lcgreek=normal,default=normal]


Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Math fonts for Nimbus fonts

2020-09-21 Thread Otared Kavian
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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___