I want to suppress a number in a \SI
-command.
\documentclass{article}
\usepackage{siunitx,textcomp}
\sisetup{per-mode=symbol}
\begin{document}
current output: (\SI{{}e9}{\per\litre}) %
current output: (\SI{1e9}{\per\litre}) %
wanted output: (\texttimes~10\textsuperscript{9}/l)
\sisetup{exponent-product = \cdot}
current output: (\SI{{}e9}{\per\litre}) %
current output: (\SI{1e9}{\per\litre}) %
wanted output: ($\cdot$~10\textsuperscript{9}/l)
\end{document}
Is there any way to do it? I don't want to hard code with \texttimes
as I don't know if the style of exponent-product will change in the future.
(\si{{}\times 10^9\per\litre})
be acceptable? In effect, this method moves the\times 10^9
part from the numbers-part to the units-part of the full expression. – Mico Mar 29 '15 at 17:10\si
then? I think, Ulrike is after an automated typesetting ofx some power of ten
using thesiunitx
tools – user31729 Mar 29 '15 at 17:14\times
has the same problem then\texttimes
: It doesn't change with changes of the exponent style through\sisetup
. I edited the question to make it clearer. – Ulrike Fischer Mar 29 '15 at 17:25\SI{e9}{…}
instead of\SI{{}e9}{…}
, i.e. no need for the empty group. – Henri Menke Mar 29 '15 at 17:31