summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/siunitx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-03-06 21:59:59 +0000
committerKarl Berry <karl@freefriends.org>2017-03-06 21:59:59 +0000
commit0c1a0cfc9a845a2844c9abf91aa39fec61b3a32a (patch)
tree8065d91f5121f253e7ff73a59a2b0ff96ee436d1 /Master/texmf-dist/source/latex/siunitx
parentdeca9e355916b23f08e4bbe1cb972adf3658f9ff (diff)
siunitx (6mar17)
git-svn-id: svn://tug.org/texlive/trunk@43419 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/siunitx')
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx.dtx33
1 files changed, 28 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
index 6b34fb184b6..739d35751d2 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
@@ -3455,6 +3455,7 @@ This work consists of the file siunitx.dtx
% reserved for them.
%
%\DescribeOption{table-format}
+% \changes{v2.7e}{2017/03/06}{Allow \texttt{+} to indicate a sign}
% As a short cut for the preceding options, \pkg{siunitx} also
% provides the \opt{table-format} option. This can be used to give the
% same information about the space to reserve for a number in a
@@ -5170,7 +5171,7 @@ This work consists of the file siunitx.dtx
% package over time, where this is appropriate.
%
% \begin{variable}{\l_siunitx_unit_symbolic_seq}
-% This sequence contains all of the symbolic \meta{unit} names defined :
+% This sequence contains all of the symbolic \meta{unit} names defined:
% these will be in the form of control sequences such as |\kilogram|.
% The order of the sequence is unimportant.
% \end{variable}
@@ -5204,7 +5205,7 @@ This work consists of the file siunitx.dtx
%
% The usual preliminaries.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2017/02/19} {2.7d}
+\ProvidesExplPackage {siunitx} {2017/03/06} {2.7e}
{A comprehensive (SI) units package}
% \end{macrocode}
%
@@ -14329,6 +14330,8 @@ This work consists of the file siunitx.dtx
{
table-format .code:n =
{
+ \bool_set_eq:NN \l_@@_process_plus_saved_bool \l_@@_process_plus_bool
+ \bool_set_true:N \l_@@_process_plus_bool
\@@_number_in_parse:n {#1}
\prop_set_eq:NN \l_@@_table_model_prop \l_@@_number_in_prop
\tl_clear:N \l_@@_tmpa_tl
@@ -14350,17 +14353,37 @@ This work consists of the file siunitx.dtx
\clist_put_right:Nx \l_@@_tmpa_tl
{ table-figures-uncertainty = \l_@@_tmpb_tl }
}
+ \prop_if_in:NnTF \l_@@_number_in_prop { mantissa-sign }
+ {
+ \clist_put_right:Nn \l_@@_tmpa_tl
+ { table-sign-mantissa =true }
+ }
+ {
+ \clist_put_right:Nn \l_@@_tmpa_tl
+ { table-sign-mantissa =false }
+ }
\prop_get:NnNT \l_@@_number_in_prop { exponent-integer }
\l_@@_tmpb_tl
{
\clist_put_right:Nx \l_@@_tmpa_tl
{ table-figures-exponent = \l_@@_tmpb_tl }
}
+ \prop_if_in:NnTF \l_@@_number_in_prop { exponent-sign }
+ {
+ \clist_put_right:Nn \l_@@_tmpa_tl
+ { table-sign-exponent =true }
+ }
+ {
+ \clist_put_right:Nn \l_@@_tmpa_tl
+ { table-sign-exponent =false }
+ }
\clist_put_right:Nn \l_@@_tmpa_tl
{ table-number-alignment = center }
\keys_set:nV { siunitx } \l_@@_tmpa_tl
+ \bool_set_eq:NN \l_@@_process_plus_bool \l_@@_process_plus_saved_bool
}
}
+\bool_new:N \l_@@_process_plus_saved_bool
% \end{macrocode}
%
% \begin{macro}{\@@_table_print_S:}
@@ -16806,7 +16829,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-version-1.cfg} {2017/02/19} {2.7d}
+\ProvidesExplFile {siunitx-version-1.cfg} {2017/03/06} {2.7e}
{siunitx: Version 1 settings}
% \end{macrocode}
%
@@ -17748,7 +17771,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-abbreviations.cfg} {2017/02/19} {2.7d}
+\ProvidesExplFile {siunitx-abbreviations.cfg} {2017/03/06} {2.7e}
{siunitx: Abbreviated units}
% \end{macrocode}
%
@@ -17930,7 +17953,7 @@ This work consists of the file siunitx.dtx
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplFile {siunitx-binary.cfg} {2017/02/19} {2.7d}
+\ProvidesExplFile {siunitx-binary.cfg} {2017/03/06} {2.7e}
{siunitx: Binary units}
% \end{macrocode}
%