I would like to use the siunitx package in my document, but when I try to print an angle with the command \ang{90}, I've received
90ř
instead of
90°
Gradual reduction of the code, I found that the reason is the use of the package lmodern. How can this problem be solved? It seems that this behavior is similar to the description in the question: siunitx: µ doesn't work
MNWE:
\documentclass{scrbook}
\usepackage{xltxtra}
\usepackage{lmodern}
\usepackage{siunitx}
\begin{document}
Angle is \ang{90} or \(\ang[number-angle-product = \,]{2.67}\)
\end{document}
xltextra). For that set up, I'd expectfontspecto be loaded. – Joseph Wright Dec 01 '16 at 21:08fontspecinstead ofxltxtraand removelmodern. – egreg Dec 01 '16 at 21:36