summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/SIunits
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-11-24 22:42:21 +0000
committerKarl Berry <karl@freefriends.org>2007-11-24 22:42:21 +0000
commit181fa5d7487d7c6dd69113e7e9804f866d411631 (patch)
treec486b4092030d15c6db2df33d4669e7b05b15e50 /Master/texmf-dist/tex/latex/SIunits
parent7f67d0a3d4b53bb4bfae9955fd8395312f84fdf9 (diff)
SIunits 1.35 (24nov07)
git-svn-id: svn://tug.org/texlive/trunk@5588 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/SIunits')
-rw-r--r--Master/texmf-dist/tex/latex/SIunits/SIunits.sty17
-rw-r--r--Master/texmf-dist/tex/latex/SIunits/binary.sty4
2 files changed, 12 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/SIunits/SIunits.sty b/Master/texmf-dist/tex/latex/SIunits/SIunits.sty
index 7179336a1df..65cefad8627 100644
--- a/Master/texmf-dist/tex/latex/SIunits/SIunits.sty
+++ b/Master/texmf-dist/tex/latex/SIunits/SIunits.sty
@@ -20,8 +20,8 @@
%%
\def\SIunits@RCS$#1: #2 #3${#2}
\def\filename{SIunits.dtx}%Source File Name
-\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
+\xdef\fileversion{\SIunits@RCS$Revision: 1.35 $}%Revision generated by CS-RCS
+\xdef\filedate{\SIunits@RCS$Date: 2007/11/24 11:20:00 $}%Date generated by CS-RCS
\let\docversion=\fileversion
\let\docdate=\filedate
\NeedsTeXFormat{LaTeX2e}[1997/12/01]
@@ -166,17 +166,17 @@
\square{#1}%
\fi %\if@defsquaren
}
-\DeclareRobustCommand*{\squared}{\ensuremath{^{\mathrm{2}}}}
+\DeclareRobustCommand*{\squared}{\ensuremath{^{\SI@fstyle{2}}}}
\DeclareRobustCommand*{\cubic}[1]{\power{#1}{3}}
-\DeclareRobustCommand*{\cubed}{\ensuremath{^{\mathrm{3}}}}
+\DeclareRobustCommand*{\cubed}{\ensuremath{^{\SI@fstyle{3}}}}
\DeclareRobustCommand*{\fourth}[1]{\power{#1}{4}}
\DeclareRobustCommand*{\SIminus}{-}
\DeclareRobustCommand*{\reciprocal}[1]{\power{#1}{\SIminus1}}
\DeclareRobustCommand*{\rp}{\reciprocal}
\DeclareRobustCommand*{\rpsquare}[1]{\power{#1}{\SIminus2}}
-\DeclareRobustCommand*{\rpsquared}{\ensuremath{^{\mathrm{\SIminus2}}}}
+\DeclareRobustCommand*{\rpsquared}{\ensuremath{^{\SI@fstyle{\SIminus2}}}}
\DeclareRobustCommand*{\rpcubic}[1]{\power{#1}{\SIminus3}}
-\DeclareRobustCommand*{\rpcubed}{\ensuremath{^{\mathrm{\SIminus3}}}}
+\DeclareRobustCommand*{\rpcubed}{\ensuremath{^{\SI@fstyle{\SIminus3}}}}
\DeclareRobustCommand*{\rpfourth}[1]{\power{#1}{\SIminus4}}
\addprefix{\yocto}{y}
\addprefix{\zepto}{z}
@@ -397,8 +397,10 @@
\addunit{\arad}{rd}
\addunit{\rem}{rem}
\addunit{\roentgen}{R}
-\addunit{\electronvolt}{e\volt}
+\addunit{\electronvolt}{e\kern-0.05ex\volt}
\addunit{\atomicmass}{u}
+\addunit{\atomicmassunit}{u}
+\addunit{\dalton}{Da}
\addunit{\are}{a}
\addunit{\hectare}{\hecto\are}
\addunit{\barn}{b}
@@ -525,6 +527,7 @@
\addunit{\rpcubicmetrepersecond}{\cubicmetre\usk\reciprocal\second}
\addunit{\kilogrampersecondcubicmetre}{\kilogram\per\second\usk\cubicmetre}
\addunit{\kilogrampersecondcubicmetrenp}{\kilogram\usk\reciprocal\second\usk\rpcubic\metre}
+
\DeclareOption{cdot}{\@cdot{Option `cdot' provided!}}
\DeclareOption{thickspace}{\@thickspace{Option `thickspace' provided!}}
\DeclareOption{mediumspace}{\@mediumspace{Option `mediumspace' provided!}}
diff --git a/Master/texmf-dist/tex/latex/SIunits/binary.sty b/Master/texmf-dist/tex/latex/SIunits/binary.sty
index 2af61aaae88..a98416bd328 100644
--- a/Master/texmf-dist/tex/latex/SIunits/binary.sty
+++ b/Master/texmf-dist/tex/latex/SIunits/binary.sty
@@ -20,8 +20,8 @@
%%
\def\SIunits@RCS$#1: #2 #3${#2}
\def\filename{SIunits.dtx}%Source File Name
-\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
+\xdef\fileversion{\SIunits@RCS$Revision: 1.35 $}%Revision generated by CS-RCS
+\xdef\filedate{\SIunits@RCS$Date: 2007/11/24 11:20:00 $}%Date generated by CS-RCS
\let\docversion=\fileversion
\let\docdate=\filedate
\NeedsTeXFormat{LaTeX2e}[1997/12/01]