latex3 / unicode-math

XeLaTeX/LuaLaTeX package for using unicode/OpenType maths fonts
http://ctan.org/pkg/unicode-math
LaTeX Project Public License v1.3c
243 stars 28 forks source link

unicode-math override's fontspec's \setmathsf & co #407

Closed wspr closed 6 years ago

wspr commented 6 years ago

Here's the problem:

\documentclass{article}
\usepackage{fontspec}
\setmathsf{texgyrecursor-regular.otf}
\usepackage{unicode-math}
\begin{document}
$\mathsf{X}=X$
\end{document}

Also see #404.