fix brackets, check floats and widows in chp 1-3
[phd-thesis.git] / top / blinktree1.tex
1 \documentclass[tikz]{standalone}
2 \usepackage{stmaryrd}
3 \usetikzlibrary{arrows.meta,shapes.symbols,matrix,positioning}
4 \begin{document}
5 \begin{tikzpicture}[node distance=1em]
6 \node (s1) {\verb#>>|.#};
7 \node (d1) [left=of s1.north,yshift=-3em] {\verb#delay 500#};
8 \node (s2) [right=of s1.south,xshift=-3em,yshift=-3em,fill=gray!15,label={[xshift=1em,label distance=-5pt]above:{\tiny interpreter}}] {\verb#writeD D3 st >>=. \x->#};
9 \node (s3) [node distance=-.25em,below=of s2.south,fill=gray!15] {\verb#blink (Not x)#};
10 \draw (s1.south) -- (d1.north);
11 \draw (s1.south) -- ([xshift=-1em]s2.north);
12 \end{tikzpicture}
13 \end{document}