diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:50:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:50:56 +0000 |
commit | 9fde314bed6a19f5f8e63b121afd301cc85cbe23 (patch) | |
tree | a15a5c036bb793a69c0b2754855ca36c44cad11d /Master/texmf-dist/tex/latex/SIunits/SIunits.sty | |
parent | 580196c77cf299077e97bf4c0bae9adfd2018ebb (diff) |
SIunits
git-svn-id: svn://tug.org/texlive/trunk@637 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 | 562 |
1 files changed, 562 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/SIunits/SIunits.sty b/Master/texmf-dist/tex/latex/SIunits/SIunits.sty new file mode 100644 index 00000000000..93925130f0e --- /dev/null +++ b/Master/texmf-dist/tex/latex/SIunits/SIunits.sty @@ -0,0 +1,562 @@ +%% +%% This is file `SIunits.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% SIunits.dtx (with options: `package') +%% +%% 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. +%% 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. +%% +%% For error reports in case of UNCHANGED versions see the readme.txt file. +%% +%% Please do not request updates from me directly. Distribution is done through the +%% Comprehensive TeX Archive Network (CTAN). +%% +\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 +\let\docversion=\fileversion +\let\docdate=\filedate +\NeedsTeXFormat{LaTeX2e}[1997/12/01] +\ProvidesPackage{SIunits} + [\filedate\space v\fileversion\space + Support for the International System of units (MH)] + \def\packagemessage{} +\typeout{\packagemessage} +\newif\if@redefsquare\@redefsquarefalse +\newif\if@defsquaren\@defsquarenfalse +\newif\if@redefGray\@redefGrayfalse +\newif\if@defGray\@defGrayfalse +\newif\if@textstyle\@textstylefalse +\newif\if@optionbinary\@optionbinaryfalse +\newif\if@optionNoAMS\@optionNoAMSfalse +\newif\if@inunitcommand\@inunitcommandfalse +\newlength{\@qskwidth} +\newif\if@defitalian\@defitalianfalse +\DeclareRobustCommand\SI@fstyle[1]{\mathrm{#1}} +\DeclareTextSymbolDefault{\SImu}{TS1} +\DeclareTextSymbol{\SImu}{TS1}{181} % micro sign +\DeclareFontEncoding{TS1}{}{} +\DeclareFontSubstitution{TS1}{cmr}{m}{n} +\DeclareFontFamily{OML}{eur}{\skewchar\font127} \DeclareFontShape{OML}{eur}{m}{n}{<5> <6> + <7> <8> <9> gen * eurm <10><10.95><12><14.4><17.28><20.74><24.88>eurm10}{} +\DeclareSymbolFont{greek}{OML}{eur}{m}{n} +\DeclareMathSymbol{\upmu}{\mathord}{greek}{"16} +\newcommand*\SIunits[1][thickspace,thickqspace]{\@for\SIunits@@:=#1% + \do{\SIunits@execopt\SIunits@@}} +\newcommand*\SIunits@execopt[1]{\@ifundefined{SIunits@opt@#1}% + {\PackageWarning{SIunits}{Requested option `#1' not provided}}% + {\@nameuse{SIunits@opt@#1}}} +\newcommand*\SIunits@opt@thickspace{% + \@thickspace{runtime option `thickspace' provided!}} +\newcommand*\SIunits@opt@mediumspace{% + \@mediumspace{runtime option `mediumspace' provided!}} +\newcommand*\SIunits@opt@thinspace{% + \@thinspace{runtime option `thinspace' provided!}} +\newcommand*\SIunits@opt@cdot{% + \@cdot{runtime option `cdot' provided!}} +\newcommand*\SIunits@opt@thickqspace{% + \@thickqspace{runtime option `thickqspace' provided!}} +\newcommand*\SIunits@opt@mediumqspace{% + \@mediumqspace{runtime option `mediumqspace' provided!}} +\newcommand*\SIunits@opt@thinqspace{% + \@thinqspace{runtime option `thinqspace' provided!}} +\DeclareRobustCommand{\@text}{% + \ifmmode\expandafter\@text@\else\expandafter\mbox\fi} +\let\nfss@text\@text% +\def\@text@#1{\mathchoice% + {\textdef@\displaystyle\f@size{#1}}% + {\textdef@\textstyle\tf@size{\firstchoice@false #1}}% + {\textdef@\textstyle\sf@size{\firstchoice@false #1}}% + {\textdef@\textstyle\ssf@size{\firstchoice@false #1}}% + \check@mathfonts}% +\def\textdef@#1#2#3{\hbox{{% + \everymath{#1}% + \let\f@size#2\selectfont% + #3}}}% +\newif\iffirstchoice@% +\firstchoice@true% +\def\stepcounter#1{% + \iffirstchoice@% + \addtocounter{#1}\@ne% + \begingroup \let\@elt\@stpelt \csname cl@#1\endcsname \endgroup + \fi% +}% +\DeclareRobustCommand*{\meter}{\metre} +\DeclareRobustCommand*{\deka}{\deca} +\DeclareRobustCommand*{\dekad}{\decad} +\DeclareRobustCommand*{\NoAMS}{\addprefix{\micro}{\mbox{\SImu}}} +\DeclareRobustCommand{\addunit}[2]{\newcommand{#1}{\ensuremath{\SI@fstyle{#2}}}} +\DeclareRobustCommand{\addprefix}[2]{\newcommand{#1}{\ensuremath{\SI@fstyle{#2}}}} +\DeclareRobustCommand*{\unitskip}[1]{\renewcommand{\usk}{\ensuremath{#1}}} +\DeclareRobustCommand*{\quantityskip}[1]{\renewcommand{\@qsk}{\ensuremath{#1}}} +\DeclareRobustCommand*{\per}{\ensuremath{\SI@fstyle{/}}} +\DeclareRobustCommand*{\usk}{\ensuremath{\;}} +\DeclareRobustCommand*{\@qsk}{\ensuremath{\;}} +\renewcommand{\cdot}{\,\mbox{\textperiodcentered}\,} +\newcommand{\@cdot}[1]{\DeclareRobustCommand*{\usk}{\ensuremath{\cdot}}\typeout{#1}} +\newcommand{\@thickspace}[1]{\DeclareRobustCommand*{\usk}{\ensuremath{\;}}\typeout{#1}} +\newcommand{\@mediumspace}[1]{\DeclareRobustCommand*{\usk}{\ensuremath{\:}}\typeout{#1}} +\newcommand{\@thinspace}[1]{\DeclareRobustCommand*{\usk}{\ensuremath{\,}}\typeout{#1}} +\newcommand{\@thickqspace}[1]{\DeclareRobustCommand*{\@qsk}{\ensuremath{\;}}\typeout{#1}} +\newcommand{\@mediumqspace}[1]{\DeclareRobustCommand*{\@qsk}{\ensuremath{\:}}\typeout{#1}} +\newcommand{\@thinqspace}[1]{\DeclareRobustCommand*{\@qsk}{\ensuremath{\,}}\typeout{#1}} +{\catcode`\.=13\gdef.{\usk}} +\newcommand{\period@active}[1]{\begingroup\mathcode`\.="8000\ensuremath{#1}\endgroup} +\DeclareRobustCommand{\unit}[2]{\@inunitcommandtrue% + \ensuremath{\SI@fstyle{#1\@qsk\period@active{#2}}}% + \@inunitcommandfalse} +\DeclareRobustCommand{\one}{\settowidth{\@qskwidth}{\@qsk}\hspace*{-\@qskwidth}} +\DeclareRobustCommand{\no@qsk}{% + \if@inunitcommand% + \one% + \else% + \relax% + \fi% +} +\DeclareRobustCommand{\power}[2]{\ensuremath{\SI@fstyle{#1}^{\SI@fstyle{#2}}}} +\AtBeginDocument{% + \if@redefsquare + \providecommand{\square}[1]{\power{#1}{2}} + \renewcommand{\square}[1]{\power{#1}{2}} + \typeout{Option `amssymb' provided! ^^J + Command \protect\square\space redefined by SIunits package!} + \typeout{} + \else + \if@defsquaren + \providecommand{\squaren}[1]{\power{#1}{2}} + \renewcommand{\squaren}[1]{\power{#1}{2}} + \typeout{Option `squaren' provided! ^^J + Command \protect\squaren\space defined by SIunits package!} + \typeout{} + \else + \@ifundefined{square}{% + \newcommand*{\square}[1]{\power{#1}{2}} + }{% + \PackageError{SIunits}{% + The command \protect\square\space was already defined.\MessageBreak + Possibly due to the amssymb package}% + {Hint: use option `amssymb' or `squaren' with SIunits package.\MessageBreak + See SIunits.dvi or readme.txt section: Known problems and limitations.} + } %\ifundefined{square} + \fi %\if@defsquaren + \fi %\if@redefsquare + \if@defitalian + \PackageWarning{SIunits}{Option `italian' provided.\MessageBreak + Command \protect\unit\space defined by babel.\MessageBreak + Mind to use \protect\unita\space instead.}% + \DeclareRobustCommand{\unita}[2]{% + \@inunitcommandtrue% + \ensuremath{\SI@fstyle{#1\@qsk\period@active{#2}}}% + \@inunitcommandfalse% + }% + \fi%\if@defitalian +} %\AtBeginDocument +\DeclareRobustCommand{\SI@square}[1] + {\if@defsquaren% + \squaren{#1}% + \else + \square{#1}% + \fi %\if@defsquaren + } +\DeclareRobustCommand*{\squared}{\ensuremath{^{\mathrm{2}}}} +\DeclareRobustCommand*{\cubic}[1]{\power{#1}{3}} +\DeclareRobustCommand*{\cubed}{\ensuremath{^{\mathrm{3}}}} +\DeclareRobustCommand*{\fourth}[1]{\power{#1}{4}} +\DeclareRobustCommand*{\reciprocal}[1]{\power{#1}{-1}} +\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}} +\addprefix{\yocto}{y} +\addprefix{\zepto}{z} +\addprefix{\atto}{a} +\addprefix{\femto}{f} +\addprefix{\pico}{p} +\addprefix{\nano}{n} +\AtBeginDocument{% +\if@optionNoAMS% + \addprefix{\micro}{\mbox{\SImu}}% +\else% + \addprefix{\micro}{\upmu}% + \fi% +\if@textstyle% + \DeclareRobustCommand{\micro}{{\ensuremath{\@text{\SImu}}}}% +\fi} +\addprefix{\milli}{m} +\addprefix{\centi}{c} +\addprefix{\deci}{d} +\addprefix{\deca}{da} +\addprefix{\hecto}{h} +\addprefix{\kilo}{k} +\addprefix{\mega}{M} +\addprefix{\giga}{G} +\addprefix{\tera}{T} +\addprefix{\peta}{P} +\addprefix{\exa}{E} +\addprefix{\zetta}{Z} +\addprefix{\yotta}{Y} +\DeclareRobustCommand*{\yoctod}{\power{10}{-24}} +\DeclareRobustCommand*{\zeptod}{\power{10}{-21}} +\DeclareRobustCommand*{\attod}{\power{10}{-18}} +\DeclareRobustCommand*{\femtod}{\power{10}{-15}} +\DeclareRobustCommand*{\picod}{\power{10}{-12}} +\DeclareRobustCommand*{\nanod}{\power{10}{-9}} +\DeclareRobustCommand*{\microd}{\power{10}{-6}} +\DeclareRobustCommand*{\millid}{\power{10}{-3}} +\DeclareRobustCommand*{\centid}{\power{10}{-2}} +\DeclareRobustCommand*{\decid}{\power{10}{-1}} +\DeclareRobustCommand*{\decad}{\power{10}{1}} +\DeclareRobustCommand*{\hectod}{\power{10}{2}} +\DeclareRobustCommand*{\kilod}{\power{10}{3}} +\DeclareRobustCommand*{\megad}{\power{10}{6}} +\DeclareRobustCommand*{\gigad}{\power{10}{9}} +\DeclareRobustCommand*{\terad}{\power{10}{12}} +\DeclareRobustCommand*{\petad}{\power{10}{15}} +\DeclareRobustCommand*{\exad}{\power{10}{18}} +\DeclareRobustCommand*{\zettad}{\power{10}{21}} +\DeclareRobustCommand*{\yottad}{\power{10}{24}} +\addunit{\gram}{g} +\addunit{\metre}{m} +\addunit{\kilogram}{\kilo\gram} +\addunit{\second}{s} +\addunit{\ampere}{A} +\addunit{\kelvin}{K} +\addunit{\mole}{mol} +\addunit{\candela}{cd} +\addunit{\radian}{rad} +\addunit{\steradian}{sr} +\addunit{\hertz}{Hz} +\addunit{\newton}{N} +\addunit{\pascal}{Pa} +\addunit{\joule}{J} +\addunit{\watt}{W} +\addunit{\coulomb}{C} +\addunit{\volt}{V} +\addunit{\farad}{F} +\addunit{\ohm}{\ensuremath{\Omega}} +\addunit{\siemens}{S} +\addunit{\weber}{Wb} +\addunit{\tesla}{T} +\addunit{\henry}{H} +\newcommand{\degreecelsius}{\protect\@inunitcommandfalse\ensuremath{\SI@fstyle{\degree\Celsius}}} +\addunit{\celsius}{\degreecelsius} +\addunit{\lumen}{lm} +\addunit{\lux}{lx} +\addunit{\becquerel}{Bq} +\AtBeginDocument{% +\if@redefGray + \providecommand{\gray}{\ensuremath{\SI@fstyle{Gy}}} + \renewcommand{\gray}{\ensuremath{\SI@fstyle{Gy}}} + \typeout{Option `pstricks' provided! ^^J + Command \protect\gray\space redefined by SIunits package!} + \typeout{} + \else + \if@defGray + \providecommand{\Gray}{\ensuremath{\SI@fstyle{Gy}}} + \renewcommand{\Gray}{\ensuremath{\SI@fstyle{Gy}}} + \typeout{Option `Gray' provided! ^^J + Command \protect\Gray\space defined by SIunits package!} + \typeout{} + \else + \@ifundefined{gray}{% + \newcommand*{\gray}{\ensuremath{\SI@fstyle{Gy}}} + }{% + \PackageWarningNoLine{SIunits}{% + The command \protect\gray\space was already defined.\MessageBreak + Possibly due to the pstricks package} + \typeout{Hint: use option `pstricks' or `Gray' with SIunits package.} + \typeout{See SIunits.dvi or readme.txt section: Known problems and limitations.} + \typeout{} + } %\ifundefined{gray} + \fi %\if@defGray + \fi %\if@redefGray +} %\AtBeginDocument +\addunit{\sievert}{Sv} +\addunit{\katal}{kat} + +\newcommand*\SIunits@opt@derivedinbase{% +\typeout{Option 'derivedinbase' provided!^^J} +\addunit{\radianbase}% + {\metre\usk\reciprocal\metre} +\addunit{\steradianbase}% + {\squaremetre\usk\rpsquare\metre} +\addunit{\hertzbase}% + {\reciprocal\second} +\addunit{\newtonbase}% + {\metre\usk\kilogram\usk\second\rpsquared} +\addunit{\pascalbase}% + {\reciprocal\metre\usk\kilogram\usk\second\rpsquared} +\addunit{\joulebase}% + {\squaremetre\usk\kilogram\usk\second\rpsquared} +\addunit{\wattbase}% + {\squaremetre\usk\kilogram\usk\rpcubic\second} +\addunit{\coulombbase}% + {\ampere\usk\second} +\addunit{\voltbase}% + {\squaremetre\usk\kilogram\usk\rpcubic\second\usk\reciprocal\ampere} +\addunit{\faradbase}% + {\rpsquare\metre\usk\reciprocal\kilogram\usk\fourth\second\usk\ampere\squared} +\addunit{\ohmbase}% + {\squaremetre\usk\kilogram\usk\rpcubic\second\usk\rpsquare\ampere} +\addunit{\siemensbase}% + {\rpsquare\metre\usk\reciprocal\kilogram\usk\cubic\second\usk\ampere\squared} +\addunit{\weberbase}% + {\squaremetre\usk\kilogram\usk\second\rpsquared\usk\reciprocal\ampere} +\addunit{\teslabase}% + {\kilogram\usk\second\rpsquared\usk\reciprocal\ampere} +\addunit{\henrybase}% + {\squaremetre\usk\kilogram\usk\second\rpsquared\usk\rpsquare\ampere} +\addunit{\celsiusbase}% + {\kelvin} +\addunit{\lumenbase}% + {\candela\usk\squaremetre\usk\rpsquare\metre} +\addunit{\luxbase}% + {\candela\usk\squaremetre\usk\rpfourth\metre} +\addunit{\becquerelbase}% + {\hertzbase} +\addunit{\graybase}% + {\squaremetre\usk\second\rpsquared} +\addunit{\sievertbase}% + {\graybase} +\addunit{\katalbase}% + {\rp\second\usk\mole } +} +\newcommand*\SIunits@opt@derived{% +\addunit{\derradian}% + {\metre\usk\reciprocal\metre} +\addunit{\dersteradian}% + {\squaremetre\usk\rpsquare\metre} +\addunit{\derhertz}% + {\reciprocal\second} +\addunit{\dernewton}% + {\metre\usk\kilogram\usk\second\rpsquared} +\addunit{\derpascal}% + {\newton\usk\rpsquare\metre} +\addunit{\derjoule}% + {\newton\usk\metre} +\addunit{\derwatt}% + {\joule\usk\reciprocal\second} +\addunit{\dercoulomb}% + {\ampere\usk\second} +\addunit{\dervolt}% + {\watt\usk\reciprocal\ampere} +\addunit{\derfarad}% + {\coulomb\usk\reciprocal\volt} +\addunit{\derohm}% + {\volt\usk\reciprocal\ampere} +\addunit{\dersiemens}% + {\ampere\usk\reciprocal\volt} +\addunit{\derweber}% + {\squaremetre\usk\kilogram\usk\second\rpsquared\usk\reciprocal\ampere} +\addunit{\dertesla}% + {\weber\usk\rpsquare\metre} +\addunit{\derhenry}% + {\weber\usk\reciprocal\ampere} +\addunit{\dercelsius}% + {\kelvin} +\addunit{\derlumen}% + {\candela\usk\steradian} +\addunit{\derlux}% + {\lumen\usk\rpsquare\metre} +\addunit{\derbecquerel}% + {\derhertz} +\addunit{\dergray}% + {\joule\usk\reciprocal\kilogram} +\addunit{\dersievert}% + {\dergray} +\addunit{\derkatal}% + {\katalbase} + \typeout{Option `derived' provided!}} +\addunit{\minute}{min} +\addunit{\hour}{h} +\addunit{\dday}{d} +\addunit{\degree}{\no@qsk\ensuremath{^{\circ}}} +\addunit{\paminute}{\no@qsk\ensuremath{'}} +\addunit{\arcminute}{\no@qsk\ensuremath{'}} +\addunit{\pasecond}{\no@qsk\ensuremath{''}} +\addunit{\arcsecond}{\no@qsk\ensuremath{''}} +\addunit{\ton}{t} +\addunit{\tonne}{t} +\addunit{\liter}{L} +\addunit{\litre}{l} +\addunit{\neper}{Np} +\addunit{\bel}{B} +\addunit{\curie}{Ci} +\addunit{\rad}{rad} +\addunit{\arad}{rd} +\addunit{\rem}{rem} +\addunit{\roentgen}{R} +\addunit{\electronvolt}{e\volt} +\addunit{\atomicmass}{u} +\addunit{\are}{a} +\addunit{\hectare}{\hecto\are} +\addunit{\barn}{b} +\addunit{\bbar}{bar} +\addunit{\gal}{Gal} +\addunit{\angstrom}{\mbox{{\AA}}} +\addunit{\rperminute}{r\per\minute} +\addunit{\rpersecond}{r\per\second} +\addunit{\squaremetre}{\SI@square\metre} +\addunit{\cubicmetre}{\cubic\metre} +\addunit{\graypersecond}{\gray\per\second} +\addunit{\graypersecondnp}{\gray\usk\reciprocal\second} +\addunit{\metrepersquaresecond}{\metre\per\second\squared} +\addunit{\metrepersquaresecondnp}{\metre\usk\second\rpsquared} +\addunit{\joulepermole}{\joule\per\mole} +\addunit{\joulepermolenp}{\joule\usk\reciprocal\mole} +\addunit{\molepercubicmetre}{\mole\per\cubic\metre} +\addunit{\molepercubicmetrenp}{\mole\usk\rpcubic\metre} +\addunit{\radianpersquaresecond}{\radian\per\second\squared} +\addunit{\radianpersquaresecondnp}{\radian\usk\second\rpsquared} +\addunit{\kilogramsquaremetrepersecond}{\kilogram\usk\squaremetre\per\second} +\addunit{\kilogramsquaremetrepersecondnp}{\kilogram\usk\squaremetre\usk\reciprocal\second} +\addunit{\radianpersecond}{\radian\per\second} +\addunit{\radianpersecondnp}{\radian\usk\reciprocal\second} +\addunit{\squaremetrepercubicmetre}{\squaremetre\per\cubic\metre} +\addunit{\squaremetrepercubicmetrenp}{\squaremetre\usk\rpcubic\metre} +\addunit{\katalpercubicmetre}{\katal\per\cubic\metre} +\addunit{\katalpercubicmetrenp}{\katal\usk\rpcubic\metre} +\addunit{\coulombpermol}{\coulomb\per\mole} +\addunit{\coulombpermolnp}{\coulomb\usk\reciprocal\mole} +\addunit{\amperepersquaremetre}{\ampere\per\squaremetre} +\addunit{\amperepersquaremetrenp}{\ampere\usk\rpsquare\metre} +\addunit{\kilogrampercubicmetre}{\kilogram\per\cubic\metre} +\addunit{\kilogrampercubicmetrenp}{\kilogram\usk\rpcubic\metre} +\addunit{\squaremetrepernewtonsecond}{\squaremetre\per\newton\usk\second} +\addunit{\squaremetrepernewtonsecondnp}{\squaremetre\usk\reciprocal\newton\usk\reciprocal\second} +\addunit{\pascalsecond}{\pascal\usk\second} +\addunit{\coulombpercubicmetre}{\coulomb\per\cubic\metre} +\addunit{\coulombpercubicmetrenp}{\coulomb\usk\rpcubic\metre} +\addunit{\amperemetresecond}{\ampere\usk\metre\usk\second} +\addunit{\voltpermetre}{\volt\per\metre} +\addunit{\voltpermetrenp}{\volt\usk\reciprocal\metre} +\addunit{\coulombpersquaremetre}{\coulomb\per\squaremetre} +\addunit{\coulombpersquaremetrenp}{\coulomb\usk\rpsquare\metre} +\addunit{\faradpermetre}{\farad\per\metre} +\addunit{\faradpermetrenp}{\farad\usk\reciprocal\metre} +\addunit{\ohmmetre}{\ohm\usk\metre} +\addunit{\kilowatthour}{\kilo\watt\hour} +\addunit{\wattpersquaremetre}{\watt\per\squaremetre} +\addunit{\wattpersquaremetrenp}{\watt\usk\rpsquare\metre} +\addunit{\joulepersquaremetre}{\joule\per\squaremetre} +\addunit{\joulepersquaremetrenp}{\joule\usk\rpsquare\metre} +\addunit{\newtonpercubicmetre}{\newton\per\cubic\metre} +\addunit{\newtonpercubicmetrenp}{\newton\usk\rpcubic\metre} +\addunit{\newtonperkilogram}{\newton\per\kilogram} +\addunit{\newtonperkilogramnp}{\newton\usk\reciprocal\kilogram} +\addunit{\jouleperkelvin}{\joule\per\kelvin} +\addunit{\jouleperkelvinnp}{\joule\usk\reciprocal\kelvin} +\addunit{\jouleperkilogram}{\joule\per\kilogram} +\addunit{\jouleperkilogramnp}{\joule\usk\reciprocal\kilogram} +\addunit{\coulombperkilogram}{\coulomb\per\kilogram} +\addunit{\coulombperkilogramnp}{\coulomb\usk\reciprocal\kilogram} +\addunit{\squaremetrepersecond}{\squaremetre\per\second} +\addunit{\squaremetrepersecondnp}{\squaremetre\usk\reciprocal\second} +\addunit{\squaremetrepersquaresecond}{\squaremetre\per\second\squared} +\addunit{\squaremetrepersquaresecondnp}{\squaremetre\usk\second\rpsquared} +\addunit{\kilogrammetrepersecond}{\kilogram\usk\metre\per\second} +\addunit{\kilogrammetrepersecondnp}{\kilogram\usk\metre\usk\reciprocal\second} +\addunit{\candelapersquaremetre}{\candela\per\squaremetre} +\addunit{\candelapersquaremetrenp}{\candela\usk\rpsquare\metre} +\addunit{\amperepermetre}{\ampere\per\metre} +\addunit{\amperepermetrenp}{\ampere\usk\reciprocal\metre} +\addunit{\joulepertesla}{\joule\per\tesla} +\addunit{\jouleperteslanp}{\joule\usk\reciprocal\tesla} +\addunit{\henrypermetre}{\henry\per\metre} +\addunit{\henrypermetrenp}{\henry\usk\reciprocal\metre} +\addunit{\kilogrampersecond}{\kilogram\per\second} +\addunit{\kilogrampersecondnp}{\kilogram\usk\reciprocal\second} +\addunit{\kilogrampersquaremetresecond}{\kilogram\per\squaremetre\usk\second} +\addunit{\kilogrampersquaremetresecondnp}{\kilogram\usk\rpsquare\metre\usk\reciprocal\second} +\addunit{\kilogrampersquaremetre}{\kilogram\per\squaremetre} +\addunit{\kilogrampersquaremetrenp}{\kilogram\usk\rpsquare\metre} +\addunit{\kilogrampermetre}{\kilogram\per\metre} +\addunit{\kilogrampermetrenp}{\kilogram\usk\reciprocal\metre} +\addunit{\joulepermolekelvin}{\joule\per\mole\usk\kelvin} +\addunit{\joulepermolekelvinnp}{\joule\usk\reciprocal\mole\usk\reciprocal\kelvin} +\addunit{\kilogramperkilomole}{\kilogram\per\kilo\mole} +\addunit{\kilogramperkilomolenp}{\kilogram\usk\kilo\reciprocal\mole} +\addunit{\kilogramsquaremetre}{\kilogram\usk\squaremetre} +\addunit{\kilogramsquaremetrenp}{\kilogramsquaremetre} +\addunit{\kilogrammetrepersquaresecond}{\kilogram\usk\metre\per\second\squared} +\addunit{\kilogrammetrepersquaresecondnp}{\kilogram\usk\metre\usk\second\rpsquared} +\addunit{\newtonpersquaremetre}{\newton\per\squaremetre} +\addunit{\newtonpersquaremetrenp}{\newton\usk\rpsquare\metre} +\addunit{\persquaremetresecond}{1\per\squaremetre\usk\second} +\addunit{\persquaremetresecondnp}{\rpsquare\metre\usk\reciprocal\second} +\addunit{\wattperkilogram}{\watt\per\kilogram} +\addunit{\wattperkilogramnp}{\watt\usk\reciprocal\kilogram} +\addunit{\wattpercubicmetre}{\watt\per\cubic\metre} +\addunit{\wattpercubicmetrenp}{\watt\usk\rpcubic\metre} +\addunit{\wattpersquaremetresteradian}{\watt\per\squaremetre\usk\steradian} +\addunit{\wattpersquaremetresteradiannp}{\watt\usk\rpsquare\metre\usk\rp\steradian} +\addunit{\jouleperkilogramkelvin}{\joule\per\kilogram\usk\kelvin} +\addunit{\jouleperkilogramkelvinnp}{\joule\usk\reciprocal\kilogram\usk\reciprocal\kelvin} +\addunit{\squaremetreperkilogram}{\squaremetre\per\kilogram} +\addunit{\rpsquaremetreperkilogram}{\squaremetre\usk\reciprocal\kilogram} +\addunit{\cubicmetreperkilogram}{\cubic\metre\per\kilogram} +\addunit{\rpcubicmetreperkilogram}{\cubic\metre\usk\reciprocal\kilogram} +\addunit{\newtonpermetre}{\newton\per\metre} +\addunit{\newtonpermetrenp}{\newton\usk\reciprocal\metre} +\addunit{\Celsius}{\ensuremath{\SI@fstyle{C}}} +\addunit{\wattpermetrekelvin}{\watt\per\metre\usk\kelvin} +\addunit{\wattpermetrekelvinnp}{\watt\usk\reciprocal\metre\usk\reciprocal\kelvin} +\addunit{\newtonmetre}{\newton\usk\metre} \addunit{\newtonmetrenp}{\newtonmetre} +\addunit{\squaremetrepercubicsecond}{\squaremetre\per\cubic\second} +\addunit{\squaremetrepercubicsecondnp}{\squaremetre\usk\rpcubic\second} +\addunit{\metrepersecond}{\metre\per\second} +\addunit{\metrepersecondnp}{\metre\usk\reciprocal\second} +\addunit{\joulepercubicmetre}{\joule\per\cubicmetre} +\addunit{\joulepercubicmetrenp}{\joule\usk\rpcubic\metre} +\addunit{\kilogrampercubicmetrecoulomb}{\kilogram\per\cubic\metre\usk\coulomb} +\addunit{\kilogrampercubicmetrecoulombnp}{\kilogram\usk\rpcubic\metre\usk\reciprocal\coulomb} +\addunit{\cubicmetrepersecond}{\cubicmetre\per\second} +\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!}} +\DeclareOption{thinspace}{\@thinspace{Option `thinspace' provided!}} +\DeclareOption{thickqspace}{\@thickqspace{Option `thickqspace' provided!}} +\DeclareOption{mediumqspace}{\@mediumqspace{Option `mediumqspace' provided!}} +\DeclareOption{thinqspace}{\@thinqspace{Option `thinqspace' provided!}} +\DeclareOption{textstyle}{\renewcommand\SI@fstyle[1]{\@text{\protect#1}}% +\@textstyletrue% +\typeout{Option `textstyle' provided!}} +\DeclareOption{amssymb}{\@redefsquaretrue% +\typeout{Option `amssymb' provided!}} +\DeclareOption{squaren}{\@defsquarentrue% +\typeout{Option `squaren' provided!}} +\DeclareOption{pstricks}{\@redefGraytrue% +\typeout{Option `pstricks' provided!}} +\DeclareOption{Gray}{\@defGraytrue% +\typeout{Option `Gray' provided!}} +\DeclareOption{italian}{\@defitaliantrue% +\typeout{Option `italian' provided!}} +\DeclareOption{binary}{\@optionbinarytrue } +\AtEndOfPackage{\if@optionbinary\RequirePackage{binary}\fi} +\DeclareOption{derivedinbase}{\SIunits@opt@derivedinbase} +\DeclareOption{derived}{\SIunits@opt@derived} +\DeclareOption{noams}{\@optionNoAMStrue% +\typeout{Option `noams' provided!}} +\DeclareOption*{\PackageWarningNoLine{SIunits}{What is `\CurrentOption'?}} +\InputIfFileExists{SIunits.cfg}{}% +{\PackageWarningNoLine{SIunits}{You have no `SIunits.cfg' file installed. +\MessageBreak I will assume you are using `thickspace' and `thickqspace'} +\ExecuteOptions{thickspace,thickqspace}} +\ProcessOptions\relax +%% +%% Source: $Id: SIunits.dtx,v 1.33 2002/08/01 11:20:00 root Exp root $ +%% +%% End of file `SIunits.sty'. |