I have been using \textit
for italic text in my work and also used \SI
for numbers with units using the siunitx
package. There is now an instance where I want the number and unit to be in italics, so I've written:
\textit{\SI[]{8}{\micro\meter}}
But it does not appear in italics. I can't understand from the help documentation which option to use. Any advice? I have not used \sisetup{}
in the preamble either.
Best Answer
Simply use
\sisetup{detect-all = true}
See the documentation on page 20:
The documentation also says on page 83:
Maybe you should think over using italic units