Skip to main content
2 of 3
added 4 characters in body

Redefine \gg in unicode-math with Lualatex

I have:

\usepackage{fontspec}
\usepackage{unicode-math}
\setmainfont{STIX Two Text}[Ligatures=TeX]
\setmathfont{STIX Two Math}
\usepackage{amsmath}

with Lualatex but I want to redefine \gg to print a boldface g (such as \symbf{g}). I even asked ChatGPT but it could not find any solution which would work. Is there any? (of course I know that I could use a different command....)

mvs
  • 181
  • 12