2 @ color_nested_tables.roff
4 Copyright (c) 2014 - 2015 Steffen (Daode) Nurpmeso <sdaoden@users.sf.net>.
6 Copyright (C) 2005, 2006, 2009 Free Software Foundation, Inc.
7 written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>.
9 This is free software; you can redistribute it and/or modify it under
10 the terms of the GNU General Public License as published by the Free
11 Software Foundation; either version 2, or (at your option) any later
14 This is distributed in the hope that it will be useful, but WITHOUT
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19 You should have received a copy of the GNU General Public License
20 along with groff; see the file COPYING. If not, write to the Free
21 Software Foundation, 51 Franklin St - Fifth Floor, Boston, MA
26 .PN 15 Text before first table.
29 .PN 39 .random# ".defcolor c\\n[#] rgb \\\\*[#random] " \
30 ".TBL csp=0 cpd=0 border=1n bc=c\\n[#]" \
31 ".if \\\\n+#=1 .CPTN val=b Nested Tables with Randomly Colored Border" \
34 .PN 15 Text after first table.
40 .PN 15 Text before second table.
43 .PN 39 .random# ".defcolor c\\n[#] rgb \\\\*[#random] " \
44 ".TBL csp=0 cpd=1n border= bgc=c\\n[#]" \
45 ".if \\\\n+#=1 .CPTN val=b Nested Tables with Randomly Colored Background" \
48 .PN 25 Text after second table.
50 .\" 466MHz Celeron CPU, 384MB RAM
51 .\" WindowsXP/cygwin groff18.1: 9/9s
52 .\" WindowsXP/cygwin groff19.2: 14/14s
53 .\" Suse Linux 9.3 groff19.2: 1/1s