#update `siunitx` package command

1 messages · Page 1 of 1 (latest)

sage zephyr
#

Context:
I had added the package siunitx into my preamble.
A few weeks ago, I used \unit, and I ran into error because TeXit was still using the package at version 2.
Now it has been promoted version 3.

#

,tex \SI{3}{cm}

bronze pumiceBOT
#

vin100 🕷

\SI{3}{cm}
sage zephyr
#

⬆️ old version syntax

#

⬇️ new version syntax

#

,tex \unit{cm}

bronze pumiceBOT
#

vin100 🕷

\unit{cm}
```Compilation error:```! Undefined control sequence.
l.98 \unit
          {cm}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

Preview: Tightpage -1310720 -1310720 1310720 1310720
[1{/usr/local/texlive/2020/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]```
frank sorrel
#

its maybe because texit is on 2020 version, devs have promised to update it to newer version soon