diff options
author | Karl Berry <karl@freefriends.org> | 2012-09-11 23:05:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-09-11 23:05:43 +0000 |
commit | f67286ed339e9c12d6f2e1b17636c307930045aa (patch) | |
tree | 26d62fe9ec220e69aff4837cc163b63f8eacfe56 /Master/texmf-dist/source/latex/siunitx | |
parent | 4ccf8917dd7207bd3f86aae8bc3531661080bc23 (diff) |
siunitx (11sep12)
git-svn-id: svn://tug.org/texlive/trunk@27650 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/siunitx')
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx.dtx | 42 |
1 files changed, 23 insertions, 19 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx index 2393db429a1..b7f214cb93d 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx @@ -592,6 +592,8 @@ This work consists of the file siunitx.dtx %\changes{v2.5f}{2012/07/16}{Track changes in \pkg{expl3}} %\changes{v2.5h}{2012/08/28}{Alter literal unit test to allow spaces in % units to be ignored} +%\changes{v2.5i}{2012/09/11}{Fix alignment of values without uncertainties in +% columns where space is reserved for uncertainties} % %\begin{abstract} % Physical quantities have both numbers and units, and each physical @@ -5102,7 +5104,7 @@ This work consists of the file siunitx.dtx % % The usual preliminaries. % \begin{macrocode} -\ProvidesExplPackage {siunitx} {2012/08/28} {2.5h} +\ProvidesExplPackage {siunitx} {2012/09/11} {2.5i} {A comprehensive (SI) units package} % \end{macrocode} % @@ -5903,7 +5905,7 @@ This work consists of the file siunitx.dtx { \cs_set:Npn \@@_font_weight: { \lseries } } } \cs_new_protected:Npn \@@_detect_font_weight_text: { - \tl_set:Nx \l_@@_tmpa_tl { \tl_head:V \f@series } + \tl_set:Nx \l_@@_tmpa_tl { \tl_head:N \f@series } \str_if_eq:VnT \l_@@_tmpa_tl { b } { \cs_set:Npn \@@_font_weight: @@ -7593,12 +7595,12 @@ This work consists of the file siunitx.dtx { \str_if_eq:nnTF {#1} { 0 } { - \tl_set:Nf \l_@@_tmpa_tl - { \tl_tail:V \l_@@_tmpa_tl } + \tl_set:Nx \l_@@_tmpa_tl + { \tl_tail:N \l_@@_tmpa_tl } \tl_if_empty:NF \l_@@_tmpb_tl { - \tl_set:Nf \l_@@_tmpb_tl - { \tl_tail:V \l_@@_tmpb_tl } + \tl_set:Nx \l_@@_tmpb_tl + { \tl_tail:N \l_@@_tmpb_tl } } } { \tl_map_break: } @@ -8049,7 +8051,7 @@ This work consists of the file siunitx.dtx \int_compare:nNnF \l_@@_round_int > \c_one { \int_set:Nn \l_@@_tmp_int - { \tl_head:V \l_@@_round_integer_in_tl } + { \tl_head:N \l_@@_round_integer_in_tl } \@@_number_process_round_up: \int_compare:nNnTF \l_@@_round_int = \c_one { @@ -8068,7 +8070,7 @@ This work consists of the file siunitx.dtx } \int_decr:N \l_@@_round_int \tl_set:Nx \l_@@_round_integer_in_tl - { \tl_tail:V \l_@@_round_integer_in_tl } + { \tl_tail:N \l_@@_round_integer_in_tl } \tl_if_empty:NF \l_@@_round_integer_in_tl { \@@_number_process_figures_integer: } } @@ -8435,7 +8437,7 @@ This work consists of the file siunitx.dtx { \prop_get:NnNT \l_@@_number_in_prop { #1 -decimal } \l_@@_tmpa_tl { - \int_compare:nNnTF { \tl_head:V \l_@@_tmpa_tl } > \c_four + \int_compare:nNnTF { \tl_head:N \l_@@_tmpa_tl } > \c_four { \prop_get:NnNTF \l_@@_number_in_prop { #1 -integer } \l_@@_tmpb_tl @@ -8445,7 +8447,7 @@ This work consists of the file siunitx.dtx \bool_if:NF \l_@@_round_half_up_bool { \int_compare:nNnT - { 0 \tl_tail:V \l_@@_tmpa_tl } = \c_zero + { 0 \tl_tail:N \l_@@_tmpa_tl } = \c_zero { \int_if_odd:nT \l_@@_tmpb_tl { @@ -8540,9 +8542,9 @@ This work consists of the file siunitx.dtx \cs_new_protected:Npn \@@_number_process_places_integer:n #1 { \int_set:Nn \l_@@_tmp_int - { \tl_head:V \l_@@_round_integer_in_tl } + { \tl_head:N \l_@@_round_integer_in_tl } \tl_set:Nx \l_@@_round_integer_in_tl - { \tl_tail:V \l_@@_round_integer_in_tl } + { \tl_tail:N \l_@@_round_integer_in_tl } \@@_number_process_round_up: \bool_set_false:N \l_@@_round_bool \int_compare:nNnT \l_@@_tmp_int = \c_ten @@ -8595,9 +8597,9 @@ This work consists of the file siunitx.dtx \int_compare:nNnF \l_@@_round_int > \c_one { \@@_number_process_round_decimal_aux: } \tl_put_right:Nx \l_@@_round_discard_tl - { \tl_head:V \l_@@_round_decimal_in_tl } + { \tl_head:N \l_@@_round_decimal_in_tl } \tl_set:Nx \l_@@_round_decimal_in_tl - { \tl_tail:V \l_@@_round_decimal_in_tl } + { \tl_tail:N \l_@@_round_decimal_in_tl } \int_decr:N \l_@@_round_int } % \end{macrocode} @@ -8611,7 +8613,7 @@ This work consists of the file siunitx.dtx \cs_new_protected:Npn \@@_number_process_round_decimal_aux: { \int_set:Nn \l_@@_tmp_int - { \tl_head:V \l_@@_round_decimal_in_tl } + { \tl_head:N \l_@@_round_decimal_in_tl } \@@_number_process_round_up: \int_compare:nNnTF \l_@@_round_int = \c_one { @@ -14677,7 +14679,9 @@ This work consists of the file siunitx.dtx { \@@_table_print_S_reserved_mantissa_uncert_not_aligned: } } { - \@@_table_print_S_reserved_store_fill:n + \cs_set_eq:NN \@@_table_print_S_reserved_store_fill:n + \@@_table_print_S_reserved_store_fill_mid:n + \@@_table_print_S_reserved_store_fill:n { \box_wd:N \l_@@_tmp_box } } } @@ -16481,7 +16485,7 @@ This work consists of the file siunitx.dtx % \end{macrocode} % % \begin{macrocode} -\ProvidesExplFile {siunitx-version-1.cfg} {2012/08/28} {2.5h} +\ProvidesExplFile {siunitx-version-1.cfg} {2012/09/11} {2.5i} {siunitx: Version 1 settings} % \end{macrocode} % @@ -17426,7 +17430,7 @@ This work consists of the file siunitx.dtx % \end{macrocode} % % \begin{macrocode} -\ProvidesExplFile {siunitx-abbreviations.cfg} {2012/08/28} {2.5h} +\ProvidesExplFile {siunitx-abbreviations.cfg} {2012/09/11} {2.5i} {siunitx: Abbreviated units} % \end{macrocode} % @@ -17608,7 +17612,7 @@ This work consists of the file siunitx.dtx % \end{macrocode} % % \begin{macrocode} -\ProvidesExplFile {siunitx-binary.cfg} {2012/08/28} {2.5h} +\ProvidesExplFile {siunitx-binary.cfg} {2012/09/11} {2.5i} {siunitx: Binary units} % \end{macrocode} % |