{siunitx} is a package that provides consistent typesetting of physical quantities, allowing application of various typographic conventions with the same input syntax. This package replaces the deprecated {siunits} package.

learn more… | top users | synonyms

0
votes
1answer
2k views

Unknown options for package siunitx

I'm getting an error when I try to specify an option with the siunitx package. I have the following line in my preamble: \usepackage[load-configurations=si-abbr]{siunitx} And I get the following ...
0
votes
1answer
96 views

Automatic three digit grouping

I have huge numbers in tables (some of them are grouped in three digit groups but some are not). I need to make a small space (or comma) between groups of three digits. I have used two packages, ...
0
votes
1answer
1k views

Siunitx installation: I can't find file l3docstrip.tex

I have some problem trying to compile siunitx. When I do latex siunitx.dtx, I get the following message: ! I can't find file `l3docstrip.tex'. l.77 \input l3docstrip.tex Where am I supposed to find ...
0
votes
1answer
78 views

print hour & minutes in french style

I'm using babel, datetime & siunitx but I don't see an automatic way to mark and to write time in the french style. It's possible with plain hour with datetime: SI{18}{\hour} -> 18 h. But for ...
0
votes
1answer
56 views

Using is siunitx, how do I put symbols in the number, e.g. to format $\mu_0$

The permeability of free space I have $\mu_0$ = 4$\pi$ $\times$ \SI{E-7}{\volt\second\per\ampere\per\metre} because $\mu_0$ = \SI{4$\pi$ E-7}{\volt\second\per\ampere\per\metre} How do I ...
0
votes
1answer
19 views

How do I increase spacing between unit components in pgfplots?

I'm using pgfplots (version 1.12) with the units library. When I create a unit label \si{molecules \cm^{-2}}, this turns up without any spacing between "molecules" and "cm". When I use the same ...
0
votes
1answer
49 views

siunitx automatically rounds the values?

\documentclass[12pt,landscape,a4paper]{report} \usepackage{amsmath} \usepackage{siunitx} % nice alignment for decimals \begin{document} \begin{tabular}{ >{$}c<{$} | ...
0
votes
0answers
56 views

siunitx and summary statistics below table - separate alignment block possible?

I am using siunitx to format tables as it is very handy with aligning, rounding etc. However, I typically have summary statistics in a separate part below the table. Since these often only contain ...
0
votes
0answers
38 views

xspace's spacing with siunitx macro does not work in math mode

To make life with LaTeX easier and faster (especially faster), I defined some macros in the preamble with the help of xspace. They work as intended in text mode, but fail in math mode. How could I ...
0
votes
1answer
143 views

siunitx with product-units, mixed units

Is the following possible with full siunitx syntax? \documentclass{article} \usepackage{siunitx} \begin{document} $\SI{80}{\micro\meter}\times\SI{1.25}{mm}$ \end{document} For clarification: I ...
0
votes
0answers
52 views

no '=' among input-comparators in `\num{…}`

I want to use = in the argument to the siunitx \num{...} macro. I'd like to be able to write something like: This gives a total of \num{9x14=126} grid cells. Currently, this produces ! siunitx ...
0
votes
0answers
27 views

Highlighting SI: “invalid-token-in-number” [duplicate]

I need to highlight some parts of code containing both text and numbers using the siunitxpackage but I get an invalid-token-in-number, the token being a number! Here's my mwe: ...
0
votes
0answers
248 views

typeset large uncertainties using siunitx

I have some entries in a table where the uncertainties are very large compared to the value due to outliers in the data: \documentclass{article} \usepackage{siunitx} \usepackage{booktabs} ...