unicode-math icon indicating copy to clipboard operation
unicode-math copied to clipboard

global and local setting of math-style

Open hvoss49 opened this issue 5 years ago • 0 comments

Description

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

Add info or delete as appropriate:

  • Relevant for XeTeX
  • Relevant for LuaTeX
  • Issue tracker has been searched for similar issues?
  • Links to <tex.stackexchange.com> discussion if 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?

hvoss49 avatar Mar 07 '20 09:03 hvoss49