summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hepnames/hepnames.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/hepnames/hepnames.sty
Initial commit
Diffstat (limited to 'macros/latex/contrib/hepnames/hepnames.sty')
-rw-r--r--macros/latex/contrib/hepnames/hepnames.sty47
1 files changed, 47 insertions, 0 deletions
diff --git a/macros/latex/contrib/hepnames/hepnames.sty b/macros/latex/contrib/hepnames/hepnames.sty
new file mode 100644
index 0000000000..35fe372564
--- /dev/null
+++ b/macros/latex/contrib/hepnames/hepnames.sty
@@ -0,0 +1,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