diff options
author | Karl Berry <karl@freefriends.org> | 2011-01-06 00:18:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-01-06 00:18:34 +0000 |
commit | 868d076c9cb5397f7d4af2f8065c4d06e8a30d3e (patch) | |
tree | cfcf2fe0508a37a1691c30c971550dddec0e7454 /Master/texmf-dist/tex/latex/physymb/physymb.sty | |
parent | 95e435b9d92376b084015c419cf900f00c3e6a5a (diff) |
new latex package physymb 0.1 (6jan11)
git-svn-id: svn://tug.org/texlive/trunk@20944 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/physymb/physymb.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/physymb/physymb.sty | 256 |
1 files changed, 256 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/physymb/physymb.sty b/Master/texmf-dist/tex/latex/physymb/physymb.sty new file mode 100644 index 00000000000..ea88e502349 --- /dev/null +++ b/Master/texmf-dist/tex/latex/physymb/physymb.sty @@ -0,0 +1,256 @@ +%% +%% This is file `physymb.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% physymb.dtx (with options: `package') +%% This is a generated file. +%% Copyright (C) 2006-2010 by David Zaslavsky +%% This file 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. + +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesPackage{physymb}[2010/12/15 v0.1 Physics symbol definitions] + +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\RequirePackage{ifthen} +\newboolean{pparticle} +\newboolean{pfeynman} +\newboolean{punits} +\newboolean{pboldvectors} +\DeclareOption{particle}{\setboolean{pparticle}{true}} +\DeclareOption{units}{\setboolean{punits}{true}} +\DeclareOption{feynman}{\setboolean{pfeynman}{true}} +\DeclareOption{arrowvectors}{\setboolean{pboldvectors}{false}} +\DeclareOption{boldvectors}{\setboolean{pboldvectors}{true}} +\ProcessOptions\relax +\RequirePackage{amsbsy} +\RequirePackage{amsmath} +\RequirePackage{amsfonts} +\RequirePackage{amssymb} +\allowdisplaybreaks[2] +\RequirePackage{accents} +\RequirePackage{calligra} +\DeclareMathAlphabet{\mathcalligra}{T1}{calligra}{m}{n} +\DeclareFontShape{T1}{calligra}{m}{n}{<->s*[2.2]callig15}{} +\newcommand{\scriptr}{\mathcalligra{r}} +\newcommand{\sn}[2]{\ensuremath{#1\times10^{#2}}} +\ifthenelse{\boolean{punits}} +{ + \RequirePackage[thinspace,mediumqspace,Gray,squaren]{SIunits} + \addunit{\joulepercubicmeter}{\joule\per\cubic\meter} + \addunit{\joulepercubicmeterrp}{\joule\usk\rpcubic\meter} + \addunit{\torr}{torr} + \addunit{\mmhg}{mmHg} + \addunit{\amu}{amu} + \addunit{\yr}{yr} + \addunit{\erg}{erg} + \addunit{\gauss}{Ga} + \addunit{\molar}{M} + \addunit{\poise}{P} + \addunit{\foot}{ft} + \addunit{\mileperhour}{mph} + \addunit{\pound}{lb} + \newcommand{\snunit}[3]{\ifthenelse{\equal{#1}{1}}% + {\unit{10^{#2}}{#3}}{\unit{\sn{#1}{#2}}{#3}}} +} +{} +\newcommand{\orderof}[1]{\ensuremath{\mathcal{O}\left(#1\right)}} +\DeclareMathOperator{\asin}{\sin^{-1}} +\DeclareMathOperator{\acos}{\cos^{-1}} +\DeclareMathOperator{\atan}{\tan^{-1}} +\DeclareMathOperator{\asec}{\sec^{-1}} +\DeclareMathOperator{\acsc}{\csc^{-1}} +\DeclareMathOperator{\acot}{\cot^{-1}} +\DeclareMathOperator{\sech}{sech} +\DeclareMathOperator{\csch}{csch} +\DeclareMathOperator{\asinh}{\sinh^{-1}} +\DeclareMathOperator{\acosh}{\cosh^{-1}} +\DeclareMathOperator{\atanh}{\tanh^{-1}} +\DeclareMathOperator{\asech}{\sech^{-1}} +\DeclareMathOperator{\acsch}{\csch^{-1}} +\DeclareMathOperator{\acoth}{\coth^{-1}} +\DeclareMathOperator{\diag}{diag} +\DeclareMathOperator{\realop}{Re} +\DeclareMathOperator{\imagop}{Im} +\newcommand{\real}[1]{\realop\{#1\}} +\newcommand{\imag}[1]{\imagop\{#1\}} +\DeclareMathOperator{\sgn}{sgn} +\newcommand{\abs}[1]{\left\lvert#1\right\rvert} +\newcommand{\norm}[1]{\left\lVert#1\right\rVert} +\newcommand{\evalat}[3]{\left.#1\right|_{#2}^{#3}} +\newcommand{\pbrac}[2]{\left\{#1,#2\right\}} +\newcommand{\pbracvars}[4]{\left\{#1,#2\right\}_{#3,#4}} +\ifthenelse{\boolean{pboldvectors}}% + {\renewcommand{\vec}[1]{\mathbf{#1}}}% + {\renewcommand{\vec}[1]{\accentset{\rightharpoonup}{#1}}} +\newcommand{\vecvar}[1]{\vec{#1}} +\newcommand{\tnsvar}[1]{\mathbf{#1}} +\newcommand{\matvar}[1]{\mathbf{#1}} +\newcommand{\identitym}{\mathbf{1}} +\newcommand{\determinant}[1]{\left\lvert#1\right\rvert} +\DeclareMathOperator{\trace}{Tr} +\newcommand{\unitd}{\hat{d}} +\newcommand{\unite}{\hat{e}} +\newcommand{\uniti}{\hat{i}} +\newcommand{\unitj}{\hat{j}} +\newcommand{\unitk}{\hat{k}} +\newcommand{\unitl}{\hat{\ell}} +\newcommand{\unitn}{\hat{n}} +\newcommand{\unitp}{\hat{p}} +\newcommand{\unitq}{\hat{q}} +\newcommand{\unitr}{\hat{r}} +\newcommand{\units}{\hat{s}} +\newcommand{\unitt}{\hat{t}} +\newcommand{\unitu}{\hat{u}} +\newcommand{\unitv}{\hat{v}} +\newcommand{\unitw}{\hat{w}} +\newcommand{\unitx}{\hat{x}} +\newcommand{\unity}{\hat{y}} +\newcommand{\unitz}{\hat{z}} +\newcommand{\unitphi}{\hat{\phi}} +\newcommand{\unitrho}{\hat{\rho}} +\newcommand{\unittheta}{\hat{\theta}} +\newcommand{\unitomega}{\hat{\omega}} +\newcommand{\unitvec}[1]{\hat{#1}} +\newcommand{\udc}{\mathrm{d}} +\newcommand{\uddc}{\mathrm{d}^2} +\newcommand{\udddc}{\mathrm{d}^3} +\newcommand{\pdc}{\partial} +\newcommand{\pddc}{\partial^2} +\newcommand{\pdddc}{\partial^3} +\newcommand{\uds}{\,\mathrm{d}} +\newcommand{\udds}{\,\mathrm{d}^2} +\newcommand{\uddds}{\,\mathrm{d}^3} +\newcommand{\pds}{\,\partial} +\newcommand{\pdds}{\,\partial^2} +\newcommand{\pddds}{\,\partial^3} +\newcommand{\ud}[2]{\frac{\mathrm{d}#1}{\mathrm{d}#2}} +\newcommand{\udd}[2]{\frac{\mathrm{d}^2#1}{\mathrm{d} #2^2}} +\newcommand{\uddd}[2]{\frac{\mathrm{d}^3#1}{\mathrm{d} #2^3}} +\newcommand{\pd}[2]{\frac{\partial #1}{\partial #2}} +\newcommand{\pdd}[2]{\frac{\partial^2#1}{\partial #2^2}} +\newcommand{\pddd}[2]{\frac{\partial^3#1}{\partial #2^3}} +\newcommand{\grad}{\accentset{\rightharpoonup}{\nabla}} +\renewcommand{\div}{\grad\cdot} +\newcommand{\curl}{\grad\times} +\newcommand{\lapl}{\nabla^2} +\newcommand{\conj}[1]{{#1 ^{*}}} +\newcommand{\herm}[1]{{#1 ^{\dagger}}} +\newcommand{\transpose}[1]{{#1 ^{T}}} +\newcommand{\natset}{\mathbb{N}} +\newcommand{\intset}{\mathbb{Z}} +\newcommand{\cpxset}{\mathbb{C}} +\newcommand{\whlset}{\mathbb{Q}} +\newcommand{\realset}{\mathbb{R}} +\newcommand{\imagset}{\mathbb{I}} +\newcommand{\bra}[1]{\left\langle #1 \right\rvert} +\newcommand{\ket}[1]{\left\lvert #1 \right\rangle} +\newcommand{\braket}[2]{\langle #1 \vert #2 \rangle} +\newcommand{\melement}[3]{\langle #1 \vert #2 \vert #3 \rangle} +\newcommand{\projop}[2]{\vert #1 \rangle #2 \langle #1 \vert} +\newcommand{\expect}[1]{\left\langle #1 \right\rangle} +\newcommand{\commut}[2]{\left[ #1, #2 \right]} +\newcommand{\acommut}[2]{\left\{ #1, #2 \right\}} +\DeclareMathOperator{\round}{round} +\DeclareMathOperator{\exd}{\mathbf{d}} +\newcommand{\hodge}{\star} +\newcommand{\upq}{\ensuremath{\mathrm{u}}{}} +\newcommand{\dnq}{\ensuremath{\mathrm{d}}{}} +\newcommand{\srq}{\ensuremath{\mathrm{s}}{}} +\newcommand{\chq}{\ensuremath{\mathrm{c}}{}} +\newcommand{\btq}{\ensuremath{\mathrm{b}}{}} +\newcommand{\tpq}{\ensuremath{\mathrm{t}}{}} +\newcommand{\upaq}{\ensuremath{\bar{\mathrm{u}}}{}} +\newcommand{\dnaq}{\ensuremath{\bar{\mathrm{d}}}{}} +\newcommand{\sraq}{\ensuremath{\bar{\mathrm{s}}}{}} +\newcommand{\chaq}{\ensuremath{\bar{\mathrm{c}}}{}} +\newcommand{\btaq}{\ensuremath{\bar{\mathrm{b}}}{}} +\newcommand{\tpaq}{\ensuremath{\bar{\mathrm{t}}}{}} +\newcommand{\elp}{\ensuremath{\mathrm{e}^-}{}} +\newcommand{\enu}{\ensuremath{\nu_\mathrm{e}}{}} +\newcommand{\ulp}{\ensuremath{\mu^-}{}} +\newcommand{\unu}{\ensuremath{\nu_{\mu}}{}} +\newcommand{\tlp}{\ensuremath{\tau^-}{}} +\newcommand{\tnu}{\ensuremath{\nu_{\tau}}{}} +\newcommand{\ealp}{\ensuremath{\mathrm{e}^+}{}} +\newcommand{\eanu}{\ensuremath{\bar{\nu}_\mathrm{e}}{}} +\newcommand{\ualp}{\ensuremath{\mu^+}{}} +\newcommand{\uanu}{\ensuremath{\bar{\nu}_{\mu}}{}} +\newcommand{\talp}{\ensuremath{\tau^+}{}} +\newcommand{\tanu}{\ensuremath{\bar{\nu}_{\tau}}{}} +\newcommand{\prbr}{\ensuremath{\mathrm{p}^+}{}} +\newcommand{\nebr}{\ensuremath{\mathrm{n}^0}{}} +\newcommand{\lmzbr}{\ensuremath{\Lambda^0}{}} +\newcommand{\sgpbr}{\ensuremath{\Sigma^+}{}} +\newcommand{\sgzbr}{\ensuremath{\Sigma^0}{}} +\newcommand{\sgmbr}{\ensuremath{\Sigma^-}{}} +\newcommand{\dlppbr}{\ensuremath{\Delta^{++}}{}} +\newcommand{\dlpbr}{\ensuremath{\Delta^+}{}} +\newcommand{\dlzbr}{\ensuremath{\Delta^0}{}} +\newcommand{\dlmbr}{\ensuremath{\Delta^-}{}} +\newcommand{\xizbr}{\ensuremath{\Xi^0}{}} +\newcommand{\ximbr}{\ensuremath{\Xi^-}{}} +\newcommand{\ommbr}{\ensuremath{\Omega^-}{}} +\newcommand{\sgspbr}{\ensuremath{\Sigma^{*+}}{}} +\newcommand{\sgszbr}{\ensuremath{\Sigma^{*0}}{}} +\newcommand{\sgsmbr}{\ensuremath{\Sigma^{*-}}{}} +\newcommand{\xiszbr}{\ensuremath{\Xi^{*0}}{}} +\newcommand{\xismbr}{\ensuremath{\Xi^{*-}}{}} +\newcommand{\prabr}{\ensuremath{\mathrm{p}^-}{}} +\newcommand{\neabr}{\ensuremath{\bar{\mathrm{n}}^0}{}} +\newcommand{\dlpabr}{\ensuremath{\bar{\Delta}^{+}}{}} +\newcommand{\dlzabr}{\ensuremath{\bar{\Delta}^{0}}{}} +\newcommand{\dlmabr}{\ensuremath{\bar{\Delta}^{-}}{}} +\newcommand{\dlmmabr}{\ensuremath{\bar{\Delta}^{--}}{}} +\newcommand{\pipm}{\ensuremath{\pi^+}{}} +\newcommand{\pizm}{\ensuremath{\pi^0}{}} +\newcommand{\pimm}{\ensuremath{\pi^-}{}} +\newcommand{\kapm}{\ensuremath{K^+}{}} +\newcommand{\kazm}{\ensuremath{K^0}{}} +\newcommand{\kazam}{\ensuremath{\bar{K}^0}{}} +\newcommand{\kamm}{\ensuremath{K^-}{}} +\newcommand{\ropm}{\ensuremath{\rho^+}{}} +\newcommand{\rozm}{\ensuremath{\rho^0}{}} +\newcommand{\romm}{\ensuremath{\rho^-}{}} +\newcommand{\etam}{\ensuremath{\eta}{}} +\newcommand{\etapm}{\ensuremath{\eta'}{}} +\newcommand{\kaspm}{\ensuremath{\mathrm{K}^{*+}}{}} +\newcommand{\kaszm}{\ensuremath{\mathrm{K}^{*0}}{}} +\newcommand{\kaszam}{\ensuremath{\bar{\mathrm{K}}^{*0}}{}} +\newcommand{\kasmm}{\ensuremath{\mathrm{K}^{*-}}{}} +\newcommand{\omm}{\ensuremath{\omega}{}} +\newcommand{\phim}{\ensuremath{\phi}{}} +\newcommand{\phbsn}{\ensuremath{\gamma}{}} +\newcommand{\Wbsn}{\ensuremath{\mathrm{W}}{}} +\newcommand{\Wpbsn}{\ensuremath{\mathrm{W}^{+}}{}} +\newcommand{\Wmbsn}{\ensuremath{\mathrm{W}^{-}}{}} +\newcommand{\Zzbsn}{\ensuremath{\mathrm{Z}^{0}}{}} +\newcommand{\hbsn}{\ensuremath{\mathrm{h}}{}} +\newcommand{\photon}{\phbsn} +\ifthenelse{\boolean{pfeynman}}% + {\RequirePackage{feynmp}}% + {} +\endinput +%% +%% End of file `physymb.sty'. |