summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-09-11 23:05:43 +0000
committerKarl Berry <karl@freefriends.org>2012-09-11 23:05:43 +0000
commitf67286ed339e9c12d6f2e1b17636c307930045aa (patch)
tree26d62fe9ec220e69aff4837cc163b63f8eacfe56 /Master/texmf-dist
parent4ccf8917dd7207bd3f86aae8bc3531661080bc23 (diff)
siunitx (11sep12)
git-svn-id: svn://tug.org/texlive/trunk@27650 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/siunitx/siunitx.pdfbin578199 -> 578313 bytes
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx.dtx42
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/siunitx-abbreviations.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/siunitx-binary.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/siunitx-version-1.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx.sty32
6 files changed, 43 insertions, 37 deletions
diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
index 4637520326a..853cf010581 100644
--- a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
+++ b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
Binary files differ
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}
%
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/siunitx-abbreviations.cfg b/Master/texmf-dist/tex/latex/siunitx/config/siunitx-abbreviations.cfg
index e62f23bc2bb..38cab47d1d1 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/siunitx-abbreviations.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/siunitx-abbreviations.cfg
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% ---------------------------------------------------------------
%%
-\ProvidesExplFile {siunitx-abbreviations.cfg} {2012/08/28} {2.5h}
+\ProvidesExplFile {siunitx-abbreviations.cfg} {2012/09/11} {2.5i}
{siunitx: Abbreviated units}
\DeclareSIUnit \A { \ampere }
\DeclareSIUnit \pA { \pico \ampere }
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/siunitx-binary.cfg b/Master/texmf-dist/tex/latex/siunitx/config/siunitx-binary.cfg
index 85ecafeed6a..5c783bb44df 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/siunitx-binary.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/siunitx-binary.cfg
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% ---------------------------------------------------------------
%%
-\ProvidesExplFile {siunitx-binary.cfg} {2012/08/28} {2.5h}
+\ProvidesExplFile {siunitx-binary.cfg} {2012/09/11} {2.5i}
{siunitx: Binary units}
\DeclareBinaryPrefix \kibi { Ki } { 10 }
\DeclareBinaryPrefix \mebi { Mi } { 20 }
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/siunitx-version-1.cfg b/Master/texmf-dist/tex/latex/siunitx/config/siunitx-version-1.cfg
index db90f559ace..0eb41f37901 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/siunitx-version-1.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/siunitx-version-1.cfg
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% ---------------------------------------------------------------
%%
-\ProvidesExplFile {siunitx-version-1.cfg} {2012/08/28} {2.5h}
+\ProvidesExplFile {siunitx-version-1.cfg} {2012/09/11} {2.5i}
{siunitx: Version 1 settings}
\keys_define:nn { siunitx } {
addsign .choice: ,
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
index e2172786212..c707ddda375 100644
--- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
+++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
@@ -14,7 +14,7 @@
%% ---------------------------------------------------------------
%%
\RequirePackage{expl3}
-\ProvidesExplPackage {siunitx} {2012/08/28} {2.5h}
+\ProvidesExplPackage {siunitx} {2012/09/11} {2.5i}
{A comprehensive (SI) units package}
\@ifpackagelater { expl3 } { 2012/07/16 }
{ }
@@ -514,7 +514,7 @@
{ \cs_set:Npn \__siunitx_font_weight: { \lseries } }
}
\cs_new_protected:Npn \__siunitx_detect_font_weight_text: {
- \tl_set:Nx \l__siunitx_tmpa_tl { \tl_head:V \f@series }
+ \tl_set:Nx \l__siunitx_tmpa_tl { \tl_head:N \f@series }
\str_if_eq:VnT \l__siunitx_tmpa_tl { b }
{
\cs_set:Npn \__siunitx_font_weight:
@@ -1610,12 +1610,12 @@
{
\str_if_eq:nnTF {#1} { 0 }
{
- \tl_set:Nf \l__siunitx_tmpa_tl
- { \tl_tail:V \l__siunitx_tmpa_tl }
+ \tl_set:Nx \l__siunitx_tmpa_tl
+ { \tl_tail:N \l__siunitx_tmpa_tl }
\tl_if_empty:NF \l__siunitx_tmpb_tl
{
- \tl_set:Nf \l__siunitx_tmpb_tl
- { \tl_tail:V \l__siunitx_tmpb_tl }
+ \tl_set:Nx \l__siunitx_tmpb_tl
+ { \tl_tail:N \l__siunitx_tmpb_tl }
}
}
{ \tl_map_break: }
@@ -1931,7 +1931,7 @@
\int_compare:nNnF \l__siunitx_round_int > \c_one
{
\int_set:Nn \l__siunitx_tmp_int
- { \tl_head:V \l__siunitx_round_integer_in_tl }
+ { \tl_head:N \l__siunitx_round_integer_in_tl }
\__siunitx_number_process_round_up:
\int_compare:nNnTF \l__siunitx_round_int = \c_one
{
@@ -1950,7 +1950,7 @@
}
\int_decr:N \l__siunitx_round_int
\tl_set:Nx \l__siunitx_round_integer_in_tl
- { \tl_tail:V \l__siunitx_round_integer_in_tl }
+ { \tl_tail:N \l__siunitx_round_integer_in_tl }
\tl_if_empty:NF \l__siunitx_round_integer_in_tl
{ \__siunitx_number_process_figures_integer: }
}
@@ -2232,7 +2232,7 @@
{
\prop_get:NnNT \l__siunitx_number_in_prop { #1 -decimal } \l__siunitx_tmpa_tl
{
- \int_compare:nNnTF { \tl_head:V \l__siunitx_tmpa_tl } > \c_four
+ \int_compare:nNnTF { \tl_head:N \l__siunitx_tmpa_tl } > \c_four
{
\prop_get:NnNTF \l__siunitx_number_in_prop { #1 -integer }
\l__siunitx_tmpb_tl
@@ -2242,7 +2242,7 @@
\bool_if:NF \l__siunitx_round_half_up_bool
{
\int_compare:nNnT
- { 0 \tl_tail:V \l__siunitx_tmpa_tl } = \c_zero
+ { 0 \tl_tail:N \l__siunitx_tmpa_tl } = \c_zero
{
\int_if_odd:nT \l__siunitx_tmpb_tl
{
@@ -2321,9 +2321,9 @@
\cs_new_protected:Npn \__siunitx_number_process_places_integer:n #1
{
\int_set:Nn \l__siunitx_tmp_int
- { \tl_head:V \l__siunitx_round_integer_in_tl }
+ { \tl_head:N \l__siunitx_round_integer_in_tl }
\tl_set:Nx \l__siunitx_round_integer_in_tl
- { \tl_tail:V \l__siunitx_round_integer_in_tl }
+ { \tl_tail:N \l__siunitx_round_integer_in_tl }
\__siunitx_number_process_round_up:
\bool_set_false:N \l__siunitx_round_bool
\int_compare:nNnT \l__siunitx_tmp_int = \c_ten
@@ -2360,15 +2360,15 @@
\int_compare:nNnF \l__siunitx_round_int > \c_one
{ \__siunitx_number_process_round_decimal_aux: }
\tl_put_right:Nx \l__siunitx_round_discard_tl
- { \tl_head:V \l__siunitx_round_decimal_in_tl }
+ { \tl_head:N \l__siunitx_round_decimal_in_tl }
\tl_set:Nx \l__siunitx_round_decimal_in_tl
- { \tl_tail:V \l__siunitx_round_decimal_in_tl }
+ { \tl_tail:N \l__siunitx_round_decimal_in_tl }
\int_decr:N \l__siunitx_round_int
}
\cs_new_protected:Npn \__siunitx_number_process_round_decimal_aux:
{
\int_set:Nn \l__siunitx_tmp_int
- { \tl_head:V \l__siunitx_round_decimal_in_tl }
+ { \tl_head:N \l__siunitx_round_decimal_in_tl }
\__siunitx_number_process_round_up:
\int_compare:nNnTF \l__siunitx_round_int = \c_one
{
@@ -6401,6 +6401,8 @@
{ \__siunitx_table_print_S_reserved_mantissa_uncert_not_aligned: }
}
{
+ \cs_set_eq:NN \__siunitx_table_print_S_reserved_store_fill:n
+ \__siunitx_table_print_S_reserved_store_fill_mid:n
\__siunitx_table_print_S_reserved_store_fill:n
{ \box_wd:N \l__siunitx_tmp_box }
}