I am using siunitx
in order to display some "mean ± std" of some statistical results, and I use the round-mode=uncertainty
option in order to keep the leading order of magnitude of the uncertainty only and match the precision of the mean.
However, if the uncertainty is bigger than the actual value, only a 0 is printed, without the ± sign or uncertainty.
Here is an example:
\documentclass{article}
\usepackage{siunitx}
\sisetup{round-mode=uncertainty,round-precision=1,uncertainty-mode=separate}
\begin{document}
\noindent
\num{10.1 +- 1.0} \\ % Correct output
\num{0.01 +- 1} \\ % Prints: 0, should be 0±1
\num{1 +- 10} \\ % Prints: 0, should be 0±10
\end{document}
Here is a somewhat similar (unanswered) question.
siunitx
: I guess you want some 'retain-...
' setting but don't have an immediate name for it.x +- y
notation for a mean/s.u. combo; however, the policy is I try to implement requests provided they are in-scope and have behaviour I can document.)x +- y
is a way to convey the centre and dispersion of a quantity, directly associated with its underlying statistics, right?