For personal reasons, I like when my paper is written in sans font while my math and units are written in serif. I recently updated to version 3 of the siunitx
package and have no idea of how to reset the unit font to serif.
The command I use to set the default font is
\renewcommand{\familydefault}{\sfdefault}
Here's my MWE:
\documentclass[12pt]{article}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{siunitx}
\sisetup{mode = math, reset-text-family = true }
\begin{document}
\qty{15}{mm}
\end{document}
Thank you.
Best Answer
You need to reverse an automatic setting change here: