| 1 |
\documentclass[12pt,a4paper]{article} |
| 2 |
\usepackage[T1]{fontenc} |
| 3 |
\usepackage[margin=2cm]{geometry} |
| 4 |
\setlength{\parindent}{0cm} |
| 5 |
|
| 6 |
\usepackage{lmodern} |
| 7 |
% \usepackage{mathpazo} |
| 8 |
% \usepackage{euler} |
| 9 |
|
| 10 |
\usepackage{hepparticles} |
| 11 |
%\usepackage[italic]{hepparticles} |
| 12 |
|
| 13 |
\newcommand{\pd}{\HepParticle{d}{}{}} |
| 14 |
\newcommand{\pB}{\HepParticle{B}{}{}} |
| 15 |
\newcommand{\pBd}{\HepParticle{\pB}{d}{0}} |
| 16 |
|
| 17 |
\usepackage{booktabs} |
| 18 |
\newcommand{\testconc}{\begin{tabular}{llll} |
| 19 |
\toprule |
| 20 |
\HepParticle{B}{}{} & \HepAntiParticle{B}{}{} & \HepSusyParticle{B}{}{} & \HepSusyAntiParticle{B}{}{} \\ |
| 21 |
\HepParticle{B}{\pd}{} & \HepAntiParticle{B}{\pd}{} & \HepSusyParticle{B}{\pd}{} & \HepSusyAntiParticle{B}{\pd}{} \\ |
| 22 |
\HepParticle{B}{}{0} & \HepAntiParticle{B}{}{0} & \HepSusyParticle{B}{}{0} & \HepSusyAntiParticle{B}{}{0} \\ |
| 23 |
\HepParticle{B}{\pd}{0} & \HepAntiParticle{B}{\pd}{0} & \HepSusyParticle{B}{\pd}{0} & \HepSusyAntiParticle{B}{\pd}{0} \\ |
| 24 |
\bottomrule |
| 25 |
\end{tabular}} |
| 26 |
\newcommand{\testgen}{\begin{tabular}{llll} |
| 27 |
\toprule |
| 28 |
\HepGenParticle{B}{}{} & \HepGenAntiParticle{B}{}{} & \HepGenSusyParticle{B}{}{} & \HepGenSusyAntiParticle{B}{}{} \\ |
| 29 |
\HepGenParticle{B}{\pd}{} & \HepGenAntiParticle{B}{\pd}{} & \HepGenSusyParticle{B}{\pd}{} & \HepGenSusyAntiParticle{B}{\pd}{} \\ |
| 30 |
\HepGenParticle{B}{}{0} & \HepGenAntiParticle{B}{}{0} & \HepGenSusyParticle{B}{}{0} & \HepGenSusyAntiParticle{B}{}{0} \\ |
| 31 |
\HepGenParticle{B}{\pd}{0} & \HepGenAntiParticle{B}{\pd}{0} & \HepGenSusyParticle{B}{\pd}{0} & \HepGenSusyAntiParticle{B}{\pd}{0} \\ |
| 32 |
\bottomrule |
| 33 |
\end{tabular}} |
| 34 |
|
| 35 |
|
| 36 |
\title{Testing \textsf{hepparticles}} |
| 37 |
\author{} |
| 38 |
|
| 39 |
\begin{document} |
| 40 |
% \vspace*{-2cm} |
| 41 |
\maketitle |
| 42 |
|
| 43 |
|
| 44 |
\section{Concrete names} |
| 45 |
|
| 46 |
\vspace{1em} |
| 47 |
\begin{tabular}{llll} |
| 48 |
& Normal & Italic & Slant\\ |
| 49 |
\addlinespace \\ |
| 50 |
Normal & \testconc & \textit{\testconc} & \textsl{\testconc}\\ |
| 51 |
\addlinespace \\ |
| 52 |
Bold & \bfseries \testconc & \bfseries \textit{\testconc} & \bfseries \textsl{\testconc}\\ |
| 53 |
\addlinespace \\ |
| 54 |
Sans & \sffamily \testconc & \sffamily \textit{\testconc} & \sffamily \textsl{\testconc}\\ |
| 55 |
\addlinespace \\ |
| 56 |
Bold sans & \bfseries\sffamily \testconc & \bfseries\sffamily \textit{\testconc} & \bfseries\sffamily \textsl{\testconc} |
| 57 |
\end{tabular} |
| 58 |
|
| 59 |
|
| 60 |
\clearpage |
| 61 |
|
| 62 |
|
| 63 |
\section{Generic names} |
| 64 |
|
| 65 |
\vspace{1em} |
| 66 |
\begin{tabular}{llll} |
| 67 |
& Normal & Italic & Slant\\ |
| 68 |
\addlinespace \\ |
| 69 |
Normal & \testgen & \textit{\testgen} & \textsl{\testgen}\\ |
| 70 |
\addlinespace \\ |
| 71 |
Bold & \bfseries \testgen & \bfseries \textit{\testgen} & \bfseries \textsl{\testgen}\\ |
| 72 |
\addlinespace \\ |
| 73 |
Sans & \sffamily \testgen & \sffamily \textit{\testgen} & \sffamily \textsl{\testgen}\\ |
| 74 |
\addlinespace \\ |
| 75 |
Bold sans & \bfseries\sffamily \testgen & \bfseries\sffamily \textit{\testgen} & \bfseries\sffamily \textsl{\testgen} |
| 76 |
\end{tabular} |
| 77 |
|
| 78 |
|
| 79 |
\clearpage |
| 80 |
|
| 81 |
|
| 82 |
\section{Processes} |
| 83 |
$\HepParticle{B}{\pd}{0} \to \HepParticle{K}{S}{0} \, \HepParticle{\pi}{}{0}$\\ |
| 84 |
\HepProcess{\HepParticle{B}{\pd}{0} \to \HepParticle{K}{S}{0} \, \HepParticle{\pi}{}{0}}\\ |
| 85 |
|
| 86 |
|
| 87 |
\section{Resonances} |
| 88 |
\HepParticleResonance{\pBd}{1234}{1}{\ast}\\ |
| 89 |
\HepParticleResonanceFormal{\pBd}{1234}{1}{\ast}{P}{11}{\pm}\\ |
| 90 |
\HepParticleResonanceFull{B}{\pd}{0}{1234}{1}{\ast}\\ |
| 91 |
\HepParticleResonanceFormalFull{B}{\pd}{0}{1234}{1}{\ast}{P}{11}{\pm} |
| 92 |
|
| 93 |
|
| 94 |
\section{Mixed concrete and generic} |
| 95 |
Using math sub/super-scripts: |
| 96 |
|
| 97 |
\begin{tabular}{lll} |
| 98 |
\toprule |
| 99 |
$\HepParticle{B}{}{}_i$ & $\HepParticle{B}{}{}^j$ & $\HepParticle{B}{}{}_i^j$ \\ |
| 100 |
$\HepParticle{B}{\pd}{}_i$ & $\HepParticle{B}{\pd}{}^j$ & $\HepParticle{B}{\pd}{}^j_i$ \\ |
| 101 |
$\HepParticle{B}{}{0}_i$ & $\HepParticle{B}{}{0}^j$ & $\HepParticle{B}{}{0}_i^j$ \\ |
| 102 |
$\HepParticle{B}{\pd}{0}_i$ & $\HepParticle{B}{\pd}{0}^j$ & $\HepParticle{B}{\pd}{0}_i^j$ \\ |
| 103 |
\bottomrule |
| 104 |
\end{tabular} |
| 105 |
|
| 106 |
\begin{tabular}{lll} |
| 107 |
\toprule |
| 108 |
$\HepGenParticle{B}{}{}_i$ & $\HepGenParticle{B}{}{}^j$ & $\HepGenParticle{B}{}{}_i^j$ \\ |
| 109 |
$\HepGenParticle{B}{\pd}{}_i$ & $\HepGenParticle{B}{\pd}{}^j$ & $\HepGenParticle{B}{\pd}{}^j_i$ \\ |
| 110 |
$\HepGenParticle{B}{}{0}_i$ & $\HepGenParticle{B}{}{0}^j$ & $\HepGenParticle{B}{}{0}_i^j$ \\ |
| 111 |
$\HepGenParticle{B}{\pd}{0}_i$ & $\HepGenParticle{B}{\pd}{0}^j$ & $\HepGenParticle{B}{\pd}{0}_i^j$ \\ |
| 112 |
\bottomrule |
| 113 |
\end{tabular}\\ |
| 114 |
|
| 115 |
% Using generic particle with concrete particle in first argument: |
| 116 |
|
| 117 |
% \begin{tabular}{lll} |
| 118 |
% \toprule |
| 119 |
% \HepParticleStruct{\pB}{i}{} & \HepParticleStruct{\pB}{}{j} & \HepParticleStruct{\pB}{i}{j} \\ |
| 120 |
% \HepParticleStruct{\pB}{i}{\HepConStyle{0}} & \HepParticleStruct{\pB}{\HepConStyle{\pd}}{j} & \\ |
| 121 |
% \bottomrule |
| 122 |
% \end{tabular} |
| 123 |
|
| 124 |
\section{Integration with text} |
| 125 |
\textbf{This is a B.}\\ |
| 126 |
\textbf{This is a \HepParticle{B}{}{}.}\\ |
| 127 |
|
| 128 |
\textbf{This is a B particle}\\ |
| 129 |
\textbf{This is a \HepParticle{B}{}{} particle}\\ |
| 130 |
\textbf{This is a \HepParticle{B}{u}{+} particle}\\ |
| 131 |
\textbf{This is a \HepParticle{B}{}{0} particle}\\ |
| 132 |
|
| 133 |
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin fringilla, wisi |
| 134 |
eget aliquet tempor, risus tellus luctus est, ac accumsan pede enim vehicula |
| 135 |
tortor. Nulla \HepParticle{B}{}{0} scelerisque placerat enim. Nullam aliquet |
| 136 |
lorem eget augue. Nullam semper feugiat neque. Nam aliquet iaculis ante. Fusce |
| 137 |
ac mi. \HepAntiParticle{B}{}{0} pellentesque sed ante. Maecenas consectetuer |
| 138 |
porta dolor. Pellentesque enim. Mauris augue orci, suscipit a, vestibulum nec, |
| 139 |
\HepSusyParticle{B}{}{0} congue ac, elit. Donec lectus dui, molestie sed, |
| 140 |
molestie sed, sollicitudin nec, justo. Morbi porttitor odio at urna. Nam |
| 141 |
bibendum dui tempor lectus. Phasellus \HepSusyAntiParticle{B}{}{0} porttitor |
| 142 |
vehicula sem. Sed a elit. |
| 143 |
|
| 144 |
In volutpat. Sed quis arcu. Class aptent taciti sociosqu ad litora torquent per |
| 145 |
conubia nostra, per inceptos \HepGenParticle{q}{}{\hat{d}} hymenaeos. Aenean vitae |
| 146 |
wisi. Praesent condimentum iaculis est. Praesent consectetuer est non erat. |
| 147 |
Fusce eget erat at arcu pretium condimentum. Aliquam \HepGenAntiParticle{\ell}{}{+} |
| 148 |
mauris dui, tincidunt eget, iaculis id, hendrerit non, lacus. Integer et odio ut |
| 149 |
arcu sollicitudin nonummy. Vestibulum vel orci cursus sapien luctus |
| 150 |
\HepGenSusyParticle{q}{}{} sagittis. Curabitur mollis eros id nunc. Fusce risus |
| 151 |
quam, molestie at, bibendum sed, sodales at, urna. In hac habitasse platea |
| 152 |
\HepGenSusyAntiParticle{\chi}{}{0} dictumst. |
| 153 |
|
| 154 |
\section{Testing sans-serif} |
| 155 |
\textsf{ |
| 156 |
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin fringilla, wisi |
| 157 |
eget aliquet tempor, risus tellus luctus est, ac accumsan pede enim vehicula |
| 158 |
tortor. Nulla \HepParticle{B}{}{0} scelerisque placerat enim. Nullam aliquet |
| 159 |
lorem eget augue. Nullam semper feugiat neque. Nam aliquet iaculis ante. Fusce |
| 160 |
ac mi. \HepAntiParticle{B}{}{0} pellentesque sed ante. Maecenas consectetuer |
| 161 |
porta dolor. Pellentesque enim. Mauris augue orci, suscipit a, vestibulum nec, |
| 162 |
\HepSusyParticle{B}{}{0} congue ac, elit. Donec lectus dui, molestie sed, |
| 163 |
molestie sed, sollicitudin nec, justo. Morbi porttitor odio at urna. Nam |
| 164 |
bibendum dui tempor lectus. Phasellus \HepSusyAntiParticle{B}{}{0} porttitor |
| 165 |
vehicula sem. Sed a elit. |
| 166 |
} |
| 167 |
\textsf{ |
| 168 |
In volutpat. Sed quis arcu. Class aptent taciti sociosqu ad litora torquent per |
| 169 |
conubia nostra, per inceptos \HepGenParticle{B}{}{0} hymenaeos. Aenean vitae |
| 170 |
wisi. Praesent condimentum iaculis est. Praesent consectetuer est non erat. |
| 171 |
Fusce eget erat at arcu pretium condimentum. Aliquam \HepGenAntiParticle{B}{}{0} |
| 172 |
mauris dui, tincidunt eget, iaculis id, hendrerit non, lacus. Integer et odio ut |
| 173 |
arcu sollicitudin nonummy. Vestibulum vel orci cursus sapien luctus |
| 174 |
\HepGenSusyParticle{B}{}{0} sagittis. Curabitur mollis eros id nunc. Fusce risus |
| 175 |
quam, molestie at, bibendum sed, sodales at, urna. In hac habitasse platea |
| 176 |
\HepGenSusyAntiParticle{B}{}{0} dictumst. |
| 177 |
} |
| 178 |
|
| 179 |
|
| 180 |
\section{Misc} |
| 181 |
|
| 182 |
\HepParticle{\pi}{}{} |
| 183 |
\HepParticle{\lambda}{}{} |
| 184 |
\HepGenParticle{\pi}{}{} |
| 185 |
\HepGenParticle{\lambda}{}{} |
| 186 |
|
| 187 |
% $\upright{\pi}, \pi$ |
| 188 |
|
| 189 |
|
| 190 |
\end{document} |