forked from marromlam/compostela-thesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommands.tex
executable file
·51 lines (34 loc) · 1.18 KB
/
commands.tex
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
41
42
43
44
45
46
47
48
49
50
51
% COMMANDS
% Creating aliases for different commands
% For example formulae, units, particles, etc.
% And also for acronyms
% define some formula {{{
\newcommand{\psai}{\ensuremath{\uppsi}}
\newcommand*{\Bs}{\ensuremath{\mathrm{B}{}_{\mathrm{s}}^{\mathrm{0}}}\xspace}
\newcommand*{\Jpsi}{\ensuremath{ \text{J}\!/\!\psai }\xspace}
% }}}
% aliases for acronyms {{{
\newcommand*{\LEP}{\gls{LEP}\xspace}
\newcommand*{\ALICE}{\gls{ALICE}\xspace}
\newcommand*{\ATLAS}{\gls{ATLAS}\xspace}
\newcommand*{\CMS}{\gls{CMS}\xspace}
\newcommand*{\lhcb}{\gls{LHCb}\xspace}
\newcommand{\python}{\textsc{Python}\xspace}
\newcommand{\minuit}{\textsc{Minuit}\xspace}
% }}}
% units {{{
\newcommand*{\ps}{\ensuremath{\,\mathrm{ps}}\xspace}
\newcommand*{\ips}{\ensuremath{\,\mathrm{ps}^{-1}}\xspace}
\newcommand*{\MeV}{\ensuremath{\,\mathrm{MeV}}\xspace}
\newcommand*{\MeVc}{\ensuremath{\,\mathrm{MeV}/c}\xspace}
\newcommand*{\MeVcc}{\ensuremath{\,\mathrm{MeV}/c^2}\xspace}
% }}}
% reference commands {{{
\newcommand\figref{Fig.~\ref}
\newcommand\tabref{Table~\ref}
\newcommand\secref{\S\ref}
\newcommand\charef{Chapter~\ref}
\newcommand\eqnref{Eq.~\ref}
\newcommand\appref{App.~\ref}
% }}}
% vim: fdm=marker