8

Why does \num{e0} automatically translate to 1 instead of 10^0?

And how is this fixed in case you want to alter the default behavior?

13

You need retain-zero-exponent=true, which by default is false.

\documentclass{article}
\usepackage{siunitx}
\sisetup{retain-zero-exponent=true}
\begin{document}
\num{e0}
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.