On 1/10/2019 7:56 AM, Mikael P. Sundqvist wrote:
Hi,
the output of
\setupmathematics[
integral=nolimits,
]
\starttext
\startTEXpage[offset=2bp]
$\displaystyle\int_0^1x^2\,dx=\frac{1}{3}$
\stopTEXpage
\stoptext
is attached. Clearly, the lower limit in the integral is not correctly placed.
With hope of a quick fix,
The problem is in the fonts ... some have proper math kerns, some don't,
some have italic, some don't, so one solution for all is impossible
one way to deal with this is setting options (but these can be different
per font and i'm not sure yet how to support that)
you can try if \mathnolimitsmode=3 works ok for you
will work ok for you
\startTEXpage[offset=2bp]
$\mathnolimitsmode0 \displaystyle\int_0^1 x^2\,dx=\frac{1}{3}$\par
$\mathnolimitsmode1 \displaystyle\int_0^1 x^2\,dx=\frac{1}{3}$\par
$\mathnolimitsmode2 \displaystyle\int_0^1 x^2\,dx=\frac{1}{3}$\par
$\mathnolimitsmode3 \displaystyle\int_0^1 x^2\,dx=\frac{1}{3}$\par
$\mathnolimitsmode4 \displaystyle\int_0^1 x^2\,dx=\frac{1}{3}$\par
$\mathnolimitsmode2000 \displaystyle\int_0^1 x^2\,dx=\frac{1}{3}$\par
\stopTEXpage
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________