You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the font for the minus sign can only be selected, if both \minus and "2212 are selected via the range option, such as range = { \minus, "2212 }. If only "2212 or only \minus are selected, the font does not change.
If you change range = { \minus, "2212 } in the below MWE to range = { "2212 } or to range = { \minus } the font is not selected as expected:
\documentclass{article}
\RequirePackage[silent]{fontspec}
\setmainfont{Times New Roman}
\RequirePackage{unicode-math}
\setmathfont{STIX Two Math}
\setmathfont{Times New Roman}[
range = { \minus, "2212 }
]
\begin{document}
-6 and $-6$\end{document}
Further Details
It might be the case that this behaviour is intended, but it is at least not documented in the manual.
The text was updated successfully, but these errors were encountered:
Description
It seems that the font for the minus sign can only be selected, if both
\minus
and"2212
are selected via therange
option, such asrange = { \minus, "2212 }
. If only"2212
or only\minus
are selected, the font does not change.Add info or delete as appropriate:
Minimal example demonstrating the issue
If you change
range = { \minus, "2212 }
in the below MWE torange = { "2212 }
or torange = { \minus }
the font is not selected as expected:Further Details
It might be the case that this behaviour is intended, but it is at least not documented in the manual.
The text was updated successfully, but these errors were encountered: