-
Notifications
You must be signed in to change notification settings - Fork 3
/
minby.tex
39 lines (32 loc) · 1.02 KB
/
minby.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
\documentclass{standalone}
\usepackage{tikz,rxmarbles}
\usetikzlibrary[arrows,shapes,positioning,matrix]
\begin{document}
\begin{tikzpicture}
\matrix[row sep=0.5cm]
{
\draw [time] (0,0) -- (7,0);
\node[marble,diamond,yellow] (0x0) at (1,0) {};
\node[marble,heptagon,blue] (1x0) at (2,0) {};
\node[marble,triangle,red] (2x0) at (3,0) {};
\node[marble,pentagon,green] (3x0) at (4,0) {};
\node[marble,hexagon,cyan] (4x0) at (5,0) {};
\node[complete] (6x0) at (5.5,0) {};
\\
\node[box,minimum width=7cm] (op) {MinBy $\left(\#sides\right)$};
\\
\draw [time] (0,0) -- (7,0);
\node[marble,triangle,red] (5x2) at (5.5,0) {};
\node[complete] (6x2) at (6,0) {};
\\
};
\draw [fdash] (0x0) -- (0x0|-op.north);
\draw [fdash] (1x0) -- (1x0|-op.north);
\draw [fdash] (2x0) -- (2x0|-op.north);
\draw [fdash] (3x0) -- (3x0|-op.north);
\draw [fdash] (4x0) -- (4x0|-op.north);
\draw [fdash] (6x0) -- (6x0|-op.north);
\draw [rdash] (5x2) -- (5x2|-op.south);
\draw [rdash] (6x2) -- (6x2|-op.south);
\end{tikzpicture}
\end{document}