Tag Info

Hot answers tagged


Numbers can be formatted with package siunitx: \documentclass{article} \usepackage{siunitx} \begin{document} \num{12345.67} \end{document} The space can be configured via option group-separator. Its default is a small space (\,).


Instead of rolling your own code for typesetting the numbers using the \num macro, you can just use the S column type that's provided by siunitx (note that you need to additionally use the string type keyword). That also allows you to use the table-format alignment options: \documentclass[border=5mm]{standalone} \usepackage{siunitx} ...


It seems that siunitx is missing some kind of "default" font for the cases except \mathscr and \mathscrbf: \documentclass{minimal} \usepackage{fontspec,luatextra,unicode-math} \usepackage[noload=abbr]{siunitx} \sisetup{decimalsymbol=comma, detect-all,debug} \let\nbu\SI \setmathfont{latinmodern-math.otf} ...

Only top voted, non community-wiki answers of a minimum length are eligible