Merge branch 'vendor/MDOCML'
[dragonfly.git] / contrib / groff / contrib / hdtbl / examples / mixed_pickles.roff
1 .\"     -*-     mode: roff      -*-
2 .ig
3
4 mixed_pickles.roff
5
6 This file is part of groff, the GNU roff type-setting system.
7
8 Copyright (C) 2005, 2006, 2009 Free Software Foundation, Inc.
9 written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>.
10
11 groff is free software; you can redistribute it and/or modify it under
12 the terms of the GNU General Public License as published by the Free
13 Software Foundation, either version 3 of the License, or
14 (at your option) any later version.
15
16 groff is distributed in the hope that it will be useful, but WITHOUT
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
19 for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with this program. If not, see <http://www.gnu.org/licenses/>.
23
24 ..
25 .
26 .time start
27 .
28 .H Table with Mixed Content: \
29    .br \
30    EPS Image, eqn Equation, tbl Table, and pic Picture
31 .
32 Call groff with options \-t, \-e, and \-p!
33 .
34 .TBL width=90% tal=c csp=.2n cpd=0
35 .  TR
36 .    TD
37 .      TBL width='25% 75%' csp=.5n cpd=.5n hal=c
38 .        TR 
39 .          TD hl=d vl=d rowspan=2 bgc=red4 fgc=linen fsz=1.2 fst=HB val=m
40 .            PSPIC -I -\\n[.l]u gnu.eps
41 .            sp .5
42 .            nop eps image with \fI.PSPIC\fP
43 .          TD bgc=linen
44 .
45 .EQ
46 int from 0 to 1 {( ln x ) sup 2} over {sqrt {1 - x sup 2}} dx approx 0.245 
47 .EN
48 .
49 .            nop \0\0\0\0\0equation with \fIeqn\fP
50 .
51 .        TR
52 .          TD hl=d
53 .
54 .TS
55 tab(@), center, doublebox, nospaces;
56 c c c | c c c
57 r rI lB | r rI lB.
58 Bit @ Code @ Warning @ Bit @ Code @ Warning
59 =
60 0 @   1 @ char      @    10 @   1024 @ reg
61 1 @   2 @ number    @    11 @   2048 @ tab
62 2 @   4 @ break     @    12 @   4096 @ right-brace
63 3 @   8 @ delim     @    13 @   8192 @ missing
64 4 @  16 @ el        @    14 @  16384 @ input
65 5 @  32 @ scale     @    15 @  32768 @ escape
66 6 @  64 @ range     @    16 @  65536 @ space
67 7 @ 128 @ syntax    @    17 @ 131072 @ font
68 8 @ 256 @ di        @    18 @ 262144 @ ig
69 9 @ 512 @ mac       @    19 @ 524288 @ color
70 .TE
71 .
72 .            sp .5
73 .            nop table with \fItbl\fP
74 .        TR 
75 .          TD colspan=2 bgc=azure2 fgc=blue4
76 .
77 .PS
78 ellipse "document";
79 arrow 0.42;
80 box width 0.6 "\fIgpic\/\fP(1)"
81 arrow 0.42;
82 box width 1.25 "\fIgtbl\/\fP(1) or \fIgeqn\/\fP(1)" "(optional)" dashed;
83 arrow 0.42;
84 box width 0.65 "\fIgtroff\/\fP(1)";
85 arrow 0.42;
86 ellipse "PostScript"
87 .PE
88 .
89 .            sp .5
90 .            nop picture with \fIpic\fP
91 .      ETB
92 .ETB
93 .
94 .time
95 .
96 .\"     466MHz Celeron CPU, 384MB RAM 
97 .\"     WindowsXP/cygwin groff18.1:       1s
98 .\"     WindowsXP/cygwin groff19.2:       2s
99 .\"     Suse Linux 9.3 groff19.2:         1s