1 .\" -*- mode: nroff -*-
4 color_nested_tables.roff
6 This file is part of groff, the GNU roff type-setting system.
8 Copyright (C) 2005-2014 Free Software Foundation, Inc.
9 written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>.
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.
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
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/>.
29 .so \*[sopath]examples/common.roff
34 .PN 15 Text before first table.
37 .PN 39 .random# ".defcolor c\\n[#] rgb \\\\*[#random] " \
38 ".TBL csp=0 cpd=0 border=1n bc=c\\n[#]" \
39 ".if \\\\n+#=1 .CPTN val=b Nested Tables with Randomly Colored Border" \
42 .PN 15 Text after first table.
50 .PN 15 Text before second table.
53 .PN 39 .random# ".defcolor c\\n[#] rgb \\\\*[#random] " \
54 ".TBL csp=0 cpd=1n border= bgc=c\\n[#]" \
55 ".if \\\\n+#=1 .CPTN val=b Nested Tables with Randomly Colored Background" \
58 .PN 25 Text after second table.
62 .\" 466MHz Celeron CPU, 384MB RAM
63 .\" WindowsXP/cygwin groff18.1: 9/9s
64 .\" WindowsXP/cygwin groff19.2: 14/14s
65 .\" Suse Linux 9.3 groff19.2: 1/1s