|
[Rivet-svn] r2600 - trunk/docblackhole at projects.hepforge.org blackhole at projects.hepforge.orgMon Jul 19 13:50:58 BST 2010
Author: hoeth Date: Mon Jul 19 13:50:58 2010 New Revision: 2600 Log: more TeX dependency issues fixed Added: trunk/doc/SIunits.cfg trunk/doc/SIunits.sty trunk/doc/binary.sty Added: trunk/doc/SIunits.cfg ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/doc/SIunits.cfg Mon Jul 19 13:50:58 2010 (r2600) @@ -0,0 +1,38 @@ +%% SIunits configuration file: SIunits.cfg +%% +%% You can uncomment one or more of the lines below to set default options. +%% +%%\ExecuteOptions{binary} % Load binary.sty (binary units and prefixes) +%% +%% Spacing options (multiplying units): +%% +%%\ExecuteOptions{cdot} % \cdot +%%\ExecuteOptions{thickspace} % thick space \; +%%\ExecuteOptions{mediumspace} % medium space \: +%%\ExecuteOptions{thinspace} % thin space \, +%% +%% Spacing options (between quantity and unit): +%% +%%\ExecuteOptions{thickqspace} % thick space \; +%%\ExecuteOptions{mediumqspace} % medium space \: +%%\ExecuteOptions{thinqspace} % thin space \, +%% +%% Compatibility options: +%% +%%\ExecuteOptions{noams} % When you don't have the AMS font, eurm10, use this option. +%% +%%\ExecuteOptions{amssymb} % prevent amssymb package from defining \square +%%\ExecuteOptions{squaren} % define \squaren for use with amssymb package +%% +%%\ExecuteOptions{pstricks}% prevent pstricks package from defining \gray +%%\ExecuteOptions{Gray} % define \Gray for use with pstricks package +%% +%%\ExecuteOptions{italian} % define \unita to prevent interference with babel package. +%% +%% Misc options: +%% +%%\ExecuteOptions{textstyle}% Typeset units in font of context. +%% +%% Source: $Id: SIunits.dtx,v 1.33 2002/08/01 11:20:00 root Exp root $ +%% +%% End of file `SIunits.cfg'. Added: trunk/doc/SIunits.sty ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/doc/SIunits.sty Mon Jul 19 13:50:58 2010 (r2600) @@ -0,0 +1,580 @@ +%% +%% 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 at webschool.nl>. +%% +%% This program may be distributed and/or modified under the conditions of the LaTeX Project +%% Public License, either version 1.3 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.3a or later is part of all distributions of LaTeX version 2003/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 at RCS$#1: #2 #3${#2} +\def\filename{SIunits.dtx}%Source File Name +\xdef\fileversion{\SIunits at RCS$Revision: 1.36 $}%Revision generated by CS-RCS +\xdef\filedate{\SIunits at RCS$Date: 2007/12/02 12:00: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 at redefsquare\@redefsquarefalse +\newif\if at defsquaren\@defsquarenfalse +\newif\if at redefGray\@redefGrayfalse +\newif\if at defGray\@defGrayfalse +\newif\if at textstyle\@textstylefalse +\newif\if at optionbinary\@optionbinaryfalse +\newif\if at optionNoAMS\@optionNoAMSfalse +\newif\if at inunitcommand\@inunitcommandfalse +\newlength{\@qskwidth} +\newif\if at defitalian\@defitalianfalse +\DeclareRobustCommand\SI at 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 at execopt\SIunits@@}} +\newcommand*\SIunits at execopt[1]{\@ifundefined{SIunits at opt@#1}% + {\PackageWarning{SIunits}{Requested option `#1' not provided}}% + {\@nameuse{SIunits at opt@#1}}} +\newcommand*\SIunits at opt@thickspace{% + \@thickspace{runtime option `thickspace' provided!}} +\newcommand*\SIunits at opt@mediumspace{% + \@mediumspace{runtime option `mediumspace' provided!}} +\newcommand*\SIunits at opt@thinspace{% + \@thinspace{runtime option `thinspace' provided!}} +\newcommand*\SIunits at opt@cdot{% + \@cdot{runtime option `cdot' provided!}} +\newcommand*\SIunits at opt@thickqspace{% + \@thickqspace{runtime option `thickqspace' provided!}} +\newcommand*\SIunits at opt@mediumqspace{% + \@mediumqspace{runtime option `mediumqspace' provided!}} +\newcommand*\SIunits at opt@thinqspace{% + \@thinqspace{runtime option `thinqspace' provided!}} +\DeclareRobustCommand{\@text}{% + \ifmmode\expandafter\@text@\else\expandafter\mbox\fi} +\let\nfss at text\@text% +\def\@text@#1{\mathchoice% + {\textdef@\displaystyle\f at size{#1}}% + {\textdef@\textstyle\tf at size{\firstchoice at false #1}}% + {\textdef@\textstyle\sf at size{\firstchoice at false #1}}% + {\textdef@\textstyle\ssf at size{\firstchoice at false #1}}% + \check at mathfonts}% +\def\textdef@#1#2#3{\hbox{{% + \everymath{#1}% + \let\f at size#2\selectfont% + #3}}}% +\newif\iffirstchoice@% +\firstchoice at 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 at fstyle{#2}}}} +\DeclareRobustCommand{\addprefix}[2]{\newcommand{#1}{\ensuremath{\SI at fstyle{#2}}}} +\DeclareRobustCommand*{\unitskip}[1]{\renewcommand{\usk}{\ensuremath{#1}}} +\DeclareRobustCommand*{\quantityskip}[1]{\renewcommand{\@qsk}{\ensuremath{#1}}} +\DeclareRobustCommand*{\per}{\ensuremath{\SI at 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 at active}[1]{\begingroup\mathcode`\.="8000\ensuremath{#1}\endgroup} +\DeclareRobustCommand{\unit}[2]{\@inunitcommandtrue% + \ensuremath{\SI at fstyle{#1\@qsk\period at active{#2}}}% + \@inunitcommandfalse} +\DeclareRobustCommand{\one}{\settowidth{\@qskwidth}{\@qsk}\hspace*{-\@qskwidth}} +\DeclareRobustCommand{\no at qsk}{% + \if at inunitcommand% + \one% + \else% + \relax% + \fi% +} +\DeclareRobustCommand{\power}[2]{\ensuremath{\SI at fstyle{#1}^{\SI at fstyle{#2}}}} +\AtBeginDocument{% + \if at 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 at 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 at defsquaren + \fi %\if at redefsquare + \if at 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 at fstyle{#1\@qsk\period at active{#2}}}% + \@inunitcommandfalse% + }% + \fi%\if at defitalian +} %\AtBeginDocument +\DeclareRobustCommand{\SI at square}[1] + {\if at defsquaren% + \squaren{#1}% + \else + \square{#1}% + \fi %\if at defsquaren + } +\DeclareRobustCommand*{\squared}{\ensuremath{^{\SI at fstyle{2}}}} +\DeclareRobustCommand*{\cubic}[1]{\power{#1}{3}} +\DeclareRobustCommand*{\cubed}{\ensuremath{^{\SI at fstyle{3}}}} +\DeclareRobustCommand*{\fourth}[1]{\power{#1}{4}} +\RequirePackage{amstext} +\DeclareRobustCommand*{\SIminus}{% + \let\SI at tempa\relax + \ifmmode + \edef\SI at tempb{bold}% + \ifx\math at version\SI at tempb + \let\SI at tempa\boldmath% + \fi + \else + \if b\expandafter\@car\f at series\@nil + \let\SI at tempa\bfseries% + \fi + \fi + \text{\SI at tempa$-$}% +} +\DeclareRobustCommand*{\reciprocal}[1]{\power{#1}{\SIminus1}} +\DeclareRobustCommand*{\rp}{\reciprocal} +\DeclareRobustCommand*{\rpsquare}[1]{\power{#1}{\SIminus2}} +\DeclareRobustCommand*{\rpsquared}{\ensuremath{^{\SI at fstyle{\SIminus2}}}} +\DeclareRobustCommand*{\rpcubic}[1]{\power{#1}{\SIminus3}} +\DeclareRobustCommand*{\rpcubed}{\ensuremath{^{\SI at fstyle{\SIminus3}}}} +\DeclareRobustCommand*{\rpfourth}[1]{\power{#1}{\SIminus4}} +\addprefix{\yocto}{y} +\addprefix{\zepto}{z} +\addprefix{\atto}{a} +\addprefix{\femto}{f} +\addprefix{\pico}{p} +\addprefix{\nano}{n} +\AtBeginDocument{% +\if at optionNoAMS% + \addprefix{\micro}{\mbox{\SImu}}% +\else% + \addprefix{\micro}{\upmu}% + \fi% +\if at 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 at fstyle{\degree\Celsius}}} +\addunit{\celsius}{\degreecelsius} +\addunit{\lumen}{lm} +\addunit{\lux}{lx} +\addunit{\becquerel}{Bq} +\AtBeginDocument{% +\if at redefGray + \providecommand{\gray}{\ensuremath{\SI at fstyle{Gy}}} + \renewcommand{\gray}{\ensuremath{\SI at fstyle{Gy}}} + \typeout{Option `pstricks' provided! ^^J + Command \protect\gray\space redefined by SIunits package!} + \typeout{} + \else + \if at defGray + \providecommand{\Gray}{\ensuremath{\SI at fstyle{Gy}}} + \renewcommand{\Gray}{\ensuremath{\SI at fstyle{Gy}}} + \typeout{Option `Gray' provided! ^^J + Command \protect\Gray\space defined by SIunits package!} + \typeout{} + \else + \@ifundefined{gray}{% + \newcommand*{\gray}{\ensuremath{\SI at 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 at defGray + \fi %\if at redefGray +} %\AtBeginDocument +\addunit{\sievert}{Sv} +\addunit{\katal}{kat} + +\newcommand*\SIunits at 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 at 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 at qsk\ensuremath{^{\circ}}} +\addunit{\paminute}{\no at qsk\ensuremath{'}} +\addunit{\arcminute}{\no at qsk\ensuremath{'}} +\addunit{\pasecond}{\no at qsk\ensuremath{''}} +\addunit{\arcsecond}{\no at 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\kern-0.05ex\volt} +\addunit{\atomicmass}{u} +\addunit{\atomicmassunit}{u} +\addunit{\dalton}{Da} +\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 at 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 at 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 at 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 at optionbinary\RequirePackage{binary}\fi} +\DeclareOption{derivedinbase}{\SIunits at opt@derivedinbase} +\DeclareOption{derived}{\SIunits at 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'. Added: trunk/doc/binary.sty ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/doc/binary.sty Mon Jul 19 13:50:58 2010 (r2600) @@ -0,0 +1,47 @@ +%% +%% This is file `binary.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% SIunits.dtx (with options: `binary') +%% +%% Copyright (c) 1998-2002 Marcel Heldoorn <m.heldoorn at webschool.nl>. +%% +%% This program may be distributed and/or modified under the conditions of the LaTeX Project +%% Public License, either version 1.3 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.3a or later is part of all distributions of LaTeX version 2003/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 at RCS$#1: #2 #3${#2} +\def\filename{SIunits.dtx}%Source File Name +\xdef\fileversion{\SIunits at RCS$Revision: 1.36 $}%Revision generated by CS-RCS +\xdef\filedate{\SIunits at RCS$Date: 2007/12/02 12:00:00 $}%Date generated by CS-RCS +\let\docversion=\fileversion +\let\docdate=\filedate +\NeedsTeXFormat{LaTeX2e}[1997/12/01] +\ProvidesPackage{binary} + [\filedate\space v\fileversion\space + Support for binary prefixes and units (MH)] +\RequirePackageWithOptions{SIunits} + \def\packagemessage{} +\AtBeginDocument{% +\addprefix{\kibi}{Ki} \newcommand{\kibid}{\power{2}{10}} +\addprefix{\mebi}{Mi} \newcommand{\mebid}{\power{2}{20}} +\addprefix{\gibi}{Gi} \newcommand{\gibid}{\power{2}{30}} +\addprefix{\tebi}{Ti} \newcommand{\tebid}{\power{2}{40}} +\addprefix{\pebi}{Pi} \newcommand{\pebid}{\power{2}{50}} +\addprefix{\exbi}{Ei} \newcommand{\exbid}{\power{2}{60}} + +\addunit{\bit}{bit} +\addunit{\byte}{B}% +} %\AtBeginDocument +%% +%% Source: $Id: SIunits.dtx,v 1.33 2002/08/01 11:20:00 root Exp root $ +%% +%% End of file `binary.sty'.
More information about the Rivet-svn mailing list |