diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/siunitx/config/siunitx-version-1.cfg')
-rw-r--r-- | Master/texmf-dist/tex/latex/siunitx/config/siunitx-version-1.cfg | 89 |
1 files changed, 41 insertions, 48 deletions
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 01b5b852b83..2fea1ee48d2 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} {2011/04/04} {2.1p} +\ProvidesExplFile {siunitx-version-1.cfg} {2011/04/13} {2.2} {siunitx: Version 1 settings} \keys_set:nn { siunitx } { load-configurations = { abbreviations , binary } } @@ -519,52 +519,52 @@ unitsep .choice: , unitsep / cdot .meta:n = - { inter-unit-separator = { } \cdot { } }, + { inter-unit-product = { } \cdot { } }, unitsep / - comma .meta:n = { inter-unit-separator = { {,} } }, + comma .meta:n = { inter-unit-product = { {,} } }, unitsep / - fullstop .meta:n = { inter-unit-separator = { { . } } }, + fullstop .meta:n = { inter-unit-product = { { . } } }, unitsep / - med .meta:n = { inter-unit-separator = \: }, + med .meta:n = { inter-unit-product = \: }, unitsep / - medium .meta:n = { inter-unit-separator = \: }, + medium .meta:n = { inter-unit-product = \: }, unitsep / - none .meta:n = { inter-unit-separator = }, + none .meta:n = { inter-unit-product = }, unitsep / - period .meta:n = { inter-unit-separator = { { . } } }, + period .meta:n = { inter-unit-product = { { . } } }, unitsep / - space .meta:n = { inter-unit-separator = \text { ~ } }, + space .meta:n = { inter-unit-product = \text { ~ } }, unitsep / - stop .meta:n = { inter-unit-separator = { { . } } }, + stop .meta:n = { inter-unit-product = { { . } } }, unitsep / - thick .meta:n = { inter-unit-separator = \; }, + thick .meta:n = { inter-unit-product = \; }, unitsep / - thin .meta:n = { inter-unit-separator = \, }, + thin .meta:n = { inter-unit-product = \, }, unitsep / tightcdot .meta:n = - { inter-unit-separator = \bgroup \cdot \egroup }, + { inter-unit-product = \bgroup \cdot \egroup }, unitsep / tighttimes .meta:n = - { inter-unit-separator = \bgroup \times \egroup }, + { inter-unit-product = \bgroup \times \egroup }, unitsep / - times .meta:n = { inter-unit-separator = \times }, + times .meta:n = { inter-unit-product = \times }, unitsep / - unknown .meta:n = { inter-unit-separator = #1 }, + unknown .meta:n = { inter-unit-product = #1 }, unitspace .choice: , unitspace / - med .meta:n = { inter-unit-separator = \: }, + med .meta:n = { inter-unit-product = \: }, unitspace / - medium .meta:n = { inter-unit-separator = \: }, + medium .meta:n = { inter-unit-product = \: }, unitspace / - none .meta:n = { inter-unit-separator = }, + none .meta:n = { inter-unit-product = }, unitspace / - space .meta:n = { inter-unit-separator = \text { ~ } }, + space .meta:n = { inter-unit-product = \text { ~ } }, unitspace / - thick .meta:n = { inter-unit-separator = \; }, + thick .meta:n = { inter-unit-product = \; }, unitspace / - thin .meta:n = { inter-unit-separator = \, }, + thin .meta:n = { inter-unit-product = \, }, unitspace / - unknown .meta:n = { inter-unit-separator = #1 }, + unknown .meta:n = { inter-unit-product = #1 }, valuecolor .meta:n = { number-color = #1 }, valuecolour .meta:n = { number-color = #1 }, valuemathrm .meta:x = @@ -583,37 +583,37 @@ valuesep .choice: , valuesep / cdot .meta:n = - { number-unit-separator = { } \cdot { } }, + { number-unit-product = { } \cdot { } }, valuesep / - comma .meta:n = { number-unit-separator = { {,} } }, + comma .meta:n = { number-unit-product = { {,} } }, valuesep / - fullstop .meta:n = { number-unit-separator = { { . } } }, + fullstop .meta:n = { number-unit-product = { { . } } }, valuesep / - med .meta:n = { number-unit-separator = \: }, + med .meta:n = { number-unit-product = \: }, valuesep / - medium .meta:n = { number-unit-separator = \: }, + medium .meta:n = { number-unit-product = \: }, valuesep / - none .meta:n = { number-unit-separator = }, + none .meta:n = { number-unit-product = }, valuesep / - period .meta:n = { number-unit-separator = { { . } } }, + period .meta:n = { number-unit-product = { { . } } }, valuesep / - space .meta:n = { number-unit-separator = \text { ~ } }, + space .meta:n = { number-unit-product = \text { ~ } }, valuesep / - stop .meta:n = { number-unit-separator = { { . } } }, + stop .meta:n = { number-unit-product = { { . } } }, valuesep / - thick .meta:n = { number-unit-separator = \; }, + thick .meta:n = { number-unit-product = \; }, valuesep / - thin .meta:n = { number-unit-separator = \, }, + thin .meta:n = { number-unit-product = \, }, valuesep / tightcdot .meta:n = - { number-unit-separator = \bgroup \cdot \egroup }, + { number-unit-product = \bgroup \cdot \egroup }, valuesep / tighttimes .meta:n = - { number-unit-separator = \bgroup \times \egroup }, + { number-unit-product = \bgroup \times \egroup }, valuesep / - times .meta:n = { number-unit-separator = \times }, + times .meta:n = { number-unit-product = \times }, valuesep / - unknown .meta:n = { number-unit-separator = #1 }, + unknown .meta:n = { number-unit-product = #1 }, xspace .meta:n = { use-xspace = #1 }, xspace .default:n = { true }, } @@ -628,13 +628,9 @@ free-standing-units = true , mode = math , } -\NewDocumentCommand \newunit { o m m } { - \IfNoValueTF {#1} - { \siunitx_declare_unit:Nnn #2 {#3} { } } - { \siunitx_declare_unit:Nnn #2 {#3} {#1} } -} -\cs_new_eq:NN \renewunit \newunit -\cs_new_eq:NN \provideunit \newunit +\cs_new_eq:NN \newunit \DeclareSIUnit +\cs_new_eq:NN \renewunit \DeclareSIUnit +\cs_new_eq:NN \provideunit \DeclareSIUnit \NewDocumentCommand \newpower { o m m } { \IfNoValueTF {#1} { \DeclareSIPrePower #2 {#3} } @@ -742,7 +738,6 @@ \str_if_eq:nnT {#1} { synchem } { \keys_set:nn { siunitx } { load-configurations = chemistry } } } -%% %% Copyright (C) 2008-2011 by %% Joseph Wright <joseph.wright@morningstar2.co.uk> %% @@ -750,9 +745,7 @@ %% the LaTeX Project Public License (LPPL), either version 1.3c of %% this license or (at your option) any later version. The latest %% version of this license is in the file: -%% %% http://www.latex-project.org/lppl.txt -%% %% This work is "maintained" (as per LPPL maintenance status) by %% Joseph Wright. %% |