Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

This is a follow-up to my previous question. Using the separate-uncertainty=true option with siunitx, a number like \SI{100 \pm 12}{\kelvin} would be output as (100 \pm 12) K

I want to get rid of the parentheses. Now there is a bracket-numbers = false option, which doesn't seem to work in this instance. I can do open-bracket={}, close-bracket={} in the options and this will work, but it seems rather brute force, as I intend to apply this to the whole document.

Does any one know a better way to sort this?

share|improve this question

1 Answer 1

up vote 8 down vote accepted

To get rid of the parentheses while keeping the expression mathematically correct, the unit must be supplied to both the base number and the uncertainty. You can achieve this by setting separate-uncertainty,multi-part-units = repeat, which for

\SI{100 \pm 12}{\kelvin}

will output

If you really only want the unit once, without parentheses around the base number and uncertainty, you can set multi-part-units=single:

share|improve this answer
    
Super, thanks Jake. I wish I could read a manual :> –  aghsmith Sep 7 '11 at 9:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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