0

Some time ago (last year) I had the following code working without errors

\documentclass[12pt,a4paper]{article}
\usepackage{siunitx}
\begin{document}
If we have \SI{2/3}{\mole} the reaction \ldots
\end{document}

Now I get error "invalid number '2/3' from siunitx package. However, in my case it would be useful to keep such fraction. Is there a way to do this? Thank you.

Mico
  • 506,678
  • 3
    Set parse-numbers=false on this quantity or something like that, it us in the manual – daleif Jul 03 '21 at 19:02
  • This solved the problem. – Alby Stalks Jul 03 '21 at 20:10
  • 1
    In the recent siunitx major update from version 2 to version 3, the \SI command has changed to \qty command. And you can still use the old commands, the author says "Where possible, older names are mapped to newer ones internally: you will be warned in the log if this is the case." – Gordon Bai Jul 05 '21 at 15:05

0 Answers0