-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommands.sty
More file actions
40 lines (35 loc) · 1.33 KB
/
commands.sty
File metadata and controls
40 lines (35 loc) · 1.33 KB
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
\newcommand{\ensuretext}[1]{\ifmmode\text{#1}\else#1\fi}
\newcommand{\rs}[1]{\textcolor{red}{RS: #1}}
\newcommand{\mvl}[1]{\textcolor{blue}{MvL: #1}}
\newcommand{\pc}[1]{\textcolor{olive}{PC: #1}}
\newcommand{\tp}[1]{\textcolor{violet}{TP: #1}}
\let\oldXi\Xi
\let\oldOmega\Omega
\let\oldLambda\Lambda
\renewcommand{\Xi}{\ensuremath{\oldXi}}
\renewcommand{\Omega}{\ensuremath{\oldOmega}}
\renewcommand{\Lambda}{\ensuremath{\oldLambda}}
\let\oldphi\phi
\let\oldepsilon\epsilon
\renewcommand{\phi}{\varphi}
\renewcommand{\epsilon}{\varepsilon}
\let\oldeta\eta
\renewcommand{\eta}{\ensuremath{\oldeta}}
\newcommand{\sqrts}{$\sqrt{s} = 13.6$ TeV}
% \newcommand{\slfrac}[2]{\left.#1\right/#2} % ???
\newcommand{\Xibar}{\ensuremath{\overline{\Xi}^{+}}}
\newcommand{\Omegabar}{\ensuremath{\overline{\Omega}^{+}}}
\newcommand{\K}{\ensuretext{K}}
\newcommand{\p}{\ensuretext{p}}
\newcommand{\otwo}{O$^\text{2}$}
\newcommand{\qqbar}{\ensuremath{q\overline{q}}}
\newcommand{\pt}{\ensuremath{p_{\text{T}}}}
\newcommand{\mev}{MeV/$c^2$}
\newcommand{\gev}{GeV/$c^2$}
\newcommand{\y}{\ensuremath{y}}
\newcommand{\dphi}{\ensuremath{\Delta\phi}}
\newcommand{\dy}{\ensuremath{\Delta y}}
\newcommand{\Ntrig}{\ensuremath{N_\text{trig}}}
\newcommand{\Nassoc}{\ensuremath{N_\text{assoc}}}
\newcommand{\half}{\ensuremath{\frac{1}{2}}}
\renewcommand{\d}{\ensuremath{\mathrm{d}}}