[Tex/LaTex] radianpersecond error in SIUNITX

siunitx

Simply, radianpersecond doesn't work; all other units does.

\documentclass[twoside]{article} 
\usepackage{amsmath}
\usepackage{commath}
\usepackage{siunitx}
\begin{document}
\begin{align}
a&=\SI{1}{cm}\\
\omega&=\SI{1}{\radianpersecond}
\end{align}
\end{document}

The error:

Undefined control sequence. \end{align}

I don't understand why only this unit doesn't work!

Best Answer

The package doesn't define \radianpersecond. Either you type

\SI{1}{\radian\per\second}

or add, in the preamble,

\DeclareSIUnit\radianpersecond{\radian\per\second}

and then you'll be allowed to type also

\SI{1}{\radianpersecond}

Note: it seems a bug in TeXStudio if its palettes suggest \radianpersecond as an existing unit.

Related Question