I'm re-asking an unanswered question from 2015. Here's what I'm using:
- NOTO for normal, sans, and mono types via fontspec, aka
\setmainfont - STIX Two for math via unicode-math, aka
\setmathfont - siunitx with
mode=matchto avoid\qtycausing a grotesque switch to STIX Two in the middle of a sentence.
NOTO text fonts lack a minus sign by design, so \qty{1}{\joule\per\meter} results in a rectangle before m.
Is there a way to substitute add a missing glyph (minus sign) to my serif font?
unicode-math has a range= option to \setmathfont, but I can't pass that to \setmainfont.
Note: I'd like to use NOTO Sans Math for a consistent style, but I run into this problem.
\usepackage{newunicodechar}and\newunicodechar{−}{\ensuremath{-}}and\renewcommand{\textminus}{\ensuremath{-}}? – frabjous May 31 '22 at 04:59siunitxrelease (2022-05-03 v3.1.1). – Joseph Wright May 31 '22 at 06:27