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