summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/siunitx
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-06-22 10:41:36 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-06-22 10:41:36 +0000
commit95b0e2df4787e0f7233bb12cc6dfe58726057ec3 (patch)
treebb51ab91fe1272d0e890b818be81c61afd043fa8 /Master/texmf-dist/tex/latex/siunitx
parent507fd2d5ca1378ad57eb17175dfe67a6ba794962 (diff)
siunitx update 21jun08
git-svn-id: svn://tug.org/texlive/trunk@8924 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/siunitx')
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx.sty21
1 files changed, 15 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
index a51067b4669..f199f396fbe 100644
--- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
+++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
@@ -14,11 +14,11 @@
%% ----------------------------------------------------------------
%%
\NeedsTeXFormat{LaTeX2e}
-\newcommand*{\si@svn@ver}{v1.0}
+\newcommand*{\si@svn@ver}{v1.0a}
\def\si@svn@id$#1: #2.#3 #4 #5-#6-#7 #8 #9${%
\newcommand*{\si@svn@version}{%
#5/#6/#7\space\si@svn@ver\space}}
-\si@svn@id $Id: siunitx.dtx 76 2008-06-15 08:10:34Z joseph $
+\si@svn@id $Id: siunitx.dtx 82 2008-06-20 20:50:03Z joseph $
\ProvidesPackage{siunitx}
[\si@svn@version A comprehensive (SI) units package]
\begingroup
@@ -897,7 +897,7 @@
\newcommand*{\si@fix@med}{\:}
\newcommand*{\si@fix@medium}{\:}
\newcommand*{\si@fix@thick}{\;}
-\newcommand*{\si@fix@space}{\text{~}}
+\newcommand*{\si@fix@space}{\text{ }}
\newcommand*{\si@fix@cdot}{{}\cdot{}}
\newcommand*{\si@fix@comma}{{,}}
\newcommand*{\si@fix@stop}{{.}}
@@ -2397,9 +2397,13 @@
\let\si@tab@next\relax
\else
\let\si@tab@next\si@tab@gettok@s
+ \ifx\ignorespaces#1\relax\else
+ \ifx\unskip#1\relax\else
\si@tab@toks=\expandafter{%
\the\si@tab@toks#1}%
\si@log@debug{Found cell contents `#1'}%
+ \fi
+ \fi
\fi
\fi
\fi
@@ -2416,16 +2420,20 @@
\let\si@tab@lfill\si@tab@lfill@t
\fi
\si@tab@lfill\relax
- \the\si@tab@pretoks
\ifsi@switch
+ \llap{\the\si@tab@pretoks}%
\expandafter\si@tab@numout
+ \rlap{\the\si@tab@posttoks}%
+ \else
+ \the\si@tab@pretoks
\fi
- \the\si@tab@posttoks
\si@tab@rfill\relax
\endgroup}
\newcommand*{\si@tab@end@s}{%
\si@tab@lfill@s\relax
+ \ignorespaces
\expandafter\si\expandafter{\the\si@tab@toks}%
+ \unskip
\si@tab@rfill@s\relax
\endgroup}
\newcommand*{\si@tab@newline@S}{%
@@ -3277,7 +3285,8 @@
\csname extras##2\endcsname}%
{\si@loc@set{##1}}}%
\@for\si@tempb:=#1\do{%
- \expandafter\si@tempa\si@tempb::\@nil}}
+ \expandafter\si@tempa\si@tempb::\@nil}%
+ \expandafter\selectlanguage\expandafter{\languagename}}
{\si@log@warn{babel not loaded \MessageBreak
loctolang option ignored}}}}
\AtBeginDocument{