diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/siunitx/siunitx.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/siunitx/siunitx.sty | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty index cb6c2de406d..fac3155705f 100644 --- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty +++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty @@ -14,7 +14,7 @@ %% --------------------------------------------------------------- %% \RequirePackage{expl3} -\ProvidesExplPackage {siunitx} {2011/10/06} {2.3g} +\ProvidesExplPackage {siunitx} {2011/10/14} {2.3h} {A comprehensive (SI) units package} \cs_if_exist:NTF \msg_new:nnnn { @@ -357,7 +357,8 @@ \@ifpackageloaded { tex4ht } { \cs_set_eq:NN \siunitx_ensuremath:n \use:n - \keys_set:nn { siunitx } { mode = text } + \cs_set_eq:NN \siunitx_print_text_super:n \textsuperscript + \keys_set:nn { siunitx } { qualifier-mode = brackets, mode = text } } { } } @@ -2947,17 +2948,15 @@ \l_siunitx_tmpa_tl \tl_if_empty:NT \l_siunitx_output_exponent_tl { - \bool_if:NTF \l_siunitx_tight_bool - { - \tl_set:Nx \l_siunitx_tmpb_tl - { { \exp_not:V \l_siunitx_exponent_product_tl } } - } + \tl_put_right:Nx \l_siunitx_tmpa_tl { - \tl_set:Nx \l_siunitx_tmpb_tl - { { } \exp_not:V \l_siunitx_exponent_product_tl { } } + \exp_not:N \ensuremath + { + \bool_if:NTF \l_siunitx_tight_bool + { { \exp_not:V \l_siunitx_exponent_product_tl } } + { { } \exp_not:V \l_siunitx_exponent_product_tl { } } + } } - \siunitx_tl_put_right_math:NV \l_siunitx_tmpa_tl - \l_siunitx_tmpb_tl } \prop_get:NnN \l_siunitx_number_out_prop { exponent-result } \l_siunitx_tmpb_tl @@ -3424,19 +3423,15 @@ { \prop_if_in:NnT \l_siunitx_number_out_prop { mantissa-result } { - \bool_if:NTF \l_siunitx_tight_bool - { - \tl_set:Nx \l_siunitx_tmpb_tl - { { \exp_not:V \l_siunitx_exponent_product_tl } } - } + \tl_put_left:Nx \l_siunitx_tmpa_tl { - \tl_set:Nx \l_siunitx_tmpb_tl + \exp_not:N \ensuremath { - { } \exp_not:V \l_siunitx_exponent_product_tl { } + \bool_if:NTF \l_siunitx_tight_bool + { { \exp_not:V \l_siunitx_exponent_product_tl } } + { { } \exp_not:V \l_siunitx_exponent_product_tl { } } } } - \siunitx_tl_put_left_math:NV \l_siunitx_tmpa_tl - \l_siunitx_tmpb_tl \prop_put:NnV \l_siunitx_number_out_prop { exponent } \l_siunitx_tmpa_tl } |