| 1 |
%% |
| 2 |
%% This is file `lwarp-hepunits.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% lwarp.dtx (with options: `hepunits') |
| 8 |
%% This is a generated file. |
| 9 |
%% Copyright 2016-2026 Brian Dunn |
| 10 |
%% |
| 11 |
%% This work may be distributed and/or modified under the |
| 12 |
%% conditions of the LaTeX Project Public License, either version 1.3 |
| 13 |
%% of this license or (at your option) any later version. |
| 14 |
%% The latest version of this license is in |
| 15 |
%% http://www.latex-project.org/lppl.txt |
| 16 |
%% and version 1.3 or later is part of all distributions of LaTeX |
| 17 |
%% version 2005/12/01 or later. |
| 18 |
\LWR@ProvidesPackagePass{hepunits}[2020/04/10] |
| 19 |
\begin{warpMathJax} |
| 20 |
\LWR@infoprocessingmathjax{hepunits} |
| 21 |
|
| 22 |
\ifx\@HEPopt@sicmds\@yes |
| 23 |
\CustomizeMathJax{\newcommand{\micron}{\micro\metre}} |
| 24 |
\CustomizeMathJax{\newcommand{\mrad}{\milli\radian}} |
| 25 |
\fi |
| 26 |
|
| 27 |
\CustomizeMathJax{\newcommand{\gauss}{\mathrm{G}}} |
| 28 |
|
| 29 |
\CustomizeMathJax{\newcommand{\invcmsq}{\centi\metre\tothe{-2}}} |
| 30 |
\CustomizeMathJax{\newcommand{\invcmsqpersecond}{\invcmsq\second\tothe{-1}}} |
| 31 |
\CustomizeMathJax{\newcommand{\invcmsqpersec}{\invcmsqpersecond}} |
| 32 |
|
| 33 |
%% (Inverse) cross-sections |
| 34 |
\CustomizeMathJax{\newcommand{\invbarn}{\barn\tothe{-1}}} |
| 35 |
|
| 36 |
\ifx\@HEPopt@noprefixcmds\@empty |
| 37 |
\CustomizeMathJax{\newcommand{\millibarn}{\milli\barn}} |
| 38 |
\CustomizeMathJax{\newcommand{\microbarn}{\micro\barn}} |
| 39 |
\CustomizeMathJax{\newcommand{\nanobarn}{\nano\barn}} |
| 40 |
\CustomizeMathJax{\newcommand{\picobarn}{\pico\barn}} |
| 41 |
\CustomizeMathJax{\newcommand{\femtobarn}{\femto\barn}} |
| 42 |
\CustomizeMathJax{\newcommand{\attobarn}{\atto\barn}} |
| 43 |
\CustomizeMathJax{\newcommand{\zeptobarn}{\zepto\barn}} |
| 44 |
\CustomizeMathJax{\newcommand{\yoctobarn}{\yocto\barn}} |
| 45 |
\CustomizeMathJax{\newcommand{\invnanobarn}{\nano\invbarn}} |
| 46 |
\CustomizeMathJax{\newcommand{\invpicobarn}{\pico\invbarn}} |
| 47 |
\CustomizeMathJax{\newcommand{\invfemtobarn}{\femto\invbarn}} |
| 48 |
\CustomizeMathJax{\newcommand{\invattobarn}{\atto\invbarn}} |
| 49 |
\CustomizeMathJax{\newcommand{\invzeptobarn}{\zepto\invbarn}} |
| 50 |
\CustomizeMathJax{\newcommand{\invyoctobarn}{\yocto\invbarn}} |
| 51 |
\CustomizeMathJax{\newcommand{\invnb}{\invnanobarn}} |
| 52 |
\CustomizeMathJax{\newcommand{\invpb}{\invpicobarn}} |
| 53 |
\CustomizeMathJax{\newcommand{\invfb}{\invfemtobarn}} |
| 54 |
\CustomizeMathJax{\newcommand{\invab}{\invattobarn}} |
| 55 |
\CustomizeMathJax{\newcommand{\invzb}{\invzeptobarn}} |
| 56 |
\CustomizeMathJax{\newcommand{\invyb}{\invyoctobarn}} |
| 57 |
\fi |
| 58 |
|
| 59 |
\CustomizeMathJax{\newcommand{\electronvoltc}{\electronvolt\per\mathit{c}}} |
| 60 |
\CustomizeMathJax{\newcommand{\electronvoltcsq}{\electronvolt\per\mathit{c}\squared}} |
| 61 |
\CustomizeMathJax{\let\eVc\electronvoltc} |
| 62 |
\CustomizeMathJax{\let\eVcsq\electronvoltcsq} |
| 63 |
|
| 64 |
\ifx\@HEPopt@noprefixcmds\@empty |
| 65 |
\CustomizeMathJax{\newcommand{\meV}{\milli\eV}} |
| 66 |
\CustomizeMathJax{\newcommand{\keV}{\kilo\eV}} |
| 67 |
\CustomizeMathJax{\newcommand{\MeV}{\mega\eV}} |
| 68 |
\CustomizeMathJax{\newcommand{\GeV}{\giga\eV}} |
| 69 |
\CustomizeMathJax{\newcommand{\TeV}{\tera\eV}} |
| 70 |
\CustomizeMathJax{\newcommand{\meVc}{\milli\eVc}} |
| 71 |
\CustomizeMathJax{\newcommand{\keVc}{\kilo\eVc}} |
| 72 |
\CustomizeMathJax{\newcommand{\MeVc}{\mega\eVc}} |
| 73 |
\CustomizeMathJax{\newcommand{\GeVc}{\giga\eVc}} |
| 74 |
\CustomizeMathJax{\newcommand{\TeVc}{\tera\eVc}} |
| 75 |
\CustomizeMathJax{\newcommand{\meVcsq}{\milli\eVcsq}} |
| 76 |
\CustomizeMathJax{\newcommand{\keVcsq}{\kilo\eVcsq}} |
| 77 |
\CustomizeMathJax{\newcommand{\MeVcsq}{\mega\eVcsq}} |
| 78 |
\CustomizeMathJax{\newcommand{\GeVcsq}{\giga\eVcsq}} |
| 79 |
\CustomizeMathJax{\newcommand{\TeVcsq}{\tera\eVcsq}} |
| 80 |
\fi |
| 81 |
\end{warpMathJax} |
| 82 |
|
| 83 |
\endinput |
| 84 |
%% |
| 85 |
%% End of file `lwarp-hepunits.sty'. |