%%  hepnicenames.sty --- a friendly version of heppennames
%%
%%  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
%%  for the details of that license.
%%
%% -------------------------------------------------------------

\def\fileversion{2.0}
\def\filedate{2014/12/01}
\ProvidesPackage{hepnicenames}[\filedate\space Friendly alternatives to the PEN particle codes (version \fileversion)]
\NeedsTeXFormat{LaTeX2e}

%% Declare package options: map directly on to options in hepparticles
%% package via heppennames
\DeclareOption{italic}{%
  \PassOptionsToPackage{italic}{heppennames}%
}
% \DeclareOption{itforce}{%
%   \PassOptionsToPackage{itforce}{heppennames}%
% }
% \DeclareOption{maybess}{%
%   \PassOptionsToPackage{maybess}{heppennames}%
% }
% \DeclareOption{noss}{%
%   \PassOptionsToPackage{noss}{heppennames}%
% }

%% 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}


%% -------------------------------------------------------------
%% The particles...
%% -------------------------------------------------------------


%% B mesons
%\DeclareRobustCommand{\PB}{\PB} %% in pennames
%\DeclareRobustCommand{\PBpm}{\PBpm} %% in pennames
%\DeclareRobustCommand{\PBmp}{\PBmp} %% in pennames
\DeclareRobustCommand{\PBplus}{\PBp}
\DeclareRobustCommand{\PBminus}{\PBm}
\DeclareRobustCommand{\PBzero}{\PBz}
\DeclareRobustCommand{\PBstar}{\PBst}
\DeclareRobustCommand{\PBd}{\PdB}
\DeclareRobustCommand{\PBu}{\PuB}
\DeclareRobustCommand{\PBc}{\PcB}
\DeclareRobustCommand{\PBs}{\PsB}
\DeclareRobustCommand{\APB}{\PaB}
\DeclareRobustCommand{\APBzero}{\PaBz}
\DeclareRobustCommand{\APBd}{\PadB}
\DeclareRobustCommand{\APBu}{\PauB}
\DeclareRobustCommand{\APBc}{\PacB}
\DeclareRobustCommand{\APBs}{\PasB}

%% Kaons
%\DeclareRobustCommand{\PK}{\PK} %% in pennames
%\DeclareRobustCommand{\PKpm}{\PKpm} %% in pennames
%\DeclareRobustCommand{\PKmp}{\PKmp} %% in pennames
\DeclareRobustCommand{\PKplus}{\PKp}
\DeclareRobustCommand{\PKminus}{\PKm}
\DeclareRobustCommand{\PKzero}{\PKz}
\DeclareRobustCommand{\PKshort}{\PKzS}
\DeclareRobustCommand{\PKs}{\PKzS}
\DeclareRobustCommand{\PKlong}{\PKzL}
\DeclareRobustCommand{\PKl}{\PKzL}
\DeclareRobustCommand{\PKstar}{\PKst}
\DeclareRobustCommand{\APK}{\PaKz}
\DeclareRobustCommand{\APKzero}{\PaKz}

