-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdilution-interlace.tex
62 lines (52 loc) · 1.43 KB
/
dilution-interlace.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
% Copyright © 2017-2018 Martin Ueding <martin-ueding.de>
% Licensed under CC-BY 4.0
\documentclass{scrartcl}
\pagestyle{empty}
\usepackage{tikz}
\usetikzlibrary{arrows.meta, calc}
\colorlet{mygray1}{black!10}
\colorlet{mygray2}{black!20}
\begin{document}
\begin{tikzpicture}[
box/.style={
draw,
rectangle,
minimum size=5mm,
},
block/.style={
draw,
circle,
minimum size=0mm,
inner sep=1.5pt,
},
marked/.style={
fill=mygray1,
},
scale=0.5,
]
\node[box, marked] (l0) at (0, -0) {0};
\node[box] (l1) at (0, -1) {1};
\node[box] (l2) at (0, -2) {2};
\node[box] (l3) at (0, -3) {3};
\node[box, marked] (l4) at (0, -4) {4};
\node[box] (l5) at (0, -5) {5};
\node[box] (l6) at (0, -6) {6};
\node[box] (l7) at (0, -7) {7};
\begin{scope}[xshift=30mm, yshift=-20mm]
\node[block, marked] (b0) at (0, -0) {0};
\node[block] (b1) at (0, -1) {1};
\node[block] (b2) at (0, -2) {2};
\node[block] (b3) at (0, -3) {3};
\end{scope}
\begin{scope}[->, >=Latex, out=0, in=180]
\draw (l0) to (b0);
\draw (l1) to (b1);
\draw (l2) to (b2);
\draw (l3) to (b3);
\draw (l4) to (b0);
\draw (l5) to (b1);
\draw (l6) to (b2);
\draw (l7) to (b3);
\end{scope}
\end{tikzpicture}
\end{document}