diff options
author | Norbert Preining <norbert@preining.info> | 2023-07-26 03:00:50 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-07-26 03:00:50 +0000 |
commit | cd61ef4a2d1994eb5729fcec4bfcf1fb1682f21d (patch) | |
tree | 9398dfb1919cec07283c0a559edf17de12e61924 /macros/latex/contrib/siunitx/siunitx-compound.dtx | |
parent | be53973de38a7aa9a3a0a8c70fd92bdf893c1a35 (diff) |
CTAN sync 202307260300
Diffstat (limited to 'macros/latex/contrib/siunitx/siunitx-compound.dtx')
-rw-r--r-- | macros/latex/contrib/siunitx/siunitx-compound.dtx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/macros/latex/contrib/siunitx/siunitx-compound.dtx b/macros/latex/contrib/siunitx/siunitx-compound.dtx index c4d2248845..51701c6915 100644 --- a/macros/latex/contrib/siunitx/siunitx-compound.dtx +++ b/macros/latex/contrib/siunitx/siunitx-compound.dtx @@ -337,7 +337,6 @@ % \l_@@_exp_bracket_bool , % \l_@@_exp_combine_bool , % \l_@@_unit_bracket_bool , -% \l_@@_unit_repeat_bool , % \l_@@_unit_repeat_bool % } % List options. @@ -667,7 +666,9 @@ % % \begin{macro}{\siunitx_compound_quantity:nn} % For quantities, life is more complex as there are interactions between the -% options for exponents and units. +% options for exponents and units. The \cs{c_empty_tl} suppresses any +% leading \texttt{1} if the unit starts \cs{per}; the \pkg{siunitx-print} +% module will skip any printing in this case. % \begin{macrocode} \cs_new_protected:Npn \siunitx_compound_quantity:nn #1#2 { @@ -698,7 +699,7 @@ \siunitx_print_number:V \l_@@_bracket_close_tl } { \@@_print:N \siunitx_print_number:x } - \@@_print_quantity:n { } + \@@_print_quantity:n { \c_empty_tl } } \group_end: } |