3

I was asked to write a document where I have to put temperatures like -51,4 degrees celcius. How can I do that in LaTeX? I tried

\usepackage{siunitx}
...
\SI{-51{,}4}{\celsius}

but it turns the comma to the dot.

5
\documentclass{report}
\usepackage{siunitx}
\sisetup{output-decimal-marker={,}}
\begin{document}

\SI{-51,4}{\celsius} \SI{-51.4}{\celsius}

\end{document}

Not the answer you're looking for? Browse other questions tagged or ask your own question.