diff options
author | Karl Berry <karl@freefriends.org> | 2007-11-24 22:42:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-11-24 22:42:21 +0000 |
commit | 181fa5d7487d7c6dd69113e7e9804f866d411631 (patch) | |
tree | c486b4092030d15c6db2df33d4669e7b05b15e50 /Master/texmf-dist/tex/latex/SIunits/SIunits.sty | |
parent | 7f67d0a3d4b53bb4bfae9955fd8395312f84fdf9 (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/SIunits.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/SIunits/SIunits.sty | 17 |
1 files changed, 10 insertions, 7 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!}} |