This question is similar to this one, only that I'm using the siunitx package:
\documentclass{minimal}
\usepackage{siunitx}
\begin{document}
The temperature is \SI{\sim 200}{\kelvin}. \\
The temperature is \SI{{\sim} 200}{\kelvin}. \\
The temperature is \SI{{\sim}200}{\kelvin}. \\
The temperature is $\sim$\SI{200}{\kelvin}.
\end{document}
The last line leads to the result I want. It is however not very elegant in my oppinion. Is there a way to tell the si package that I don't want a space before my value?



\newcommand{\unsim}{\mathord{\sim}}and use that in\SI{{\unsim}200}{\kelvin}or\SI{{\unsim} 200}{\kelvin}. Or even better\newcommand{\appr}{{\mathord{\sim}}}(the double curly braces are important) and\SI{\appr 200}{\kelvin}. – moewe Apr 09 '14 at 08:45\approx? – Raphael Apr 09 '14 at 13:12\sim, is used to mean "approximately". And I've only ever seen\approxmean "is approximately equal to" rather than merely "approximately", soT \approx 200would be a correct use of it butThe temperature is \approx 200would not. (Please excuse lack of math mode and unit signifiers unnecessary to make this point.) – Michael Hoffman Jul 08 '21 at 19:41