From ed201a4f83e4cf8fc826543255652db286380dfe Mon Sep 17 00:00:00 2001 From: "S.J.R. van Schaik" Date: Fri, 4 Aug 2017 13:40:38 +0200 Subject: [PATCH] tech-doc: improve colours --- tech-doc/tech-spec.tex | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/tech-doc/tech-spec.tex b/tech-doc/tech-spec.tex index d9af664..7f47466 100644 --- a/tech-doc/tech-spec.tex +++ b/tech-doc/tech-spec.tex @@ -164,27 +164,27 @@ The communication between the host device and the TBM follows a client-server mo \draw[thick,draw=gray!70,->] (-0.2,0) node[left] {\tt\small\uppercase{TBM}} -- (15,0); \draw[thick,draw=gray!70,->] (-0.2,4) node[left] {\tt\small\uppercase{ROTS}} -- (15,4); -\draw[thick,draw=green!70!black,dashed] (0,0) -- ++(0,4) node[midway, sloped, below] {\tt\small\uppercase{trusted}}; +\draw[thick,draw=green!70!black,dashed] (0,0) -- ++(0,4) node[midway, sloped, above] {\color{green!70!black}\tt\small\uppercase{trusted}}; -\draw[thick,draw=blue!30,->] (1, 4) -- ++(.5,-4) node[midway, sloped, below] {\tt\small\uppercase{hi }}; -\draw[thick,draw=red!30,->] (1.75, 0) -- ++(.5,4) node[midway, sloped, below] {\tt\small\uppercase{hello }}; +\draw[thick,draw=blue!70!black,->] (1, 4) -- ++(.5,-4) node[midway, sloped, below] {\color{blue!70!black}\tt\small\uppercase{hi }}; +\draw[thick,draw=red!70!black,->] (1.75, 0) -- ++(.5,4) node[midway, sloped, below] {\color{red!70!black}\tt\small\uppercase{hello }}; -\draw[thick,draw=blue!30,->] (3, 4) -- ++(.5,-4) node[midway, sloped, below] {\tt\small\uppercase{ls certs}}; -\draw[thick,draw=red!30,->] (3.75, 0) -- ++(.5,4) node[midway, sloped, below] {\tt\small\uppercase{}}; +\draw[thick,draw=blue!70!black,->] (3, 4) -- ++(.5,-4) node[midway, sloped, below] {\color{blue!70!black}\tt\small\uppercase{ls certs}}; +\draw[thick,draw=red!70!black,->] (3.75, 0) -- ++(.5,4) node[midway, sloped, below] {\color{red!70!black}\tt\small\uppercase{}}; -\draw[thick,draw=blue!30,->] (5, 4) -- ++(.5,-4) node[midway, sloped, below] {\tt\small\uppercase{cat certs/cert.crt}}; -\draw[thick,draw=red!30,->] (5.75, 0) -- ++(.5,4) node[midway, sloped, below] {\tt\small\uppercase{}}; +\draw[thick,draw=blue!70!black,->] (5, 4) -- ++(.5,-4) node[midway, sloped, below] {\color{blue!70!black}\tt\small\uppercase{cat certs/cert.crt}}; +\draw[thick,draw=red!70!black,->] (5.75, 0) -- ++(.5,4) node[midway, sloped, below] {\color{red!70!black}\tt\small\uppercase{}}; -\draw[thick,draw=blue!30,->] (7, 4) -- ++(.5,-4) node[midway, sloped, below] {\tt\small\uppercase{time}}; -\draw[thick,draw=red!30,->] (7.75, 0) -- ++(.5,4) node[midway, sloped, below] {\tt\small\uppercase{1501842512}}; +\draw[thick,draw=blue!70!black,->] (7, 4) -- ++(.5,-4) node[midway, sloped, below] {\color{blue!70!black}\tt\small\uppercase{time}}; +\draw[thick,draw=red!70!black,->] (7.75, 0) -- ++(.5,4) node[midway, sloped, below] {\color{red!70!black}\tt\small\uppercase{1501842512}}; -\draw[thick,draw=blue!30,->] (9, 4) -- ++(.5,-4) node[midway, sloped, below] {\tt\small\uppercase{booting }}; -\draw[thick,draw=red!30,->] (9.75, 0) -- ++(.5,4) node[midway, sloped, below] {\tt\small\uppercase{ok}}; +\draw[thick,draw=blue!70!black,->] (9, 4) -- ++(.5,-4) node[midway, sloped, below] {\color{blue!70!black}\tt\small\uppercase{booting }}; +\draw[thick,draw=red!70!black,->] (9.75, 0) -- ++(.5,4) node[midway, sloped, below] {\color{red!70!black}\tt\small\uppercase{ok}}; -\draw[thick,draw=red!70!black,dashed] (11, 0) -- ++(0, 4) node[midway, sloped, below] {\tt\small\uppercase{untrusted}}; +\draw[thick,draw=red!70!black,dashed] (12, 0) -- ++(0, 4) node[midway, sloped, above] {\color{red!70!black}\tt\small\uppercase{untrusted}}; -\draw[thick,draw=blue!30,->] (12, 4) -- ++(.5,-4) node[midway, sloped, below] {\tt\small\uppercase{booting ok}}; -\draw[thick,draw=red!30,->] (12.75, 0) -- ++(.5,4) node[midway, sloped, below] {\tt\small\uppercase{ok}}; +\draw[thick,draw=blue!70!black,->] (13, 4) -- ++(.5,-4) node[midway, sloped, below] {\color{blue!70!black}\tt\small\uppercase{booting ok}}; +\draw[thick,draw=red!70!black,->] (13.75, 0) -- ++(.5,4) node[midway, sloped, below] {\color{red!70!black}\tt\small\uppercase{ok}}; \end{tikzpicture} \end{adjustbox} \caption{protocol diagram.}