I'm trying to use the siunitx
package to display binary units. I have loaded the package using \usepackage[detect-weight=true, load-configurations=binary]{siunitx}
but when I try to type \SI{4}{\gibi \byte}
I get this error:
siunitx error: "prefix-only" Prefix with no unit. ...giga \hertz} asà como \SI{4}{\giga \byte}
.
I've read that the package version matters when using binary units, mine is siunitx 2017/02/01 v2.7c
How can I solve my problem?
Thanks
Best Answer
You have to use the package option
binary-units=true
(or justbinary-units
), as specified in the documentation:The option
load-configurations
is deprecated in favor of theabbrevations
,binary-units
andversion-1-compatibility
options.This compiles for
siunitx v2.7c from 2017/02/01