-
Notifications
You must be signed in to change notification settings - Fork 0
/
mynotation.sty
31 lines (27 loc) · 1.52 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
% Define some abbreviations
\RequirePackage{xspace}
\let\textabbr\textsc
\newcommand{\abbrMM}{\texorpdfstring{\textabbr{m2m}}{M2M}\xspace}
\newcommand{\abbrIoT}{\texorpdfstring{\textabbr{IoT}}{IoT}\xspace}
\newcommand{\abbrICT}{\texorpdfstring{\textabbr{ict}}{ICT}\xspace}
\newcommand{\abbrRFF}{\texorpdfstring{\textabbr{rff}}{RFF}\xspace}
\newcommand{\abbrRFID}{\texorpdfstring{\textabbr{rfid}}{RFID}\xspace}
\newcommand{\abbrFRR}{\texorpdfstring{\textabbr{frr}}{FRR}\xspace}
\newcommand{\abbrFAR}{\texorpdfstring{\textabbr{far}}{FAR}\xspace}
\newcommand{\abbrFTE}{\texorpdfstring{\textabbr{fte}}{FTE}\xspace}
% 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}{\_}