Closed stone-zeng closed 5 years ago
For some fonts (e.g. XITS Math), the ssty2 of \prime will not be used in the script script level:
ssty2
\prime
\documentclass{article} \usepackage{unicode-math} \setmathfont{XITS Math} % \setmathfont{TeX Gyre Termes Math} \begin{document} \[ {f\prime f'}^{{f\prime f'}^{f\prime f'}} \] \end{document}
It gives the following:
gid2503 u1D453 gid906 uni2032 gid2503 u1D453 gid3868 uni2032.ssty1 gid2503 u1D453 gid3868 uni2032.ssty1 gid2503 u1D453 gid3868 uni2032.ssty1 gid2503 u1D453 gid3868 uni2032.ssty1 gid2503 u1D453 gid3868 uni2032.ssty1
However, for TeX Gyre Termes Math, the sts variant can be used correctly:
sts
gid474 u1D453 gid4035 minute gid474 u1D453 gid4042 minute.st gid1401 u1D453.st gid4042 minute.st gid1401 u1D453.st gid4049 minute.sts gid1402 u1D453.sts gid4049 minute.sts gid1402 u1D453.sts gid4049 minute.sts
I have check the font features, but the ssty looks the same (except for the glyphs' names) for the two fonts.
ssty
unicode-math
In Fira Math, this issue is fixed in https://github.com/firamath/firamath/commit/4df09ecfeb9b4d4f288c7605a974d58ec9d08351, and more details are discussed in #510, so I will close it.
Description
For some fonts (e.g. XITS Math), the
ssty2
of\prime
will not be used in the script script level:It gives the following:
However, for TeX Gyre Termes Math, the
sts
variant can be used correctly:I have check the font features, but the
ssty
looks the same (except for the glyphs' names) for the two fonts.Check/indicate
Further details
unicode-math
v0.8m