When I use e.g. \unit{cm^{3}/s} there is a space between the '3' and the '/'. I can reduce it with \! but is there a more 'proper' way of using the \unit command to reduce this space?

  • 2
    The space comes from \scriptspace that's always added after an atom with a subscript or superscript. Its default value is 0.5pt. Maybe JW can find a method for removing the \scriptspace in those cases.
    – egreg
    Jul 24, 2019 at 17:36
  • 1
    @egreg But that's exactly what the reference rendering does too: $\mathrm{cm}^{3}/\mathrm{s}$.
    – Joseph Wright
    Jul 24, 2019 at 17:37
  • 2
    @JosephWright You didn't read chapter 18 of the TeXbook, did you? Particularly the example $x^2\!/2$ on page 169. ;-)
    – egreg
    Jul 24, 2019 at 17:49
  • 4
    The problem is not only from \scriptspace, but also from the very shape of /.
    – egreg
    Jul 24, 2019 at 17:51
  • 1
    I created a feature request.
    – schtandard
    Jul 29, 2019 at 13:39

1 Answer 1


Upcoming siunitx v3.1 will offer option per-symbol-script-correction with a standard setting of \! to cover this case. This is automatically inserted where per-mode will use a symbol and the last entry in the numerator has a superscript power.

You must log in to answer this question.

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