Suppose I have the following declarations in the preamble
\usepackage[utf8]{inputenc}
\usepackage{unicode-math}
\setmathfont{My Best Math Font}
\setmainfont{My Best Font}
and then some texts like so in the document:
$X, Y$ vs. $X$, $Y$
the commas within math and non-math environments will be different.
Is there anyway to make the math environment to use My Best Font
for punctuations?
Thanks!