%% %% This is file `si-unitsdef.cfg', %% generated with the docstrip utility. %% %% The original source files were: %% %% siunitx.dtx (with options: `unitsdef') %% --------------------------------------------------------------- %% 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 %% --------------------------------------------------------------- %% \ProvidesFile{si-unitsdef.cfg} [2010/02/05 v1.4a siunitx: Emulation of unitsdef] \si@emulating{unitsdef}{2005/01/04 v0.2} \si@ifloaded{SIunits} {\si@emclash{unitsdef}{SIunits}\endinput}{} \si@ifloaded{sistyle} {\si@emclash{unitsdef}{sistyle}\endinput}{} \requiresiconfigs{units} \RequirePackage{textcomp} \RequirePackage[T1]{fontenc} \sisetup{mode=text,allowoptarg,prespace} \ifsi@old@noxspace \sisetup{xspace=false} \fi \ifsi@old@noabbr \sisetup{noload=abbr} \fi \ifsi@old@nofrequncyabbr \sisetup{noload=abbr} \fi \ifsi@old@nomolabbr \sisetup{noload=abbr} \fi \ifsi@old@novoltageabbr \sisetup{noload=abbr} \fi \ifsi@old@novolumeabbr \sisetup{noload=abbr} \fi \ifsi@old@noweightabbr \sisetup{noload=abbr} \fi \ifsi@old@noenergyabbr \sisetup{noload=abbr} \fi \ifsi@old@nolengthabbr \sisetup{noload=abbr} \fi \ifsi@old@notimeabbr \sisetup{noload=abbr} \fi \newcommand*{\unitvaluesep}{\,} \renewcommand*{\si@valuesep}{\text{\unitvaluesep}} \define@choicekey*+[si]{key}{valuesep}[\si@tempa] {space,thin,med,medium,thick,none} {\renewcommand*\unitvaluesep\@nameuse{si@fix@##1}% \si@log@debug{Option valuesep set to ##1}} {\si@log@debug{Option valuesep set to ##1}% \renewcommand*\unitvaluesep{##1}} \let\unitsignonly\si \si@newrobustcmd*{\ilu}[2][]{% \begingroup #1\unitvaluesep% \unit{#2}% \endgroup} \let\arc\ang \newcommand*{\unitSIdef}{\upshape} \newcommand*{\si@unitSIdef}{\unitSIdef\selectfont} \sisetup{textrm=si@unitSIdef} \let\per\relax \si@newrobustcmd*{\per}[2]{% \begingroup \si@xspacefalse \renewcommand*{\unitvaluesep}{}% \unitfrac{#1}{#2}% \endgroup} \newcommand*{\unittimes}{\ensuremath{\cdot}} \newcommand*{\unitsep}{\,} \renewcommand*{\si@unt@unithook}{\si@unt@litouttrue} \sisetup{unitsep=none} \newcommand*{\unitsuperscript}{\tothe} \newcommand*{\newnosepunit}{\newunit[valuesep=none]} \newcommand*{\renewnosepunit}{\renewunit[valuesep=none]} \newcommand*{\setTextOmega}[2]{% \renewcommand*{\si@textOmega}{% \begingroup \edef\si@tempa{\sfdefault}% \ifx\f@family\si@tempa \expandafter#2% \else \expandafter#1% \fi \endgroup}} \newcommand*{\setMathOmega}[1]{\sisetup{mathsOmega=#1}} \newcommand*{\setTextmu}[2]{% \renewcommand*{\si@textmu}{% \begingroup \edef\si@tempa{\sfdefault}% \ifx\f@family\si@tempa \expandafter#2% \else \expandafter#1% \fi \endgroup}} \newcommand*{\setMathmu}[1]{\sisetup{mathsmu=#1}} \newcommand*{\setTextCelsius}[2]{% \renewcommand*{\si@textcelsius}{% \begingroup \edef\si@tempa{\sfdefault}% \ifx\f@family\si@tempa \expandafter#2% \else \expandafter#1% \fi \endgroup}} \newcommand*{\setMathCelsius}[1]{\sisetup{mathscelsius=#1}} \newcommand*{\setMathDegree}[2]{% \renewcommand*{\si@textdegree}{% \begingroup% \edef\si@tempa{\sfdefault}% \ifx\f@family\si@tempa \expandafter#2% \else \expandafter#1% \fi \endgroup}} \newcommand*{\setTextDegree}[1]{\sisetup{textdegree=#1}} \ifsi@old@OHM \ifsi@old@ohm \si@log@inf{Both `ohm' and `OHM' options given\MessageBreak Using default behaviour for unitsdef} \expandafter\expandafter\expandafter\si@old@OHMfalse \fi \fi \ifsi@old@liter \ifsi@old@LITER \si@log@inf{Both `liter' and `LITER' options given\MessageBreak Using default behaviour for unitsdef} \else \renewunit{\liter}{l} \fi \fi \newunit{\ton}{t} \newunit{\days}{d} \newunit{\picometer}{\pico\meter} \newunit{\nanometer}{\nano\meter} \newunit{\micrometer}{\micro\meter} \newunit{\millimeter}{\milli\meter} \newunit{\centimeter}{\centi\meter} \newunit{\decimeter}{\deci\meter} \newunit{\kilometer}{\kilo\meter} \newunit{\femtoliter}{\femto\liter} \newunit{\picoliter}{\pico\liter} \newunit{\nanoliter}{\nano\liter} \newunit{\microliter}{\micro\liter} \newunit{\milliliter}{\milli\liter} \newunit{\centiliter}{\centi\liter} \newunit{\deciliter}{\deci\liter} \newunit{\hectoliter}{\hecto\liter} \newunit{\cubicmeter}{\meter\cubed} \newunit{\cubicmicrometer}{\micro\meter\cubed} \newunit{\cubicmillimeter}{\milli\meter\cubed} \newunit{\squaremeter}{\Square\meter} \newunit{\squarecentimeter}{\Square\centi\meter} \newunit{\squarekilometer}{\Square\kilo\meter} \newunit{\ar}{a} \newunit{\hectar}{\hecto\ar} \ifsi@old@noabbr \else \ifsi@old@novoltageabbr\else \newunit{\kv}{\kilo\volt} \newunit{\mv}{\milli\volt} \fi \fi \ifsi@old@noabbr\else \ifsi@old@notimeabbr\else \newunit{\sek}{\second} \fi \ifsi@old@noweightabbr\else \newunit{\fg}{\femto\gram} \fi \ifsi@old@novolumeabbr\else \newunit{\fl}{\femto\liter} \newunit{\pl}{\pico\liter} \newunit{\nl}{\nano\liter} \newunit{\micl}{\micro\liter} \newunit{\ml}{\milli\liter} \newunit{\cl}{\centi\liter} \newunit{\dl}{\deci\liter} \newunit{\hl}{\hecto\liter} \fi \fi \newunit{\calory}{cal} \newunit{\kilocalory}{\kilo\calory} \newunit{\uBar}{ba} \catcode`\-=11\relax \ifsi@old@redef-gensymb \expandafter\si@gensymbtrue \fi \catcode`\-=12\relax \ifsi@gensymb \RequirePackage{gensymb} \AtBeginDocument{ \let\gensymbohm\ohm \let\gensymbcelsius\celsius \let\gensymbmicro\micro \let\gensymbdegree\degree \let\ohm\@undefined \let\celsius\@undefined \let\micro\@undefined \let\degree\@undefined \ifsi@old@OHM\else \newunit{\ohm}{\si@sym@Omega} \newunit{\celsius}{\si@sym@celsius} \newprefix{\micro}{\si@sym@mu}{-6} \newunit{\degree}{\si@sym@degree} \fi} \fi \requiresiconfigs{prefix,named,addn,accepted} \ifsi@old@noconfig\else \InputIfFileExists{unitsdef.cfg} {\si@log@inf{unitsdef config file loaded}} {\si@log@inf{unitsdef config file not found}} \fi %% %% Copyright (C) 2008-2010 by %% Joseph Wright %% %% It may be distributed and/or modified under the conditions of %% the LaTeX Project Public License (LPPL), either version 1.3c of %% this license or (at your option) any later version. The latest %% version of this license is in the file: %% %% http://www.latex-project.org/lppl.txt %% %% This work is "maintained" (as per LPPL maintenance status) by %% Joseph Wright. %% %% This work consists of the file siunitx.dtx %% and the derived files siunitx.pdf, %% siunitx.sty %% siunitx.bib, %% siunitx.ins, %% siunitx-bug.tex and %% various .cfg files. %% %% %% End of file `si-unitsdef.cfg'.