When typesetting degrees the correct way is to make the degrees symbol part of the number (without the space between the degree symbol and the number.)
Technically in the SI system then degrees C or degrees F should be typeset with a space between the degrees symbol and the unit.
The \SI{23}{\celsius}
does not do this correctly.
Is this a bug or a feature?
(kindly provide your reference source)
siunitx
handles both temperatures and angles correctly. In the SI system, there has to be a space between the number and the degree symbol and no space between the degree symbol and theC
when typesetting temperatures. See section 5.3.3 of the official SI brochure.°C
makes it possible to tell the derived unit for Celsius temperature apart from the base unit coulomb (C
). It is therefore part of the unit symbol.