diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-13 20:58:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-13 20:58:44 +0000 |
commit | 9ab74bc42f4dec6bc77857a29d4a2d9969c76f8a (patch) | |
tree | 909864a72180e37585f6fed5726a1e1ea5fb71d3 /Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx | |
parent | a23370aa985dab90107baf2674cecce72e815d9e (diff) |
siunitx (13jan22)
git-svn-id: svn://tug.org/texlive/trunk@61597 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 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx index 97600d5d4be..a7bd0b7e160 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx @@ -2848,7 +2848,11 @@ \prg_replicate:nn { \int_max:nn - { 0 - ( \tl_count:n {#4} - \tl_count:n {#2} - #5 + 1 ) } + { + \tl_if_blank:nTF {#4} + { #5 } + { 0 - ( \tl_count:n {#4} - \tl_count:n {#2} - #5 + 1 ) } + } { 0 } } { 0 } |