0

I have a class that requires we format uncertainties as X.XX(+/-0.YY).

So far, I can get siunitx to produce uncertainties X.XX(0.YY); however, I do not see a setting in the manual to add the plus-minus sign.

  • 1
    It would be helpful if you composed a fully compilable MWE including \documentclass and the appropriate packages that sets up the problem. While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on solving the problem. – Peter Grill Sep 19 '18 at 0:32
4

You can modify the output-open-uncertainty:

enter image description here

Code:

\documentclass{article}
\usepackage{siunitx}

\sisetup{output-open-uncertainty = {(\pm}}
\begin{document}

\num{9.99(9)}

\end{document}
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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