siunitx: Komma als Dezimaltrenner

Hier ein kleines Minimalbeispiel, wie man mittels siunitx das Komma als Dezimaltrenner nutzen kann:

\documentclass{scrartcl}
\usepackage[output-decimal-marker={,}]{siunitx}
\begin{document}
 
\[\num{1.424353} +\num{1.424353} \]
 
\num{1.424353}
 
\end{document}

Eine Alternative ist „icomma“ aus dem „was“ Paket von Walter Schmidt.

Uwe

Uwe Ziegenhagen likes LaTeX and Python, sometimes even combined. Do you like my content and would like to thank me for it? Consider making a small donation to my local fablab, the Dingfabrik Köln. Details on how to donate can be found here Spenden für die Dingfabrik.

More Posts - Website