when I use the command


I'd like it to output

1 [kg]

Is there a setting so that SIUnitx automatically does this for all units in a document?

  • 8
    DON'T DO THAT There's a reason why siunitx doesn't do that by default: it's wrong. Please, see this post of mine about the usage of brackets in units and the SI brochure from p. 147 on. Jun 23, 2019 at 20:34
  • 1
    @Massimo Ortolano I completely agree though I have provided a technical solution to the question of the OP in my answer below.
    – Matthias
    Jun 23, 2019 at 22:06

1 Answer 1


As far as I know, there is no such option. You could redefine the \SI command. Here is a very basic approach which could be improved from the technical point of view in many ways.







This gives:

Output of the MWE

Edit: Please note, however, the valid comment by Massimo Ortolano below the question.


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.