4 color_nested_tables.roff
6 This file is part of groff, the GNU roff type-setting system.
8 Copyright (C) 2005, 2006, 2009 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/>.
27 .PN 15 Text before first table.
30 .PN 39 .random# ".defcolor c\\n[#] rgb \\\\*[#random] " \
31 ".TBL csp=0 cpd=0 border=1n bc=c\\n[#]" \
32 ".if \\\\n+#=1 .CPTN val=b Nested Tables with Randomly Colored Border" \
35 .PN 15 Text after first table.
38 .PN 15 Text before second table.
41 .PN 39 .random# ".defcolor c\\n[#] rgb \\\\*[#random] " \
42 ".TBL csp=0 cpd=1n border= bgc=c\\n[#]" \
43 ".if \\\\n+#=1 .CPTN val=b Nested Tables with Randomly Colored Background" \
46 .PN 25 Text after second table.
48 .\" 466MHz Celeron CPU, 384MB RAM
49 .\" WindowsXP/cygwin groff18.1: 9/9s
50 .\" WindowsXP/cygwin groff19.2: 14/14s
51 .\" Suse Linux 9.3 groff19.2: 1/1s