summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/siunitx/siunitx.sty')
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx.sty44
1 files changed, 39 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
index 1f180944797..dc8f165b13d 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} {2010/07/04} {2.0k}
+\ProvidesExplPackage {siunitx} {2010/07/09} {2.0m}
{A comprehensive (SI) units package}
\msg_set:nnnn { siunitx } { incompatible-package }
{ Package~'#1'~incompatible. }
@@ -118,7 +118,6 @@
\siunitx_tmp:w { fixsf }
\siunitx_tmp:w { fraction }
\siunitx_tmp:w { inlinebold }
-\siunitx_tmp:w { locale }
\siunitx_tmp:w { loctolang }
\siunitx_tmp:w { log }
\siunitx_tmp:w { load }
@@ -179,7 +178,7 @@
\siunitx_tmp:w { sign }
\siunitx_tmp:w { slash }
\siunitx_tmp:w { stickyper }
-\siunitx_tmp:w { stricarc }
+\siunitx_tmp:w { strictarc }
\siunitx_tmp:w { tabalign }
\siunitx_tmp:w { tabalignexp }
\siunitx_tmp:w { tabautofit }
@@ -3336,9 +3335,10 @@
}
}
\AtBeginDocument {
- \tl_map_function:nN { \bar \color \fg \ng \pm }
+ \tl_map_function:nN { \bar \color \ng \pm }
\siunitx_protect_symbols:N
}
+\tl_put_right:Nn \document { \siunitx_protect_symbols:N \fg }
\cs_new_protected_nopar:Npn \siunitx_protect_symbols:N #1 {
\cs_if_exist:NT #1
{
@@ -5891,7 +5891,41 @@
{ \msg_warning:nnx { siunitx } { option-not-available } {#1} }
}
}
-
+\keys_define:nn { siunitx } {
+ locale .choice:,
+ locale /
+ DE .meta:n =
+ {
+ exponent-product = \cdot ,
+ inter-unit-separator = { \, } ,
+ output-decimal-marker = { , } ,
+ },
+ locale /
+ FR .meta:n =
+ {
+ exponent-product = \times ,
+ inter-unit-separator = { \, } ,
+ output-decimal-marker = { , } ,
+ },
+ locale /
+ UK .meta:n =
+ {
+ exponent-product = \times ,
+ inter-unit-separator = \, ,
+ output-decimal-marker = . ,
+ },
+ locale /
+ US .meta:n = { locale = UK },
+ locale /
+ USA .meta:n = { locale = UK },
+ locale /
+ ZA .meta:n =
+ {
+ exponent-product = \times ,
+ inter-unit-separator = \cdot ,
+ output-decimal-marker = { , } ,
+ },
+}
\file_if_exist:nT { translator.sty }
{
\RequirePackage { translator }