OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / GNU_groff / draft / man1 / grn.1
1 .ig \"-*- nroff -*-
2 Copyright (C) 2000 Free Software Foundation, Inc.
3
4 Permission is granted to make and distribute verbatim copies of
5 this manual provided the copyright notice and this permission notice
6 are preserved on all copies.
7
8 Permission is granted to copy and distribute modified versions of this
9 manual under the conditions for verbatim copying, provided that the
10 entire resulting derived work is distributed under the terms of a
11 permission notice identical to this one.
12
13 Permission is granted to copy and distribute translations of this
14 manual into another language, under the above conditions for modified
15 versions, except that this permission notice may be included in
16 translations approved by the Free Software Foundation instead of in
17 the original English.
18 ..
19 .de TQ
20 .br
21 .ns
22 .TP \\$1
23 ..
24 .\"
25 .\" Like TP, but if specified indent is more than half
26 .\" the current line-length - indent, use the default indent.
27 .\"
28 .de Tp
29 .ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
30 .el .TP "\\$1"
31 ..
32 .\" Japanese Version Copyright (c) 2001 UCHIDA Norihiro all rights reserved.
33 .\" Translated Mon Apr 14 2001 by UCHIDA Norihiro <KY4N-UCD@asahi-net.or.jp>
34 .TH GRN 1 "8 April 2000" "Groff Version 1.16.1"
35 .\"O .SH NAME
36 .\"O grn \- groff preprocessor for gremlin files
37 .SH Ì¾Á°
38 grn \- gremlin ¥Õ¥¡¥¤¥ëÍѤΠgroff ¥×¥ê¥×¥í¥»¥Ã¥µ
39 .\"O .SH SYNOPSIS
40 .SH ½ñ¼°
41 .BR grn
42 [
43 .B \-Cv
44 ]
45 [
46 .BI \-T dev
47 ]
48 [
49 .BI \-M dir
50 ]
51 [
52 .BI \-F dir
53 ]
54 [
55 .IR file\.\.\.
56 ]
57 .PP
58 .\"O It is possible to have whitespace between a command line option and its
59 .\"O parameter.
60 ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤È¤½¤Î¥Ñ¥é¥á¡¼¥¿¤Î´Ö¤Ë¤Ï¶õÇò¤ò´Þ¤á¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
61 .\"O .SH DESCRIPTION
62 .SH ÀâÌÀ
63 .\"O .I grn
64 .\"O is a preprocessor for including
65 .\"O .I gremlin
66 .\"O pictures in
67 .\"O .I groff
68 .\"O input.
69 .I grn
70 ¤Ï¡¢
71 .I gremlin
72 ²èÁü¤ò´Þ¤ó¤Ç¤¤¤ë
73 .I groff
74 ¥½¡¼¥¹ÍѤΥץê¥×¥í¥»¥Ã¥µ¤Ç¤¢¤ë¡£
75 .\"O .I grn
76 .\"O writes to standard output, processing only input lines between two that
77 .\"O start with
78 .\"O .B .GS
79 .\"O and
80 .\"O .BR .GE.
81 .I grn
82 ¤Ï¡¢ÆþÎϤΤ¦¤Á
83 .B .GS
84 ¤È
85 .B .GE
86 ¤Ë¶´¤Þ¤ì¤¿¹Ô¤À¤±¤ò½èÍý¤·¤Æɸ½à½ÐÎϤ˽ÐÎϤ¹¤ë¡£
87 .\"O Those lines must contain
88 .\"O .I grn
89 .\"O commands (see below).
90 ¤½¤ì¤¾¤ì¤Î¹Ô¤Ï¡¢¸å½Ò¤¹¤ë
91 .I grn
92 ¥³¥Þ¥ó¥É¤ò´Þ¤ó¤Ç¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
93 .\"O These commands request a
94 .\"O .I gremlin
95 .\"O file, and the picture in that file is
96 .\"O converted and placed in the
97 .\"O .I troff
98 .\"O input stream.
99 ¤³¤ì¤é¤Î¥³¥Þ¥ó¥É¤Ï
100 .I gremlin
101 ¥Õ¥¡¥¤¥ë¤òÍ׵ᤷ¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤ë²èÁü¤ÏÊÑ´¹¤µ¤ì¤Æ
102 .I troff
103 ÆþÎÏ¥¹¥È¥ê¡¼¥à¤ØÁÞÆþ¤µ¤ì¤ë¡£
104 .\"O The
105 .\"O .B .GS
106 .\"O request may be followed by a C, L, or R to center, left, or right
107 .\"O justify the whole
108 .\"O .I gremlin
109 .\"O picture (default justification is center).
110 .B .GS
111 ¥ê¥¯¥¨¥¹¥È¤Ë¤Ï C, L, R ¤Î¤É¤ì¤«¤ò³¤±¤ë¤³¤È¤¬¤Ç¤­¤Æ¡¢¤½¤ì¤¾¤ì
112 .I gremlin
113 ²èÁüÁ´ÂΤòÃæ±û¡¢º¸´ó¤»¡¢±¦´ó¤»¤ÈÇÛÃÖ¤¹¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë
114  (¥Ç¥Õ¥©¥ë¥È¤ÎÇÛÃÖ¤ÏÃæ±û¤Ç¤¢¤ë)¡£
115 .\"O If no
116 .\"O .I file
117 .\"O is mentioned, the standard input is read.
118 .I file
119 ¤¬»ØÄꤵ¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢É¸½àÆþÎϤ¬Æɤ߹þ¤Þ¤ì¤ë¡£
120 .\"O At the end of the picture, the position on the page is the bottom of the
121 .\"O .I gremlin
122 .\"O picture.
123 ²èÁü¤Î½èÍý¤¬½ªÎ»¤·¤¿¤È¤­¤Ï¡¢¥Ú¡¼¥¸°ÌÃÖ¤Ï
124 .I gremlin
125 ²èÁü¤ÎÄìÉô¤Ë¤Ê¤ë¡£
126 .\"O If the
127 .\"O .I grn
128 .\"O entry is ended with
129 .\"O .B .GF
130 .\"O instead of
131 .\"O .BR .GE ,
132 .\"O the position is left at the top of the picture.
133 .I grn
134 ¥¨¥ó¥È¥ê¤¬
135 .B .GE
136 ¤Î¤«¤ï¤ê¤Ë
137 .B GF
138 ¤Ç½ªÎ»¤¹¤ë¾ì¹ç¤Ï¡¢¥Ú¡¼¥¸°ÌÃ֤ϲèÁü¤Îº¸¾å¤È¤Ê¤ë¡£
139 .PP
140 .\"O Please note that currently only the \-me macro package has support for
141 .\"O .BR .GS ,
142 .\"O .BR .GE ,
143 .\"O and
144 .\"O .BR .GF .
145 ¸½ºß¤Ï¡¢\-me ¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸¤À¤±¤¬
146 .BR .GS ,
147 .BR .GE ,
148 .B GF
149 ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤Û¤·¤¤¡£
150 .PP
151 .\"O The following command-line options are understood:
152 °Ê²¼¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤¬²ò¼á¤µ¤ì¤ë:
153 .TP
154 .BI \-T dev
155 .\"O Prepare output for printer
156 .\"O .IR dev .
157 .\"O The default device is
158 .\"O .BR ps .
159 .\"O See
160 .\"O .BR groff (1)
161 .\"O for acceptable devices.
162 ½ÐÎϥǥХ¤¥¹
163 .I dev
164 ÍѤνÐÎϤòÀ¸À®¤¹¤ë¡£¥Ç¥Õ¥©¥ë¥È¤Î¥Ç¥Ð¥¤¥¹¤Ï
165 .B ps
166 ¤Ç¤¢¤ë¡£
167 »ØÄê¤Ç¤­¤ë¥Ç¥Ð¥¤¥¹¤Ë¤Ä¤¤¤Æ¤Ï
168 .BR groff (1)
169 ¤ò»²¾È¤Î¤³¤È¡£
170 .TP
171 .BI \-M dir
172 .\"O Set the library to directory
173 .\"O .IR dir .
174 .\"O If a
175 .\"O .I gremlin
176 .\"O file cannot be found in the current directory,
177 .\"O .I dir
178 .\"O is prepended to the filename for a second try.
179 .\"O The default library directory is
180 .\"O .BR /usr/local/share/groff/tmac .
181 ¥Ç¥£¥ì¥¯¥È¥ê
182 .I dir
183 ¤ò¥é¥¤¥Ö¥é¥ê¥Ç¥£¥ì¥¯¥È¥ê¤ËÀßÄꤹ¤ë¡£
184 .I gremlin
185 ¥Õ¥¡¥¤¥ë¤¬¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ë¸«¤Ä¤«¤é¤Ê¤¤¾ì¹ç¡¢
186 .I dir
187 ¤ò¥Õ¥¡¥¤¥ë̾¤ËÁ°ÃÖ¤·¤ÆºÆ¸¡º÷¤¹¤ë¡£
188 ¥Ç¥Õ¥©¥ë¥È¤Î¥é¥¤¥Ö¥é¥ê¥Ç¥£¥ì¥¯¥È¥ê¤Ï
189 .B /usr/local/share/groff/tmac
190 ¤Ç¤¢¤ë¡£
191 .TP
192 .BI \-F dir
193 .\"O Search
194 .\"O .I dir
195 .\"O for subdirectories
196 .\"O .BI dev name
197 .\"O .RI ( name
198 .\"O is the name of the device) for the
199 .\"O .B DESC
200 .\"O file before the normal
201 .\"O .BR /usr/local/share/groff/font .
202 .B DESC
203 ¥Õ¥¡¥¤¥ë¤Ë¤ª¤±¤ë
204 .BI dev name
205 .RI ( name
206 ¤Ï¥Ç¥Ð¥¤¥¹Ì¾) ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤Î¸¡º÷¤ò¡¢Ä̾ï¤Î
207 .B /usr/local/share/groff/font
208 ¥Ç¥£¥ì¥¯¥È¥ê¤è¤êÀè¤Ë
209 .I dir
210 ¤«¤é¹Ô¤¦¡£
211 .TP
212 .B \-C
213 .\"O Recognize
214 .\"O .B .GS
215 .\"O and
216 .\"O .B .GE
217 .\"O (resp.
218 .\"O .BR .GF )
219 .\"O even when followed by a character other than space or newline.
220 ¥¹¥Ú¡¼¥¹¤ä²þ¹Ô°Ê³°¤Îʸ»ú¤¬¸å¤Ë³¤¯
221 .B .GS
222 ¤È
223 .B .GE
224 (¤ª¤è¤Ó
225 .BR .GF )
226 ¤òǧ¼±¤¹¤ë¡£
227 .\".TP
228 .\".B \-s
229 .\"This switch causes the picture to be traversed twice:
230 .\"The first time, only the interiors of filled polygons (as borderless
231 .\"polygons) are printed.
232 .\"The second time, the outline is printed as a series of line segments.
233 .\"This way, postprocessors that overwrite rather than merge picture elements
234 .\"(such as Postscript) can still have text and graphics on a shaded
235 .\"background.
236 .TP
237 .B \-v
238 .\"O Print the version number.
239 ¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤ò½ÐÎϤ¹¤ë¡£
240 .\"O .SH GRN COMMANDS
241 .SH grn ¥³¥Þ¥ó¥É
242 .\"O Each input line between
243 .\"O .B .GS
244 .\"O and
245 .\"O .B .GE
246 .\"O may have one
247 .\"O .I grn
248 .\"O command.
249 .B .GS
250 ¤È
251 .B .GE
252 ¤Ë¶´¤Þ¤ì¤¿¤½¤ì¤¾¤ì¤Î¹Ô¤Ï
253 .I grn
254 ¥³¥Þ¥ó¥É¤ò´Þ¤ó¤Ç¤¤¤ë¡£
255 .\"O Commands consist of one or two strings separated by white space, the first
256 .\"O string being the command and the second its operand.
257 ¥³¥Þ¥ó¥É¤Ï¡¢¤Ò¤È¤Ä¤Îʸ»úÎ󡢤ޤ¿¤Ï¶õÇò¤Ç¶èÀÚ¤é¤ì¤¿¤Õ¤¿¤Ä¤Îʸ»úÎ󤫤é¤Ê¤ë¡£
258 ºÇ½é¤Îʸ»úÎ󤬥³¥Þ¥ó¥É¤Ç¤¢¤ê¡¢2 ÈÖÌܤϤ½¤Î¥ª¥Ú¥é¥ó¥É¤Ç¤¢¤ë¡£
259 .\"O Commands may be upper or lower case and abbreviated down to one character.
260 ¥³¥Þ¥ó¥É¤ÏÂçʸ»ú¾®Ê¸»ú¤Î¶èÊ̤Ϥʤ¯¡¢1 Ê¸»ú¤Ë¾Êά¤µ¤ì¤ë¾ì¹ç¤â¤¢¤ë¡£
261 .PP
262 .\"O Commands that affect a picture's environment (those listed before
263 .\"O .BR default ,
264 .\"O see below) are only in effect for the current picture:
265 ²èÁü¤Î´Ä¶­¤Ë±Æ¶Á¤¹¤ë¥³¥Þ¥ó¥É (¤³¤ì¤é¤Ï¸å½Ò¤¹¤ë
266 .B default
267 °ÊÁ°¤Ëµ­½Ò¤µ¤ì¤ë) ¤Ï¡¢¸½ºß¤Î²èÁü¤À¤±¤Ë¸ú²Ì¤ò¤ª¤è¤Ü¤¹¡£
268 .\"O The environment is reinitialized to the defaults at the start of the next
269 .\"O picture.
270 ´Ä¶­¤Ï¼¡¤Î²èÁü¤Î³«»Ï»þ¤Ë¥Ç¥Õ¥©¥ë¥È¤ËºÆ½é´ü²½¤µ¤ì¤ë¡£
271 .\"O The commands are as follows:
272 ¥³¥Þ¥ó¥É¤Ë¤Ï°Ê²¼¤Î¤â¤Î¤¬¤¢¤ë:
273 .TP
274 .BI 1\  N
275 .TQ
276 .BI 2\  N
277 .TQ
278 .BI 3\  N
279 .TQ
280 .BI 4\  N
281 .\"O Set
282 .\"O .IR gremlin 's
283 .\"O text size number 1 (2, 3, or 4) to
284 .\"O .I N
285 .\"O points.
286 .\"O The default is 12 (resp. 16, 24, and 36).
287 .I gremlin
288 ¤Î¥Æ¥­¥¹¥È¥µ¥¤¥ºÈÖ¹æ 1 (¤ª¤è¤Ó 2, 3, 4) ¤ò
289 .I N
290 ¥Ý¥¤¥ó¥È¤ËÀßÄꤹ¤ë¡£
291 ¥Ç¥Õ¥©¥ë¥È¤Ï¤½¤ì¤¾¤ì 12 (¤ª¤è¤Ó 16, 24, 36) ¥Ý¥¤¥ó¥È¤Ç¤¢¤ë¡£
292 .TP
293 .BI roman\  f
294 .TQ
295 .BI italics\  f
296 .TQ
297 .BI bold\  f
298 .TQ
299 .BI special\  f
300 .\"O Set the roman (italics, bold, or special) font to
301 .\"O .IR troff 's
302 .\"O font
303 .\"O .I f
304 .\"O (either a name or number).
305 .\"O The default is R (resp. I, B, and S).
306 ¥í¡¼¥Þ¥óÂÎ¥Õ¥©¥ó¥È (¤ª¤è¤Ó¥¤¥¿¥ê¥Ã¥¯¡¢¥Ü¡¼¥ë¥É¡¢¥¹¥Ú¥·¥ã¥ëÂÎ¥Õ¥©¥ó¥È)
307 ¤ò¡¢
308 .I troff
309 ¤Î¥Õ¥©¥ó¥È
310 .I f
311 ¤ËÀßÄꤹ¤ë
312 .RI ( f
313 ¤Ï̾Á°¤Þ¤¿¤ÏÈÖ¹æ)¡£
314 ¥Ç¥Õ¥©¥ë¥È¤Ï R (¤ª¤è¤Ó¤½¤ì¤¾¤ì I, B, S) ¤Ç¤¢¤ë¡£
315 .TP
316 .BI l\  f
317 .TQ
318 .BI stipple\  f
319 .\"O Set the stipple font to
320 .\"O .IR troff 's
321 .\"O stipple font
322 .\"O .I f
323 .\"O (name or number).
324 ÅɤêÄÙ¤· (stipple) ¥Õ¥©¥ó¥È¤ò
325 .I troff
326 ¤Î stipple ¥Õ¥©¥ó¥È
327 .I f
328 ¤ËÀßÄꤹ¤ë
329 .RI ( f
330 ¤Ï̾Á°¤Þ¤¿¤ÏÈÖ¹æ)¡£
331 .\"O The command
332 .\"O .B stipple
333 .\"O may be abbreviated down as far as `st' (to avoid
334 .\"O confusion with
335 .\"O .BR special ).
336 ¥³¥Þ¥ó¥É
337 .B stipple
338 ¤Î¾Êά·Á¤Ï `st' ¤È¤Ê¤ë
339 .RB ( special
340 ¤È¤Îº®Æ±¤òÈò¤±¤ë¤¿¤á)¡£
341 .\"O There is
342 .\"O .I no
343 .\"O default for stipples (unless one is set by the default command), and it is
344 .\"O illegal to include a
345 .\"O .I gremlin
346 .\"O picture with polygons without specifying a
347 .\"O stipple font.
348 default ¥³¥Þ¥ó¥É¤Ë¤è¤Ã¤Æ¤Ò¤È¤Ä¤ò»ØÄꤷ¤Ê¤¤¤«¤®¤ê¡¢stipple ¥Õ¥©¥ó¥È¤Î
349 ¥Ç¥Õ¥©¥ë¥È¤Ï̵¤¤¡£¤Þ¤¿¡¢stipple ¥Õ¥©¥ó¥È¤ò»ØÄꤷ¤Ê¤±¤ì¤Ð¥Ý¥ê¥´¥ó¤Î
350 .I gremlin
351 ²èÁü¤ò´Þ¤á¤ë¤³¤È¤Ï¤Ç¤­¤Ê¤¤¡£
352 .TP
353 .BI x\  N
354 .TQ
355 .BI scale\  N
356 .\"O Magnify the picture (in addition to any default magnification) by
357 .\"O .IR N ,
358 .\"O a floating point number larger than zero.
359 .\"O The command
360 .\"O .B scale
361 .\"O may be abbreviated down to `sc'.
362 ¥Ç¥Õ¥©¥ë¥È¤Î³ÈÂçΨ¤Ë¤µ¤é¤ËÄɲ䷤ơ¢²èÁü¤ò
363 .I N
364 Çܤ˳ÈÂ礹¤ë¡£
365 .I N
366 ¤Ï 0 ¤è¤êÂ礭¤¤ÉâÆ°¾®¿ôÅÀ¼Â¿ô¤Ç¤¢¤ë¡£
367 ¥³¥Þ¥ó¥É
368 .B scale
369 ¤Î¾Êά·Á¤Ï `sc' ¤È¤Ê¤ë¡£
370 .TP
371 .BI narrow\  N
372 .TQ
373 .BI medium\  N
374 .TQ
375 .BI thick\  N
376 .\"O Set the thickness of
377 .\"O .IR gremlin 's
378 .\"O narrow (resp. medium and thick) lines to
379 .\"O .I N
380 .\"O times 0.15pt (this value can be changed at compile time).
381 .I gremlin
382 ¤ÎºÙÀþ (narrow)¡¢¤ª¤è¤ÓÉáÄÌÀþ (medium)¡¢ÂÀÀþ (thick) ¤ÎÂÀ¤µ¤ò
383 0.15 ¥Ý¥¤¥ó¥È¤Î
384 .I N
385 ÇܤËÀßÄꤹ¤ë¡£0.15 ¥Ý¥¤¥ó¥È¤È¤¤¤¦Ãͤϡ¢¥³¥ó¥Ñ¥¤¥ë»þ¤ËÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
386 .\"O The default is 1.0 (resp. 3.0 and 5.0), which corresponds to 0.15pt
387 .\"O (resp. 0.45pt and 0.75pt).
388 .\"O A thickness value of zero selects the smallest available line thickness.
389 .\"O Negative values cause the line thickness to be proportional to the current
390 .\"O point size.
391 ¥Ç¥Õ¥©¥ë¥È¤Î
392 .I N
393 ¤ÎÃͤϠ1.0 (¤ª¤è¤Ó 3.0, 5.0) ¤Ç¤¢¤ê¡¢¤½¤ì¤¾¤ì 0.15 ¥Ý¥¤¥ó¥È (¤ª¤è¤Ó
394 0.45 ¥Ý¥¤¥ó¥È¡¢0.75 ¥Ý¥¤¥ó¥È) ¤ËÁêÅö¤¹¤ë¡£
395 0 ¤ò»ØÄꤹ¤ë¤È¡¢Í­¸ú¤ÊÀþ¤ÎÂÀ¤µ¤Î¤¦¤Á¤Ç¤â¤Ã¤È¤â¾®¤µ¤¤Ãͤ¬ÁªÂò¤µ¤ì¤ë¡£
396 Éé¿ô¤ò»ØÄꤹ¤ë¤È¡¢¸½ºß¤Î¥Ý¥¤¥ó¥È¥µ¥¤¥º¤ËÈæÎ㤷¤¿Àþ¤ÎÂÀ¤µ¤È¤Ê¤ë¡£
397 .TP
398 .BI pointscale\  <off/on>
399 .\"O Scale text to match the picture.
400 ²èÁü¤Ë¤¢¤ï¤»¤Æ¥Æ¥­¥¹¥È¤ÎÂ礭¤µ¤òÊѹ¹¤¹¤ë¡£
401 .\"O Gremlin text is usually printed in the point size specified with the
402 .\"O commands
403 .\"O .BR 1 ,\  2 ,\  3 ,\ or\  4
404 .\"O regardless of any scaling factors in the picture.
405 gremlin ¤Î¥Æ¥­¥¹¥È¤Ï¡¢Ä̾ï¤Ï²èÁü¤Î¥¹¥±¡¼¥ê¥ó¥°Í×ÁǤ˴ط¸¤Ê¤¯¥³¥Þ¥ó¥É
406 .BR 1 ,\  2 ,\  3 ,\  4
407 ¤Ç»ØÄꤵ¤ì¤¿¥Ý¥¤¥ó¥È¥µ¥¤¥º¤Ç½ÐÎϤµ¤ì¤ë¡£
408 .\"O Setting
409 .\"O .B pointscale
410 .\"O will cause the point sizes to scale with the picture (within
411 .\"O .IR troff 's
412 .\"O limitations, of course).
413 .B pointscale
414 ¤ò»ØÄꤹ¤ë¤È¡¢²èÁü¤Ë¤¢¤ï¤»¤¿¥Ý¥¤¥ó¥È¥µ¥¤¥º¤Ë¤Ê¤ë (ÅöÁ³¡¢
415 .I troff
416 ¤ÎÀ©¸Â¤ÎÈÏ°ÏÆâ¤Ë¸ÂÄꤵ¤ì¤ë)¡£
417 .\"O An operand of anything but
418 .\"O .I off
419 .\"O will turn text scaling on.
420 .I off
421 °Ê³°¤Î°ú¤­¿ô¤Ë¤è¤Ã¤Æ¥Æ¥­¥¹¥È¤Î¥¹¥±¡¼¥ê¥ó¥°¤¬Í­¸ú¤Ë¤Ê¤ë¡£
422 .TP
423 .B default
424 .\"O Reset the picture environment defaults to the settings in the current
425 .\"O picture.
426 ¸½ºß¤Î²èÁü¤ÎÀßÄê¤ò¡¢²èÁü´Ä¶­¤Î¥Ç¥Õ¥©¥ë¥È¤ËºÆÀßÄꤹ¤ë¡£
427 .\"O This is meant to be used as a global parameter setting mechanism at the
428 .\"O beginning of the
429 .\"O .I troff
430 .\"O input file, but can be used at any time to reset the
431 .\"O default settings.
432 ¤³¤ì¤Ï¡¢
433 .I troff
434 ÆþÎÏ¥Õ¥¡¥¤¥ë¤Î³«»Ï»þ¤Ë¤ª¤±¤ë¥°¥í¡¼¥Ð¥ë¤Ê¥Ñ¥é¥á¡¼¥¿ÀßÄê½èÍý¤¬ÍѤ¤¤é¤ì¤ë
435 ¤³¤È¤ò°ÕÌ£¤¹¤ë¤¬¡¢¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤ò¥ê¥»¥Ã¥È¤¹¤ë¤È¤­¤Ë¤Ï¤¤¤Ä¤Ç¤â»ÈÍѤǤ­¤ë¡£
436 .TP
437 .BI width\  N
438 .\"O Forces the picture to be
439 .\"O .I N
440 .\"O inches wide.
441 ²èÁü¤ÎÉý¤ò¶¯À©Åª¤Ë
442 .I N
443 ¥¤¥ó¥Á¤Ë¤¹¤ë¡£
444 .\"O This overrides any scaling factors present in the same picture.
445 ¤³¤Î¥³¥Þ¥ó¥É¤ÏƱ¤¸²èÁü¤ËÂФ¹¤ë¾¤Î¥¹¥±¡¼¥ê¥ó¥°Í×ÁǤλØÄê¤è¤êÍ¥À褵¤ì¤ë¡£
446 .RB ` width
447 .IR 0 '
448 .\"O is ignored.
449 ¤È¤¤¤¦»ØÄê¤Ï̵»ë¤µ¤ì¤ë¡£
450 .TP
451 .BI height\  N
452 .\"O Forces picture to be
453 .\"O .I N
454 .\"O inches high, overriding other scaling factors.
455 ²èÁü¤Î¹â¤µ¤ò¶¯À©Åª¤Ë
456 .I N
457 ¥¤¥ó¥Á¤Ë¤¹¤ë¡£Â¾¤Î¥¹¥±¡¼¥ê¥ó¥°Í×ÁǤè¤êÍ¥À褵¤ì¤ë¡£
458 .\"O If both `width' and `height' are specified the tighter constraint will
459 .\"O determine the scale of the picture.
460 `width' ¤È `height' ¤òξÊý»ØÄꤹ¤ë¤È¡¢²èÁü¤Î¥¹¥±¡¼¥ë¤Î»ØÄê¤È¤·¤Æ
461 ¤è¤ê¸·Ì©¤Ê¤â¤Î¤È¤Ê¤ë¡£
462 .\"O .B Height
463 .\"O and
464 .\"O .B width
465 .\"O commands are not saved with a
466 .\"O .B default
467 .\"O command.
468 .B height
469 ¤È
470 .B width
471 ¥³¥Þ¥ó¥É¤Ï
472 .B default
473 ¥³¥Þ¥ó¥É¤Ë¤è¤Ã¤ÆÊݸ¤µ¤ì¤Ê¤¤¡£
474 .\"O They will, however, affect point size scaling if that option is set.
475 ¤·¤«¤·¡¢¤³¤ì¤é¤Ï»ØÄꤵ¤ì¤¿¤È¤­¤Ë¥Ý¥¤¥ó¥È¥µ¥¤¥º¤Î¥¹¥±¡¼¥ê¥ó¥°¤Ë±Æ¶Á¤¹¤ë¡£
476 .TP
477 .BI file\  name
478 .\"O Get picture from
479 .\"O .I gremlin
480 .\"O file
481 .\"O .I name
482 .\"O located the current directory (or in the library directory; see the
483 .\"O .B \-M
484 .\"O option above).
485 ¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë
486 .I name
487 ¤È¤¤¤¦
488 .I gremlin
489 ¥Õ¥¡¥¤¥ë¤«¤é²èÁü¤ò¼èÆÀ¤¹¤ë (¤Þ¤¿¤Ï¡¢¥é¥¤¥Ö¥é¥ê¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¼èÆÀ¤¹¤ë;
490 Á°½Ò¤Î
491 .B \-M
492 ¥ª¥×¥·¥ç¥ó¤ò»²¾È)¡£
493 .\"O If two
494 .\"O .B file
495 .\"O commands are given, the second one overrides the first.
496 .B file
497 ¥³¥Þ¥ó¥É¤¬¤Õ¤¿¤Ä»ØÄꤵ¤ì¤¿¾ì¹ç¤Ï¡¢2 ÈÖÌܤΤâ¤Î¤¬Í¥À褵¤ì¤ë¡£
498 .\"O If
499 .\"O .I name
500 .\"O doesn't exist, an error message is reported and processing continues from
501 .\"O the
502 .\"O .B .GE
503 .\"O line.
504 .I name
505 ¤¬Â¸ºß¤·¤Ê¤¤¾ì¹ç¤Ï¡¢¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬½ÐÎϤµ¤ì¡¢½èÍý¤Ï
506 .B .GE
507 ¹Ô¤«¤é·Ñ³¤µ¤ì¤ë¡£
508 .\"O .SH NOTES ABOUT GROFF
509 .SH groff ¤Ë¤Ä¤¤¤Æ¤ÎÃí°Õ
510 .\"O Since
511 .\"O .I grn
512 .\"O is a preprocessor, it doesn't know about current indents, point sizes,
513 .\"O margins, number registers, etc.
514 .I grn
515 ¤Ï¥×¥ê¥×¥í¥»¥Ã¥µ¤Ç¤¢¤ë¤Î¤Ç¡¢¸½ºß¤Î¥¤¥ó¥Ç¥ó¥ÈÎ̤ä¥Ý¥¤¥ó¥È¥µ¥¤¥º¡¢
516 ¥Þ¡¼¥¸¥óÎÌ¡¢¿ôÃͥ쥸¥¹¥¿¤Ê¤É¤Ï¼èÆÀ¤Ç¤­¤Ê¤¤¡£
517 .\"O Consequently, no
518 .\"O .I troff
519 .\"O input can be placed between the
520 .\"O .B .GS
521 .\"O and
522 .\"O .B .GE
523 .\"O requests.
524 ¤·¤¿¤¬¤Ã¤Æ¡¢
525 .B .GS
526 ¤È
527 .B .GE
528 ¥ê¥¯¥¨¥¹¥È¤Î´Ö¤Ë¤Ï
529 .I troff
530 ¥½¡¼¥¹¤ÏÇÛÃ֤Ǥ­¤Ê¤¤¡£
531 .\"O However,
532 .\"O .I gremlin
533 .\"O text is now processed by
534 .\"O .IR troff ,
535 .\"O so anything legal in a single line of
536 .\"O .I troff
537 .\"O input is legal in a line of
538 .\"O .I gremlin
539 .\"O text (barring `.' directives at the beginning of a line).
540 ¤·¤«¤·¡¢¸½ºß¤Ï
541 .I gremlin
542 ¥Æ¥­¥¹¥È¤Ï
543 .I troff
544 ¤Ç½èÍý¤µ¤ì¤ë¤Î¤Ç¡¢
545 .I troff
546 ¥½¡¼¥¹¤È¤·¤ÆÀµ¤·¤¤ 1 ¹Ô¤Ï
547 .I gremlin
548 ¥Æ¥­¥¹¥È¤È¤·¤Æ¤âÀµ¤·¤¤¤â¤Î¤È¤Ê¤ë (¹ÔƬ¤Ë `.' ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤¬¤Ê¤¤¾ì¹ç)¡£
549 .\"O Thus, it is possible to have equations within a
550 .\"O .I gremlin
551 .\"O figure by including in the
552 .\"O .I gremlin
553 .\"O file
554 .\"O .I eqn
555 .\"O expressions enclosed by previously defined delimiters (e.g.
556 .\"O .IR $$ ).
557 ¤è¤Ã¤Æ¡¢
558 .I gremlin
559 ¥Õ¥¡¥¤¥ë¤Î
560 .I gremlin
561 ¿Þ·ÁÃæ¤Ë¿ô¼°¤ò´Þ¤á¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
562 ¿ô¼°
563 .I eqn
564 ¤Ï¡¢¤¢¤é¤«¤¸¤áÄêµÁ¤·¤¿¶èÀÚ¤êʸ»ú¤Ç³ç¤é¤ì¤ë (¤¿¤È¤¨¤Ð
565 .I $$
566 ¤Ê¤É)¡£
567 .PP
568 .\"O When using
569 .\"O .I grn
570 .\"O along with other preprocessors, it is best to run
571 .\"O .I tbl
572 .\"O before
573 .\"O .IR grn ,
574 .\"O .IR pic ,
575 .\"O and/or
576 .\"O .I ideal
577 .\"O to avoid overworking
578 .\"O .IR tbl .
579 ¤Û¤«¤Î¥×¥ê¥×¥í¥»¥Ã¥µ¤È°ì½ï¤Ë
580 .I grn
581 ¤òÍѤ¤¤ë¤È¤­¤Ï¡¢
582 .I grn
583 ¤ä
584 .I pic
585 ¤è¤êÀè¤Ë
586 .I tbl
587 ¤ò¼Â¹Ô¤·¤Æ¡¢
588 .I tbl
589 ¤Î;·×¤Ê»Å»ö¤òÈò¤±¤ë¤³¤È¤¬Ë¾¤Þ¤·¤¤¡£
590 .\"O .I Eqn
591 .\"O should always be run last.
592 .I eqn
593 ¤Ï¾ï¤ËºÇ¸å¤Ë¼Â¹Ô¤¹¤Ù¤­¤Ç¤¢¤ë¡£
594 .PP
595 .\"O A picture is considered an entity, but that doesn't stop
596 .\"O .I troff
597 .\"O from trying to break it up if it falls off the end of a page.
598 ²èÁü¤¬¥Ú¡¼¥¸¤Î½ª¤ê¤«¤é¤Ï¤ß¤À¤·¤¿¤È¤­¤Ï¡¢²èÁü¤Ï¤Ò¤È¤Ä¤Ç¤¢¤ë¤È¸«¤Ê¤µ¤ì¤Æ
599 ¤¤¤ë¤Î¤À¤¬
600 .I troff
601 ¤¬Ê¬³ä¤·¤Æ¤·¤Þ¤¦¤³¤È¤ò»ß¤á¤ë¤³¤È¤¬¤Ç¤­¤Ê¤¤¡£
602 .\"O Placing the picture between `keeps' in \-me macros will ensure proper
603 .\"O placement.
604 \-me ¥Þ¥¯¥í¤Ë¤¢¤ë `keeps' ¤Î´Ö¤Ë²èÁü¤òÇÛÃÖ¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢
605 ËÜÍè¤Î²èÁü°ÌÃÖ¤òÊݾڤǤ­¤ë¡£
606 .PP
607 .\"O .I grn
608 .\"O uses
609 .\"O .IR troff 's 
610 .\"O number registers
611 .\"O .B g1
612 .\"O through
613 .\"O .B g9
614 .\"O and sets registers
615 .\"O .B g1
616 .\"O and
617 .\"O .B g2
618 .\"O to the width and height of the
619 .\"O .I gremlin
620 .\"O figure (in device units) before entering the
621 .\"O .B .GS
622 .\"O request (this is for those who want to rewrite these macros).
623 .I grn
624 ¤Ï
625 .I troff
626 ¤Î¿ôÃͥ쥸¥¹¥¿¤Î¤¦¤Á
627 .B g1
628 ¤«¤é
629 .B g9
630 ¤Þ¤Ç¤ò»ÈÍѤ·¡¢¤³¤Î¤¦¤Á
631 .B g1
632 ¤È
633 .B g2
634 ¤Ë¤Ï
635 .B .GS
636 ¥ê¥¯¥¨¥¹¥È¤ò¼Â¹Ô¤¹¤ëÁ°¤Ë¤½¤ì¤¾¤ì
637 .I gremlin
638 ¿Þ·Á¤ÎÉý¤È¹â¤µ¤¬ (¥Ç¥Ð¥¤¥¹Ã±°Ì) ¤ÇÀßÄꤵ¤ì¤ë¡£
639 ¤³¤ì¤é¤Î¥Þ¥¯¥í¤ò½ñ¤­´¹¤¨¤¿¤¤¤È¤­¤Ë»ÈÍѤǤ­¤ë¡£
640 .\"O .SH GREMLIN FILE FORMAT
641 .SH gremlin ¥Õ¥¡¥¤¥ë¥Õ¥©¡¼¥Þ¥Ã¥È
642 .\"O There exist two distinct 
643 .\"O .I gremlin
644 .\"O file formats, the original format from the
645 .\"O .I AED
646 .\"O graphic terminal version, and the
647 .\"O .I SUN
648 .\"O or
649 .\"O .I X11
650 .\"O version.
651 .I gremlin
652 ¥Õ¥¡¥¤¥ë¥Õ¥©¡¼¥Þ¥Ã¥È¤Ë¤Ï 2 ¼ïÎà¤Î°Û¤Ê¤ë·Á¼°¤¬¤¢¤ë¡£
653 ¤Ò¤È¤Ä¤ÏËÜÍè¤Î
654 .I AED
655 ¥°¥é¥Õ¥£¥Ã¥¯¥¿¡¼¥ß¥Ê¥ë¤Î·Á¼°¡¢¤â¤¦¤Ò¤È¤Ä¤Ï
656 .I SUN
657 ¤Þ¤¿¤Ï
658 .I X11
659 ·Á¼°¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¤¢¤ë¡£
660 .\"O An extension to the
661 .\"O .IR SUN / X11
662 .\"O version allowing reference points with negative coordinates is
663 .\"O .B not
664 .\"O compatible with the
665 .\"O .I AED
666 .\"O version.
667 .IR SUN / X11
668 ·Á¼°¤Ç¤ÏÉé¤ÎºÂɸ°ÌÃÖ¤ò»²¾È¤Ç¤­¤ë¤è¤¦¤Ë³ÈÄ¥¤µ¤ì¤Æ¤¤¤ë¤¬¡¢¤³¤ì¤Ï
669 .I AED
670 ·Á¼°¤È¤Ï¸ß´¹À­¤¬
671 .BR ¤Ê¤¤ ¡£
672 .\"O As long as a 
673 .\"O .I gremlin
674 .\"O file does not contain negative coordinates, either format will be read
675 .\"O correctly by either version of
676 .\"O .I gremlin
677 .\"O or
678 .\"O .IR grn .
679 .I gremlin
680 ¥Õ¥¡¥¤¥ë¤¬Éé¤ÎºÂɸ¤ò´Þ¤ó¤Ç¤¤¤Ê¤¤¤«¤®¤ê¡¢¤É¤Á¤é¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤â
681 ¤½¤ì¤¾¤ì¤Î¥Ð¡¼¥¸¥ç¥ó¤Î
682 .I gremlin
683 ¤ä
684 .I grn
685 ¤ÇÀµ¤·¤¯Æɤळ¤È¤¬¤Ç¤ë¡£
686 .\"O The other difference to the
687 .\"O .IR SUN / X11
688 .\"O format is the use of names for picture objects (e.g., POLYGON, CURVE)
689 .\"O instead of numbers.
690 ¤Û¤«¤Î°ã¤¤¤È¤·¤Æ¤Ï¡¢
691 .IR SUN / X11
692 ·Á¼°¤Ç¤Ï²èÁü¥ª¥Ö¥¸¥§¥¯¥È¤Ë¿ôÃͤΤ«¤ï¤ê¤Ë̾Á°¤ò»ÈÍѤǤ­¤ë
693  (¤¿¤È¤¨¤Ð¡¢POLYGON, CURVE ¤Ê¤É)¡£
694 .\"O Files representing the same picture are shown in Table 1 in each format.
695 ¤½¤ì¤¾¤ì¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤ÇƱ¤¸²èÁü¤òɽ¸½¤·¤¿¤â¤Î¤òɽ 1 ¤Ë¼¨¤¹¡£
696 .sp
697 .DS
698 .TS
699 center, tab(@);
700 l lw(0.1i) l.
701 sungremlinfile@@gremlinfile
702 0 240.00 128.00@@0 240.00 128.00
703 CENTCENT@@2
704 240.00 128.00@@240.00 128.00
705 185.00 120.00@@185.00 120.00
706 240.00 120.00@@240.00 120.00
707 296.00 120.00@@296.00 120.00
708 *@@-1.00 -1.00
709 2 3@@2 3
710 10 A Triangle@@10 A Triangle
711 POLYGON@@6
712 224.00 416.00@@224.00 416.00
713 96.00 160.00@@96.00 160.00
714 384.00 160.00@@384.00 160.00
715 *@@-1.00 -1.00
716 5 1@@5 1
717 0@@0
718 -1@@-1
719 .T&
720 css.
721 .sp
722 .\"O Table 1. File examples
723 ɽ 1. ¥Õ¥¡¥¤¥ëÎã
724 .TE
725 .DE
726 .sp
727 .IP \(bu
728 .\"O The first line of each
729 .\"O .I gremlin
730 .\"O file contains either the string
731 .\"O .B gremlinfile
732 .\"O .RI ( AED
733 .\"O version) or
734 .\"O .B sungremlinfile
735 .\"O .RI ( SUN / X11 )
736 ¤½¤ì¤¾¤ì¤Î
737 .I gremlin
738 ¥Õ¥¡¥¤¥ë¤ÎºÇ½é¤Î¹Ô¤Ï¡¢Ê¸»úÎó
739 .B gremlinfile
740 .RI ( AED
741 ·Á¼°) ¤Þ¤¿¤Ï
742 .B sungremlinfile
743 .RI ( SUN / X11 )
744 ¤È¤Ê¤ë¡£
745 .IP \(bu
746 .\"O The second line of the file contains an orientation, and
747 .\"O .B x
748 .\"O and
749 .\"O .B y
750 .\"O values for a positioning point, separated by spaces.
751 2 ¹ÔÌܤϡ¢²èÁüÊý¸þ¤ª¤è¤ÓºÂɸ°ÌÃÖ¤Î
752 .B x
753 ¤È
754 .B y
755 ¤ÎÃͤò¤½¤ì¤¾¤ì¶õÇò¤Ç¶èÀڤäƻØÄꤹ¤ë¡£
756 .\"O The orientation, either
757 .\"O .B 0
758 .\"O or
759 .\"O .BR 1 ,
760 .\"O is ignored by the
761 .\"O .IR SUN / X11
762 .\"O version.
763 ²èÁüÊý¸þ
764 .RB ( 0 ¤Þ¤¿¤Ï 1 ¤ÎÃͤò¤È¤ë)
765 ¤Ï
766 .IR SUN / X11
767 ¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï̵»ë¤µ¤ì¤ë¡£
768 .\"O .B 0
769 .\"O means that
770 .\"O .I gremlin
771 .\"O will display things in horizontal format (drawing area wider than it is
772 .\"O tall, with menu across top).
773 .B 0
774 ¤Ï
775 .I gremlin
776 ¤ò²£Êý¸þ¤Ëɽ¼¨¤¹¤ë (ɽ¼¨Îΰè¤Ï¡¢Éý¤¬¹â¤µ¤è¤êŤ¯¤Ê¤ê¡¢¥á¥Ë¥å¡¼¤Ï¾åÉô¤Ë¤¯¤ë)¡£
777 .\"O .B 1
778 .\"O means that
779 .\"O .I gremlin
780 .\"O will display things in vertical format (drawing area taller than it is wide,
781 .\"O with menu on left side).
782 .B 1
783 ¤Ï
784 .I gremlin
785 ¤ò½ÄÊý¸þ¤Ëɽ¼¨¤¹¤ë (ɽ¼¨Îΰè¤Ï¡¢¹â¤µ¤¬Éý¤è¤êŤ¯¤Ê¤ê¡¢¥á¥Ë¥å¡¼¤Ïº¸Â¦¤Ë¤¯¤ë)¡£
786 .\"O .B x
787 .\"O and
788 .\"O .B y
789 .\"O are floating point values giving a positioning point to be used when this
790 .\"O file is read into another file.
791 .B x
792 ¤È
793 .B y
794 ¤ÏÉâÆ°¾®¿ôÅÀ¼Â¿ô¤Ç¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤¬Ê̤Υե¡¥¤¥ë¤«¤éÆɤ߹þ¤Þ¤ì¤¿¤È¤­¤Ë»ÈÍѤµ¤ì¤ë
795 ºÂɸ°ÌÃÖ¤ò»ØÄꤹ¤ë¡£
796 .\"O The stuff on this line really isn't all that important; a value of ``1 0.00
797 .\"O 0.00'' is suggested.
798 ¤³¤Î¹Ô¤ÎÍ×ÁǤϤɤì¤â¤µ¤Û¤É½ÅÍפǤϤʤ¤¤Î¤Ç¡¢
799 ``1 0.00 0.00'' ¤È¤¤¤¦Ãͤˤ·¤Æ¤ª¤±¤Ð¤è¤¤¡£
800 .IP \(bu
801 .\"O The rest of the file consists of zero or more element specifications.
802 .\"O After the last element specification is a line containing the string ``-1''.
803 ¥Õ¥¡¥¤¥ë¤Î»Ä¤ê¤ÏÍ×ÁÇ»ÅÍͤ¬µ­½Ò¤µ¤ì¤ë¡£
804 ºÇ¸å¤ÎÍ×ÁÇ»ÅÍͤμ¡¤Ï¡¢Ê¸»úÎó ``-1'' ¤È¤¤¤¦¹Ô¤Ë¤Ê¤ë¡£
805 .\"O .SH ELEMENT SPECIFICATIONS
806 .SH Í×ÁÇ»ÅÍÍ
807 .IP \(bu
808 .\"O The first line of each element contains a single decimal number giving the
809 .\"O type of the element
810 .\"O .RI ( AED
811 .\"O version) or its ASCII name
812 .\"O .RI ( SUN / X11
813 .\"O version).
814 ¤½¤ì¤¾¤ì¤ÎÍ×ÁǤκǽé¤Î¹Ô¤Ï¡¢Í×ÁǤΥ¿¥¤¥×¤ò°ÕÌ£¤¹¤ë¿ôÃÍ
815 .RI ( AED
816 ·Á¼°) ¤Þ¤¿¤Ï¤½¤Î̾Á°
817 .RI ( SUN / X11
818 ·Á¼°) ¤È¤Ê¤ë¡£
819 .\"O See Table 2.
820 ɽ 2 ¤ò»²¾È¡£
821 .sp
822 .DS
823 .TS
824 center, tab(@);
825 css
826 ccc
827 nll.
828 .\"O \fIgremlin\fP File Format \(mi Object Type Specification
829 \fIgremlin\fP ¥Õ¥¡¥¤¥ë¥Õ¥©¡¼¥Þ¥Ã¥È \(mi ¥ª¥Ö¥¸¥§¥¯¥È¥¿¥¤¥×»ØÄê
830 .sp
831 .\"O \fIAED\fP Number@\fISUN\fP/\fIX11\fP Name@Description
832 \fIAED\fP ¿ôÃÍ@\fISUN\fP/\fIX11\fP Ì¾Á°@ÀâÌÀ
833 .\"O 0@BOTLEFT@bottom-left-justified text
834 .\"O 1@BOTRIGHT@bottom-right-justified text
835 .\"O 2@CENTCENT@center-justified text
836 .\"O 3@VECTOR@vector
837 .\"O 4@ARC@arc
838 .\"O 5@CURVE@curve
839 .\"O 6@POLYGON@polygon
840 .\"O 10@TOPLEFT@top-left-justified text
841 .\"O 11@TOPCENT@top-center-justified text
842 .\"O 12@TOPRIGHT@top-right-justified text
843 .\"O 13@CENTLEFT@left-center-justified text
844 .\"O 14@CENTRIGHT@right-center-justified text
845 .\"O 15@BOTCENT@bottom-center-justified text
846 0@BOTLEFT@²¼Êýº¸´ó¤»¤Î¥Æ¥­¥¹¥È
847 1@BOTRIGHT@²¼Êý±¦´ó¤»¤Î¥Æ¥­¥¹¥È
848 2@CENTCENT@Ãæ±û´ó¤»¤Î¥Æ¥­¥¹¥È
849 3@VECTOR@¥Ù¥¯¥È¥ë
850 4@ARC@¸Ì
851 5@CURVE@¶ÊÀþ
852 6@POLYGON@¥Ý¥ê¥´¥ó
853 10@TOPLEFT@¾åÊýº¸´ó¤»¤Î¥Æ¥­¥¹¥È
854 11@TOPCENT@¾åÊýÃæ¿´´ó¤»¤Î¥Æ¥­¥¹¥È
855 12@TOPRIGHT@¾åÊý±¦´ó¤»¤Î¥Æ¥­¥¹¥È
856 13@CENTLEFT@Ãæ±ûº¸´ó¤»¤Î¥Æ¥­¥¹¥È
857 14@CENTRIGHT@Ãæ±û±¦´ó¤»¤Î¥Æ¥­¥¹¥È
858 15@BOTCENT@²¼ÊýÃæ±û´ó¤»¤Î¥Æ¥­¥¹¥È
859 .T&
860 css.
861 .sp
862 .\"O Table 2.
863 .\"O Type Specifications in \fIgremlin\fP Files
864 ɽ 2.
865 \fIgremlin\fP ¥Õ¥¡¥¤¥ë¤Î¥¿¥¤¥×»ØÄê
866 .TE
867 .DE
868 .sp
869 .IP \(bu
870 .\"O After the object type comes a variable number of lines, each specifying a
871 .\"O point used to display the element.
872 ¥ª¥Ö¥¸¥§¥¯¥È¥¿¥¤¥×¤Î¤¢¤È¤Ë¤Ï¡¢Í×ÁǤ¬É½¼¨¤µ¤ì¤ëºÂɸ¤ò»ØÄꤹ¤ë¹Ô¤¬Â³¤¯¡£
873 .\"O Each line contains an x-coordinate and a y-coordinate in floating point
874 .\"O format, separated by spaces.
875 ¤½¤ì¤¾¤ì¤Î¹Ô¤Ë¤Ï X ºÂɸ¤È Y ºÂɸ¤¬ÉâÆ°¾®¿ôÅÀ¼Â¿ô·Á¼°¤Ç¡¢
876 ¶õÇò¤Ç¶èÀÚ¤é¤ì¤Æ»ØÄꤵ¤ì¤ë¡£
877 .\"O The list of points is terminated by a line containing the string ``-1.0
878 .\"O -1.0''
879 .\"O .RI ( AED
880 .\"O version) or a single asterisk, ``*''
881 .\"O .RI ( SUN / X11
882 .\"O version).
883 ºÂɸ¤Î¥ê¥¹¥È¤Î½ªÃ¼¤Ï¡¢Ê¸»úÎó ``-1.0 -1.0''
884 .RI ( AED
885 ·Á¼°) ¤È¤¤¤¦¹Ô¤«¡¢Ã±°ì¤Î¥¢¥¹¥¿¥ê¥¹¥¯ ``*''
886 .RI ( SUN / X11
887 ·Á¼°) ¤Î¹Ô¤È¤Ê¤ë¡£
888 .IP \(bu
889 .\"O After the points comes a line containing two decimal values, giving the
890 .\"O brush and size for the element.
891 ºÂɸ¤Î¼¡¤Ë¤Ï¡¢¤Õ¤¿¤Ä¤Î 10 ¿Ê¿ôÃͤò´Þ¤à¹Ô¤¬¤¯¤ë¡£
892 ¤³¤ì¤é¤Ï¡¢Í×ÁǤΥ֥饷¤È¥µ¥¤¥º¤ò»ØÄꤷ¤Æ¤¤¤ë¡£
893 .\"O The brush determines the style in which things are drawn.
894 ¥Ö¥é¥·¤Ï¥ª¥Ö¥¸¥§¥¯¥È¤¬ÉÁ²è¤µ¤ì¤ë¤È¤­¤Î¥¹¥¿¥¤¥ë¤ò·èÄꤹ¤ë¡£
895 .\"O For vectors, arcs, and curves there are six legal brush values:
896 ¥Ù¥¯¥È¥ë¡¢¸Ì¡¢¶ÊÀþ¤Ï¼¡¤Î 6 ¼ïÎà¤Î¥Ö¥é¥·¤ÎÃͤò¤È¤ë¤³¤È¤¬¤Ç¤­¤ë:
897 .sp
898 .DS
899 .TS
900 center, tab(@);
901 ncw(0.1i)l.
902 .\"O 1 \(mi@@thin dotted lines
903 .\"O 2 \(mi@@thin dot-dashed lines
904 .\"O 3 \(mi@@thick solid lines
905 .\"O 4 \(mi@@thin dashed lines
906 .\"O 5 \(mi@@thin solid lines
907 .\"O 6 \(mi@@medium solid lines
908 1 \(mi@@ºÙ¤¤ÅÀÀþ (dotted lines)
909 2 \(mi@@ºÙ¤¤°ìÅÀÇËÀþ (dot-dashed lines)
910 3 \(mi@@ÂÀ¤¤¼ÂÀþ (solid lines)
911 4 \(mi@@ÂÀ¤¤ÇËÀþ (dashed lines)
912 5 \(mi@@ÂÀ¤¤¼ÂÀþ (solid lines)
913 6 \(mi@@ÉáÄ̤μÂÀþ (solid lines)
914 .TE
915 .DE
916 .sp
917 .\"O For polygons, one more value, 0, is legal.
918 ¥Ý¥ê¥´¥ó¤Ç¤Ï¡¢¤Ò¤È¤ÄÄɲ䵤ì¤Æ 0 ¤È¤¤¤¦Ãͤ¬Í­¸ú¤Ç¤¢¤ë¡£
919 .\"O It specifies a polygon with an invisible border.
920 ¤³¤ì¤Ï¡¢ÉԲĻë¤Î¶­³¦¤ò°ÕÌ£¤¹¤ë¡£
921 .\"O For text, the brush selects a font as follows:
922 ¥Æ¥­¥¹¥È¤Ç¤Ï¡¢¥Ö¥é¥·¤ÎÁªÂò¤Ï°Ê²¼¤Î¥Õ¥©¥ó¥È¤ò°ÕÌ£¤¹¤ë:
923 .sp
924 .DS
925 .TS
926 center, tab(@);
927 ncw(0.1i)l.
928 .\"O 1 \(mi@@roman (R font in groff)
929 .\"O 2 \(mi@@italics (I font in groff)
930 .\"O 3 \(mi@@bold (B font in groff)
931 .\"O 4 \(mi@@special (S font in groff)
932 1 \(mi@@¥í¡¼¥Þ¥óÂΠ(groff ¤Î R ¥Õ¥©¥ó¥È)
933 2 \(mi@@¥¤¥¿¥ê¥Ã¥¯ÂΠ(groff ¤Î I ¥Õ¥©¥ó¥È)
934 3 \(mi@@¥Ü¡¼¥ë¥ÉÂΠ(groff ¤Î B ¥Õ¥©¥ó¥È)
935 4 \(mi@@¥¹¥Ú¥·¥ã¥ëÂΠ(groff ¤Î S ¥Õ¥©¥ó¥È)
936 .TE
937 .DE
938 .sp
939 .\"O If you're using
940 .\"O .I grn
941 .\"O to run your pictures through
942 .\"O .IR groff ,
943 .\"O the font is really just a starting font:
944 .I groff
945 ¤òÄ̤·¤Æ
946 .I grn
947 ¤Ç²èÁü¤ò½èÍý¤·¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¥Õ¥©¥ó¥È»ØÄê¤Ï½é´ü¾õÂ֤λØÄê¤È¤Ê¤ë:
948 .\"O The text string can contain formatting sequences like
949 .\"O ``\\fI''
950 .\"O or
951 .\"O ``\\d''
952 .\"O which may change the font (as well as do many other things).
953 ¥Æ¥­¥¹¥Èʸ»úÎó¤Ë¤Ï¡¢``\\fI'' ¤ä ``\\d'' ¤È¤¤¤Ã¤¿¥Õ¥©¥ó¥È¤òÊѹ¹¤¹¤ë
954 ¥Õ¥©¡¼¥Þ¥Ã¥È¥·¡¼¥±¥ó¥¹¤ò´Þ¤á¤ë¤³¤È¤¬¤Ç¤­¤ë (¾¤Î¤â¤Î¤âƱÍÍ)¡£
955 .\"O For text, the size field is a decimal value between 1 and 4.
956 ¥Æ¥­¥¹¥È¤Ç¤Ï¡¢¥µ¥¤¥º¤Î»ØÄê¤Ï 1 ¤«¤é 4 ¤Þ¤Ç¤Î 10 ¿Ê¿ôÃͤǤ¢¤ë¡£
957 .\"O It selects the size of the font in which the text will be drawn.
958 ¤³¤ì¤Ï¡¢¥Æ¥­¥¹¥È¤¬ÉÁ²è¤µ¤ì¤ë¤È¤­¤Î¥Õ¥©¥ó¥È¥µ¥¤¥º¤ò°ÕÌ£¤¹¤ë¡£
959 .\"O For polygons, this size field is interpreted as a stipple number to fill the
960 .\"O polygon with.
961 ¥Ý¥ê¥´¥ó¤Ç¤Ï¡¢¤³¤Î¥µ¥¤¥º»ØÄê¤Ï¥Ý¥ê¥´¥ó¤ÎÅɤêÄÙ¤·ÊýË¡¤ò»ØÄꤹ¤ëÃͤȤ·¤Æ
962 °·¤ï¤ì¤ë¡£
963 .\"O The number is used to index into a stipple font at print time.
964 ¿ôÃͤϽÐÎÏ»þ¤Î stipple ¥Õ¥©¥ó¥È¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤¬»ÈÍѤµ¤ì¤ë¡£
965 .IP \(bu
966 .\"O The last line of each element contains a decimal number and a string of
967 .\"O characters, separated by a single space.
968 ¤½¤ì¤¾¤ì¤ÎÍ×ÁǤκǸå¤Î¹Ô¤Ï¡¢¤Ò¤È¤Ä¤Î¶õÇò¤Ç¶èÀÚ¤é¤ì¤¿ 10 ¿Ê¿ôÃͤÈʸ»úÎó¤È¤Ê¤ë¡£
969 .\"O The number is a count of the number of characters in the string.
970 ¿ôÃͤÏʸ»úÎóÃæ¤Îʸ»ú¿ô¤ò¼¨¤¹¡£
971 .\"O This information is only used for text elements, and contains the text
972 .\"O string.
973 ¤³¤Î¾ðÊó¤Ï¥Æ¥­¥¹¥ÈÍ×ÁǤȥƥ­¥¹¥Èʸ»úÎó¤ò´Þ¤àÍ×ÁǤÀ¤±¤Ë»È¤ï¤ì¤ë¡£
974 .\"O There can be spaces inside the text.
975 ¥Æ¥­¥¹¥ÈÃæ¤Ë¤Ï¶õÇò¤ò´Þ¤á¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
976 .\"O For arcs, curves, and vectors, this line of the element contains the string
977 .\"O ``0''.
978 ¸Ì¤ä¶ÊÀþ¡¢¥Ù¥¯¥È¥ë¤Ç¤Ï¡¢¤³¤Î¹Ô¤Ë¤Ïʸ»úÎó ``0'' ¤¬»ØÄꤵ¤ì¤ë¡£
979 .\"O .SH NOTES ON COORDINATES
980 .SH ºÂɸ¤Ë´Ø¤¹¤ëÃí°Õ
981 .\"O .I gremlin
982 .\"O was designed for
983 .\"O .IR AED s,
984 .\"O and its coordinates reflect the
985 .\"O .I AED
986 .\"O coordinate space.
987 .I gremlin
988 ¤Ï
989 .I AED
990 ÍѤËÀ߷פµ¤ì¤¿¤Î¤Ç¡¢¤½¤ÎºÂɸ¤Ï
991 .I AED
992 ¤ÎºÂɸ¶õ´Ö¤òÈ¿±Ç¤·¤Æ¤¤¤ë¡£
993 .\"O For vertical pictures, x-values range 116 to 511, and y-values from 0 to
994 .\"O 483.
995 ½ÄÊý¸þ¤Î²èÁü¤Ç¤Ï¡¢X ¤ÎÃͤϠ116 ¤«¤é 511 ¤Þ¤Ç¤ÎÈϰϤǤ¢¤ê¡¢Y ¤ÎÃͤÏ
996 0 ¤«¤é 483 ¤ÎÈϰϤǤ¢¤ë¡£
997 .\"O For horizontal pictures, x-values range from 0 to 511 and y-values range
998 .\"O from 0 to 367.
999 ²£Êý¸þ¤Î²èÁü¤Ç¤Ï¡¢X ¤ÎÃͤϠ0 ¤«¤é 511 ¤ÎÈϰϤǤ¢¤ê¡¢Y ¤ÎÃͤÏ
1000 0 ¤«¤é 367 ¤ÎÈϰϤǤ¢¤ë¡£
1001 .\"O Although you needn't absolutely stick to this range, you'll get best results
1002 .\"O if you at least stay in this vicinity.
1003 ¤³¤ÎÈϰϤòÀäÂФ˼é¤é¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤ï¤±¤Ç¤Ï¤Ê¤¤¤¬¡¢
1004 ºÇÎɤηë²Ì¤òÆÀ¤ë¤Ë¤Ï¤¹¤¯¤Ê¤¯¤È¤â¤³¤Î¶áÊդˤª¤µ¤á¤¿Êý¤¬Îɤ¤¡£
1005 .\"O Also, point lists are terminated by a point of (-1, -1), so you shouldn't
1006 .\"O ever use negative coordinates.
1007 ºÂɸ¤Î¥ê¥¹¥È¤Ï (-1, -1) ¤ÎºÂɸ¤Ç½ªÃ¼¤¹¤ë¤¿¤á¡¢Éé¤ÎºÂɸ°ÌÃ֤ϻÈÍѤǤ­¤Ê¤¤¡£
1008 .\"O .I gremlin
1009 .\"O writes out coordinates using format ``%f1.2''; it's probably a good idea to
1010 .\"O use the same format if you want to modify the
1011 .\"O .I grn
1012 .\"O code.
1013 .I gremlin
1014 ¤ÏºÂɸ¤Î½ÐÎϤˠ``%f1.2'' ¤È¤¤¤¦¥Õ¥©¡¼¥Þ¥Ã¥È¤òÍѤ¤¤Æ¤¤¤ë¤Î¤Ç¡¢
1015 .I grn
1016 ¤Î¥³¡¼¥É¤òÊѹ¹¤·¤¿¤¤¤È¤­¤Ë¤ÏƱ¤¸¥Õ¥©¡¼¥Þ¥Ã¥È¤òÍѤ¤¤ë¤Î¤¬Îɤ¤¤À¤í¤¦¡£
1017 .\"O .SH NOTES ON SUN/X11 COORDINATES
1018 .SH SUN/X11 ºÂɸ¤Ë´Ø¤¹¤ëÃí°Õ
1019 .\"O There is no longer a restriction on the range of coordinates used to create
1020 .\"O objects in the
1021 .\"O .IR SUN / X11
1022 .\"O version of
1023 .\"O .IR gremlin .
1024 .IR SUN / X11
1025 ¥Ð¡¼¥¸¥ç¥ó¤Î
1026 .I gremlin
1027 ¤ÇÀ¸À®¤·¤¿¥ª¥Ö¥¸¥§¥¯¥È¤Ë¤Ï¡¢ºÂɸÈϰϤˤĤ¤¤Æ¤ÎÀ©¸Â¤Ï¤â¤Ï¤ä¤Ê¤¤¡£
1028 .\"O However, files with negative coordinates
1029 .\"O .B will
1030 .\"O cause problems if displayed on the
1031 .\"O .IR AED .
1032 ¤·¤«¤·¡¢Éé¤ÎºÂɸ°ÌÃÖ¤ò¤â¤Ä¥Õ¥¡¥¤¥ë¤ò
1033 .I AED
1034 ¤Çɽ¼¨¤·¤¿¤È¤­¤ËÌäÂê¤ò°ú¤­µ¯¤¹
1035 .BR ¤À¤í¤¦ ¡£
1036 .\"O .SH FILES
1037 .SH ¥Õ¥¡¥¤¥ë
1038 .Tp \w'/usr/local/share/groff/font/devname/DESC'u+3n
1039 .BI /usr/local/share/groff/font/dev name /DESC
1040 .\"O Device description file for device
1041 .\"O .IR name .
1042 ¥Ç¥Ð¥¤¥¹
1043 .I name
1044 ¤Î¥Ç¥Ð¥¤¥¹µ­½Ò¥Õ¥¡¥¤¥ë¡£
1045 .\"O .SH SEE ALSO
1046 .SH ´ØÏ¢¹àÌÜ
1047 .BR gremlin (1),
1048 .BR groff (1),
1049 .BR pic (1),
1050 .BR ideal (1)
1051 .\"O .SH HISTORY
1052 .SH ÍúÎò
1053 .PP
1054 .\"O David Slattengren and Barry Roitblat wrote the original Berkeley
1055 .\"O .IR grn .
1056 David Slattengren ¤È Barry Roitblat ¤¬¥ª¥ê¥¸¥Ê¥ë¤Î Berkeley
1057 .I grn
1058 ¤ò½ñ¤¤¤¿¡£
1059 .PP
1060 .\"O Daniel Senderowicz and Werner Lemberg modified it for
1061 .\"O .IR groff .
1062 Daniel Senderowicz ¤È Werner Lemberg ¤¬
1063 .I groff
1064 ÍѤ˽¤Àµ¤·¤¿¡£