diff options
author | Karl Berry <karl@freefriends.org> | 2021-06-22 21:09:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-06-22 21:09:17 +0000 |
commit | 4eabd917e9bbaa92f941cae342a676cc0f7ec5ea (patch) | |
tree | dec6a99bcdcdff96952a545213f97cf24f450fa8 /Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx | |
parent | 15916837cb7d1e611738688cf132d91977ae99fb (diff) |
siunitx (22jun21)
git-svn-id: svn://tug.org/texlive/trunk@59677 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx index 737b503b374..108925d535e 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx @@ -2023,7 +2023,7 @@ { \exp_not:n { #1 00 } } { } { \@@_exponent_engineering_uncert:nn {#3} { 00 } } } - {\@@_exponent_engineering:nnNw {#1} {#3} #2 \q_stop } + { \@@_exponent_engineering:nnNw {#1} {#3} #2 \q_stop } \@@_exponent_finalise:n { #4 - 2 } } \cs_new:Npn \@@_exponent_engineering:nnNw #1#2#3#4 \q_stop @@ -2031,7 +2031,7 @@ \tl_if_blank:nTF {#4} { { \exp_not:n { #1#3 0 } } { } - { { \@@_exponent_engineering_uncert:nn {#2} { 0 } } } + { \@@_exponent_engineering_uncert:nn {#2} { 0 } } } { { \exp_not:n {#1#3} \exp_not:o { \tl_head:w #4 \q_stop } } @@ -3419,7 +3419,9 @@ { \tl_if_blank:nTF {#1} { - \bool_if:NT \l_@@_implicit_plus_bool + \bool_lazy_and:nnT + { \l_@@_implicit_plus_bool } + { ! \str_if_eq_p:nn {#2} { 0 } } { \@@_output_sign:N + } } { \@@_output_sign:N #1 } |