diff options
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx | 2 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx | 16 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx.dtx | 2 |
3 files changed, 16 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx index b88e369c08d..f08a6a8c0f1 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx @@ -3081,7 +3081,7 @@ % \begin{macro}[EXP]{\@@_round_uncertainty_check:Nnnnw} % \begin{macro}[EXP]{\@@_round_uncertainty_aux:nnn} % \begin{macro}[EXP]{\@@_round_uncertainty:nnnn} -% \begin{macro}[EXP]{\@@_round_uncertainty:nnnnn} +% \begin{macro}[EXP]{\@@_round_uncertainty:nnnnnn} % \begin{macro}[EXP] % { % \@@_round_uncertainty_simple:nnnnnn , diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx index 35dd2161b17..b8f5aea8e3f 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx @@ -1468,7 +1468,9 @@ % \end{macrocode} % Finally, we get to the exponent part: the multiplication symbol is % |#1| and the number itself is |#2|. The code is almost the same as for -% uncertainties, which allows a shared auxiliary to be used. +% uncertainties, which allows a shared auxiliary to be used. As |#3| could +% be entirely empty, there needs to be a bit of work to ensure alignment +% is retained in all cases. % \begin{macrocode} \cs_new_protected:Npn \@@_print_format_auxvii:w #1 \q_nil #2 \q_mark #3 \q_nil #4 \q_stop @@ -1477,7 +1479,17 @@ { \@@_print_format_box:Nn \l_@@_tmp_box { { } #1#2 } \dim_set:Nn \l_@@_tmp_dim { \box_wd:N \l_@@_tmp_box } - \@@_print_format_box:Nn \l_@@_tmp_box { { } #3#4 } + \@@_print_format_box:Nn \l_@@_tmp_box + { + \bool_lazy_and:nnT + { \l_@@_align_exponent_bool } + { \tl_if_blank_p:n {#3} } + { + \@@_print_format_box:Nn \l_@@_tmp_box { { } #1 { } } + \@@_skip:n { \box_wd:N \l_@@_tmp_box } + } + { } #3#4 + } \@@_print_format_after:N \l_@@_align_exponent_bool } } diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx index d02beaf5739..65004d7eb27 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx @@ -121,7 +121,7 @@ % % Identify the package and give the over all version information. % \begin{macrocode} -\ProvidesExplPackage {siunitx} {2022-11-16} {3.1.10} +\ProvidesExplPackage {siunitx} {2022-12-05} {3.1.11} {A comprehensive (SI) units package} % \end{macrocode} % |