Open Firestar-Reimu opened 1 year ago
You don't show how you are selecting bold italic.
this works for me
\documentclass{article}
\usepackage{unicode-math}
\begin{document}
$Aa\Gamma\gamma$
$\symbfit{A}\symbfit{a}\symbf{\Gamma}\symbf{\gamma}$
\end{document}
I mean using \unimathsetup{mathbf=sym,math-style=???,bold-style=???}
and use \mathbf{}
for example:
\documentclass{article}
\usepackage{fontspec}
\setmainfont{STIX Two Text}
\usepackage{unicode-math}
\unimathsetup{mathbf=sym,math-style=ISO,bold-style=ISO}
\setmathfont{STIX Two Math}
\begin{document}
\[
a A \gamma \Gamma
\]
\[
\mathbf{a} \mathbf{A} \mathbf{\gamma} \mathbf{\Gamma}
\]
\end{document}
A bold-style=upGreek
in /texlive/texmf-dist/tex/latex/unicode-math/unicode-math-luatex.sty
line 468 (maybe produced by here) produce the same upright/italic glyphs as math-style=TeX
, or a global setting of upGreek=true
{upGreek} {
\bool_gset_false:N \g__um_bfliteral_bool
\bool_gset_true:N \g__um_bfupGreek_bool
\bool_gset_false:N \g__um_bfupgreek_bool
\bool_gset_false:N \g__um_bfupLatin_bool
\bool_gset_false:N \g__um_bfuplatin_bool
}
maybe we can use more options like [math-style={uplatin,upLatin,upgreek,upGreek}]
I want this style: (0 for italic and 1 for upright)
but style=TeX provides:
and style=ISO provides: