# Trying to use symbols withing the number in the siunitx package

I'm trying to use the following with siunitx:

\omega_x = \SI{100\pi}{rad.s^{-1}}


But it comes out wrong. There is a space placed between 10 and 0π, as if π was actually a digit rather than a symbol. How do I get siunitx to treat it as a symbol?

I'd prefer an option to be used with the \usepackage declaration, to make the behaviour system-wide. An alternative package would also be helpful.

Image for clarification:

Also, I'd prefer a way that supported multiple symbols. I'm using the TeX Live 2012 distribution, last updated on September 25, if that helps.

-
Would \SI[parse-numbers=false]{100\pi}{rad.s^{-1}} help? See section 5.4 of the documentation. – egreg Sep 29 '12 at 12:25
@egreg It would, in this case, but unfortunately it wouldn't work the way I want in the case of \SI{1000\pi}{rad.s^{-1}}, for example. – Hameer Abbasi Sep 29 '12 at 12:40
I found this thread, but nothing it it seems to work. Also, the input-symbols option (page 20-21 of the documentation‌​) lists a default value of \pi\dots, but even so, manually setting it doesn't fix my problem. – Hameer Abbasi Sep 29 '12 at 12:45
What would you want in the case of 1000\pi? – egreg Sep 29 '12 at 13:09
A spacing between the rendering of 1 and 000\pi. To my understanding, parse-numbers=false eliminates all automatic spacing in the numbers section. – Hameer Abbasi Sep 29 '12 at 13:12

Some things I'd suggest:

## Code

\documentclass{article}
\usepackage{siunitx}
\DeclareSIUnit{\pii}{\ensuremath{\pi}}
\newcommand*{\customSI}[4][]{\num[#1]{#2}#3\,\si[#1]{#4}} % \, should be substituted for siunitx' inter-unit-product
\newcommand*{\customSIcustom}[4][]{\SI[parse-numbers=false,#1]{\num[parse-numbers=true,#1]{#2}#3}{#4}}

\begin{document}
$$\omega_x = \SI[parse-numbers=false]{\num[parse-numbers=true]{10000}\pi}{rad.s^{-1}}$$\\
$$\omega_x = \customSIcustom{10000}{\pi}{rad.s^{-1}}$$\\
$$\omega_x = \customSI{10000}{\pi}{rad.s^{-1}}$$\\
$$\omega_x = \SI{10000}{\pii.rad.s^{-1}}$$\\
$$\omega_x = \SI[number-unit-product={}]{10000}{\pii.rad.s^{-1}}$$
\end{document}


## Output

-