Sync-to-go: update copyright for 2015
[s-roff.git] / contrib / hdtbl / examples / color_table_cells.roff
blob99108092edfe50a5895d6e865df09feab415b450
1 .ig
2 @ color_table_cells.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
12 version.
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
17 for more details.
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
22 02110-1301, USA.
25 .time start
26 .H Horizontal Rules and Randomly Colored Table Cells
27 .PN 15 Text before HR.
28 .TBL border=.5n bc=green bgc=red width=7c tal=c csp=.2n cpd=.3n .TR .TD .ETB
29 .PN 10 Text after HR and before Table.
31 .nr ? 0 1
32 .de ctab
33 .TR height=\nl/10
34 .PN 8 .random# ".defcolor c\\\\n+? rgb \E*[#random]" ".TD bgc=c\\\\n?"
36 .TBL tal=c border= csp=0 cpd=0 cols=8 width=\nl/10
37 .PN 8 .ctab
38 .ETB
39 .PN 10 Text after table.
40 .TBL border=.5n bc=c1 bgc=c2 width=15c tal=c csp=.2n cpd=.3n .TR .TD .ETB
41 .PN 15 Text after HR.
42 .time
43 .\"     466MHz Celeron CPU, 384MB RAM
44 .\"     WindowsXP/cygwin groff18.1:      14s
45 .\"     WindowsXP/cygwin groff19.2:      18s
46 .\"     Suse Linux 9.3 groff19.2:         1s
47 .\" s-tr-mode