%% 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
%\DeclareRobustCommand{\PWmp}{\PWmp} %% in pennames
\DeclareRobustCommand{\PWplus}{\PWp}
\DeclareRobustCommand{\PWminus}{\PWm}
\DeclareRobustCommand{\PWprime}{\PWpr}
%\DeclareRobustCommand{\PZ}{\PZ} %% in pennames
\DeclareRobustCommand{\PZzero}{\PZz} % Z with a zero
\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
\DeclareRobustCommand{\Pleptonmp}{\Plmp} % charged lepton
\DeclareRobustCommand{\Pleptonplus}{\Plp} % positive lepton
\DeclareRobustCommand{\Pleptonminus}{\Plm} % negative lepton
\DeclareRobustCommand{\APlepton}{\Pal} % anti-lepton
\DeclareRobustCommand{\Pnu}{\Pgn} % neutrino
\DeclareRobustCommand{\APnu}{\Pagn} % antineutrino
\DeclareRobustCommand{\Pneutrino}{\Pgn} % neutrino
\DeclareRobustCommand{\APneutrino}{\Pagn} % antineutrino
\DeclareRobustCommand{\Pnulepton}{\Pgnl} % lepton-flavour neutrino
\DeclareRobustCommand{\APnulepton}{\Pagnl} % lepton-flavour antineutrino
%\DeclareRobustCommand{\Pe}{\Pe} %% in pennames
%\DeclareRobustCommand{\Pepm}{\Pepm} %% in pennames
%\DeclareRobustCommand{\Pemp}{\Pemp} %% in pennames
\DeclareRobustCommand{\Pelectron}{\Pem}
\DeclareRobustCommand{\APelectron}{\Pep}
\DeclareRobustCommand{\Ppositron}{\Pep}
\DeclareRobustCommand{\APpositron}{\Pep}
\DeclareRobustCommand{\Pmu}{\Pgm}
\DeclareRobustCommand{\Pmupm}{\Pgmpm}
\DeclareRobustCommand{\Pmump}{\Pgmmp}
\DeclareRobustCommand{\Pmuon}{\Pgmm}
\DeclareRobustCommand{\APmuon}{\Pgmp}
\DeclareRobustCommand{\Ptau}{\Pgt}
\DeclareRobustCommand{\Ptaupm}{\Pgtpm}
\DeclareRobustCommand{\Ptaump}{\Pgtmp}
\DeclareRobustCommand{\Ptauon}{\Pgtm}
\DeclareRobustCommand{\APtauon}{\Pgtp}
\DeclareRobustCommand{\Pnue}{\Pgne}
\DeclareRobustCommand{\Pnum}{\Pgngm}
\DeclareRobustCommand{\Pnut}{\Pgngt}
\DeclareRobustCommand{\APnue}{\Pagne}
\DeclareRobustCommand{\APnum}{\Pagngm}
\DeclareRobustCommand{\APnut}{\Pagngt}

%% Quarks
\DeclareRobustCommand{\Pquark}{\Pq}
\DeclareRobustCommand{\APquark}{\Paq}
\DeclareRobustCommand{\Pdown}{\Pqd}
\DeclareRobustCommand{\Pup}{\Pqu}
\DeclareRobustCommand{\Pstrange}{\Pqs}
\DeclareRobustCommand{\Pcharm}{\Pqc}
\DeclareRobustCommand{\Pbottom}{\Pqb}
\DeclareRobustCommand{\Pbeauty}{\Pqb}
\DeclareRobustCommand{\Ptop}{\Pqt}
\DeclareRobustCommand{\Ptruth}{\Pqt}
\DeclareRobustCommand{\APdown}{\Paqd}
\DeclareRobustCommand{\APqd}{\Paqd}
\DeclareRobustCommand{\APup}{\Paqu}
\DeclareRobustCommand{\APqu}{\Paqu}
\DeclareRobustCommand{\APstrange}{\Paqs}
\DeclareRobustCommand{\APqs}{\Paqs}
\DeclareRobustCommand{\APcharm}{\Paqc}
\DeclareRobustCommand{\APqc}{\Paqc}
\DeclareRobustCommand{\APbottom}{\Paqb}
\DeclareRobustCommand{\APbeauty}{\Paqb}
\DeclareRobustCommand{\APqb}{\Paqb}
\DeclareRobustCommand{\APtop}{\Paqt}
\DeclareRobustCommand{\APtruth}{\Paqt}
\DeclareRobustCommand{\APqt}{\Paqt}

%% Nucleons
\DeclareRobustCommand{\Pproton}{\Pp}
\DeclareRobustCommand{\Pneutron}{\Pn}
\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}
\DeclareRobustCommand{\PLambdac}{\PcgLp}
\DeclareRobustCommand{\PLambdab}{\PbgL} %% Lambda_b

%% Omega
\DeclareRobustCommand{\POmega}{\PgO}
\DeclareRobustCommand{\POmegapm}{\PgOpm}
\DeclareRobustCommand{\POmegamp}{\PgOmp}
\DeclareRobustCommand{\POmegaplus}{\PgOp}
\DeclareRobustCommand{\POmegaminus}{\PgOm}
\DeclareRobustCommand{\APOmega}{\PagO}
\DeclareRobustCommand{\APOmegaplus}{\PagOp}
\DeclareRobustCommand{\APOmegaminus}{\PagOm}

