[NTG-context] \definefallbackfamily and small h

Mikael P. Sundqvist mickep at gmail.com
Tue Aug 5 12:59:27 CEST 2014


On Tue, Aug 5, 2014 at 12:18 PM, Wolfgang Schuster
<schuster.wolfgang at gmail.com> wrote:
> You have to change the symbol for the planck constant which is used
> by unicode for the mathematical small italic h, you can see in the unicode
> chart (http://www.unicode.org/charts/PDF/U1D400.pdf) there is a gap
> on the position of the h.
>
> \definefontfamily [myface] [rm] [TeX Gyre Pagella]
>
> \definefallbackfamily[myface][math][TeX Gyre Heros][preset=math:lowercaseitalic]
> \definefallbackfamily[myface][math][TeX Gyre Heros][tf=style:italic,range=0x68,offset=0x210E]
>
> \definefontfamily[myface][math][TeX Gyre Pagella Math]
>
> \setuppagenumbering[state=stop]
>
> \setupbodyfont[myface]
>
> \starttext
> $h$
> \stoptext
>
> Wolfgang

Thank you very much, that is it!

Mikael


More information about the ntg-context mailing list