summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/siunitx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-12-24 01:10:54 +0000
committerKarl Berry <karl@freefriends.org>2008-12-24 01:10:54 +0000
commit41a56f5b7e74229d400a0c72cb900e2b1b3875c3 (patch)
treecc8ede263d129924dd4864297dcf4018999f46bd /Master/texmf-dist/tex/latex/siunitx
parent219fecec6f6232564cea56106ba88017354f50f2 (diff)
siunitx 1.1j (22dec08)
git-svn-id: svn://tug.org/texlive/trunk@11700 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/siunitx')
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-DE.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-SIunits.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-UK.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-USA.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-ZA.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-abbr.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-accepted.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-addn.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-astro.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-binary.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-fancynum.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-fancyunits.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-geophys.cfg21
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-hep.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-hepunits.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-named.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-physical.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-prefix.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-prefixed.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-sistyle.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-synchem.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-units.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-unitsdef.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx.sty83
24 files changed, 79 insertions, 69 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-DE.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-DE.cfg
index 3668208dd3d..8890a37b38a 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-DE.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-DE.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-DE.cfg}
- [2008/11/31 v1.1h siunitx: Germany locale]
+ [2008/12/22 v1.1j siunitx: Germany locale]
\sisetup{
unitsep=cdot,
valuesep=thin,
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-SIunits.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-SIunits.cfg
index b0cc67366c9..d968c3209f7 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-SIunits.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-SIunits.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-SIunits.cfg}
- [2008/11/31 v1.1h siunitx: Emulation of
+ [2008/12/22 v1.1j siunitx: Emulation of
SIunits]
\si@emulating{SIunits}{2007/12/02 v1.36}
\sisetup{
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-UK.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-UK.cfg
index dbd8185067a..37ab4c8450b 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-UK.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-UK.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-UK.cfg}
- [2008/11/31 v1.1h siunitx: UK locale]
+ [2008/12/22 v1.1j siunitx: UK locale]
\sisetup{
unitsep=thin,
expproduct=times,
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-USA.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-USA.cfg
index bdf50331252..9c3ab903fd6 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-USA.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-USA.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-USA.cfg}
- [2008/11/31 v1.1h siunitx: USA locale]
+ [2008/12/22 v1.1j siunitx: USA locale]
\sisetup{
unitsep=thin,
expproduct=times,
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-ZA.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-ZA.cfg
index 6cfa56318c8..7085d972a7a 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-ZA.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-ZA.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-ZA.cfg}
- [2008/11/31 v1.1h siunitx: South Africa locale]
+ [2008/12/22 v1.1j siunitx: South Africa locale]
\sisetup{
unitsep=cdot,
valuesep=thin,
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-abbr.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-abbr.cfg
index 3d5979b2df9..9f94721a70a 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-abbr.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-abbr.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-abbr.cfg}
- [2008/11/31 v1.1h siunitx: Abbreviated units]
+ [2008/12/22 v1.1j siunitx: Abbreviated units]
\requiresiconfigs{prefix,named,accepted,physical}
\newunit{\pA}{\pico\ampere}
\newunit{\nA}{\nano\ampere}
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-accepted.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-accepted.cfg
index a2d3e70c54c..fd56e05411d 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-accepted.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-accepted.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-accepted.cfg}
- [2008/11/31 v1.1h siunitx: SI Accepted units]
+ [2008/12/22 v1.1j siunitx: SI Accepted units]
\newunit{\minute}{min}
\newunit{\hour}{h}
\newunit{\Day}{d}
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-addn.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-addn.cfg
index a5c2f67075b..f7424cd0670 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-addn.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-addn.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-addn.cfg}
- [2008/11/31 v1.1h siunitx: SI Additional units]
+ [2008/12/22 v1.1j siunitx: SI Additional units]
\newunit{\angstrom}{\si@sym@ringA}
\newunit{\are}{a}
\newunit{\hectare}{\hecto\are}
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-astro.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-astro.cfg
index 55627fb3713..69efb9b0763 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-astro.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-astro.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-astro.cfg}
- [2008/11/31 v1.1h siunitx: Units for astronomy]
+ [2008/12/22 v1.1j siunitx: Units for astronomy]
\newunit{\parsec}{pc}
\newunit{\lightyear}{ly}
\endinput
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-binary.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-binary.cfg
index 31930ed2607..f69e3660e53 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-binary.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-binary.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-binary.cfg}
- [2008/11/31 v1.1h siunitx: Binary units]
+ [2008/12/22 v1.1j siunitx: Binary units]
\newprefix[binary]{\kibi}{10}{Ki}
\newprefix[binary]{\mebi}{20}{Mi}
\newprefix[binary]{\gibi}{30}{Gi}
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-fancynum.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-fancynum.cfg
index 1e82cf94ed2..69ade44554a 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-fancynum.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-fancynum.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-fancynum.cfg}
- [2008/11/31 v1.1h siunitx: Emulation of
+ [2008/12/22 v1.1j siunitx: Emulation of
fancynum]
\si@emulating{fancynum}{2000/08/08 0.92}
\sisetup{decimalsymbol=cdot,digitsep=comma}
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-fancyunits.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-fancyunits.cfg
index f945fa93967..407f8c7d196 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-fancyunits.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-fancyunits.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-fancyunits.cfg}
- [2008/11/31 v1.1h siunitx: Emulation of
+ [2008/12/22 v1.1j siunitx: Emulation of
fancyunits]
\si@emulating{fancyunits}{2007/02/01 v1.0.1}
\si@ifloaded{SIunits}
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-geophys.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-geophys.cfg
new file mode 100644
index 00000000000..fda72c3db07
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-geophys.cfg
@@ -0,0 +1,21 @@
+%%
+%% This is file `si-geophys.cfg',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% siunitx.dtx (with options: `geophys')
+%% ----------------------------------------------------------------
+%% The siunitx package --- A comprehensive (SI) units package
+%% Maintained by Joseph Wright
+%% E-mail: joseph.wright@morningstar2.co.uk
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ----------------------------------------------------------------
+%%
+\ProvidesFile{si-geophys.cfg}
+ [2008/12/22 v1.1j siunitx: Units for astronomy]
+\newunit{\gon}{gon}
+\endinput
+%%
+%% End of file `si-geophys.cfg'.
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-hep.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-hep.cfg
index 939729092d2..83415e7c4ef 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-hep.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-hep.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-hep.cfg}
- [2008/11/31 v1.1h siunitx: Units for high-energy physics]
+ [2008/12/22 v1.1j siunitx: Units for high-energy physics]
\requiresiconfigs{prefix,named}
\provideunit{\micron}{\micro\metre}
\newunit{\mrad}{\milli\rad}
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-hepunits.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-hepunits.cfg
index 372bff4a59d..8479aa54bb9 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-hepunits.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-hepunits.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-hepunits.cfg}
- [2008/11/31 v1.1h siunitx: Emulation of
+ [2008/12/22 v1.1j siunitx: Emulation of
hepunits]
\si@emulating{hepunits}{2007/09/27}
\requiresiconfigs{SIunits,accepted,prefix,hep}
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-named.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-named.cfg
index 059e9de8bd7..c1401e476f0 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-named.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-named.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-named.cfg}
- [2008/11/31 v1.1h siunitx: SI Named units]
+ [2008/12/22 v1.1j siunitx: SI Named units]
\newunit{\becquerel}{Bq}
\newunit{\coulomb}{C}
\newunit{\farad}{F}
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-physical.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-physical.cfg
index fcd9f62275f..66cc46da186 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-physical.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-physical.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-physical.cfg}
- [2008/11/31 v1.1h siunitx: SI Physically-measured units]
+ [2008/12/22 v1.1j siunitx: SI Physically-measured units]
\newcommand*{\si@eVspacea}{\text{\kern-\si@eVcorra}}%
\newcommand*{\si@eVspaceb}{\text{\kern-\si@eVcorrb}}%
\newunit{\electronvolt}{e\protect\si@eVspacea V\protect%
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-prefix.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-prefix.cfg
index 6eef980e743..b3d5c4565d5 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-prefix.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-prefix.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-prefix.cfg}
- [2008/11/31 v1.1h siunitx: SI Multiple prefixes]
+ [2008/12/22 v1.1j siunitx: SI Multiple prefixes]
\newprefix{\yocto}{-24}{y}
\newprefix{\zepto}{-21}{z}
\newprefix{\atto}{-18}{a}
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-prefixed.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-prefixed.cfg
index 830a310424a..44f718d80db 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-prefixed.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-prefixed.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-prefixed.cfg}
- [2008/11/31 v1.1h siunitx: SI Prefixed units]
+ [2008/12/22 v1.1j siunitx: SI Prefixed units]
\requiresiconfigs{prefix,named,accepted,physical}
\newunit{\picometre}{\pico\metre}
\newunit{\nanometre}{\nano\metre}
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-sistyle.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-sistyle.cfg
index 99d3bf87d45..ada4040ccc5 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-sistyle.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-sistyle.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-sistyle.cfg}
- [2008/11/31 v1.1h siunitx: Emulation of
+ [2008/12/22 v1.1j siunitx: Emulation of
SIstyle]
\si@emulating{sistyle}{2006/12/20 v2.3}
\sisetup{%
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-synchem.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-synchem.cfg
index 2dd6c78d8c8..35b2d2ce3df 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-synchem.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-synchem.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-synchem.cfg}
- [2008/11/31 v1.1h siunitx: Units for synthetic chemists]
+ [2008/12/22 v1.1j siunitx: Units for synthetic chemists]
\requiresiconfigs{prefix}
\newunit{\mmHg}{mmHg}
\newunit{\molar}{\mole\per\cubic\deci\metre}
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-units.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-units.cfg
index 29de386fed9..0b3b90eca6d 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-units.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-units.cfg
@@ -15,7 +15,7 @@
%%
\si@ifloaded{units}{\endinput}{}
\ProvidesFile{si-units.cfg}
- [2008/11/31 v1.1h siunitx: Emulation of units]
+ [2008/12/22 v1.1j siunitx: Emulation of units]
\si@emulating{units}{1998/08/04 v0.9b}
\si@ifloaded{SIunits}
{\si@emclash{units}{SIunits}\endinput}{}
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-unitsdef.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-unitsdef.cfg
index c9fcef5a26a..5a352cc3cf6 100644
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-unitsdef.cfg
+++ b/Master/texmf-dist/tex/latex/siunitx/config/si-unitsdef.cfg
@@ -14,7 +14,7 @@
%% ----------------------------------------------------------------
%%
\ProvidesFile{si-unitsdef.cfg}
- [2008/11/31 v1.1h siunitx:
+ [2008/12/22 v1.1j siunitx:
Emulation of unitsdef]
\si@emulating{unitsdef}{2005/01/04 v0.2}
\si@ifloaded{SIunits}
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
index 122cfd80055..a00e3428c57 100644
--- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
+++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
@@ -15,7 +15,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{siunitx}
- [2008/11/31 v1.1h A comprehensive (SI) units package]
+ [2008/12/22 v1.1j A comprehensive (SI) units package]
\begingroup
\@ifundefined{eTeXversion}
{\PackageError{siunitx}
@@ -537,15 +537,17 @@
\si@opt@choicekey{tabnumalign}
{centredecimal,centerdecimal,right,left,centre,center}
{\si@tab@fixedtrue
- \let\si@tab@rfill@S\hfil
- \let\si@tab@lfill@S\hfil
+ \def\si@tab@rfill@S{0.5}%
+ \def\si@tab@lfill@S{0.5}%
\renewcommand*{\si@tempb}{right}%
\ifx\si@tempa\si@tempb
- \let\si@tab@lfill@S\hfill
+ \def\si@tab@rfill@S{0}%
+ \def\si@tab@lfill@S{1}%
\fi
\renewcommand*{\si@tempb}{left}%
\ifx\si@tempa\si@tempb
- \let\si@tab@rfill@S\hfill
+ \def\si@tab@rfill@S{1}%
+ \def\si@tab@lfill@S{0}%
\fi
\renewcommand*{\si@tempb}{centredecimal}%
\ifx\si@tempa\si@tempb
@@ -627,26 +629,30 @@
\csname si@tab@#1postcnt\endcsname\si@num@postdec\relax
\fi}
\si@opt@choicekey{tabtextalign}{left,right,centre,center}
- {\let\si@tab@rfill@t\hfill
- \let\si@tab@lfill@t\hfill
+ {\def\si@tab@rfill@t{0.5}%
+ \def\si@tab@lfill@t{0.5}%
\renewcommand*{\si@tempb}{right}%
\ifx\si@tempa\si@tempb
- \let\si@tab@rfill@t\relax
+ \def\si@tab@rfill@t{0}%
+ \def\si@tab@lfill@t{1}%
\fi
\renewcommand*{\si@tempb}{left}%
\ifx\si@tempa\si@tempb
- \let\si@tab@lfill@t\relax
+ \def\si@tab@rfill@t{1}%
+ \def\si@tab@lfill@t{0}%
\fi}
\si@opt@choicekey{tabunitalign}{left,right,centre,center}
- {\let\si@tab@rfill@s\hfill
- \let\si@tab@lfill@s\hfill
+ {\def\si@tab@rfill@s{0.5}%
+ \def\si@tab@lfill@s{0.5}%
\renewcommand*{\si@tempb}{right}%
\ifx\si@tempa\si@tempb
- \let\si@tab@rfill@s\relax
+ \def\si@tab@rfill@s{0}%
+ \def\si@tab@lfill@s{1}%
\fi
\renewcommand*{\si@tempb}{left}%
\ifx\si@tempa\si@tempb
- \let\si@tab@lfill@s\relax
+ \def\si@tab@rfill@s{1}%
+ \def\si@tab@lfill@s{0}%
\fi}
\si@opt@boolkey[%
\ifsi@fixdp
@@ -2465,37 +2471,14 @@
\newcolumntype{S}{}
\newcolumntype{s}{}
\NC@list\expandafter{\si@tempa}
+\newcommand*{\si@tab@corr@colortbl}{\relax}
\AtBeginDocument{
\@ifpackageloaded{colortbl}{%
- \renewcommand*{\@classz}{%
- \@classx
- \@tempcnta \count@
- \prepnext@tok
- \expandafter\CT@extract\the\toks\@tempcnta\columncolor!\@nil
- \@addtopreamble{%
- \setbox\z@\hbox\bgroup\bgroup
- \ifcase\@chnum
- \hfil\d@llarbegin\insert@column\d@llarend\hfil\or
- \d@llarbegin\insert@column\d@llarend\hfill\or
- \hfill\kern\z@\d@llarbegin\insert@column\d@llarend\or
- $\vcenter\@startpbox{\@nextchar}\insert@column\@endpbox$\or
- \vtop\@startpbox{\@nextchar}\insert@column\@endpbox\or
- \vbox\@startpbox{\@nextchar}\insert@column\@endpbox
- \fi
- \egroup\egroup
- \begingroup
- \CT@setup
- \CT@column@color
- \CT@row@color
- \CT@cell@color
- \CT@do@color
- \endgroup
- \@tempdima\ht\z@
- \advance\@tempdima\minrowclearance
- \vrule\@height\@tempdima\@width\z@
- \unhbox\z@}%
- \prepnext@tok}%
- }{}}
+ \renewcommand*{\si@tab@corr@colortbl}{%
+ \hskip\stretch{-0.5}\kern\z@
+ }
+ }{}
+}
\renewcommand*{\NC@rewrite@S}[1][]{%
\edef\si@tempa{\the\@temptokena
>{\noexpand\si@tab@begin@S[#1]}c%
@@ -2656,7 +2639,8 @@
\let\si@tab@rfill\si@tab@rfill@t
\let\si@tab@lfill\si@tab@lfill@t
\fi
- \si@tab@lfill\relax
+ \si@tab@corr@colortbl
+ \hskip\stretch{\si@tab@lfill}\kern\z@
\ifsi@switch
\the\si@tab@pretoks
\si@tab@numout
@@ -2664,14 +2648,17 @@
\else
\the\si@tab@pretoks
\fi
- \si@tab@rfill\relax
+ \hskip\stretch{\si@tab@rfill}\kern\z@
+ \si@tab@corr@colortbl
\endgroup}
\newcommand*{\si@tab@end@s}{%
- \si@tab@lfill@s\relax
+ \si@tab@corr@colortbl
+ \hskip\stretch{\si@tab@lfill@s}\kern\z@
\ignorespaces
\expandafter\si\expandafter{\the\si@tab@toks}%
\unskip
- \si@tab@rfill@s\relax
+ \hskip\stretch{\si@tab@rfill@s}\kern\z@
+ \si@tab@corr@colortbl
\endgroup}
\newcommand*{\si@tab@newline@S}{%
\si@tab@end@S
@@ -3698,7 +3685,9 @@
\endgroup
\newcommand*{\si@out@sp}[1]{\ensuremath{^{\text{#1}}}}
\newcommand*{\si@out@sb}[1]{\ensuremath{_{\text{#1}}}}
-\newcommand*{\si@out@minus}{\ensuremath{-}}
+\newcommand*{\si@out@minus}{}
+\DeclareTextSymbolDefault{\si@out@minus}{TS1}
+\DeclareTextSymbol{\si@out@minus}{TS1}{61}
\newif\ifsi@out@num
\newcommand*{\si@out@num}[1]{%
\begingroup