summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hepnames/hepnames.sty
blob: 35fe37256411d199ade359711cb8b72861fc58d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
%%  hepnames.sty --- standard predefined high energy particle names
%%
%%  This package is a wrapper to the hepnicenames and heppennames packages,
%%  primarily because the pair of packages as a whole are called hepnames
%%  and it's less of a mouthful. Plus, I imagine that anyone who's interested
%%  in using this package will prefer the ``nicenames'' scheme over PEN,
%%  historical precendent notwithstanding!
%%
%%  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{hepnames}[\filedate\space Pre-defined HEP particle symbols (version \fileversion)]
\NeedsTeXFormat{LaTeX2e}

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

%% Process package options
\ProcessOptions

%% Load packages that do stuff
\RequirePackage{hepnicenames}
\RequirePackage{heppennames}

%% For referencing this package
%% \DeclareRobustCommand{\hepnames}{\texttt{hepnames}\xspace}

%% Just for completeness...
\endinput