diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/siunitx/siunitx.sty | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty index f1a8e4300e1..5942919068f 100644 --- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty +++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty @@ -42,7 +42,7 @@ }% \endinput }% -\ProvidesExplPackage {siunitx} {2021-09-22} {3.0.31} +\ProvidesExplPackage {siunitx} {2021-09-29} {3.0.32} {A comprehensive (SI) units package} \msg_new:nnnn { siunitx } { incompatible-package } { Package~'#1'~incompatible. } @@ -6349,12 +6349,16 @@ { \siunitx_declare_unit:Nxn \degree { - \exp_not:N \text - { - \@ifpackageloaded { inputenc } - { \exp_not:N \textdegree } - { \__siunitx_symbol_non_latin:n { "00B0 } } - } + \exp_not:N \ifmmode + { } ^ { \exp_not:N \circ } + \exp_not:N \else + \exp_not:N \text + { + \@ifpackageloaded { inputenc } + { \exp_not:N \textdegree } + { \__siunitx_symbol_non_latin:n { "00B0 } } + } + \exp_not:N \fi } { quantity-product = { } } } @@ -6369,12 +6373,16 @@ \group_end: \siunitx_declare_unit:Nx \degreeCelsius { - \exp_not:N \text - { - \@ifpackageloaded { inputenc } - { \exp_not:N \textdegree } - { \__siunitx_symbol_non_latin:n { "00B0 } } - } + \exp_not:N \ifmmode + { } ^ { \exp_not:N \circ } + \exp_not:N \else + \exp_not:N \text + { + \@ifpackageloaded { inputenc } + { \exp_not:N \textdegree } + { \__siunitx_symbol_non_latin:n { "00B0 } } + } + \exp_not:N \fi C } } |