summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/SIunits
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-11-23 17:29:47 +0000
committerKarl Berry <karl@freefriends.org>2007-11-23 17:29:47 +0000
commit8d6dbe55ad1140db5662bd8d47665cd0d8a3676a (patch)
tree50ee4a0fd44c3d2d54492c6022db6a5ea81c4527 /Master/texmf-dist/tex/latex/SIunits
parent0f9ce8207363d6d12558f13e816956e447551fbe (diff)
SIunits 1.34 (22nov07)
git-svn-id: svn://tug.org/texlive/trunk@5567 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/SIunits')
-rw-r--r--Master/texmf-dist/tex/latex/SIunits/SIunits.sty22
-rw-r--r--Master/texmf-dist/tex/latex/SIunits/binary.sty8
2 files changed, 16 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/SIunits/SIunits.sty b/Master/texmf-dist/tex/latex/SIunits/SIunits.sty
index 93925130f0e..7179336a1df 100644
--- a/Master/texmf-dist/tex/latex/SIunits/SIunits.sty
+++ b/Master/texmf-dist/tex/latex/SIunits/SIunits.sty
@@ -9,9 +9,9 @@
%% Copyright (c) 1998-2002 Marcel Heldoorn <m.heldoorn@webschool.nl>.
%%
%% This program may be distributed and/or modified under the conditions of the LaTeX Project
-%% Public License, either version 1.2 of this license or (at your option) any later version.
+%% Public License, either version 1.3 of this license or (at your option) any later version.
%% The latest version of this license is in http://www.latex-project.org/lppl.txt and
-%% version 1.2 or later is part of all distributions of LaTeX version 1999/12/01 or later.
+%% version 1.3a or later is part of all distributions of LaTeX version 2003/12/01 or later.
%%
%% For error reports in case of UNCHANGED versions see the readme.txt file.
%%
@@ -20,8 +20,8 @@
%%
\def\SIunits@RCS$#1: #2 #3${#2}
\def\filename{SIunits.dtx}%Source File Name
-\xdef\fileversion{\SIunits@RCS$Revision: 1.33 $}%Revision generated by CS-RCS
-\xdef\filedate{\SIunits@RCS$Date: 2002/08/01 11:20:00 $}%Date generated by CS-RCS
+\xdef\fileversion{\SIunits@RCS$Revision: 1.34 $}%Revision generated by CS-RCS
+\xdef\filedate{\SIunits@RCS$Date: 2007/11/22 11:20:00 $}%Date generated by CS-RCS
\let\docversion=\fileversion
\let\docdate=\filedate
\NeedsTeXFormat{LaTeX2e}[1997/12/01]
@@ -170,13 +170,14 @@
\DeclareRobustCommand*{\cubic}[1]{\power{#1}{3}}
\DeclareRobustCommand*{\cubed}{\ensuremath{^{\mathrm{3}}}}
\DeclareRobustCommand*{\fourth}[1]{\power{#1}{4}}
-\DeclareRobustCommand*{\reciprocal}[1]{\power{#1}{-1}}
+\DeclareRobustCommand*{\SIminus}{-}
+\DeclareRobustCommand*{\reciprocal}[1]{\power{#1}{\SIminus1}}
\DeclareRobustCommand*{\rp}{\reciprocal}
-\DeclareRobustCommand*{\rpsquare}[1]{\power{#1}{-2}}
-\DeclareRobustCommand*{\rpsquared}{\ensuremath{^{\mathrm{-2}}}}
-\DeclareRobustCommand*{\rpcubic}[1]{\power{#1}{-3}}
-\DeclareRobustCommand*{\rpcubed}{\ensuremath{^{\mathrm{-3}}}}
-\DeclareRobustCommand*{\rpfourth}[1]{\power{#1}{-4}}
+\DeclareRobustCommand*{\rpsquare}[1]{\power{#1}{\SIminus2}}
+\DeclareRobustCommand*{\rpsquared}{\ensuremath{^{\mathrm{\SIminus2}}}}
+\DeclareRobustCommand*{\rpcubic}[1]{\power{#1}{\SIminus3}}
+\DeclareRobustCommand*{\rpcubed}{\ensuremath{^{\mathrm{\SIminus3}}}}
+\DeclareRobustCommand*{\rpfourth}[1]{\power{#1}{\SIminus4}}
\addprefix{\yocto}{y}
\addprefix{\zepto}{z}
\addprefix{\atto}{a}
@@ -533,6 +534,7 @@
\DeclareOption{thinqspace}{\@thinqspace{Option `thinqspace' provided!}}
\DeclareOption{textstyle}{\renewcommand\SI@fstyle[1]{\@text{\protect#1}}%
\@textstyletrue%
+\renewcommand*{\SIminus}{--}%
\typeout{Option `textstyle' provided!}}
\DeclareOption{amssymb}{\@redefsquaretrue%
\typeout{Option `amssymb' provided!}}
diff --git a/Master/texmf-dist/tex/latex/SIunits/binary.sty b/Master/texmf-dist/tex/latex/SIunits/binary.sty
index 5ef6a51bd3a..2af61aaae88 100644
--- a/Master/texmf-dist/tex/latex/SIunits/binary.sty
+++ b/Master/texmf-dist/tex/latex/SIunits/binary.sty
@@ -9,9 +9,9 @@
%% Copyright (c) 1998-2002 Marcel Heldoorn <m.heldoorn@webschool.nl>.
%%
%% This program may be distributed and/or modified under the conditions of the LaTeX Project
-%% Public License, either version 1.2 of this license or (at your option) any later version.
+%% Public License, either version 1.3 of this license or (at your option) any later version.
%% The latest version of this license is in http://www.latex-project.org/lppl.txt and
-%% version 1.2 or later is part of all distributions of LaTeX version 1999/12/01 or later.
+%% version 1.3a or later is part of all distributions of LaTeX version 2003/12/01 or later.
%%
%% For error reports in case of UNCHANGED versions see the readme.txt file.
%%
@@ -20,8 +20,8 @@
%%
\def\SIunits@RCS$#1: #2 #3${#2}
\def\filename{SIunits.dtx}%Source File Name
-\xdef\fileversion{\SIunits@RCS$Revision: 1.33 $}%Revision generated by CS-RCS
-\xdef\filedate{\SIunits@RCS$Date: 2002/08/01 11:20:00 $}%Date generated by CS-RCS
+\xdef\fileversion{\SIunits@RCS$Revision: 1.34 $}%Revision generated by CS-RCS
+\xdef\filedate{\SIunits@RCS$Date: 2007/11/22 11:20:00 $}%Date generated by CS-RCS
\let\docversion=\fileversion
\let\docdate=\filedate
\NeedsTeXFormat{LaTeX2e}[1997/12/01]