3 color_nested_tables.roff
5 This file is part of groff, the GNU roff type-setting system.
7 Copyright (C) 2005-2018 Free Software Foundation, Inc.
8 written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>.
10 groff is free software; you can redistribute it and/or modify it under
11 the terms of the GNU General Public License as published by the Free
12 Software Foundation, either version 3 of the License, or
13 (at your option) any later version.
15 groff is distributed in the hope that it will be useful, but WITHOUT
16 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20 You should have received a copy of the GNU General Public License
21 along with this program. If not, see <http://www.gnu.org/licenses/>.
28 .so \*[sopath]examples/common.roff
31 .\" Seed the random number generator for reproducible builds.
32 .random-seed 131545532 19201711
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.
46 .PN 15 Text before second table.
49 .PN 39 .random# ".defcolor c\\n[#] rgb \\\\*[#random] " \
50 ".TBL csp=0 cpd=1n border= bgc=c\\n[#]" \
51 ".if \\\\n+#=1 .CPTN val=b Nested Tables with Randomly Colored Background" \
54 .PN 25 Text after second table.
56 .\" ====================================================================
58 .\" ====================================================================
64 .\" vim: set filetype=groff textwidth=72: