summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hepnames/hepnicenames.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hepnames/hepnicenames.sty')
-rw-r--r--Master/texmf-dist/tex/latex/hepnames/hepnicenames.sty41
1 files changed, 32 insertions, 9 deletions
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 <andy@insectnation.org>
-%%
-%% 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