[NTG-context] partial derivatives with bonum/pagella font

Hans Hagen pragma at wxs.nl
Wed May 22 12:01:24 CEST 2013


On 5/22/2013 10:46 AM, Mikael P. Sundqvist wrote:
> Hi all,
>
> The following examples give wrong space. There is a space between the
> prime and the subscripted x. If I do not load the bonum font it just
> looks as it should.
>
> \setupbodyfont[bonum]
> \starttext
> $f'_x$, $f_x'$ $f\prime_x$.
> \stoptext
>
> (it does not look good with the pagella font either...)
>
> Any ideas?

cambria is the benchmark ... indeed bonum looks somewhat weird (also 
because the f is rather tightly bounded; the same with pagella)

(there are some primes-*.tex test files in the test suite)

the primes mechanism is somewhat non-trivial as ' is not really the 
prime symbol and some additional parsing / hackery happens; also, 
traditionally primes in tex sit on the baseline and need to be lifted

one problem is that texgyre math is still beta so messing around at the 
tex end will interfere with improvements

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list