summaryrefslogtreecommitdiffstats
path: root/contrib/hdtbl/examples/mixed_pickles.roff
blob: 1c909e9a141bf06fec1e2da4d182aad3a1db9c1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
.ig

mixed_pickles.roff

This file is part of groff, the GNU roff type-setting system.

Copyright (C) 2005-2020 Free Software Foundation, Inc.
written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>.

groff is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or
(at your option) any later version.

groff is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

..
.
.am pspic*error-hook
.  ab \\n[.F]:\\n[.c]: fatal error: PSPIC failed to include '\\$1'
..
.
.if !d sopath \
.  ds sopath
.
.so \*[sopath]examples/common.roff
.
.H Table with Mixed Content: \
   .br \
   EPS Image, eqn Equation, tbl Table, and pic Picture
.
Call groff with options \-t, \-e, and \-p!
.
.TBL width=90% tal=c csp=.2n cpd=0
.  TR
.    TD
.      TBL width='25% 75%' csp=.5n cpd=.5n hal=c
.        TR 
.          TD hl=d vl=d rowspan=2 bgc=red4 fgc=linen fsz=1.2 fst=HB val=m
.            PSPIC -I -\\n[.l]u gnu.eps
.            sp .5
.            nop eps image with \fI.PSPIC\fP
.          TD bgc=linen
.
.EQ
int from 0 to 1 {( ln x ) sup 2} over {sqrt {1 - x sup 2}} dx approx 0.245 
.EN
.
.            nop \0\0\0\0\0equation with \fIeqn\fP
.
.        TR
.          TD hl=d
.
.TS
tab(@), center, doublebox, nospaces;
c c c | c c c
r rI lB | r rI lB.
Bit @ Code @ Warning @ Bit @ Code @ Warning
=
0 @   1 @ char      @    10 @   1024 @ reg
1 @   2 @ number    @    11 @   2048 @ tab
2 @   4 @ break     @    12 @   4096 @ right-brace
3 @   8 @ delim     @    13 @   8192 @ missing
4 @  16 @ el        @    14 @  16384 @ input
5 @  32 @ scale     @    15 @  32768 @ escape
6 @  64 @ range     @    16 @  65536 @ space
7 @ 128 @ syntax    @    17 @ 131072 @ font
8 @ 256 @ di        @    18 @ 262144 @ ig
9 @ 512 @ mac       @    19 @ 524288 @ color
.TE
.
.            sp .5
.            nop table with \fItbl\fP
.        TR 
.          TD colspan=2 bgc=azure2 fgc=blue4
.
.PS
ellipse "document";
arrow 0.42;
box width 0.6 "\fIgpic\/\fP(1)"
arrow 0.42;
box width 1.25 "\fIgtbl\/\fP(1) or \fIgeqn\/\fP(1)" "(optional)" dashed;
arrow 0.42;
box width 0.65 "\fIgtroff\/\fP(1)";
arrow 0.42;
ellipse "PostScript"
.PE
.
.            sp .5
.            nop picture with \fIpic\fP
.      ETB
.ETB
.
.\" Local Variables:
.\" mode: nroff
.\" fill-column: 72
.\" End:
.\" vim: set filetype=groff textwidth=72: