Sync-to-go: update copyright for 2015
[s-roff.git] / contrib / hdtbl / examples / color_transitions.roff
blobf79c167a9b3a9d3dc94d47d2188eb71771a40c83
1 .ig
2 @ color_transitions.roff
4 Copyright (c) 2014 - 2015 Steffen (Daode) Nurpmeso <sdaoden@users.sf.net>.
6 Copyright (C) 2005, 2006 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 .de ctab
27 .nr #cc 0
28 .PN 21 ".nr #cc +.05f" ".defcolor \En[t*#] rgb \\$1 \\$2 \\$3" ".TBL border= csp=0 cpd=.5n bgc=\\\\n[t*#] bc=" .TR .TD
29 .PN 21 .ETB
31 .PN 30 Before table.
32 .TBL cols=3 width=33% border= csp=0 cpd=0 bgc=
33 .CPTN val=b Color Transitions
34 .TR
35 .TD ".ctab 0+\En[#cc]u \En[#cc]u \En[#cc]u"     \"      black -> white
36 .TD ".ctab 1f-\En[#cc]u 1f-\En[#cc]u 1f-\En[#cc]u"\"    white -> black
37 .TD ".ctab 1f \En[#cc]u \En[#cc]u"              \"      red   -> white
38 .TR
39 .TD ".ctab 0 1f-\En[#cc]u \En[#cc]u"            \"      green   -> blue
40 .TD ".ctab 1f 1f-\En[#cc]u 1f"                  \"      white   -> magenta
41 .TD ".ctab 1f \En[#cc]u 1f"                     \"      magenta -> white
42 .TR
43 .TD ".ctab 0+\En[#cc]u \En[#cc]u 1f-\En[#cc]u"  \"      blue   -> yellow
44 .TD ".ctab 1f-\En[#cc]u 1f-\En[#cc]u \En[#cc]u" \"      yellow -> blue
45 .TD ".ctab 1f 0+\En[#cc]u 0"                    \"      red    -> yellow
46 .xTD ".ctab 0+\En[#cc]u 1f-\En[#cc]u 1f-\En[#cc]u"\"    cyan   -> red
47 .ETB
48 .PN 30 After table.
49 .time
50 .\"     466MHz Celeron CPU, 384MB RAM
51 .\"     WindowsXP/cygwin groff18.1:      3s
52 .\"     WindowsXP/cygwin groff19.2:     20s
53 .\"     Suse Linux 9.3 groff19.2         3s
54 .\" s-tr-mode