%% %% This is file `si-SIunits.cfg', %% generated with the docstrip utility. %% %% The original source files were: %% %% siunitx.dtx (with options: `SIunits') %% ---------------------------------------------------------------- %% The siunitx package --- A comprehensive (SI) units package %% Maintained by Joseph Wright %% E-mail: joseph.wright@morningstar2.co.uk %% Released under the LaTeX Project Public License v1.3c or later %% See http://www.latex-project.org/lppl.txt %% ---------------------------------------------------------------- %% %%\DescribeOption{tophrase} \ProvidesFile{si-SIunits.cfg} [2009/01/22 v1.2 siunitx: Emulation of SIunits] \si@emulating{SIunits}{2007/12/02 v1.36} \sisetup{ unitsep=thick, valuesep=thick, prefixproduct=\si@valuesep, trapambigfrac=false, stickyper} \requiresiconfigs{prefix,named,accepted,physical} \newcommand*{\reciprocal}{\sisetup{per=reciprocal}\si@per} \let\rp\reciprocal \renewcommand*{\per}{\sisetup{per=slash}\si@per} \newcommand*{\usk}{} \newcommand*{\power}[1]{#1\tothe} \newcommand*{\rpsquare}{\sisetup{per=reciprocal}\si@per\Square} \newcommand*{\rpcubic}{\sisetup{per=reciprocal}\si@per\cubic} \newpower{\fourth}{4} \newcommand*{\rpfourth}{\sisetup{per=reciprocal}\si@per\fourth} \newcommand*{\rpsquared}{% \sisetup{per=reciprocal}\si@unt@pertrue\si@unt@perseentrue% \squared} \newcommand*{\rpcubed}{% \sisetup{per=reciprocal}\si@unt@pertrue\cubed} \newcommand*{\SIsetup}[1]{% \@for\si@tempa:=#1\do{% \@ifundefined{ifsi@old@#1} {\si@log@warn{Unknown SIunits option `#1'}} {\csname si@old@#1true\endcsname}} \si@siu@setup} \newcommand*{\si@siu@setup}{% \ifsi@old@cdot \sisetup{unitsep=cdot}% \fi \ifsi@old@thickspace \sisetup{unitsep=thick}% \fi \ifsi@old@mediumspace \sisetup{unitsep=medium}% \fi \ifsi@old@thinspace \sisetup{unitsep=thin}% \fi \ifsi@old@thickqspace \sisetup{valuesep=thick}% \fi \ifsi@old@mediumqspace \sisetup{valuesep=medium}% \fi \ifsi@old@thinqspace \sisetup{valuesep=thin}% \fi} \si@siu@setup \ifsi@old@squaren \newpower{\squaren}{2} \fi \AtBeginDocument{% \@ifundefined{square} {\newpower{\square}{2}} {\ifsi@old@amssymb \renewpower{\square}{2} \else \ifsi@old@squaren\else \si@log@warn{\string\square\space already defined\MessageBreak SIunits mode may cause errors}% \fi \fi}} \AtBeginDocument{ \@ifundefined{gray} {\newunit{\gray}{Gy}} {\ifsi@old@pstricks \renewunit{\gray}{Gy} \else \ifsi@old@Gray\else \si@log@warn{\string\gray\space already defined\MessageBreak SIunits mode may cause errors}% \fi \fi}} \ifsi@old@italian \let\unita\SI \else \let\unit\SI \fi \ifsi@old@textstyle \sisetup{mode=text} \fi \ifsi@old@binary \sisetup{alsoload=binary} \fi \ifsi@old@noams \AtBeginDocument{% \renewcommand*{\si@textmu}{\ensuremath\si@mathsmu}} \fi \newunit[valuesep=none]{\arcminute}{\si@sym@minute} \newunit[valuesep=none]{\arcsecond}{\si@sym@second} \newunit{\rperminute}{r/min} \newunit{\ton}{t} \newunit{\degreecelsius}{\celsius} \let\addunit\newunit \newcommand*{\addprefix}[2]{\newprefix{#1}{#2}} \newcommand*{\si@siu@newunit}[3][]{% \renewcommand*{\si@tempa}{#1}% \renewcommand*{\si@tempb}{square}% \def\si@siu@power{}% \ifx\@empty\si@tempa\@empty\else \ifx\si@tempa\si@tempb \renewcommand*{\si@siu@power}{\ssquare}% \else \edef\si@siu@power{% \expandafter\noexpand\csname #1\endcsname}% \fi \fi \edef\si@tempa{% \expandafter\noexpand\csname #2per#1#3\endcsname}% \edef\si@tempb{% \expandafter\noexpand\csname #2\endcsname\noexpand\per \expandafter\noexpand\si@siu@power \expandafter\noexpand\csname #3\endcsname}% \expandafter\expandafter\expandafter\newunit\expandafter% \expandafter\expandafter{\expandafter\si@tempa\expandafter}% \expandafter{\si@tempb} \edef\si@tempa{% \expandafter\noexpand\csname #2per#1#3np\endcsname}% \edef\si@tempb{% \expandafter\noexpand\csname #2\endcsname\noexpand \reciprocal\expandafter\noexpand\si@siu@power \expandafter\noexpand\csname #3\endcsname}% \expandafter\expandafter\expandafter\newunit\expandafter \expandafter\expandafter{\expandafter\si@tempa\expandafter}% \expandafter{\si@tempb}% \si@siu@newunithook[#1]{#2}{#3}} \providecommand*{\si@siu@newunithook}[3][]{} \si@siu@newunit{gray}{second} \si@siu@newunit[square]{metre}{second} \si@siu@newunit{joule}{mole} \si@siu@newunit[cubic]{mole}{metre} \si@siu@newunit[square]{radian}{second} \si@siu@newunit{radian}{second} \si@siu@newunit[cubic]{squaremetre}{metre} \si@siu@newunit[cubic]{katal}{metre} \si@siu@newunit{coulomb}{mol} \si@siu@newunit[square]{ampere}{metre} \si@siu@newunit[cubic]{kilogram}{metre} \si@siu@newunit[cubic]{coulomb}{metre} \si@siu@newunit{volt}{metre} \si@siu@newunit[square]{coulomb}{squaremetre} \si@siu@newunit{farad}{metre} \si@siu@newunit[square]{watt}{metre} \si@siu@newunit[square]{joule}{metre} \si@siu@newunit[cubic]{newton}{metre} \si@siu@newunit{newton}{kilogram} \si@siu@newunit{joule}{kelvin} \si@siu@newunit{joule}{kilogram} \si@siu@newunit{coulomb}{kilogram} \si@siu@newunit{squaremetre}{second} \si@siu@newunit[square]{squaremetre}{second} \si@siu@newunit[square]{candela}{metre} \si@siu@newunit{ampere}{metre} \si@siu@newunit{joule}{tesla} \si@siu@newunit{henry}{metre} \si@siu@newunit{kilogram}{second} \si@siu@newunit[square]{kilogram}{metre} \si@siu@newunit{kilogram}{metre} \si@siu@newunit[square]{newton}{metre} \si@siu@newunit{watt}{kilogram} \si@siu@newunit[cubic]{watt}{metre} \si@siu@newunit{squaremetre}{kilogram} \si@siu@newunit{cubicmetre}{kilogram} \si@siu@newunit{newton}{metre} \si@siu@newunit[cubic]{squaremetre}{second} \si@siu@newunit{metre}{second} \si@siu@newunit[cubic]{joule}{metre} \si@siu@newunit{cubicmetre}{second} \newcommand*{\si@siu@newunitx}[4]{% \expandafter\newunit\expandafter{\csname #1per#2\endcsname} {#3\per#4}% \expandafter\newunit\expandafter{\csname #1per#2np\endcsname} {#3\reciprocal#4} \si@siu@newunitxhook{#1}{#2}{#3}{#4}} \providecommand*{\si@siu@newunitxhook}[4]{} \si@siu@newunitx{kilogramsquaremetre}{second} {\kilogram\squaremetre}{\second} \si@siu@newunitx{squaremetre}{newtonsecond}{\squaremetre} {\newton\second} \si@siu@newunitx{kilogrammetre}{second}{\kilogram\metre} {\second} \si@siu@newunitx{kilogram}{squaremetresecond}{\kilogram} {\squaremetre\second} \si@siu@newunitx{joule}{molekelvin}{\joule}{\mole\kelvin} \si@siu@newunitx{kilogram}{kilomole}{\kilogram}{\kilo\mole} \si@siu@newunitx{kilogrammetre}{squaresecond}{\kilogram\metre} {\second\squared} \si@siu@newunitx{watt}{squaremetresteradian}{\watt} {\squaremetre\steradian} \si@siu@newunitx{joule}{kilogramkelvin}{\joule} {\kilogram\kelvin} \si@siu@newunitx{watt}{metrekelvin}{\watt}{\metre\kelvin} \si@siu@newunitx{kilogram}{cubicmetrecoulomb}{\kilogram} {\cubic\metre\coulomb} \si@siu@newunitx{kilogram}{secondcubicmetre}{\kilogram} {\second\cubicmetre} \newunit{\si@siu@unity}{1} \si@siu@newunitx{}{squaremetresecond}{\si@siu@unity} {\squaremetre\second} \newunit{\pascalsecond}{\pascal\second} \newunit{\amperemetresecond}{\ampere\metre\second} \newunit{\ohmmetre}{\ohm\metre} \newunit{\newtonmetre}{\newton\metre} \let\newtonmetrenp\newtonmetre \newunit{\kilogramsquaremetre}{\kilogram\squaremetre} \let\kilogramsquaremetrenp\kilogramsquaremetre \newcommand*{\si@siu@newprefix}[1]{% \edef\si@tempa{\expandafter\noexpand\csname #1d\endcsname}% \edef\si@tempb{\expandafter\noexpand\csname #1\endcsname}% \expandafter\expandafter\expandafter\newcommand\expandafter \expandafter\expandafter*\expandafter\expandafter \expandafter{\expandafter\si@tempa\expandafter}\expandafter {\expandafter\si@prefixsymbolicfalse\si@tempb}} \si@siu@newprefix{yocto} \si@siu@newprefix{zepto} \si@siu@newprefix{atto} \si@siu@newprefix{femto} \si@siu@newprefix{pico} \si@siu@newprefix{nano} \si@siu@newprefix{micro} \si@siu@newprefix{milli} \si@siu@newprefix{centi} \si@siu@newprefix{deca} \si@siu@newprefix{deka} \si@siu@newprefix{hecto} \si@siu@newprefix{kilo} \si@siu@newprefix{mega} \si@siu@newprefix{giga} \si@siu@newprefix{tera} \si@siu@newprefix{peta} \si@siu@newprefix{exa} \si@siu@newprefix{zetta} \si@siu@newprefix{yotta} \ifsi@old@binary \si@siu@newprefix{kibi} \si@siu@newprefix{mebi} \si@siu@newprefix{gibi} \si@siu@newprefix{tebi} \si@siu@newprefix{pebi} \si@siu@newprefix{exbi} \fi \ifsi@old@derived \newunit{\derradian}{\metre\reciprocal\metre} \newunit{\dersteradian}{\squaremetre\rpsquare\metre} \newunit{\derhertz}{\reciprocal\second} \newunit{\dernewton}{\metre\kilogram\second\rpsquared} \newunit{\derpascal}{\newton\rpsquare\metre} \newunit{\derjoule}{\newton\metre} \newunit{\derwatt}{\joule\reciprocal\second} \newunit{\dercoulomb}{\ampere\second} \newunit{\dervolt}{\watt\reciprocal\ampere} \newunit{\derfarad}{\coulomb\reciprocal\volt} \newunit{\derohm}{\volt\reciprocal\ampere} \newunit{\dersiemens}{\ampere\reciprocal\volt} \newunit{\derweber} {\squaremetre\kilogram\second\rpsquared\reciprocal\ampere} \newunit{\dertesla}{\weber\rpsquare\metre} \newunit{\derhenry}{\weber\reciprocal\ampere} \newunit{\dercelsius}{\kelvin} \newunit{\derlumen}{\candela\steradian} \newunit{\derlux}{\lumen\rpsquare\metre} \newunit{\derbecquerel}{\derhertz} \newunit{\dergray}{\joule\reciprocal\kilogram} \newunit{\dersievert}{\dergray} \newunit{\derkatal}{\rp\second\usk\mole} \fi \ifsi@old@derivedinbase \newunit{\radianbase}{\metre\reciprocal\metre} \newunit{\steradianbase}{\squaremetre\rpsquare\metre} \newunit{\hertzbase}{\reciprocal\second} \newunit{\newtonbase}{\metre\kilogram\second\rpsquared} \newunit{\pascalbase}{\reciprocal\metre\kilogram\second% \rpsquared} \newunit{\joulebase}{\squaremetre\kilogram\second\rpsquared} \newunit{\wattbase}{\squaremetre\kilogram\rpcubic\second} \newunit{\coulombbase}{\ampere\second} \newunit{\voltbase} {\squaremetre\kilogram\rpcubic\second\reciprocal\ampere} \newunit{\faradbase} {\rpsquare\metre\reciprocal\kilogram\fourth\second\ampere% \squared} \newunit{\ohmbase} {\squaremetre\kilogram\rpcubic\second\rpsquare\ampere} \newunit{\siemensbase} {\rpsquare\metre\reciprocal\kilogram\cubic\second\ampere% \squared} \newunit{\weberbase} {\squaremetre\kilogram\second\rpsquared\reciprocal\ampere} \newunit{\teslabase}{\kilogram\second\rpsquared\reciprocal% \ampere} \newunit{\henrybase} {\squaremetre\kilogram\second\rpsquared\rpsquare\ampere} \newunit{\celsiusbase}{\kelvin} \newunit{\lumenbase}{\candela\squaremetre\rpsquare\metre} \newunit{\luxbase}{\candela\squaremetre\rpfourth\metre} \newunit{\becquerelbase}{\hertzbase} \newunit{\graybase}{\squaremetre\second\rpsquared} \newunit{\sievertbase}{\graybase} \newunit{\katalbase}{\rp\second\mole} \fi \InputIfFileExists{SIunits.cfg} {\si@log@inf{SIunits config file loaded}} {\si@log@inf{SIunits config file not found}} \endinput %% %% End of file `si-SIunits.cfg'.