Initial import of binutils 2.22 on the new vendor branch
[dragonfly.git] / contrib / groff / contrib / hdtbl / examples / chess_board.roff
1 .\" -*- mode: roff -*-
2 .ig
3
4 chess_board.roff
5
6 This file is part of groff, the GNU roff type-setting system.
7
8 Copyright (C) 2005, 2006, 2009 Free Software Foundation, Inc.
9 written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>.
10
11 groff is free software; you can redistribute it and/or modify it under
12 the terms of the GNU General Public License as published by the Free
13 Software Foundation, either version 3 of the License, or
14 (at your option) any later version.
15
16 groff is distributed in the hope that it will be useful, but WITHOUT
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
19 for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with this program. If not, see <http://www.gnu.org/licenses/>.
23
24 ..
25 .
26 .time start
27 .nr *x 8
28 .de r1
29 .TR height=1.6c 
30 .TD hl= val=m hal=r \\\\n(*x
31 .PN 4 ".TD bgc=wheat" ".TD bgc=tan3"
32 .TD hl= val=m hal=l \\\\n(*x
33 .nr *x -1
34 ..
35 .de r2
36 .TR height=1.6c
37 .TD hl= val=m hal=r \\\\n(*x
38 .PN 4 ".TD bgc=tan3" ".TD bgc=wheat"
39 .TD hl= val=m hal=l \\\\n(*x
40 .nr *x -1
41 ..
42 .af *y a
43 .H Chessboard
44 .TBL border=0 csp=.05n bgc= cols=10 width=1.6c tal=c
45 .TR vl= hal=c\" height=1c
46 .TD hl=
47 .nr *y 0
48 .PN 8 .TD ".nr *y +1" \\\\n(*y
49 .TD hl=
50 .PN 4 .r1 .r2
51 .TR vl= hal=c
52 .TD 
53 .nr *y 0
54 .PN 8 .TD ".nr *y +1" \\\\n(*y
55 .TD
56 .ETB
57 .time
58 .\"     466MHz Celeron CPU, 384MB RAM 
59 .\"     WindowsXP/cygwin groff18.1:       1s
60 .\"     WindowsXP/cygwin groff19.2:       4s
61 .\"     Suse Linux 9.3 groff19.2:         1s