Like what the title says, if I use
\documentclass{article}
\usepackage{fontspec}
\usepackage{siunitx}
\begin{document}
\SI{5}{\um}
\end{document}
I would end up with 5µm. But changing \usepackage{fontspec} to \usepackage{mathspec} would result in it becoming 5m. What's happening? I was under the impression that mathspec is basically fontspec with support for math. Also, moving \usepackage{siunitx} before mathspec does not fix this.
\sisetup{math-micro=\text{µ},text-micro=µ}after loadingsiunitxwhen you are usingmathspec. – Henri Menke Apr 24 '18 at 00:16mathspecdoes not useunicode-math– JBantje Apr 24 '18 at 00:17math-omega=\text{Ω}, text-omega=Ωbut it didn't work as I thought it should.Edit: changing it to
– Shin Apr 24 '18 at 00:22math-ohm=\text{Ω}, text-ohm=Ωworked.