| 1 |
.ig |
| 2 |
Copyright 2006 Free Software Foundation, Inc. |
| 3 |
|
| 4 |
Written by Joachim Walsdorff <[email protected]> |
| 5 |
|
| 6 |
This file is part of hdtbl. |
| 7 |
|
| 8 |
hdtbl is distributed with groff, the GNU roff typesetting system. |
| 9 |
|
| 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. |
| 14 |
|
| 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 |
| 18 |
for more details. |
| 19 |
|
| 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/>. |
| 22 |
.. |
| 23 |
. |
| 24 |
.if !d sopath \ |
| 25 |
. ds sopath |
| 26 |
. |
| 27 |
.ds lib examples/common.roff |
| 28 |
.soquiet \*[sopath]\*[lib] |
| 29 |
.if !d common \{\ |
| 30 |
. tmc \n[.F]: cannot find "\*[lib]"; specify its location |
| 31 |
. tm1 " with groff '-I' or '-d sopath=' option |
| 32 |
.\} |
| 33 |
. |
| 34 |
. |
| 35 |
.\" Seed the random number generator for reproducible builds. |
| 36 |
.random-seed 131545532 19201711 |
| 37 |
. |
| 38 |
.H Horizontal Rules and Randomly Colored Table Cells |
| 39 |
.PN 15 Text before HR. |
| 40 |
.TBL border=.5n bc=green bgc=red width=7c tal=c csp=.2n cpd=.3n .TR .TD .ETB |
| 41 |
.PN 10 Text after HR and before Table. |
| 42 |
. |
| 43 |
.nr ? 0 1 |
| 44 |
.de ctab |
| 45 |
.TR height=\nl/10 |
| 46 |
.PN 8 .random# ".defcolor c\\\\n+? rgb \E*[#random]" ".TD bgc=c\\\\n?" |
| 47 |
.. |
| 48 |
.TBL tal=c border= csp=0 cpd=0 cols=8 width=\nl/10 |
| 49 |
.PN 8 .ctab |
| 50 |
.ETB |
| 51 |
.PN 10 Text after table. |
| 52 |
.TBL border=.5n bc=c1 bgc=c2 width=15c tal=c csp=.2n cpd=.3n .TR .TD .ETB |
| 53 |
.PN 15 Text after HR. |
| 54 |
. |
| 55 |
.\" Local Variables: |
| 56 |
.\" mode: nroff |
| 57 |
.\" fill-column: 72 |
| 58 |
.\" End: |
| 59 |
.\" vim: set filetype=groff textwidth=72: |