3

I want to write 1 mHz to 1Hz using SIrange but I am unable to do so even after using the code given on the following link: Different single prefix in SIrange

Using that, if I write \SIrange{0.001}{1}{\hertz} in the text, I get result as 1mHz to 1mHz if I try \SIrange{1}{1000}{\milli\hertz}; then it gives an error called 'Exponent 0 can not be converted'

MWE:

\documentclass{book}
\usepackage{siunitx}
\sisetup{%
    exponent-to-prefix = true,zero-decimal-to-integer,
    round-mode=figures, scientific-notation=engineering,
%   output-exponent-marker=\ensuremath{\,\mathrm{e}}
}
\begin{document}
            \SIrange{0.001}{1}{\hertz}\\
            \SIrange{1}{1000}{\milli\hertz}

Where I would like 1 \si{\milli\hertz} to 1\si{\hertz}
\end{document}

Thank you in advance.

3

0

You must log in to answer this question.

Browse other questions tagged .