%% Sigma baryons
\DeclareRobustCommand{\PSigma}{\PgS}
\DeclareRobustCommand{\PSigmapm}{\PgSpm}
\DeclareRobustCommand{\PSigmamp}{\PgSmp}
\DeclareRobustCommand{\PSigmaminus}{\PgSm}
\DeclareRobustCommand{\PSigmaplus}{\PgSp}
\DeclareRobustCommand{\PSigmazero}{\PgSz}
\DeclareRobustCommand{\PSigmac}{\PcgS}
\DeclareRobustCommand{\APSigmaminus}{\PagSm}
\DeclareRobustCommand{\APSigmaplus}{\PagSp}
\DeclareRobustCommand{\APSigmazero}{\PagSz}
\DeclareRobustCommand{\APSigmac}{\PacgS}

%% Upsilon
\DeclareRobustCommand{\PUpsilon}{\PgU}
\DeclareRobustCommand{\PUpsilonOneS}{\PgUi}
\DeclareRobustCommand{\PUpsilonTwoS}{\PgUa}
\DeclareRobustCommand{\PUpsilonThreeS}{\PgUb}
\DeclareRobustCommand{\PUpsilonFourS}{\PgUc}

%% Xi
\DeclareRobustCommand{\PXi}{\PgX}
\DeclareRobustCommand{\PXiplus}{\PgXp}
\DeclareRobustCommand{\PXiminus}{\PgXm}
\DeclareRobustCommand{\PXizero}{\PgXz}
\DeclareRobustCommand{\APXiplus}{\PagXp}
\DeclareRobustCommand{\APXiminus}{\PagXm}
\DeclareRobustCommand{\APXizero}{\PagXz}
\DeclareRobustCommand{\PXicplus}{\PcgXp}
\DeclareRobustCommand{\PXiczero}{\PcgXz}
%% others?

%% Strange mesons
\DeclareRobustCommand{\Pphi}{\Pgf}

%% Eta mesons
\DeclareRobustCommand{\Peta}{\Pgh}
\DeclareRobustCommand{\Petaprime}{\Pghpr}
\DeclareRobustCommand{\Petac}{\Pcgh}

%% omega mesons
\DeclareRobustCommand{\Pomega}{\Pgo}

%% Pions
\DeclareRobustCommand{\Ppi}{\Pgp}
\DeclareRobustCommand{\Ppipm}{\Pgppm}
\DeclareRobustCommand{\Ppimp}{\Pgpmp}
\DeclareRobustCommand{\Ppiplus}{\Pgpp}
\DeclareRobustCommand{\Ppiminus}{\Pgpm}
\DeclareRobustCommand{\Ppizero}{\Pgpz}

%% Rho mesons
\DeclareRobustCommand{\Prho}{\Pgr}
\DeclareRobustCommand{\Prhoplus}{\Pgrp}
\DeclareRobustCommand{\Prhominus}{\Pgrm}
\DeclareRobustCommand{\Prhopm}{\Pgrpm}
\DeclareRobustCommand{\Prhomp}{\Pgrmp}
\DeclareRobustCommand{\Prhozero}{\Pgrz}

%% Psi resonances
\DeclareRobustCommand{\PJpsi}{\PJgy}
\DeclareRobustCommand{\PJpsiOneS}{\PJgyi}
\DeclareRobustCommand{\Ppsi}{\Pgy}
\DeclareRobustCommand{\PpsiTwoS}{\Pgyii}

%% Charmed mesons
%\DeclareRobustCommand{\PD}{\PD} %% in pennames
%\DeclareRobustCommand{\PDpm}{\PDpm} %% in pennames
%\DeclareRobustCommand{\PDmp}{\PDmp} %% in pennames
\DeclareRobustCommand{\PDzero}{\PDz}
\DeclareRobustCommand{\PDminus}{\PDm}
\DeclareRobustCommand{\PDplus}{\PDp}
\DeclareRobustCommand{\PDstar}{\PDst}
\DeclareRobustCommand{\APD}{\PaD}
\DeclareRobustCommand{\APDzero}{\PaDz}
\DeclareRobustCommand{\PDs}{\PsD}
\DeclareRobustCommand{\PDsminus}{\PsDm}
\DeclareRobustCommand{\PDsplus}{\PsDp}
\DeclareRobustCommand{\PDspm}{\PsDpm}
\DeclareRobustCommand{\PDsmp}{\PsDmp}
\DeclareRobustCommand{\PDsstar}{\PsDst}

