I'm trying to use the Noto font for my entire document. Using mathspec this works fine for text and math fonts. However, using a comma in math mode produces a serif font-like comma instead of the one provided by the Noto font family. How can I change that? Here's a minimal example:
\documentclass[a4paper,12pt]{scrartcl}
\usepackage{amsmath}
\usepackage{mathspec}
\setmathrm{NotoSans-SemiCondensedLight}
\setmathfont(Latin){NotoSans-SemiCondensedLightItalic}
\setmathfont(Digits){NotoSans-SemiCondensedLight}
\setmainfont{NotoSans-SemiCondensedLight}
\begin{document}
\noindent 1,234\\
$1{,}234$
\end{document}
which yields
EDIT:
Using the proposed lines
\makeatletter
\DeclareMathSymbol{,}{\mathpunct}{\eu@LatinLowercase@symfont}{`,}
\makeatother
yields a somewhat similar, but not identical comma symbol compared to the main and math fonts (see below). Is there a way to use the exact same comma from the same font?


\makeatletterand\makeatother. – Ralf Stubner Jul 10 '19 at 18:56\setmathfont(Latin){Noto Sans Semi Condensed Light}(this sets Latin italic by default), not\setmathfont(Latin){Noto Sans Semi Condensed Light Italic}. But another fix is to use\DeclareMathSymbol{,}{\mathpunct}{\eu@DigitsArabic@symfont}{\,}`, because the digit font gives you upright comma. – Ruixi Zhang Jul 10 '19 at 19:27