Copyright 2017
[s-roff.git] / contrib / hdtbl / examples / mixed_pickles.roff.in
blob839c8b1a365d495c779384b8f4a600422f0bf186
1 .ig
2 @ mixed_pickles.roff.in
4 Copyright (c) 2014 - 2017 Steffen (Daode) Nurpmeso <steffen@sdaoden.eu>.
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
27 .H Table with Mixed Content: \
28    .br \
29    EPS Image, eqn Equation, tbl Table, and pic Picture
31 Call @LROFF@ with options \-t, \-e, and \-p! FIXME OPTIONS
33 .TBL width=90% tal=c csp=.2n cpd=0
34 .  TR
35 .    TD
36 .      TBL width='25% 75%' csp=.5n cpd=.5n hal=c
37 .        TR
38 .          TD hl=d vl=d rowspan=2 bgc=red4 fgc=linen fsz=1.2 fst=HB val=m
39 .            PSPIC -I -\\n[.l]u logo.eps
40 .            sp .5
41 .            nop eps image with \fI.PSPIC\fP
42 .          TD bgc=linen
44 .EQ
45 int from 0 to 1 {( ln x ) sup 2} over {sqrt {1 - x sup 2}} dx approx 0.245
46 .EN
48 .            nop \0\0\0\0\0equation with \fIeqn\fP
50 .        TR
51 .          TD hl=d
53 .TS
54 tab(@), center, doublebox, nospaces;
55 c c c | c c c
56 r rI lB | r rI lB.
57 Bit @ Code @ Warning @ Bit @ Code @ Warning
59 0 @   1 @ char      @    10 @   1024 @ reg
60 1 @   2 @ number    @    11 @   2048 @ tab
61 2 @   4 @ break     @    12 @   4096 @ right-brace
62 3 @   8 @ delim     @    13 @   8192 @ missing
63 4 @  16 @ el        @    14 @  16384 @ input
64 5 @  32 @ scale     @    15 @  32768 @ escape
65 6 @  64 @ range     @    16 @  65536 @ space
66 7 @ 128 @ syntax    @    17 @ 131072 @ font
67 8 @ 256 @ di        @    18 @ 262144 @ ig
68 9 @ 512 @ mac       @    19 @ 524288 @ color
69 .TE
71 .            sp .5
72 .            nop table with \fItbl\fP
73 .        TR
74 .          TD colspan=2 bgc=azure2 fgc=blue4
76 .PS
77 ellipse "document";
78 arrow 0.42;
79 box width 0.6 "\fI@L_P_PIC@\/\fP(1)"
80 arrow 0.42;
81 box width 1.25 "\fI@L_P_TBL@\/\fP(1) or \fI@L_P_EQN@\/\fP(1)" "(optional)" dashed;
82 arrow 0.42;
83 box width 0.65 "\fI@L_TROFF@\/\fP(1)";
84 arrow 0.42;
85 ellipse "PostScript"
86 .PE
88 .            sp .5
89 .            nop picture with \fIpic\fP
90 .      ETB
91 .ETB
93 .time
94 .\"     466MHz Celeron CPU, 384MB RAM
95 .\"     WindowsXP/cygwin groff18.1:       1s
96 .\"     WindowsXP/cygwin groff19.2:       2s
97 .\"     Suse Linux 9.3 groff19.2:         1s
98 .\" s-tr-mode