-
Notifications
You must be signed in to change notification settings - Fork 0
/
mynotation.sty
38 lines (35 loc) · 2.03 KB
/
mynotation.sty
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
% Define some abbreviations
\RequirePackage{xspace}
\let\textabbr\textsc
%\newcommand{\abbrPID}{\texorpdfstring{\textabbr{pid}}{PID}\xspace}
%\newcommand{\abbrARMA}{\texorpdfstring{\textabbr{arma}}{ARMA}\xspace}
\newcommand{\abbrATLAS}{\texorpdfstring{\textabbr{atlas}}{ATLAS}\xspace}
\newcommand{\abbrCERN}{\texorpdfstring{\textabbr{cern}}{CERN}\xspace}
\newcommand{\abbrCMS}{\texorpdfstring{\textabbr{cms}}{CMS}\xspace}
\newcommand{\abbrCR}{\texorpdfstring{\textabbr{cr}}{CR}\xspace}
\newcommand{\abbrLHC}{\texorpdfstring{\textabbr{lhc}}{LHC}\xspace}
\newcommand{\abbrMC}{\texorpdfstring{\textabbr{mc}}{MC}\xspace}
\newcommand{\abbrSM}{\texorpdfstring{\textabbr{sm}}{SM}\xspace}
\newcommand{\abbrSR}{\texorpdfstring{\textabbr{sr}}{SR}\xspace}
\newcommand{\abbrWIMP}{\texorpdfstring{\textabbr{wimp}}{WIMP}\xspace}
\newcommand{\abbrWIMPS}{\texorpdfstring{\textabbr{wimps}}{WIMPS}\xspace}
\newcommand{\abbrQED}{\texorpdfstring{\textabbr{qed}}{QED}\xspace}
\newcommand{\abbrQFT}{\texorpdfstring{\textabbr{qft}}{QFT}\xspace}
\newcommand{\abbrQM}{\texorpdfstring{\textabbr{qm}}{QM}\xspace}
%Remember to alter notation.tex
% Common sets
%\newcommand{\reals}{\mathbb{R}}
%\newcommand{\complexes}{\mathbb{C}}
%\newcommand{\rationals}{\mathbb{Q}}
%\newcommand{\naturals}{\mathbb{N}}
%\newcommand{\integers}{\mathbb{Z}}
% Text style for different kinds of words.
\newcommand{\textfilename}[1]{\mbox{\emph{#1}}}% The command \filename is already used by some other package.
\newcommand{\styname}[1]{\texorpdfstring{{\fontsize{0.9em}{1\baselineskip}\selectfont\mbox{\textsf{#1}}}}{#1}}
\newcommand{\classoption}[1]{\mbox{\texttt{#1}}}
\newcommand{\texcommand}[1]{\mbox{\texttt{\textbackslash #1}}}
\newcommand{\envname}[1]{\mbox{\texttt{#1}}}
% Miscellaneous strings with special formatting
\newcommand{\rtthesis}{\emph{\styname{rtthesis}}\xspace}% It's not really a style file (package), but it is close enough.
% It's hard to get good-looking underscores in filenames. This is one attempt...
\newcommand{\usc}{\hspace{0.1ex}\rule{1ex}{0.1ex}\hspace{0.1ex}}%\raisebox{2.5pt}{\_}