forked from gakalaba/multidispatch-paper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.tex
56 lines (48 loc) · 1.87 KB
/
common.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
52
53
54
55
56
\def\mpaxos{Multi-Paxos\xspace}
%\def\sdl{Single-dispatch Linearizability\xspace}
\def\sdl{Linearizability\xspace}
\def\mdllong {Multi-dispatch Linearizability\xspace}
\def\mdl{MD-Linearizability\xspace}
\def\Mdl{MD-Linearizability\xspace}
% \def\sd{single-dispatch Linearizability\xspace}
\def\md{MD-Linearizability\xspace}
\def\protocol {Ellis\xspace}
\def\system {Ellis\xspace}
\newcommand*{\sys}{Ellis}
% \newcommand*{\SDL}{single-dispatch Linearizability}
\newcommand*{\MDL}{MD-Linearizability}
\newcommand*{\singledispatch}{single-dispatch}
\newcommand*{\Singledispatch}{Single-dispatch}
\newcommand*{\multidispatch}{multi-dispatch}
\newcommand*{\Multidispatch}{Multi-dispatch}
\newcommand*{\lin}{linearizability}
\newcommand*{\Lin}{Linearizability}
\newcommand*{\configone}{Edge Client}
\newcommand*{\configtwo}{Colocated Shard Leader}
\newcommand*{\configthree}{Colocated Clients and Shard Leaders}
\newcommand{\noindentparagraph}[1]{\noindent \textbf{#1}}
\newcommand{\showComments}{no}
\newcommand{\note}[2]{
\ifthenelse{\equal{\showComments}{yes}}{{\color{#1}[#2]}}{}
}
\definecolor{worange}{RGB}{245, 128, 37}
\definecolor{wblue}{RGB}{30, 120, 173}
\definecolor{wpurple}{RGB}{138,43,226}
\newcommand{\wl}[1]{\note{worange}{W: #1}}
\newcommand{\al}[1]{\note{wblue}{AL: #1}}
\newcommand{\ak}[1]{\note{wpurple}{AK: #1}}
\newcommand{\true}[1]{\textcolor{blue}{#1}}
\definecolor{rgreen}{RGB}{0, 112, 60}
\newcommand{\tbd}[1]{\textcolor{rgreen}{#1}}
\newcommand{\todo}[1]{\textcolor{red}{TODO: #1}}
\newcommand{\stale}[1]{\textcolor{gray}{#1}}
\ifthenelse{\not\equal{\showComments}{yes}}{%
\renewcommand{\true}[1]{#1}
\renewcommand{\tbd}[1]{#1}
\renewcommand{\todo}[1]{}
}{}
\newcommand{\commentcolor}[2]{
\ifthenelse{\equal{\showComments}{yes}}{{\color{#1}#2}}{#2}
}
\definecolor{spurple}{rgb}{0.6, 0.4, 0.8}
\newcommand{\cbasuggest}[2]{\commentcolor{red}{\sout{#1}}\commentcolor{spurple}{#2}}