I would like to represent the unit kgCO2eq. with siunitx, but I have difficulties to create the point. \SI{123}{\kg CO_2eq.} does not work and I could not find a solution so far.


1 Answer 1


We won't make friends within the SI community but I'd just define a separate unit for it.

If you don't want that, you need to protect the . from the parser (which gets interpreted as a separation between units). However, you will need to think about your full sentence ending period either way.

As an alternative, there's also \of which may be the proper way to specify a pseudo unit like that?

I'd also opt for a little bit spacing between the parts but you can just leave it out, of course, but please only use one of them.


\DeclareSIUnit{\kgCOeq}  {kg\,CO_2\,eq.}
\DeclareSIUnit{\kgCOeqX} {kgCO_2eq.}
\qty{123}{\kgCOeq} / \qty{123}{kg\,CO_2\,eq{.}}


\qty{123}{\kgCOeqX} / \qty{123}{kgCO_2eq{.}}


enter image description here

  • \qty in an undefined sequence in texlive 2022 for me.
    – anis
    Commented Dec 21, 2022 at 14:24
  • @anis This is weird, because 2022 should come with a v3 of siunitx where \qty is the preferred command. \SI is deprecated. Commented Dec 21, 2022 at 14:32
  • \qty is siunitx version 3. You can use \SI instead for older versions
    – Rmano
    Commented Dec 21, 2022 at 14:32
  • Since a kilogram is the base unit for weight and not the gram, I've changed my answer accordingly and am using kg as the base for the CO₂ eq. Commented Dec 21, 2022 at 14:40
  • 1
    @Dr.ManuelKuehner Yes, it is, part of the unit macros (sec. 3.5 in the manual). How it works can be changed with the options qualifier-mode = subscript|bracket|combine|phrase and qualifier-phrase. Of course, we could've just used \DeclareSIUnit{\kgCOeq}{kg_{CO_2\,eq.}} as well, I guess … Commented Dec 21, 2022 at 14:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .