summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/hepparticles/testhepparticles.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/hepparticles/testhepparticles.tex')
-rw-r--r--Master/texmf-dist/doc/latex/hepparticles/testhepparticles.tex180
1 files changed, 76 insertions, 104 deletions
diff --git a/Master/texmf-dist/doc/latex/hepparticles/testhepparticles.tex b/Master/texmf-dist/doc/latex/hepparticles/testhepparticles.tex
index 5ac51c37c9d..b137dece758 100644
--- a/Master/texmf-dist/doc/latex/hepparticles/testhepparticles.tex
+++ b/Master/texmf-dist/doc/latex/hepparticles/testhepparticles.tex
@@ -1,126 +1,86 @@
-\documentclass[12pt]{article}
-\usepackage{hepparticles}
-%\usepackage[italic]{hepparticles}
-\usepackage{booktabs,xspace}
+\documentclass[12pt,a4paper]{article}
+\usepackage[T1]{fontenc}
+\usepackage[margin=2cm]{geometry}
+\setlength{\parindent}{0cm}
-\newcommand{\hepparticles}{\texttt{hepparticles}\xspace}
+\usepackage{lmodern}
+% \usepackage{mathpazo}
+% \usepackage{euler}
-\title{Testing \hepparticles}
-\author{Generated by \texttt{buckley}}
+\usepackage{hepparticles}
+%\usepackage[italic]{hepparticles}
\newcommand{\pd}{\HepParticle{d}{}{}}
\newcommand{\pB}{\HepParticle{B}{}{}}
\newcommand{\pBd}{\HepParticle{\pB}{d}{0}}
-\setlength{\parindent}{0cm}
-
-
-\begin{document}
-\maketitle
-\section{Sub- and super-script alignment}
-\subsection{Concrete names}
-
-\subsubsection{Normal}
-\textrm{
-\begin{tabular}{llll}
+\usepackage{booktabs}
+\newcommand{\testconc}{\begin{tabular}{llll}
\toprule
-\HepParticle{B}{}{} & \HepAntiParticle{B}{}{} & \HepSusyParticle{B}{}{} & \HepSusyAntiParticle{B}{}{} \\
+\HepParticle{B}{}{} & \HepAntiParticle{B}{}{} & \HepSusyParticle{B}{}{} & \HepSusyAntiParticle{B}{}{} \\
\HepParticle{B}{\pd}{} & \HepAntiParticle{B}{\pd}{} & \HepSusyParticle{B}{\pd}{} & \HepSusyAntiParticle{B}{\pd}{} \\
-\HepParticle{B}{}{0} & \HepAntiParticle{B}{}{0} & \HepSusyParticle{B}{}{0} & \HepSusyAntiParticle{B}{}{0} \\
+\HepParticle{B}{}{0} & \HepAntiParticle{B}{}{0} & \HepSusyParticle{B}{}{0} & \HepSusyAntiParticle{B}{}{0} \\
\HepParticle{B}{\pd}{0} & \HepAntiParticle{B}{\pd}{0} & \HepSusyParticle{B}{\pd}{0} & \HepSusyAntiParticle{B}{\pd}{0} \\
\bottomrule
-\end{tabular}
-}
-
-\subsubsection{Italic}
-\textit{
-\begin{tabular}{llll}
+\end{tabular}}
+\newcommand{\testgen}{\begin{tabular}{llll}
\toprule
-\HepParticle{B}{}{} & \HepAntiParticle{B}{}{} & \HepSusyParticle{B}{}{} & \HepSusyAntiParticle{B}{}{} \\
-\HepParticle{B}{\pd}{} & \HepAntiParticle{B}{\pd}{} & \HepSusyParticle{B}{\pd}{} & \HepSusyAntiParticle{B}{\pd}{} \\
-\HepParticle{B}{}{0} & \HepAntiParticle{B}{}{0} & \HepSusyParticle{B}{}{0} & \HepSusyAntiParticle{B}{}{0} \\
-\HepParticle{B}{\pd}{0} & \HepAntiParticle{B}{\pd}{0} & \HepSusyParticle{B}{\pd}{0} & \HepSusyAntiParticle{B}{\pd}{0} \\
+\HepGenParticle{B}{}{} & \HepGenAntiParticle{B}{}{} & \HepGenSusyParticle{B}{}{} & \HepGenSusyAntiParticle{B}{}{} \\
+\HepGenParticle{B}{\pd}{} & \HepGenAntiParticle{B}{\pd}{} & \HepGenSusyParticle{B}{\pd}{} & \HepGenSusyAntiParticle{B}{\pd}{} \\
+\HepGenParticle{B}{}{0} & \HepGenAntiParticle{B}{}{0} & \HepGenSusyParticle{B}{}{0} & \HepGenSusyAntiParticle{B}{}{0} \\
+\HepGenParticle{B}{\pd}{0} & \HepGenAntiParticle{B}{\pd}{0} & \HepGenSusyParticle{B}{\pd}{0} & \HepGenSusyAntiParticle{B}{\pd}{0} \\
\bottomrule
-\end{tabular}
-}
+\end{tabular}}
-\subsubsection{Bold}
-\textbf{
-\begin{tabular}{llll}
-\toprule
-\HepParticle{B}{}{} & \HepAntiParticle{B}{}{} & \HepSusyParticle{B}{}{} & \HepSusyAntiParticle{B}{}{} \\
-\HepParticle{B}{\pd}{} & \HepAntiParticle{B}{\pd}{} & \HepSusyParticle{B}{\pd}{} & \HepSusyAntiParticle{B}{\pd}{} \\
-\HepParticle{B}{}{0} & \HepAntiParticle{B}{}{0} & \HepSusyParticle{B}{}{0} & \HepSusyAntiParticle{B}{}{0} \\
-\HepParticle{B}{\pd}{0} & \HepAntiParticle{B}{\pd}{0} & \HepSusyParticle{B}{\pd}{0} & \HepSusyAntiParticle{B}{\pd}{0} \\
-\bottomrule
-\end{tabular}
-}
-\subsubsection{Bold italic}
-\textit{\textbf{
-\begin{tabular}{llll}
-\toprule
-\HepParticle{B}{}{} & \HepAntiParticle{B}{}{} & \HepSusyParticle{B}{}{} & \HepSusyAntiParticle{B}{}{} \\
-\HepParticle{B}{\pd}{} & \HepAntiParticle{B}{\pd}{} & \HepSusyParticle{B}{\pd}{} & \HepSusyAntiParticle{B}{\pd}{} \\
-\HepParticle{B}{}{0} & \HepAntiParticle{B}{}{0} & \HepSusyParticle{B}{}{0} & \HepSusyAntiParticle{B}{}{0} \\
-\HepParticle{B}{\pd}{0} & \HepAntiParticle{B}{\pd}{0} & \HepSusyParticle{B}{\pd}{0} & \HepSusyAntiParticle{B}{\pd}{0} \\
-\bottomrule
-\end{tabular}
-}}
+\title{Testing \textsf{hepparticles}}
+\author{}
+\begin{document}
+% \vspace*{-2cm}
+\maketitle
-\subsection{Generic names}
-\subsubsection{Normal}
-\textrm{
-\begin{tabular}{llll}
-\toprule
-\HepGenParticle{B}{}{} & \HepGenAntiParticle{B}{}{} & \HepGenSusyParticle{B}{}{} & \HepGenSusyAntiParticle{B}{}{} \\
-\HepGenParticle{B}{\pd}{} & \HepGenAntiParticle{B}{\pd}{} & \HepGenSusyParticle{B}{\pd}{} & \HepGenSusyAntiParticle{B}{\pd}{} \\
-\HepGenParticle{B}{}{0} & \HepGenAntiParticle{B}{}{0} & \HepGenSusyParticle{B}{}{0} & \HepGenSusyAntiParticle{B}{}{0} \\
-\HepGenParticle{B}{\pd}{0} & \HepGenAntiParticle{B}{\pd}{0} & \HepGenSusyParticle{B}{\pd}{0} & \HepGenSusyAntiParticle{B}{\pd}{0} \\
-\bottomrule
-\end{tabular}
-}
-\subsubsection{Italic}
-\textit{
-\begin{tabular}{llll}
-\toprule
-\HepGenParticle{B}{}{} & \HepGenAntiParticle{B}{}{} & \HepGenSusyParticle{B}{}{} & \HepGenSusyAntiParticle{B}{}{} \\
-\HepGenParticle{B}{\pd}{} & \HepGenAntiParticle{B}{\pd}{} & \HepGenSusyParticle{B}{\pd}{} & \HepGenSusyAntiParticle{B}{\pd}{} \\
-\HepGenParticle{B}{}{0} & \HepGenAntiParticle{B}{}{0} & \HepGenSusyParticle{B}{}{0} & \HepGenSusyAntiParticle{B}{}{0} \\
-\HepGenParticle{B}{\pd}{0} & \HepGenAntiParticle{B}{\pd}{0} & \HepGenSusyParticle{B}{\pd}{0} & \HepGenSusyAntiParticle{B}{\pd}{0} \\
-\bottomrule
-\end{tabular}
-}
+\section{Concrete names}
-\subsubsection{Bold}
-%\textbf{
+\vspace{1em}
\begin{tabular}{llll}
-\toprule
-\HepGenParticle{B}{}{} & \HepGenAntiParticle{B}{}{} & \HepGenSusyParticle{B}{}{} & \HepGenSusyAntiParticle{B}{}{} \\
-\HepGenParticle{B}{\pd}{} & \HepGenAntiParticle{B}{\pd}{} & \HepGenSusyParticle{B}{\pd}{} & \HepGenSusyAntiParticle{B}{\pd}{} \\
-\HepGenParticle{B}{}{0} & \HepGenAntiParticle{B}{}{0} & \HepGenSusyParticle{B}{}{0} & \HepGenSusyAntiParticle{B}{}{0} \\
-\HepGenParticle{B}{\pd}{0} & \HepGenAntiParticle{B}{\pd}{0} & \HepGenSusyParticle{B}{\pd}{0} & \HepGenSusyAntiParticle{B}{\pd}{0} \\
-\bottomrule
+ & Normal & Italic & Slant\\
+ \addlinespace \\
+ Normal & \testconc & \textit{\testconc} & \textsl{\testconc}\\
+ \addlinespace \\
+ Bold & \bfseries \testconc & \bfseries \textit{\testconc} & \bfseries \textsl{\testconc}\\
+ \addlinespace \\
+ Sans & \sffamily \testconc & \sffamily \textit{\testconc} & \sffamily \textsl{\testconc}\\
+ \addlinespace \\
+ Bold sans & \bfseries\sffamily \testconc & \bfseries\sffamily \textit{\testconc} & \bfseries\sffamily \textsl{\testconc}
\end{tabular}
-%}
-\subsubsection{Bold italic}
-\textit{%\textbf{
+
+\clearpage
+
+
+\section{Generic names}
+
+\vspace{1em}
\begin{tabular}{llll}
-\toprule
-\HepGenParticle{B}{}{} & \HepGenAntiParticle{B}{}{} & \HepGenSusyParticle{B}{}{} & \HepGenSusyAntiParticle{B}{}{} \\
-\HepGenParticle{B}{\pd}{} & \HepGenAntiParticle{B}{\pd}{} & \HepGenSusyParticle{B}{\pd}{} & \HepGenSusyAntiParticle{B}{\pd}{} \\
-\HepGenParticle{B}{}{0} & \HepGenAntiParticle{B}{}{0} & \HepGenSusyParticle{B}{}{0} & \HepGenSusyAntiParticle{B}{}{0} \\
-\HepGenParticle{B}{\pd}{0} & \HepGenAntiParticle{B}{\pd}{0} & \HepGenSusyParticle{B}{\pd}{0} & \HepGenSusyAntiParticle{B}{\pd}{0} \\
-\bottomrule
+ & Normal & Italic & Slant\\
+ \addlinespace \\
+ Normal & \testgen & \textit{\testgen} & \textsl{\testgen}\\
+ \addlinespace \\
+ Bold & \bfseries \testgen & \bfseries \textit{\testgen} & \bfseries \textsl{\testgen}\\
+ \addlinespace \\
+ Sans & \sffamily \testgen & \sffamily \textit{\testgen} & \sffamily \textsl{\testgen}\\
+ \addlinespace \\
+ Bold sans & \bfseries\sffamily \testgen & \bfseries\sffamily \textit{\testgen} & \bfseries\sffamily \textsl{\testgen}
\end{tabular}
-}%}
+
+
+\clearpage
+
\section{Processes}
-%\texdemo{ \HepProcess{\HepParticle{B}{\pd}{0} \HepTo \HepParticle{K}{S}{0} \HepParticle{\pi}{}{0}} }
-\HepProcess{\HepParticle{B}{\pd}{0} \HepTo \HepParticle{K}{S}{0} \, \HepParticle{\pi}{}{0}}\\
+$\HepParticle{B}{\pd}{0} \to \HepParticle{K}{S}{0} \, \HepParticle{\pi}{}{0}$\\
\HepProcess{\HepParticle{B}{\pd}{0} \to \HepParticle{K}{S}{0} \, \HepParticle{\pi}{}{0}}\\
@@ -130,6 +90,7 @@
\HepParticleResonanceFull{B}{\pd}{0}{1234}{1}{\ast}\\
\HepParticleResonanceFormalFull{B}{\pd}{0}{1234}{1}{\ast}{P}{11}{\pm}
+
\section{Mixed concrete and generic}
Using math sub/super-scripts:
@@ -151,14 +112,14 @@ $\HepGenParticle{B}{\pd}{0}_i$ & $\HepGenParticle{B}{\pd}{0}^j$ & $\HepGenPartic
\bottomrule
\end{tabular}\\
-Using generic particle with concrete particle in first argument:
+% Using generic particle with concrete particle in first argument:
-\begin{tabular}{lll}
-\toprule
-\HepParticleStruct{\pB}{i}{} & \HepParticleStruct{\pB}{}{j} & \HepParticleStruct{\pB}{i}{j} \\
-\HepParticleStruct{\pB}{i}{\HepConStyle{0}} & \HepParticleStruct{\pB}{\HepConStyle{\pd}}{j} & \\
-\bottomrule
-\end{tabular}
+% \begin{tabular}{lll}
+% \toprule
+% \HepParticleStruct{\pB}{i}{} & \HepParticleStruct{\pB}{}{j} & \HepParticleStruct{\pB}{i}{j} \\
+% \HepParticleStruct{\pB}{i}{\HepConStyle{0}} & \HepParticleStruct{\pB}{\HepConStyle{\pd}}{j} & \\
+% \bottomrule
+% \end{tabular}
\section{Integration with text}
\textbf{This is a B.}\\
@@ -215,4 +176,15 @@ quam, molestie at, bibendum sed, sodales at, urna. In hac habitasse platea
\HepGenSusyAntiParticle{B}{}{0} dictumst.
}
+
+\section{Misc}
+
+\HepParticle{\pi}{}{}
+\HepParticle{\lambda}{}{}
+\HepGenParticle{\pi}{}{}
+\HepGenParticle{\lambda}{}{}
+
+% $\upright{\pi}, \pi$
+
+
\end{document}