diff options
author | Karl Berry <karl@freefriends.org> | 2021-06-02 20:59:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-06-02 20:59:05 +0000 |
commit | d33b92d9d4a7e58fe1a2b2a7795a1ac51b25f0b3 (patch) | |
tree | 98f483a0f383e0cbcd33b6f450836843d0732c58 /Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx | |
parent | 3b90242ab28c1c59546d3cf26e0663803f397407 (diff) |
siunitx (2jun21)
git-svn-id: svn://tug.org/texlive/trunk@59437 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx index a164d883b70..f377585b782 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx @@ -669,7 +669,7 @@ \str_if_eq:VnT \l_siunitx_quantity_prefix_mode_tl { combine-exponent } { \tl_clear:N \l_@@_exp_tl } \bool_if:NTF \l_@@_unit_repeat_bool - { \@@_print:N \@@_print_quantity:n } + { \@@_print:N \@@_print_quantity:x } { \bool_lazy_and:nnTF { \l_@@_unit_bracket_bool } @@ -692,6 +692,8 @@ % \begin{macro}{\@@_print:nnnN} % \begin{macro}{\@@_print_aux:n} % \begin{macro}{\@@_print_aux:nn} +% \begin{macro}{\@@_print_quantity:n, \@@_print_quantity:x} +% \begin{macro}{\@@_print_separator:n, \@@_print_separator:V} % We now need to know how many entries there are: the reason we don't use % \cs{seq_use:Nnnn} is that we want to be able to insert % \cs{siunitx_print_\dots:n} in a controlled way. @@ -794,6 +796,7 @@ } \cs_new_protected:Npn \@@_print_quantity:n #1 { \siunitx_quantity_print:nV {#1} \l_@@_unit_tl } +\cs_generate_variant:Nn \@@_print_quantity:n { x } \cs_new_protected:Npn \@@_print_separator:n #1 { \bool_if:NTF \l_@@_separator_text_bool @@ -807,6 +810,8 @@ % \end{macro} % \end{macro} % \end{macro} +% \end{macro} +% \end{macro} % % \begin{macro}[EXP]{\@@_uncert_bracket:N} % \begin{macro}[EXP]{\@@_uncert_bracket:w} |