Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sage
Path: blob/develop/src/doc/en/reference/combinat/media/day-doubling.tex
4139 views
1
\documentclass{standalone}
2
\usepackage{tikz}
3
\usetikzlibrary{positioning}
4
\usepackage{subfigure}
5
6
\begin{document}
7
8
\minipage{6cm}
9
\begin{figure}
10
\subfigure{
11
\begin{tikzpicture}
12
13
\node (A) {$\circ$};
14
\node (U) [above of=A] {a};
15
\node (U1) [above left of=U] {b};
16
\node (U2) [above right of=U] {c};
17
\node (B) [above right of=U1] {$\circ$};
18
19
\draw [gray, dashed] (A) -- (U);
20
\draw [line width=0.5mm, red] (U) -- (U1);
21
\draw [line width=0.5mm, red] (U) -- (U2);
22
\draw [gray, dashed] (U1) -- (B);
23
\draw [gray, dashed] (U2) -- (B);
24
25
\end{tikzpicture}
26
}
27
\subfigure{
28
\begin{tikzpicture}
29
30
\node (A) {$\circ$};
31
\node (U) [above of=A] {a};
32
\node (U1) [above left of=U] {b};
33
\node (U2) [above right of=U] {c};
34
\node (V) [right of=U2] {a'};
35
\node (V1) [above left of=V] {b'};
36
\node (V2) [above right of=V] {c'};
37
\node (B) [above right of=V1] {$\circ$};
38
39
\draw [gray, dashed] (A) -- (U);
40
\draw [line width=0.5mm, red] (U) -- (U1);
41
\draw [line width=0.5mm, red] (U) -- (U2);
42
\draw (U) -- (V);
43
\draw (U1) -- (V1);
44
\draw (U2) -- (V2);
45
\draw [line width=0.5mm, red] (V) -- (V1);
46
\draw [line width=0.5mm, red] (V) -- (V2);
47
\draw [gray, dashed] (V1) -- (B);
48
\draw [gray, dashed] (V2) -- (B);
49
50
\end{tikzpicture}
51
}
52
\end{figure}
53
\endminipage
54
55
\end{document}
56
57