Skip to content

Commit

Permalink
Switch to siunitx version 3
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpovel committed Aug 20, 2021
1 parent bb931a9 commit 4fc2caf
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions cookbook.cls
Expand Up @@ -1632,11 +1632,9 @@
\sisetup{%
detect-all,% Detect surrounding font context, like weight, italics etc.
%
% ATTENTION: this is currently compiled using `siunitx` in version 2.8d.
% From version 3.0.0, `text-rm` and many other commands are deprecated.
% Instead, use `text-font-command = \unitnumberfont` in the future.
% See also https://github.com/josephwright/siunitx/issues/532 .
text-rm=\unitnumberfont,% https://tex.stackexchange.com/a/468031/120853
% Requires siunitx v3+, see also https://tex.stackexchange.com/a/468031/120853,
% https://github.com/josephwright/siunitx/issues/532 :
text-font-command=\unitnumberfont,
%
% Alternative range-phrase:
% en-dash via '--', but inside \text{}, so it's not 'two minus signs'
Expand Down

0 comments on commit 4fc2caf

Please sign in to comment.