I know there are a lot of posts about this here on tex.stackexchange but all I can find are pretty old (almost ~ 5-10 years old by now) and I'm not sure if they still apply.
So is there a way to use a sans serif font for the normal text characters in math mode?
\documentclass{scrartcl}
\usepackage{fontspec}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{amsmath}
\usepackage[math-style=ISO]{unicode-math}
\setmathfont{Latin Modern Math}
\setmathfont{Latin Modern Math}[version=bold,FakeBold={3}]
\setoperatorfont\mathsf
\begin{document}
normal text
$(a+\rho_i)^2 = a^2 + 2a\rho_i \rho_i^2 \quad \min\text{ text in math}$
\end{document}
In this example it would be an issue for the i indices and the a variable.


symupnote is a nice one. SadlyFiraMath-Regularseems to be lacking the\bigcupand\setminussymbols. But I get I have to look further into different fonts. – atticus Mar 03 '24 at 09:26