%% Higgses (including SUSY sector Higgses)
\DeclareRobustCommand{\PHiggs}{\PH}
\DeclareRobustCommand{\PHiggsheavy}{\PH}
\DeclareRobustCommand{\PHiggslight}{\Ph}
\DeclareRobustCommand{\PHiggsheavyzero}{\PHz}
\DeclareRobustCommand{\PHiggslightzero}{\Phz}
\DeclareRobustCommand{\PHiggsps}{\PA}
\DeclareRobustCommand{\PHiggspszero}{\PAz}
\DeclareRobustCommand{\PHiggsplus}{\PHp}
\DeclareRobustCommand{\PHiggsminus}{\PHm}
\DeclareRobustCommand{\PHiggspm}{\PHpm}
\DeclareRobustCommand{\PHiggsmp}{\PHmp}
\DeclareRobustCommand{\PHiggszero}{\PHz}

%% SUSY partners
\DeclareRobustCommand{\PSHiggs}{\PSH}
\DeclareRobustCommand{\PSHiggsino}{\PSH}
\DeclareRobustCommand{\PSHiggsplus}{\PSHp}
\DeclareRobustCommand{\PSHiggsinoplus}{\PSHp}
\DeclareRobustCommand{\PSHiggsminus}{\PSHm}
\DeclareRobustCommand{\PSHiggsinominus}{\PSHm}
\DeclareRobustCommand{\PSHiggspm}{\PSHpm}
\DeclareRobustCommand{\PSHiggsinopm}{\PSHpm}
\DeclareRobustCommand{\PSHiggsmp}{\PSHmp}
\DeclareRobustCommand{\PSHiggsinomp}{\PSHmp}
\DeclareRobustCommand{\PSHiggszero}{\PSHz}
\DeclareRobustCommand{\PSHiggsinozero}{\PSHz}
%\DeclareRobustCommand{\PSB}{\PSB} % bino %% in pennames
\DeclareRobustCommand{\PSBino}{\PSB} % bino
%\DeclareRobustCommand{\PSW}{\PSW} %% in pennames
\DeclareRobustCommand{\PSWplus}{\PSWp} %% in pennames
\DeclareRobustCommand{\PSWminus}{\PSWm} %% in pennames
%\DeclareRobustCommand{\PSWpm}{\PSWpm} %% in pennames
%\DeclareRobustCommand{\PSWmp}{\PSWmp} %% in pennames
\DeclareRobustCommand{\PSWino}{\PSW} %% in pennames
\DeclareRobustCommand{\PSWinopm}{\PSWpm} %% in pennames
\DeclareRobustCommand{\PSWinomp}{\PSWmp} %% in pennames
%\DeclareRobustCommand{\PSZ}{\PSZ} %% in pennames
\DeclareRobustCommand{\PSZzero}{\PSZz}
%\DeclareRobustCommand{\PSe}{\PSe} %% in pennames
\DeclareRobustCommand{\PSphoton}{\PSgg} % photino
\DeclareRobustCommand{\PSphotino}{\PSgg} % photino
\DeclareRobustCommand{\Pphotino}{\PSgg} % photino
\DeclareRobustCommand{\PSmu}{\PSgm} % smuon
\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
\DeclareRobustCommand{\PSneutralinoOne}{\PSgxzi} % lightest neutralino
\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

%% Squarks
%\DeclareRobustCommand{\PSq}{\PSq} %% in pennames
\DeclareRobustCommand{\Psquark}{\PSq}
\DeclareRobustCommand{\APSq}{\PaSq}
\DeclareRobustCommand{\APsquark}{\PaSq}
%
\DeclareRobustCommand{\PSdown}{\PSqd}
\DeclareRobustCommand{\PSup}{\PSqu}
\DeclareRobustCommand{\PSstrange}{\PSqs}
\DeclareRobustCommand{\PScharm}{\PSqc}
\DeclareRobustCommand{\PSbottom}{\PSqb}
\DeclareRobustCommand{\PStop}{\PSqt}
\DeclareRobustCommand{\PASdown}{\PaSqd}
\DeclareRobustCommand{\PASup}{\PaSqu}
\DeclareRobustCommand{\PASstrange}{\PaSqs}
\DeclareRobustCommand{\PAScharm}{\PaSqc}
\DeclareRobustCommand{\PASbottom}{\PaSqb}
\DeclareRobustCommand{\PAStop}{\PaSqt}

%% Even less formal names
\DeclareRobustCommand{\eplus}{\Pep}
\DeclareRobustCommand{\eminus}{\Pem}

%% Just for completeness...
\endinput
