Monday, 27 May 2013

Recommend way to get angular velocity in degree with siunitx

Recommend way to get angular velocity in degree with siunitx

The siunitx package has a special macro for setting angles in degrees called like \ang{42}, which renders as , i.e. sets no space between the number and the unit as recommended and in contrast to the normal \unit, which inserts a thin space. Unfortunately the \ang macro has no optional argument adding additional units (as in \ang{42}[\per\second]), which leads to the following question:
Having an angular velocity in degree (unit: degree per seconds; I do not want to use rad/s here), what is the recommended way to have a nice (correct) output and what is the recommended way with siunitx?
I have two suggestions:
First
\SI{42}{\degree\per\second}
resulting in  and second
\num{42}\si{\degree\per\second}
which looks like . Both look unfamiliar, but the output of the latter might look a bit more familiar than the first one, altough the code of the former is nicer than that of the second one.
Does anyone know what is officially correct?

No comments:

Post a Comment