summaryrefslogtreecommitdiff
path: root/macros/latex209/contrib/misc/latex-go-board.tex
blob: b44b676d7c28704360c6ef2583582b801b98afb8 (plain)
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
63
64
65
66
67
68
%% A Sample of LaTeX Go Board 
%% Youyi Chen
%% University of Waterloo, Dept. of Statistics and Actuarial Science
%% ychen@aftermath.waterloo.edu
%% Sept. 1990
%%
\documentstyle[12pt]{article}
\pagestyle{empty}
 
\begin{document}
\centerline{{\Huge No Way Out?}}
\vspace{.5in} 
\begin{center}
\setlength{\unitlength}{5mm}
\begin{picture}(18,18)(1,1)
 
%% moves
\put(6,3){\circle*{1}}
\put(7,3){\circle*{1}}
\put(8,3){\circle*{1}}
\put(5,4){\circle*{1}}
\put(9,4){\circle*{1}}
\put(5,6){\circle*{1}}
\put(9,6){\circle*{1}}
\put(7,6){\circle*{1}}
\put(7,7){\circle*{1}}
 
\put(6,4){\circle{1}}
\put(7,4){\circle{1}}
\put(8,4){\circle{1}}
\put(6,5){\circle{1}}
\put(8,5){\circle{1}}
%% the board
%% horizontal
\multiput(1,1)(0,1){3}{\line(1,0){18}}
 
\put(1,4){\line(1,0){4}}
\put(9,4){\line(1,0){10}}
 
\put(1,5){\line(1,0){4.5}}
\put(6.5,5){\line(1,0){1}}
\put(8.5,5){\line(1,0){10.5}}
 
\multiput(1,6)(0,1){14}{\line(1,0){18}}
 
%%vertical
\multiput(1,1)(1,0){5}{\line(0,1){18}}
 
\put(6,1){\line(0,1){2}}
\put(6,5.5){\line(0,1){13.5}}
 
\put(7,1){\line(0,1){2}}
\put(7,4.5){\line(0,1){14.5}}
 
\put(8,1){\line(0,1){2}}
\put(8,5.5){\line(0,1){13.5}}
 
\multiput(9,1)(1,0){11}{\line(0,1){18}}
 
%% the stars
\multiput(4,4)(6,0){3}{\circle*{0.3}}
\multiput(4,10)(6,0){3}{\circle*{0.3}}
\multiput(4,16)(6,0){3}{\circle*{0.3}}
 
\end{picture}
\end{center}
\end{document}