Sync-to-go: update copyright for 2015
[s-roff.git] / contrib / hdtbl / examples / color_boxes.roff
blob14d750ee1d9e282966949b0330ea5000b91aa1ff
1 .ig
2 @ color_boxes.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 Boxes .br with Randomly Colored Border and Background
27 .PN 25 Text before horizontal rule.
28 .TBL border=.5n bc=green bgc=red width=7c tal=c csp=.2n cpd=.3n .TR .TD .ETB
29 .PN 10 Text after horizontal rule and before table.
30 .de ctab
31 .nr ? 0 1
32 .PN 5 .random# ".defcolor color\En+? rgb \E*[#random]"
33 .TD ".TBL border=1c bc=color1 csp=0 cpd=0 height=3c bgc=color2" .TR .TD .ETB
36 .TBL tal=c border= csp=0 cpd=0 cols=5 width=3c
37 .PN 2 .TR ".PN 5 .ctab"
38 .ETB
39 .PN 15 Text after table.
40 .TBL border=.5n bc=color1 bgc=color2 width=15c tal=c csp=.2n cpd=.3n .TR .TD .ETB
41 .PN 25 Text after horizontal rule.
42 .time
43 .\"     466MHz Celeron CPU, 384MB RAM
44 .\"     WindowsXP/cygwin groff18.1:      10s
45 .\"     WindowsXP/cygwin groff19.2:      14s
46 .\"     Suse Linux 9.3 groff19.2:         1s
47 .\" s-tr-mode