2

Consider the following document:

\documentclass{standalone}

\usepackage[inline-per-mode = symbol]{siunitx}
\DeclareSIPostPower\rooted{\textrm{\textonehalf}}

\begin{document}

\unit{\W\s\rooted\per\m\squared\per\K} thermal effusivity

\unit{\m\per\s\rooted} sorptivity

\end{document}

The first unit for thermal effusivity compiles fine, but for the second unit for sorptivity I get dozens of errors. There seems to be some problem with \rooted, but only in the second situation.

What is wrong, is this a bug?

Curiously, this code worked in the old version of siunitx.

1 Answer 1

1

The value of the power needs to be a real number, here 0.5, not text: siunitx can't do maths with \textrm{\textonehalf}.

1

You must log in to answer this question.

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