-
Notifications
You must be signed in to change notification settings - Fork 0
/
useful_defines.tex
116 lines (84 loc) · 3.23 KB
/
useful_defines.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
%
\def\sharedaffiliation{%
\end{tabular}
\begin{tabular}{c}}
%
\lstset{language=Python}
\definecolor{LightGray}{RGB}{250,250,250}
\lstdefinestyle{custompython}{
captionpos=b, % sets the caption-position to bottom
% frame=tb,
xleftmargin=\parindent,
language=Python,
basicstyle=\footnotesize\ttfamily,
keywordstyle=\bfseries\color{MidnightBlue},
morekeywords={*,python,times,test_folder,url},
stringstyle=\color{PineGreen},
commentstyle=\color{Magenta},
backgroundcolor=\color{LightGray}
}
\newcommand{\tool}{Flask Dashboard\xspace}
\newcommand{\zee}{Zeeguu\xspace}
\newcommand{\zeeurl}{\xspace}
\newcommand{\git}{\texttt{git}\xspace}
\newcommand{\install}{{\small \texttt{pip install flask\_monitoring\_dashboard}}\xspace}
\newcommand{\activeUserCount}{two hundred\xspace}
\newcommand{\code}[1]{\texttt{#1}\xspace}
\newcommand{\perspective}[1]{{\bf {\small {\texttt{#1}}\xspace}}}
\newcommand{\withheld}{withheld due to double blind}
\newcommand{\citationwithheld}{{\em [citation withheld due to double blind]}}
\newcommand{\lesson}[1]{{\bf {\small {\texttt{Lesson: }}\xspace}}: #1}
\usepackage{fourier-orns}
\definecolor{myred}{RGB}{230, 20, 70}
\definecolor{mygreen}{RGB}{60, 180, 75}
\definecolor{uploadUserData}{RGB}{135, 143, 197}
\definecolor{feedItems}{RGB}{245, 130, 48}
\definecolor{topArticles}{RGB}{139, 210, 121}
\definecolor{bookmarksToStudy}{RGB}{210,245, 60}
\newcommand{\niceseparator}
{
\begin{center}
% $\ast$~$\ast$~$\ast$
% $\clubsuit$~$\clubsuit$~$\clubsuit$
\leafleft
\end{center}
}
% Endpoint Names
%\newcommand{\epDecoration}[1]{{\small {\bf #1}}\xspace}
\newcommand{\epDecoration}[1]{\code{\small #1}}
\newcommand{
\epColorDecoration}[2]{#2\code{\small(\color{#1}{\small$\blacksquare$}\color{black})}
}
%\xspace}
\newcommand{\epTranslations}{\epDecoration{get\_possible\_translations}}
\newcommand{\epTranslationsColor}{\epColorDecoration{myred}{\epTranslations}}
\newcommand{\epOutcome}{\epDecoration{report\_exercise\_outcome}}
\newcommand{\epOutcomeColor}{\epColorDecoration{mygreen}{\epOutcome}}
\newcommand{\epUserActivity}{\epDecoration{upload\_user\_activity\_data}}
\newcommand{\epUserActivityColor}{\epColorDecoration{uploadUserData}{\epUserActivity}}
\newcommand{\epFeedItems}{\epDecoration{get\_feed\_items\_with\_metrics}}
\newcommand{\epFeedItemsColor}{\epColorDecoration{feedItems}{\epFeedItems}}
\newcommand{\epTopArticles}{\epDecoration{top\_recommended\_articles}}
\newcommand{\epTopArticlesColor}{\epColorDecoration{topArticles}{\epTopArticles}}
\newcommand{\epBookmarksToStudy}{\epDecoration{bookmarks\_to\_study}}
\newcommand{\epBookmarksToStudyColor}{\epColorDecoration{bookmarksToStudy}{\epBookmarksToStudy}}
% Author Comments / Discussion
\definecolor{mlcolor}{RGB}{140, 140, 205}
\definecolor{vacolor}{RGB}{255, 0, 255}
\newcommand{\ml}[1]{
{\footnotesize \color{mlcolor}ML: #1}
}
\newcommand{\ins}[1]{
{\color{blue}#1}
}
\newcommand{\va}[1]{
{\footnotesize \color{vacolor}VA: #1}
}
\newcommand{\mltp}[1]{\ml{Thijs, Patrick: #1}}
\newcommand{\mlv}[1]{\ml{Vasilios: #1}}
\definecolor{todocolor}{RGB}{200, 140, 200}
\newcommand{\todo}[1]{
{\bfseries \color{todocolor}Todo: #1}
}
\newcommand{\Fref}[1]{Fig.~\ref{#1}}
\newcommand{\Sref}[1]{Sec.~\ref{#1}}