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 expectfontspec
to be loaded.fontspec
instead ofxltxtra
and removelmodern
.