From 71e1ef7201c8a380aa66cbdeb409aeeeb72ccc7e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 7 Oct 2013 23:03:40 +0000 Subject: hepnames (7oct13) git-svn-id: svn://tug.org/texlive/trunk@31856 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/hepnames/hepnames.sty | 16 +++++---- .../texmf-dist/tex/latex/hepnames/hepnicenames.sty | 41 +++++++++++++++++----- .../texmf-dist/tex/latex/hepnames/heppennames.sty | 33 +++++++++++------ 3 files changed, 63 insertions(+), 27 deletions(-) (limited to 'Master/texmf-dist/tex/latex/hepnames') diff --git a/Master/texmf-dist/tex/latex/hepnames/hepnames.sty b/Master/texmf-dist/tex/latex/hepnames/hepnames.sty index fd147a3e1ac..99ee5e9873e 100644 --- a/Master/texmf-dist/tex/latex/hepnames/hepnames.sty +++ b/Master/texmf-dist/tex/latex/hepnames/hepnames.sty @@ -7,19 +7,17 @@ %% historical precendent notwithstanding! %% %% Author: Andy Buckley -%% -%% This material is subject to the LaTeX Project Public License. -%% See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html +%% +%% This material is subject to the LaTeX Project Public License. +%% See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html %% for the details of that license. %% %% ------------------------------------------------------------- -\def\fileversion{1.4} -\def\filedate{2007/03/07} +\def\fileversion{1.7} +\def\filedate{2013/10/05} \ProvidesPackage{hepnames}[\filedate\space Pre-defined HEP particle symbols (version \fileversion)] \NeedsTeXFormat{LaTeX2e} -\RequirePackage{hepnicenames} -\RequirePackage{heppennames} %% Declare package options: map directly on to options in hepnicenames \DeclareOption{italic}{% @@ -37,6 +35,10 @@ %% Process package options \ProcessOptions +%% Load packages that do stuff +\RequirePackage{hepnicenames} +\RequirePackage{heppennames} + %% For referencing this package \DeclareRobustCommand{\hepnames}{\texttt{hepnames}\xspace} diff --git a/Master/texmf-dist/tex/latex/hepnames/hepnicenames.sty b/Master/texmf-dist/tex/latex/hepnames/hepnicenames.sty index 5da8504992a..4425de1bd7b 100644 --- a/Master/texmf-dist/tex/latex/hepnames/hepnicenames.sty +++ b/Master/texmf-dist/tex/latex/hepnames/hepnicenames.sty @@ -1,25 +1,24 @@ %% hepnicenames.sty --- a friendly version of heppennames %% -%% This package is a friendly interface to the simpler particles in the +%% This package is a friendly interface to the simpler particles in the %% heppennames package as the PEN scheme is a bit unfriendly for people %% who just want to write intuitive-looking LaTeX source. The more complex %% resonances etc. are left with PEN codes only. -%% +%% %% Author: Andy Buckley -%% -%% This material is subject to the LaTeX Project Public License. -%% See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html +%% +%% This material is subject to the LaTeX Project Public License. +%% See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html %% for the details of that license. %% %% ------------------------------------------------------------- -\def\fileversion{1.4} -\def\filedate{2007/03/07} +\def\fileversion{1.7} +\def\filedate{2013/10/05} \ProvidesPackage{hepnicenames}[\filedate\space Friendly alternatives to the PEN particle codes (version \fileversion)] \NeedsTeXFormat{LaTeX2e} -\RequirePackage{heppennames} -%% Declare package options: map directly on to options in hepparticles +%% Declare package options: map directly on to options in hepparticles %% package via heppennames \DeclareOption{italic}{% \PassOptionsToPackage{italic}{heppennames}% @@ -36,6 +35,9 @@ %% Process package options \ProcessOptions +%% Load the heppennames package, for which this is syntactic sugar +\RequirePackage{heppennames} + %% For referencing this package \DeclareRobustCommand{\hepnicenames}{\texttt{hepnicenames}\xspace} @@ -44,6 +46,7 @@ %% The particles... %% ------------------------------------------------------------- + %% B mesons %\DeclareRobustCommand{\PB}{\PB} %% in pennames %\DeclareRobustCommand{\PBpm}{\PBpm} %% in pennames @@ -51,6 +54,7 @@ \DeclareRobustCommand{\PBplus}{\PBp} \DeclareRobustCommand{\PBminus}{\PBm} \DeclareRobustCommand{\PBzero}{\PBz} +\DeclareRobustCommand{\PBstar}{\PBst} \DeclareRobustCommand{\PBd}{\PdB} \DeclareRobustCommand{\PBu}{\PuB} \DeclareRobustCommand{\PBc}{\PcB} @@ -79,6 +83,9 @@ %% Bosons \DeclareRobustCommand{\Pphoton}{\Pgg} +\DeclareRobustCommand{\Pgamma}{\Pgg} +\DeclareRobustCommand{\Pphotonx}{\Pggx} +\DeclareRobustCommand{\Pgammastar}{\Pggx} \DeclareRobustCommand{\Pgluon}{\Pg} %\DeclareRobustCommand{\PW}{\PW} %% in pennames %\DeclareRobustCommand{\PWpm}{\PWpm} %% in pennames @@ -91,6 +98,14 @@ \DeclareRobustCommand{\PZprime}{\PZpr} % Z-prime \DeclareRobustCommand{\Paxion}{\PAz} % axion +%% Generic fermions +\DeclareRobustCommand{\Pfermion}{\Pf} +\DeclareRobustCommand{\Pfermionpm}{\Pfpm} +\DeclareRobustCommand{\Pfermionmp}{\Pfmp} +\DeclareRobustCommand{\Pfermionplus}{\Pfp} +\DeclareRobustCommand{\Pfermionminus}{\Pfm} +\DeclareRobustCommand{\APfermion}{\Paf} + %% Leptons \DeclareRobustCommand{\Plepton}{\Pl} % lepton \DeclareRobustCommand{\Pleptonpm}{\Plpm} % charged lepton @@ -160,6 +175,12 @@ \DeclareRobustCommand{\APproton}{\Pap} \DeclareRobustCommand{\APneutron}{\Pan} +%% Chi_c mesons +\DeclareRobustCommand{\Pchic}{\Pcgc} + +%% Delta baryons +\DeclareRobustCommand{\PDelta}{\PgD} + %% Lambda baryons \DeclareRobustCommand{\PLambda}{\PgL} \DeclareRobustCommand{\APLambda}{\PagL} @@ -305,6 +326,7 @@ \DeclareRobustCommand{\PSnu}{\PSgn} % sneutrino \DeclareRobustCommand{\PStau}{\PSgt} % stau \DeclareRobustCommand{\PSino}{\PSgx} % neutralino/chargino +\DeclareRobustCommand{\PSgaugino}{\PSino} % neutralino/chargino \DeclareRobustCommand{\PScharginopm}{\PSgxpm} % chargino \pm \DeclareRobustCommand{\PScharginomp}{\PSgxmp} % chargino \mp \DeclareRobustCommand{\PSneutralino}{\PSgxz} % neutralino @@ -312,6 +334,7 @@ \DeclareRobustCommand{\PSneutralinoTwo}{\PSgxzii} % next-to-lightest neutralino \DeclareRobustCommand{\PSgluino}{\PSg} % gluino \DeclareRobustCommand{\PSlepton}{\PSl} % slepton +\DeclareRobustCommand{\PSslepton}{\PSl} % slepton \DeclareRobustCommand{\Pslepton}{\PSl} % duplicate slepton macro \DeclareRobustCommand{\APSlepton}{\PaSl} % anti-slepton \DeclareRobustCommand{\APslepton}{\PaSl} % anti-slepton diff --git a/Master/texmf-dist/tex/latex/hepnames/heppennames.sty b/Master/texmf-dist/tex/latex/hepnames/heppennames.sty index c182f96917c..aa20c329037 100644 --- a/Master/texmf-dist/tex/latex/hepnames/heppennames.sty +++ b/Master/texmf-dist/tex/latex/hepnames/heppennames.sty @@ -1,21 +1,21 @@ %% heppennames.sty --- A flexible re-implementation and extension %% of pennames.sty using the hepparticles package %% -%% It contains the definition of the short names for the PEN +%% It contains the definition of the short names for the PEN %% Elementary Particle Naming Scheme, described in CNL 203, pp 8-11 -%% +%% %% Author: Andy Buckley -%% based on pennames.sty by -%% Michel Goossens and Eric van Herwijnen -%% -%% This material is subject to the LaTeX Project Public License. -%% See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html +%% based on pennames.sty by +%% Michel Goossens and Eric van Herwijnen +%% +%% This material is subject to the LaTeX Project Public License. +%% See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html %% for the details of that license. %% %% ------------------------------------------------------------- -\def\fileversion{1.4} -\def\filedate{2007/03/07} +\def\fileversion{1.7} +\def\filedate{2013/10/05} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{heppennames}[\filedate\space Elementary Particle Naming Scheme (version \fileversion)] @@ -41,7 +41,7 @@ \RequirePackage{amsmath} %% ------------------------------------------------------------- -%% The commands follow... +%% The commands follow... %% ------------------------------------------------------------- %% For referencing this package @@ -60,6 +60,7 @@ \DeclareRobustCommand{\PBp}{\HepParticle{B}{}{+}\xspace} \DeclareRobustCommand{\PBm}{\HepParticle{B}{}{-}\xspace} \DeclareRobustCommand{\PBz}{\HepParticle{B}{}{0}\xspace} +\DeclareRobustCommand{\PBst}{\HepParticle{B}{}{\ast}\xspace} \DeclareRobustCommand{\PdB}{\HepParticle{B}{\Pqd}{0}\xspace} \DeclareRobustCommand{\PuB}{\HepParticle{B}{}{+}\xspace} \DeclareRobustCommand{\PcB}{\HepParticle{B}{\Pqc}{+}\xspace} @@ -117,6 +118,7 @@ %% Bosons \DeclareRobustCommand{\Pg}{\HepParticle{g}{}{}\xspace} % gluon \DeclareRobustCommand{\Pgg}{\HepParticle{\gamma}{}{}\xspace} % photon +\DeclareRobustCommand{\Pggx}{\HepParticle{\gamma}{}{*}\xspace} % photon* \DeclareRobustCommand{\PW}{\HepParticle{W}{}{}\xspace} % W boson \DeclareRobustCommand{\PWpm}{\HepParticle{W}{}{\pm}\xspace} % charged W boson \DeclareRobustCommand{\PWmp}{\HepParticle{W}{}{\mp}\xspace} % charged W boson @@ -146,6 +148,12 @@ \DeclareRobustCommand{\PHp}{\HepParticle{H}{}{+}\xspace} % positive-charged Higgs \DeclareRobustCommand{\PHm}{\HepParticle{H}{}{-}\xspace} % negative-charged Higgs +\DeclareRobustCommand{\Pf}{\HepGenParticle{f}{}{}\xspace} % fermion +\DeclareRobustCommand{\Pfpm}{\HepGenParticle{f}{}{\pm}\xspace} % charged fermion +\DeclareRobustCommand{\Pfmp}{\HepGenParticle{f}{}{\mp}\xspace} % charged fermion +\DeclareRobustCommand{\Pfp}{\HepGenParticle{f}{}{+}\xspace} % positive fermion +\DeclareRobustCommand{\Pfm}{\HepGenParticle{f}{}{-}\xspace} % negative fermion +\DeclareRobustCommand{\Paf}{\HepGenAntiParticle{f}{}{}\xspace} % anti-fermion %% Leptons \DeclareRobustCommand{\Pl}{\HepGenParticle{\ell}{}{}\xspace} % lepton @@ -317,7 +325,7 @@ \DeclareRobustCommand{\PgX}{\HepParticle{\Xi}{}{}\xspace} \DeclareRobustCommand{\PgXp}{\HepParticle{\Xi}{}{+}\xspace} \DeclareRobustCommand{\PgXm}{\HepParticle{\Xi}{}{-}\xspace} -\DeclareRobustCommand{\PgXz}{\HepAntiParticle{\Xi}{}{0}\xspace} +\DeclareRobustCommand{\PgXz}{\HepParticle{\Xi}{}{0}\xspace} \DeclareRobustCommand{\PgXa}{\HepParticleResonanceFormalFull{\Xi}{}{}{1530}{}{}{P}{13}{}\xspace} \DeclareRobustCommand{\PgXb}{\HepParticleResonanceFull{\Xi}{}{}{1690}{}{}\xspace} \DeclareRobustCommand{\PgXc}{\HepParticleResonanceFormalFull{\Xi}{}{}{1820}{}{}{D}{13}{}\xspace} @@ -407,6 +415,9 @@ \DeclareRobustCommand{\PDstmp}{\HepParticleResonanceFull{D}{}{\ast}{2010}{}{\mp}\xspace} \DeclareRobustCommand{\PDstz}{\HepParticleResonanceFull{D}{}{\ast}{2010}{}{0}\xspace} +%% Deltas +\DeclareRobustCommand{\PgD}{\HepParticle{E}{}{0}\xspace} + %% Random things \DeclareRobustCommand{\PEz}{\HepParticle{E}{}{0}\xspace} \DeclareRobustCommand{\PLpm}{\HepParticle{L}{}{\mspace{-1mu}\pm}\xspace} -- cgit v1.2.3