-
Notifications
You must be signed in to change notification settings - Fork 0
/
macros.tex
22 lines (19 loc) · 923 Bytes
/
macros.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
\newcommand{\tx}{\textsf{tx}\xspace}
\newcommand{\timestamp}{\textsf{timestamp}\xspace}
\newcommand{\gst}{\textsf{GST}\xspace}
\newcommand{\rread}{\textsc{read}\xspace}
\newcommand{\wwrite}{\textsc{write}\xspace}
\newcommand{\constructor}{\textsc{constructor}\xspace}
\newcommand{\execute}{\textsc{execute}\xspace}
\newcommand{\round}{\textsf{round}\xspace}
\newcommand{\append}{\textsf{append}\xspace}
\newcommand{\new}{\textbf{new}\xspace}
\newcommand{\net}{\textsc{net}\xspace}
\newcommand{\now}{\textsf{now()}\xspace}
\newcommand{\true}{\textsf{true}}
\newcommand{\false}{\textsf{false}}
\newcommandx{\Ledger}[3][1=,2=,3=]{\prescript{#1}{}{\pmb{L}}^{#2}_{#3}}
\newcommandx{\Chain}[3][1=,2=,3=]{\prescript{#1}{}{\pmb{C}}^{#2}_{#3}}
\newcommandx{\TChain}[3][1=,2=,3=]{\prescript{#1}{}{\pmb{\tilde C}}^{#2}_{#3}}
\newcommandx{\HChain}[3][1=,2=,3=]{\prescript{#1}{}{\pmb{\hat C}}^{#2}_{#3}}
\newcommand{\concat}{\,\|\,}