Blame


1 3aec33fe 2005-07-18 devnull .TH MPICTURES 7
2 3aec33fe 2005-07-18 devnull .SH NAME
3 3aec33fe 2005-07-18 devnull mpictures \- picture inclusion macros
4 3aec33fe 2005-07-18 devnull .SH SYNOPSIS
5 3aec33fe 2005-07-18 devnull .B troff -mpictures
6 3aec33fe 2005-07-18 devnull [
7 3aec33fe 2005-07-18 devnull .I options
8 3aec33fe 2005-07-18 devnull ]
9 3aec33fe 2005-07-18 devnull .I file ...
10 3aec33fe 2005-07-18 devnull .SH DESCRIPTION
11 3aec33fe 2005-07-18 devnull .I Mpictures
12 3aec33fe 2005-07-18 devnull macros insert PostScript pictures into
13 d32deab1 2020-08-16 rsc .MR troff (1)
14 3aec33fe 2005-07-18 devnull documents.
15 3aec33fe 2005-07-18 devnull The macros are:
16 3aec33fe 2005-07-18 devnull .TP
17 3aec33fe 2005-07-18 devnull .BI .BP " source height width position offset flags label
18 3aec33fe 2005-07-18 devnull Define a frame and place a picture in it.
19 3aec33fe 2005-07-18 devnull Null arguments, represented by \f5""\fR,
20 3aec33fe 2005-07-18 devnull are interpreted as defaults.
21 3aec33fe 2005-07-18 devnull The arguments are:
22 3aec33fe 2005-07-18 devnull .RS
23 3aec33fe 2005-07-18 devnull .TP
24 3aec33fe 2005-07-18 devnull .I source
25 3aec33fe 2005-07-18 devnull Name of a PostScript picture file, optionally
26 3aec33fe 2005-07-18 devnull suffixed with
27 3aec33fe 2005-07-18 devnull .RI ( n )
28 3aec33fe 2005-07-18 devnull to select page number
29 3aec33fe 2005-07-18 devnull .I n
30 3aec33fe 2005-07-18 devnull from the file (first page by default).
31 3aec33fe 2005-07-18 devnull .PD0
32 3aec33fe 2005-07-18 devnull .TP
33 3aec33fe 2005-07-18 devnull .I height
34 3aec33fe 2005-07-18 devnull Vertical size of the frame, default
35 3aec33fe 2005-07-18 devnull .BR 3.0i .
36 3aec33fe 2005-07-18 devnull .TP
37 3aec33fe 2005-07-18 devnull .I width
38 3aec33fe 2005-07-18 devnull Horizontal size of the frame, current line length by default.
39 3aec33fe 2005-07-18 devnull .TP
40 3aec33fe 2005-07-18 devnull .I position
41 3aec33fe 2005-07-18 devnull .L l
42 3aec33fe 2005-07-18 devnull (default),
43 3aec33fe 2005-07-18 devnull .LR c ,
44 3aec33fe 2005-07-18 devnull or
45 3aec33fe 2005-07-18 devnull .L r
46 3aec33fe 2005-07-18 devnull to left-justify, center, or right-justify the frame.
47 3aec33fe 2005-07-18 devnull .TP
48 3aec33fe 2005-07-18 devnull .I offset
49 3aec33fe 2005-07-18 devnull Move the frame horizontally from the original
50 3aec33fe 2005-07-18 devnull .I position
51 3aec33fe 2005-07-18 devnull by this amount, default
52 3aec33fe 2005-07-18 devnull .BR 0i .
53 3aec33fe 2005-07-18 devnull .TP
54 3aec33fe 2005-07-18 devnull .I flags
55 3aec33fe 2005-07-18 devnull One or more of:
56 3aec33fe 2005-07-18 devnull .RS
57 3aec33fe 2005-07-18 devnull .PD 0v
58 3aec33fe 2005-07-18 devnull .TP
59 3aec33fe 2005-07-18 devnull .BI a d
60 3aec33fe 2005-07-18 devnull Rotate the picture clockwise
61 3aec33fe 2005-07-18 devnull .I d
62 3aec33fe 2005-07-18 devnull degrees, default
63 3aec33fe 2005-07-18 devnull .IR d =90.
64 3aec33fe 2005-07-18 devnull .TP
65 3aec33fe 2005-07-18 devnull .B o
66 3aec33fe 2005-07-18 devnull Outline the picture with a box.
67 3aec33fe 2005-07-18 devnull .TP
68 3aec33fe 2005-07-18 devnull .B s
69 3aec33fe 2005-07-18 devnull Freely scale both picture dimensions.
70 3aec33fe 2005-07-18 devnull .TP
71 3aec33fe 2005-07-18 devnull .B w
72 3aec33fe 2005-07-18 devnull White out the area to be occupied by the picture.
73 3aec33fe 2005-07-18 devnull .TP
74 3aec33fe 2005-07-18 devnull .BR l , r , t ,\fPb
75 3aec33fe 2005-07-18 devnull Attach the picture to the left right, top, or bottom of the frame.
76 3aec33fe 2005-07-18 devnull .RE
77 3aec33fe 2005-07-18 devnull .TP
78 3aec33fe 2005-07-18 devnull .I label
79 3aec33fe 2005-07-18 devnull Place
80 3aec33fe 2005-07-18 devnull .I label
81 3aec33fe 2005-07-18 devnull at distance
82 3aec33fe 2005-07-18 devnull .B 1.5v
83 3aec33fe 2005-07-18 devnull below the frame.
84 3aec33fe 2005-07-18 devnull .PD
85 3aec33fe 2005-07-18 devnull .PP
86 3aec33fe 2005-07-18 devnull If there's room,
87 3aec33fe 2005-07-18 devnull .B .BP
88 3aec33fe 2005-07-18 devnull fills text around the frame.
89 3aec33fe 2005-07-18 devnull Everything destined for either side of the frame
90 3aec33fe 2005-07-18 devnull goes into a diversion to be retrieved when the accumulated
91 3aec33fe 2005-07-18 devnull text sweeps past the trap set by
92 3aec33fe 2005-07-18 devnull .B .BP
93 3aec33fe 2005-07-18 devnull or when the diversion is explicitly closed
94 3aec33fe 2005-07-18 devnull by
95 3aec33fe 2005-07-18 devnull .BR .EP .
96 3aec33fe 2005-07-18 devnull .RE
97 3aec33fe 2005-07-18 devnull .TP
98 3aec33fe 2005-07-18 devnull .BI .PI " source height" , width , "yoffset\fB,\fPxoffset flags.
99 3aec33fe 2005-07-18 devnull This low-level macro, used by
100 3aec33fe 2005-07-18 devnull .BR .BP ,
101 3aec33fe 2005-07-18 devnull can help do more complex things.
102 3aec33fe 2005-07-18 devnull The two arguments not already described are:
103 3aec33fe 2005-07-18 devnull .RS
104 3aec33fe 2005-07-18 devnull .TP
105 3aec33fe 2005-07-18 devnull .I xoffset
106 3aec33fe 2005-07-18 devnull Offset the frame from the left margin by this amount, default
107 3aec33fe 2005-07-18 devnull .BR 0i .
108 3aec33fe 2005-07-18 devnull .PD0
109 3aec33fe 2005-07-18 devnull .TP
110 3aec33fe 2005-07-18 devnull .I yoffset
111 3aec33fe 2005-07-18 devnull Offset the frame from the current baseline,
112 3aec33fe 2005-07-18 devnull measuring positive downward, default
113 3aec33fe 2005-07-18 devnull .BR 0i .
114 3aec33fe 2005-07-18 devnull .PD
115 3aec33fe 2005-07-18 devnull .RE
116 3aec33fe 2005-07-18 devnull .TP
117 3aec33fe 2005-07-18 devnull .B .EP
118 3aec33fe 2005-07-18 devnull End a picture started by
119 3aec33fe 2005-07-18 devnull .BR .BP ;
120 3aec33fe 2005-07-18 devnull .B .EP
121 3aec33fe 2005-07-18 devnull is usually called implicitly by a trap
122 3aec33fe 2005-07-18 devnull at frame bottom.
123 3aec33fe 2005-07-18 devnull .PP
124 3aec33fe 2005-07-18 devnull If a PostScript file lacks page-delimiting comments,
125 3aec33fe 2005-07-18 devnull the entire file is included.
126 3aec33fe 2005-07-18 devnull If no
127 3aec33fe 2005-07-18 devnull .B %%BoundingBox
128 3aec33fe 2005-07-18 devnull comment is present, the picture is
129 3aec33fe 2005-07-18 devnull assumed to fill an 8.5\(mu11-inch page.
130 3aec33fe 2005-07-18 devnull Nothing prevents the picture from being placed off the page.
131 3aec33fe 2005-07-18 devnull .SH SEE ALSO
132 d32deab1 2020-08-16 rsc .MR troff (1)
133 3aec33fe 2005-07-18 devnull .SH DIAGNOSTICS
134 3aec33fe 2005-07-18 devnull A picture file that can't be read by the PostScript
135 3aec33fe 2005-07-18 devnull postprocessor is replaced by white space.
136 3aec33fe 2005-07-18 devnull .SH BUGS
137 3aec33fe 2005-07-18 devnull A picture and associated text silently disappear if
138 3aec33fe 2005-07-18 devnull a diversion trap set by
139 3aec33fe 2005-07-18 devnull .B .BP
140 3aec33fe 2005-07-18 devnull isn't reached.
141 3aec33fe 2005-07-18 devnull Call
142 3aec33fe 2005-07-18 devnull .B .EP
143 3aec33fe 2005-07-18 devnull at the end of the document to retrieve it.
144 e5e159fd 2005-07-18 devnull .PP
145 3aec33fe 2005-07-18 devnull Macros in other packages may break the adjustments
146 3aec33fe 2005-07-18 devnull made to the line length and indent when text is being placed
147 3aec33fe 2005-07-18 devnull around a picture.
148 e5e159fd 2005-07-18 devnull .PP
149 3aec33fe 2005-07-18 devnull A missing or improper
150 3aec33fe 2005-07-18 devnull .B %%BoundingBox
151 3aec33fe 2005-07-18 devnull comment may cause the frame to be filled incorrectly.