diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx index a7bd0b7e160..98f52307c24 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx @@ -3169,7 +3169,6 @@ % \begin{macro}[rEXP]{\@@_output_comparator:nn} % \begin{macro}[rEXP]{\@@_output_sign:nnn} % \begin{macro}[rEXP]{\@@_output_sign:nN} -% \begin{macro}[rEXP]{\@@_output_sign:N} % \begin{macro}[rEXP] % {\@@_output_sign_color:w, \@@_output_sign_brackets:w} % \begin{macro}[rEXP]{\@@_output_integer:nnn} @@ -3310,7 +3309,7 @@ { \bool_if:NTF \l_@@_bracket_negative_bool { \@@_output_sign_brackets:w } - { \@@_output_sign:nN {#1} #2 } + { \@@_output_sign:nN {#1} - } } { \@@_output_sign:nN {#1} #2 } } @@ -3319,14 +3318,9 @@ \cs_new:Npn \@@_output_sign:nN #1#2 { \tl_if_blank:nTF {#1} - { \@@_output_sign:N #2 } - { \exp_not:n { \mathord {#2} } } - } -\cs_new:Npn \@@_output_sign:N #1 - { - \bool_if:NTF \l_@@_tight_bool - { \exp_not:n { \mathord {#1} } } - { \exp_not:n {#1} } + { \use:n } + { \mathord } + { \exp_not:n {#2} } } \cs_new:Npn \@@_output_sign_brackets:w #1 \@@_output_end: @@ -3481,7 +3475,10 @@ \str_if_eq:VnTF \l_@@_uncert_mode_tl { separate } { \exp_not:n {#2} - \@@_output_sign:N \pm + \bool_if:NTF \l_@@_tight_bool + { \mathord } + { \use:n } + { \exp_not:n { \pm } } \exp_not:n {#2} \@@_output_uncert_S_aux:nnn { \int_eval:n { \tl_count:n {#4} - \tl_count:n {#1} } } @@ -3617,9 +3614,9 @@ \bool_lazy_and:nnT { \l_@@_implicit_plus_bool } { ! \str_if_eq_p:nn {#2} { 0 } } - { \@@_output_sign:N + } + { + } } - { \@@_output_sign:N #1 } + { \exp_not:n {#1} } \@@_output_digits:nn { integer } {#2} } % \end{macrocode} @@ -3660,7 +3657,6 @@ % \end{macro} % \end{macro} % \end{macro} -% \end{macro} % % \subsection{Miscellaneous tools} % |