latex3 / unicode-math

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

global and local setting of math-style #539

Open hvoss49 opened 4 years ago

hvoss49 commented 4 years ago

Description

Setting of math-style=.. together with version=.. overwrites the global definition

Add info or delete as appropriate:

Minimal example demonstrating the issue

\documentclass{article}
\usepackage[math-style=literal,bold-style=literal]{unicode-math}
\setmathfont[math-style=ISO,bold-style=ISO,version=xits]{XITSmath}
\setmathfont{LibertinusMath-Regular.otf}
\begin{document}

$\mupAlpha\mbfAlpha\mitAlpha\mbfitAlpha\Alpha$

\end{document}

The setting for XITS math overwrites the math-style= literal from the package definition. Up-to-date TL 2020

Is this the intended behaviour?