The simple expression:

$v_f = \SI[per-mode=fraction]{32}{\meter\per\second}$

when parsed, yields the following error:

! Package xkeyval Error: `per-mode' undefined in families `key'.

However, removing [per-mode=fraction] causes it to work fine. How can I print this as a fractional unit?

closed as too localized by user11232, lockstep, Marco Daniel, Tom Bombadil, Paul Gaborit Sep 23 '12 at 9:44

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 4
    You're probably using an old version of siunitx. Try updating to the current version (2.5c). – Jake Sep 22 '12 at 23:02
  • @Jake How do I determine the version? – Lily Chung Sep 22 '12 at 23:05
  • @Jake Okay, I've got version 1.3. I installed siunitx by installing the texlive-science package, so what is the best way of updating? – Lily Chung Sep 22 '12 at 23:11
  • 3
    @Arafinwe If you're using the TeX Live 2009 that's provided by Debian/Ubuntu you're out of luck. You can install the 2012 version with this PPA, but this method doesn't guarantee that the last version of packages is in the distribution. You may want to install a "vanilla TeX Live" – egreg Sep 22 '12 at 23:16
  • @Jake Thanks for your comment. If you should re-post that as an answer, I would accept it. – Lily Chung Sep 23 '12 at 1:11

The comments have suggested upgrade your siunitx, but that may not be so easy. The option for version one was called just per

\sisetup{per = fraction}
$v_f = \SI{32}{\meter\per\second}$

If you give a version one option in the preamble, version two will pick this up an act appropriately.

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