summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/siunitx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-06-17 22:42:04 +0000
committerKarl Berry <karl@freefriends.org>2015-06-17 22:42:04 +0000
commit3bbdd3af65aaba1e1e9b25e12eed598c032ac9b8 (patch)
tree5fe4ae93da09917efe81bf79374c7238e079ea6a /Master/texmf-dist/tex/latex/siunitx
parent0904e30ef59894e483d50ac5a550070517845b60 (diff)
siunitx (17jun15)
git-svn-id: svn://tug.org/texlive/trunk@37589 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/siunitx')
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx.sty36
4 files changed, 26 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg b/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg
index 9c72465c64a..95bc183c0fe 100644
--- a/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% ---------------------------------------------------------------
%%
-\ProvidesExplFile {siunitx-abbreviations.cfg} {2015/01/21} {2.6e}
+\ProvidesExplFile {siunitx-abbreviations.cfg} {2015/06/16} {2.6f}
{siunitx: Abbreviated units}
\DeclareSIUnit \A { \ampere }
\DeclareSIUnit \pA { \pico \ampere }
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg b/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg
index 76d0cb496c3..a94c2fcfaf5 100644
--- a/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/siunitx-binary.cfg
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% ---------------------------------------------------------------
%%
-\ProvidesExplFile {siunitx-binary.cfg} {2015/01/21} {2.6e}
+\ProvidesExplFile {siunitx-binary.cfg} {2015/06/16} {2.6f}
{siunitx: Binary units}
\DeclareBinaryPrefix \kibi { Ki } { 10 }
\DeclareBinaryPrefix \mebi { Mi } { 20 }
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg b/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg
index acdf0c6c731..a4d731aff51 100644
--- a/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/siunitx-version-1.cfg
@@ -13,7 +13,7 @@
%% See http://www.latex-project.org/lppl.txt
%% ---------------------------------------------------------------
%%
-\ProvidesExplFile {siunitx-version-1.cfg} {2015/01/21} {2.6e}
+\ProvidesExplFile {siunitx-version-1.cfg} {2015/06/16} {2.6f}
{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 f314066fa01..51fd33ee737 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,xparse}
-\ProvidesExplPackage {siunitx} {2015/01/21} {2.6e}
+\ProvidesExplPackage {siunitx} {2015/06/16} {2.6f}
{A comprehensive (SI) units package}
\@ifpackagelater { expl3 } { 2012/11/21 }
{ }
@@ -77,16 +77,12 @@
\AtBeginDocument {
\@ifpackageloaded { fontspec }
{
- \@ifpackageloaded { mathspec }
+ \@ifpackageloaded { eulervm }
{ }
{
- \@ifpackageloaded { eulervm }
- { }
- {
- \int_const:Nn \c__siunitx_minus_int { 8722 }
- \tl_set:Nn \c__siunitx_minus_tl
- { \tex_char:D \c__siunitx_minus_int }
- }
+ \int_const:Nn \c__siunitx_minus_int { 8722 }
+ \tl_set:Nn \c__siunitx_minus_tl
+ { \tex_char:D \c__siunitx_minus_int }
}
}
{ }
@@ -370,7 +366,11 @@
}
{ }
}
-\cs_new_eq:NN \__siunitx_textsuperscript:n \textsuperscript
+\cs_new_protected:Npn \__siunitx_textsuperscript:n #1
+ {
+ \m@th
+ \ensuremath { ^ { \mbox { \fontsize \sf@size \z@ \selectfont #1 } } }
+ }
\bool_new:N \l__siunitx_display_math_bool
\tex_everydisplay:D \exp_after:wN
{
@@ -5751,7 +5751,7 @@
{ \cs_set_eq:NN \__siunitx_table_collect_next: ##1 }
}
\tl_map_function:nN
- { \cs:w \scan_stop: \__siunitx_table_print: }
+ { \cs:w \__siunitx_table_print: }
\__siunitx_table_collect_not_braced_aux_ii:N
\token_if_eq_meaning:NNT \__siunitx_table_collect_next:
\__siunitx_table_collect_get:
@@ -6048,10 +6048,18 @@
table-parse-only .bool_set:N = \l__siunitx_table_parse_only_bool,
table-space-text-pre .tl_set:N = \l__siunitx_table_pre_tl,
table-space-text-post .tl_set:N = \l__siunitx_table_post_tl,
- table-sign-exponent .code:n =
+ table-sign-exponent .choice:,
+ table-sign-exponent / true .code:n =
{ \prop_put:Nnn \l__siunitx_table_model_prop { exponent-sign } { - } },
- table-sign-mantissa .code:n =
+ table-sign-exponent / false .code:n =
+ { \prop_remove:Nn \l__siunitx_table_model_prop { exponent-sign } },
+ table-sign-exponent .default:n = true,
+ table-sign-mantissa .choice:,
+ table-sign-mantissa / true .code:n =
{ \prop_put:Nnn \l__siunitx_table_model_prop { mantissa-sign } { - } },
+ table-sign-mantissa / false .code:n =
+ { \prop_remove:Nn \l__siunitx_table_model_prop { mantissa-sign } },
+ table-sign-mantissa .default:n = true,
}
\keys_define:nn { siunitx }
{
@@ -7564,6 +7572,8 @@
{ to~(numerical~range) } { \`a }
\providetranslation [ to = German ]
{ to~(numerical~range) } { bis }
+ \providetranslation [ to = Spanish ]
+ { to~(numerical~range) } { a }
\sisetup
{
list-final-separator = { ~ \translate { and } ~ },