summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/siunitx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-12-31 22:39:32 +0000
committerKarl Berry <karl@freefriends.org>2015-12-31 22:39:32 +0000
commit6d1d56a11a1ad5479f3b834f00d94693b8aaeb6e (patch)
tree6867447f5ec58bd2ce66c30b5ace295cd43f6960 /Master/texmf-dist/tex/latex/siunitx
parent4b6e5f03ec37ab653671e7ce529afe4dda6dbdfa (diff)
siunitx (31dec15)
git-svn-id: svn://tug.org/texlive/trunk@39248 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.sty131
4 files changed, 68 insertions, 69 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg b/Master/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg
index 78e2219a582..e9590277b27 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/10/15} {2.6m}
+\ProvidesExplFile {siunitx-abbreviations.cfg} {2015/12/31} {2.6n}
{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 ab1b8e87eb4..1642c25aa0d 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/10/15} {2.6m}
+\ProvidesExplFile {siunitx-binary.cfg} {2015/12/31} {2.6n}
{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 5d693907923..285607820c6 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/10/15} {2.6m}
+\ProvidesExplFile {siunitx-version-1.cfg} {2015/12/31} {2.6n}
{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 b29073d76b1..5c2d2ad8866 100644
--- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
+++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
@@ -15,7 +15,7 @@
%%
\RequirePackage{expl3}[2015/09/11]
\RequirePackage{xparse}
-\ProvidesExplPackage {siunitx} {2015/10/15} {2.6m}
+\ProvidesExplPackage {siunitx} {2015/12/31} {2.6n}
{A comprehensive (SI) units package}
\@ifpackagelater { expl3 } { 2015/09/11 }
{ }
@@ -6880,7 +6880,7 @@
math-angstrom = \text { \AA },
math-arcminute = { } ^ { \prime },
math-arcsecond = { } ^ { \prime \prime },
- math-celsius = { } ^ { \circ } \kern - \scriptspace \mathrm { C },
+ math-celsius = { } ^ { \circ } \kern - \scriptspace C,
math-degree = { } ^ { \circ },
math-micro = \text { \c__siunitx_mu_tl },
math-ohm = \text { \ensuremath { \c__siunitx_omega_tl } },
@@ -6899,7 +6899,7 @@
text-arcminute = \ensuremath { { } ^ { \prime } },
text-arcsecond = \ensuremath { { } ^ { \prime \prime } },
text-celsius =
- \ensuremath { { } ^ { \circ } \kern - \scriptspace \text { C } },
+ \ensuremath { { } ^ { \circ } \kern - \scriptspace C },
text-degree = \ensuremath { { } ^ { \circ } },
text-micro = \c__siunitx_mu_tl ,
text-ohm = \ensuremath { \c__siunitx_omega_tl },
@@ -6925,82 +6925,81 @@
\__siunitx_symbol_new:n { Degree }
\__siunitx_symbol_new:n { Micro }
\__siunitx_symbol_new:n { Ohm }
-\bool_if:nT
- {
- \sys_if_engine_luatex_p: ||
- \sys_if_engine_xetex_p:
- }
+\AtBeginDocument
{
- \AtBeginDocument
+ \@ifpackageloaded { fontspec }
{
- \@ifpackageloaded { fontspec }
+ \int_const:Nn \c__siunitx_degree_int { 176 }
+ \@ifpackageloaded { unicode-math }
+ { \int_const:Nn \c__siunitx_micro_int { "003BC } }
+ { \int_const:Nn \c__siunitx_micro_int { "000B5 } }
+ \int_const:Nn \c__siunitx_angstrom_int { "0212B }
+ \int_const:Nn \c__siunitx_ohm_int { "003A9 }
+ \bool_if:NT \c_sys_engine_xetex_bool
{
- \int_const:Nn \c__siunitx_degree_int { 176 }
- \@ifpackageloaded { unicode-math }
- { \int_const:Nn \c__siunitx_micro_int { "003BC } }
- { \int_const:Nn \c__siunitx_micro_int { "000B5 } }
- \int_const:Nn \c__siunitx_angstrom_int { "0212B }
- \int_const:Nn \c__siunitx_ohm_int { "003A9 }
\__siunitx_option_unchanged:Nnn \l__siunitx_angstrom_math_tl
{ \text { \AA } }
{ \tex_char:D \c__siunitx_angstrom_int }
- \__siunitx_option_unchanged:Nnn \l__siunitx_celsius_math_tl
- { { } ^ { \circ } \kern - \scriptspace \text { C } }
- {
- \tex_char:D \c__siunitx_degree_int
- C
- }
- \__siunitx_option_unchanged:Nnn \l__siunitx_degree_math_tl
- { { } ^ { \circ } }
- { \tex_char:D \c__siunitx_degree_int }
- \__siunitx_option_unchanged:Nnn \l__siunitx_micro_math_tl
- { \text { \c__siunitx_mu_tl } }
- { \tex_char:D \c__siunitx_micro_int }
- \__siunitx_option_unchanged:Nnn \l__siunitx_ohm_math_tl
- { \text { \ensuremath { \c__siunitx_omega_tl } } }
- { \tex_char:D \c__siunitx_ohm_int }
+ }
+ \__siunitx_option_unchanged:Nnn \l__siunitx_celsius_math_tl
+ { { } ^ { \circ } \kern - \scriptspace C }
+ {
+ \tex_char:D \c__siunitx_degree_int
+ C
+ }
+ \__siunitx_option_unchanged:Nnn \l__siunitx_degree_math_tl
+ { { } ^ { \circ } }
+ { \tex_char:D \c__siunitx_degree_int }
+ \__siunitx_option_unchanged:Nnn \l__siunitx_micro_math_tl
+ { \text { \c__siunitx_mu_tl } }
+ { \tex_char:D \c__siunitx_micro_int }
+ \__siunitx_option_unchanged:Nnn \l__siunitx_ohm_math_tl
+ { \text { \ensuremath { \c__siunitx_omega_tl } } }
+ { \tex_char:D \c__siunitx_ohm_int }
+ \bool_if:NT \c_sys_engine_xetex_bool
+ {
\__siunitx_option_unchanged:Nnn \l__siunitx_angstrom_text_tl
{ \AA }
{ \tex_char:D \c__siunitx_angstrom_int }
- \__siunitx_option_unchanged:Nnn \l__siunitx_celsius_text_tl
- {
- \ensuremath
- { { } ^ { \circ } \kern - \scriptspace \text { C } }
- }
- {
- \tex_char:D \c__siunitx_degree_int
- C
- }
- \__siunitx_option_unchanged:Nnn \l__siunitx_degree_text_tl
- { \ensuremath { { } ^ { \circ } } }
- { \tex_char:D \c__siunitx_degree_int }
- \__siunitx_option_unchanged:Nnn \l__siunitx_micro_text_tl
- { \c__siunitx_mu_tl }
- { \tex_char:D \c__siunitx_micro_int }
- \__siunitx_option_unchanged:Nnn \l__siunitx_ohm_text_tl
- { \ensuremath { \c__siunitx_omega_tl } }
- { \tex_char:D \c__siunitx_ohm_int }
}
- { }
- \@ifpackageloaded { unicode-math }
+ \__siunitx_option_unchanged:Nnn \l__siunitx_celsius_text_tl
{
- \int_const:Nn \c__siunitx_arcminute_int { 8242 }
- \int_const:Nn \c__siunitx_arcsecond_int { 8243 }
- \__siunitx_option_unchanged:Nnn \l__siunitx_arcminute_math_tl
- { { } ^ { \prime } }
- { \ensuremath { \tex_char:D \c__siunitx_arcminute_int } }
- \__siunitx_option_unchanged:Nnn \l__siunitx_arcsecond_math_tl
- { { } ^ { \prime \prime } }
- { \ensuremath { \tex_char:D \c__siunitx_arcsecond_int } }
- \__siunitx_option_unchanged:Nnn \l__siunitx_arcminute_text_tl
- { \ensuremath { { } ^ { \prime } } }
- { \ensuremath { \tex_char:D \c__siunitx_arcminute_int } }
- \__siunitx_option_unchanged:Nnn \l__siunitx_arcsecond_text_tl
- { \ensuremath { { } ^ { \prime \prime } } }
- { \ensuremath { \tex_char:D \c__siunitx_arcsecond_int } }
+ \ensuremath
+ { { } ^ { \circ } \kern - \scriptspace C }
}
- { }
+ {
+ \tex_char:D \c__siunitx_degree_int
+ C
+ }
+ \__siunitx_option_unchanged:Nnn \l__siunitx_degree_text_tl
+ { \ensuremath { { } ^ { \circ } } }
+ { \tex_char:D \c__siunitx_degree_int }
+ \__siunitx_option_unchanged:Nnn \l__siunitx_micro_text_tl
+ { \c__siunitx_mu_tl }
+ { \tex_char:D \c__siunitx_micro_int }
+ \__siunitx_option_unchanged:Nnn \l__siunitx_ohm_text_tl
+ { \ensuremath { \c__siunitx_omega_tl } }
+ { \tex_char:D \c__siunitx_ohm_int }
}
+ { }
+ \@ifpackageloaded { unicode-math }
+ {
+ \int_const:Nn \c__siunitx_arcminute_int { 8242 }
+ \int_const:Nn \c__siunitx_arcsecond_int { 8243 }
+ \__siunitx_option_unchanged:Nnn \l__siunitx_arcminute_math_tl
+ { { } ^ { \prime } }
+ { \ensuremath { \tex_char:D \c__siunitx_arcminute_int } }
+ \__siunitx_option_unchanged:Nnn \l__siunitx_arcsecond_math_tl
+ { { } ^ { \prime \prime } }
+ { \ensuremath { \tex_char:D \c__siunitx_arcsecond_int } }
+ \__siunitx_option_unchanged:Nnn \l__siunitx_arcminute_text_tl
+ { \ensuremath { { } ^ { \prime } } }
+ { \ensuremath { \tex_char:D \c__siunitx_arcminute_int } }
+ \__siunitx_option_unchanged:Nnn \l__siunitx_arcsecond_text_tl
+ { \ensuremath { { } ^ { \prime \prime } } }
+ { \ensuremath { \tex_char:D \c__siunitx_arcsecond_int } }
+ }
+ { }
}
\clist_new:N \l__siunitx_pgf_link_clist
\cs_new_protected:Npn \__siunitx_pgf_link: {