I would like to declare the following unit:
dB re 1 $\mu$Pa
I found this answer: Define new unit in siunitx with angles and spaces
And got this working:
\DeclareSIUnit[number-unit-product={}]{\dBpa}{\dB \micro \pascal}
But I would it like this:
\DeclareSIUnit[number-unit-product={}]{\dBpa}{\dB \text{re 1} \micro \pascal}
But the \text
part does not work.
How could one include normal text in a unit?
EDIT:
Inside the document this works:
\si{\dB \ensuremath{\text{ re } 1} \micro \pascal}