Debian Codegraph @

contrib/hdtbl/examples/mixed_pickles.roff

raw
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 .am pspic*error-hook
25 . ab \\n[.F]:\\n[.c]: fatal error: PSPIC failed to include '\\$1'
26 ..
27 .
28 .if !d sopath \
29 . ds sopath
30 .
31 .ds lib examples/common.roff
32 .soquiet \*[sopath]\*[lib]
33 .if !d common \{\
34 . tmc \n[.F]: cannot find "\*[lib]"; specify its location
35 . tm1 " with groff '-I' or '-d sopath=' option
36 .\}
37 .
38 .
39 .H Table with Mixed Content: \
40 .br \
41 EPS Image, eqn Equation, tbl Table, and pic Picture
42 .
43 Call groff with options \-t, \-e, and \-p!
44 .
45 .TBL width=90% tal=c csp=.2n cpd=0
46 . TR
47 . TD
48 . TBL width='25% 75%' csp=.5n cpd=.5n hal=c
49 . TR
50 . TD hl=d vl=d rowspan=2 bgc=red4 fgc=linen fsz=1.2 fst=HB val=m
51 . PSPIC -I -\\n[.l]u gnu.eps
52 . sp .5
53 . nop eps image with \fI.PSPIC\fP
54 . TD bgc=linen
55 .
56 .EQ
57 int from 0 to 1 {( ln x ) sup 2} over {sqrt {1 - x sup 2}} dx approx 0.245
58 .EN
59 .
60 . nop \0\0\0\0\0equation with \fIeqn\fP
61 .
62 . TR
63 . TD hl=d
64 .
65 .TS
66 tab(@), center, doublebox, nospaces;
67 c c c | c c c
68 r rI lB | r rI lB.
69 Bit @ Code @ Warning @ Bit @ Code @ Warning
70 =
71 0 @ 1 @ char @ 10 @ 1024 @ reg
72 1 @ 2 @ number @ 11 @ 2048 @ tab
73 2 @ 4 @ break @ 12 @ 4096 @ right-brace
74 3 @ 8 @ delim @ 13 @ 8192 @ missing
75 4 @ 16 @ el @ 14 @ 16384 @ input
76 5 @ 32 @ scale @ 15 @ 32768 @ escape
77 6 @ 64 @ range @ 16 @ 65536 @ space
78 7 @ 128 @ syntax @ 17 @ 131072 @ font
79 8 @ 256 @ di @ 18 @ 262144 @ ig
80 9 @ 512 @ mac @ 19 @ 524288 @ color
81 .TE
82 .
83 . sp .5
84 . nop table with \fItbl\fP
85 . TR
86 . TD colspan=2 bgc=azure2 fgc=blue4
87 .
88 .PS
89 ellipse "document";
90 arrow 0.42;
91 box width 0.6 "\fIgpic\/\fP(1)"
92 arrow 0.42;
93 box width 1.25 "\fIgtbl\/\fP(1) or \fIgeqn\/\fP(1)" "(optional)" dashed;
94 arrow 0.42;
95 box width 0.65 "\fIgtroff\/\fP(1)";
96 arrow 0.42;
97 ellipse "PostScript"
98 .PE
99 .
100 . sp .5
101 . nop picture with \fIpic\fP
102 . ETB
103 .ETB
104 .
105 .\" Local Variables:
106 .\" mode: nroff
107 .\" fill-column: 72
108 .\" End:
109 .\" vim: set filetype=groff textwidth=72: