For the most part, the package works well. (At the moment, I am using the STIX fonts, though I get the same behavior with Asana Math, Neo Euler, Iwona, DejaVu, etc.)
The one problem I am having is that even when I use math-style=TeX (which is supposed to give me italics in Latin and lowercase Greek variables by default), I don't get italics with any of those.
That is, the following MWE:
Code: Select all
\documentclass{article}
\usepackage[math-style=TeX]{unicode-math}
\setmathfont{STIXGeneral}
\begin{document}
\[
⊨ ¬∃y∀x[x∈y ↔ x∉x]
\]
\end{document}
A couple odd things here. Changing math-style=TeX to math-style=ISO, which is supposed to have the effect of making UpperCase Greek in math mode italicized as well, has the effect of italicizing lowercase Latin letters, while leaving the rest alone.
Another oddity is that I can achieve the desired effect if I explicitly specify an italic font, not for \mathit, but for \mathup, suggesting that \mathup is explicitly being used even with math-style=TeX. In other words:
Code: Select all
\documentclass{article}
\usepackage[math-style=TeX]{unicode-math}
\setmathfont{STIXGeneral}
\setmathfont[range=\mathup/{latin,Latin}]{STIXGeneral Italic}
\begin{document}
\[
⊨ ¬∃y∀x[x∈y ↔ x∉x]
\]
\end{document}
I am primarily wondering whether anyone else has experienced the same results, or knows of something obvious I might be overlooking, before I go ahead and submit a bug report of some kind.