Debian Codegraph @

texmf-dist/doc/latex/pgf-go/en/pgfgo-examples.tex

raw
1 \section{Other Examples}
2
3 \pgfgouseprofile{pgfgo}
4
5 \begin{codeexample}[width=6cm]
6 \setlength{\tabcolsep}{2pt}
7
8 \begin{tabular}{cc}
9 \begin{goban}[partial = {from = A9 to E5}]
10 \stone[b]{C7}
11 \marks[sequence]{C8, D7, C6, B7};
12 \end{goban} &
13 %
14 \begin{goban}[partial = {from = E9 to I5}]
15 \stone[b]{G7}
16 \stone[w]{F7}
17 \marks[sequence]{G8, H7, G6};
18 \end{goban} \\
19 %
20 \begin{goban}[partial = {from = A1 to E5}]
21 \stone[b]{C3}
22 \stones[w]{B3,C2}
23 \marks[sequence]{C4, D3};
24 \end{goban} &
25 %
26 \begin{goban}[partial = {from = E1 to I5}]
27 \stone[b]{G3}
28 \stones[w]{F3,G2, H3}
29 \marks[sequence]{G4};
30 \end{goban}\\
31 \end{tabular}
32 \end{codeexample}
33
34 \begin{codeexample}[width=4.8cm]
35 \pgfgoset{use i = false}
36
37 \begin{goban}[13, label = {at = {all}}]
38 \stones[b]{A1, J1, K1, G7, N9, D12, D13}
39 \stones[w]{A2, H1, J2, K2, G6, F7, G8, M9, N10, C12, C13, E12, E13}
40 \marks[circle, line = {color = white}]{B1, L1, N8, H7, D11}
41 \end{goban}
42 \begin{goban}[13, label = {at = {north, east, south}}]
43 \stones[w]{A2, H1, J2, K2, G6, F7, G8, M9, N10, C12, C13, E12, E13}
44 \stones[w,mark = triangle]{B1, L1, N8, H7, D11}
45 \end{goban}
46 \end{codeexample}
47
48 \begin{codeexample}[width=4.8cm]
49 \pgfgoset{use i = false}
50
51 \begin{goban}[9, label = {at = {south, west}}]
52 \stones[b]{A2-|D1, B1, G1|-F2|-G4|-J7-|E9, G8}
53 \stones[w]{E1|-D6|-A7, D 8:9, F5, B:C 5, A:D 3}
54 \marks[b, t-circle]{J1 R H6, G3, F8 R J9; G8; A1, C1}
55 \marks[b, t-square, white]{A9 R C8, A4 R D6; B:C 5, D6}
56 \marks[t-square, neutral]{F1,F6}
57 \end{goban}
58 \end{codeexample}
59
60 \begin{codeexample}[width=4.8cm]
61 \begin{goban}[9, label = {at = {south, west}}]
62 \stones[b]{C7}
63 \stones[w]{B6,B7,C8,D7}
64 \moves*{C6,C5,D6,E6,D5,D4,E5,F5,E4,E3}
65 \end{goban}
66 \end{codeexample}
67
68 \begin{codeexample}[width=4.8cm]
69 \begin{goban}[9, partial = {from = A2 to H9}]
70 \stones[b]{A7,B6,C8,C7}
71 \stones[b, mark = triangle]{D6,D5,D4}
72 \stones[w]{C3,C4,C5,C6,D7,E7,E6}
73 \stone[w, mark = {custom = 1}]{E3}
74 \marks[b, circle, line = {color = red!80!black}] {D3,E4, E5}
75 \end{goban}
76 \end{codeexample}
77
78 \begin{codeexample}[width=4.8cm]
79 \pgfgouseprofile{pgfgosmooth}
80
81 \begin{goban}[label = {at = all}]
82 \stones[b]{A8 |- B7, B9 -| C8, H:I 1:9, G8:9, A:D 1:2, A3; I2, I6, I8, H9, C1, A2, H:J4;}
83 \stones[w]{E1 |- B3 |- A4, A6 -| C7 -| D9, G1 |- I4 -| G7 -| F9; D7;}
84 \end{goban}
85 \end{codeexample}