Current File : //usr/share/doc/groff/1.22.2/pic.ps
%!PS-Adobe-3.0
%%Creator: groff version 1.22.2
%%CreationDate: Wed Aug 19 18:00:29 2015
%%DocumentNeededResources: font Times-Bold
%%+ font Times-Italic
%%+ font Symbol
%%+ font Times-Roman
%%+ font Courier
%%+ font Courier-Oblique
%%DocumentSuppliedResources: procset grops 1.22 2
%%+ font Symbol-Slanted
%%Pages: 40
%%PageOrder: Ascend
%%DocumentMedia: Default 612 792 0 () ()
%%Orientation: Portrait
%%EndComments
%%BeginDefaults
%%PageMedia: Default
%%EndDefaults
%%BeginProlog
%%BeginResource: procset grops 1.22 2
%!PS-Adobe-3.0 Resource-ProcSet
/setpacking where{
pop
currentpacking
true setpacking
}if
/grops 120 dict dup begin
/SC 32 def
/A/show load def
/B{0 SC 3 -1 roll widthshow}bind def
/C{0 exch ashow}bind def
/D{0 exch 0 SC 5 2 roll awidthshow}bind def
/E{0 rmoveto show}bind def
/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
/G{0 rmoveto 0 exch ashow}bind def
/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/I{0 exch rmoveto show}bind def
/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
/K{0 exch rmoveto 0 exch ashow}bind def
/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/M{rmoveto show}bind def
/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
/O{rmoveto 0 exch ashow}bind def
/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/Q{moveto show}bind def
/R{moveto 0 SC 3 -1 roll widthshow}bind def
/S{moveto 0 exch ashow}bind def
/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/SF{
findfont exch
[exch dup 0 exch 0 exch neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
/MF{
findfont
[5 2 roll
0 3 1 roll
neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
/level0 0 def
/RES 0 def
/PL 0 def
/LS 0 def
/MANUAL{
statusdict begin/manualfeed true store end
}bind def
/PLG{
gsave newpath clippath pathbbox grestore
exch pop add exch pop
}bind def
/BP{
/level0 save def
1 setlinecap
1 setlinejoin
DEFS/BPhook known{DEFS begin BPhook end}if
72 RES div dup scale
LS{
90 rotate
}{
0 PL translate
}ifelse
1 -1 scale
}bind def
/EP{
level0 restore
showpage
}def
/DA{
newpath arcn stroke
}bind def
/SN{
transform
.25 sub exch .25 sub exch
round .25 add exch round .25 add exch
itransform
}bind def
/DL{
SN
moveto
SN
lineto stroke
}bind def
/DC{
newpath 0 360 arc closepath
}bind def
/TM matrix def
/DE{
TM currentmatrix pop
translate scale newpath 0 0 .5 0 360 arc closepath
TM setmatrix
}bind def
/RC/rcurveto load def
/RL/rlineto load def
/ST/stroke load def
/MT/moveto load def
/CL/closepath load def
/Fr{
setrgbcolor fill
}bind def
/setcmykcolor where{
pop
/Fk{
setcmykcolor fill
}bind def
}if
/Fg{
setgray fill
}bind def
/FL/fill load def
/LW/setlinewidth load def
/Cr/setrgbcolor load def
/setcmykcolor where{
pop
/Ck/setcmykcolor load def
}if
/Cg/setgray load def
/RE{
findfont
dup maxlength 1 index/FontName known not{1 add}if dict begin
{
1 index/FID ne
2 index/UniqueID ne
and
{def}{pop pop}ifelse
}forall
/Encoding exch def
dup/FontName exch def
currentdict end definefont pop
}bind def
/DEFS 0 def
/EBEGIN{
moveto
DEFS begin
}bind def
/EEND/end load def
/CNT 0 def
/level1 0 def
/PBEGIN{
/level1 save def
translate
div 3 1 roll div exch scale
neg exch neg exch translate
0 setgray
0 setlinecap
1 setlinewidth
0 setlinejoin
10 setmiterlimit
[]0 setdash
/setstrokeadjust where{
pop
false setstrokeadjust
}if
/setoverprint where{
pop
false setoverprint
}if
newpath
/CNT countdictstack def
userdict begin
/showpage{}def
/setpagedevice{}def
mark
}bind def
/PEND{
cleartomark
countdictstack CNT sub{end}repeat
level1 restore
}bind def
end def
/setpacking where{
pop
setpacking
}if
%%EndResource
%%EndProlog
%%BeginSetup
%%BeginFeature: *PageSize Default
<< /PageSize [ 612 792 ] /ImagingBBox null >> setpagedevice
%%EndFeature
%%IncludeResource: font Symbol
%%IncludeResource: font Times-Bold
%%IncludeResource: font Times-Italic
%%IncludeResource: font Times-Roman
%%IncludeResource: font Courier
%%IncludeResource: font Courier-Oblique
%%BeginResource: font Symbol-Slanted
%!PS-Adobe-3.0 Resource-Font
%%DocumentNeededResources: font Symbol
%%EndComments
/MakeTransformedFont{
findfont dup maxlength dict begin
{
exch dup dup/FID ne exch/UniqueID ne and{
exch def
}{
pop pop
}ifelse
}forall
/FontBBox
currentdict/FontBBox get
4 array copy def
FontBBox aload pop
4 index transform 4 2 roll
4 index transform 4 2 roll
FontBBox astore pop
FontMatrix exch matrix concatmatrix
/FontMatrix exch def
dup/FontName exch def
currentdict end
definefont pop
}bind def
/Symbol-Slanted
[.89 0.0 15.5 dup sin exch cos div .89 0.0 0.0]
/Symbol
MakeTransformedFont
%%EndResource
grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72
def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
/scaron/zcaron/Ydieresis/trademark/quotesingle/Euro/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
/Courier-Oblique@0 ENC0/Courier-Oblique RE/Courier@0 ENC0/Courier RE
/Times-Roman@0 ENC0/Times-Roman RE/Times-Italic@0 ENC0/Times-Italic RE
/Times-Bold@0 ENC0/Times-Bold RE
%%EndSetup
%%Page: 1 1
%%BeginPageSetup
BP
%%EndPageSetup
/F0 12/Times-Bold@0 SF(Making Pictur)204.552 123 Q(es W)-.216 E
(ith GNU PIC)-.216 E/F1 10/Times-Italic@0 SF(Eric S. Raymond)254.255 159
Q/F2 10/Symbol SF<e1>237.665 177 Q F1(esr@snark.thyr)A(sus.com)-.1 E F2
<f1>A F1(ABSTRA)264.535 213 Q(CT)-.3 E/F3 10/Times-Roman@0 SF(The)133
237 Q/F4 10/Times-Bold@0 SF(pic)2.553 E F3 .053(language is a)2.553 F F4
(tr)2.553 E(off)-.18 E F3 -.15(ex)2.553 G .053(tension that mak).15 F
.052(es it easy to create and alter box-and-)-.1 F(arro)108 249 Q 2.643
(wd)-.25 G .143
(iagrams of the kind frequently used in technical papers and te)-2.643 F
2.643(xtbooks. This)-.15 F(paper)2.644 E .166
(is both an introduction to and reference for)108 261 R F1(gpic)2.666 E
F3 .166(\(1\), the implementation distrib).31 F .166(uted by the)-.2 F
.99(Free Softw)108 273 R .991(are F)-.1 F .991(oundation for use with)
-.15 F F1(gr)3.491 E(of)-.45 E(f)-.18 E F3 3.491(\(1\). It)1.96 F .991
(also catalogs other implementations)3.491 F(and e)108 285 Q
(xplains the dif)-.15 E(ferences among them.)-.25 E F4 2.5(1. Intr)72
321 R(oduction to PIC)-.18 E 2.5(1.1. Wh)72 345 R 2.5(yP)-.15 G(IC?)-2.5
E F3(The)97 360.6 Q F4(pic)2.544 E F3 .044(language pro)2.544 F .044
(vides an easy w)-.15 F .043(ay to write procedural box-and-arro)-.1 F
2.543(wd)-.25 G .043(iagrams to be included in)-2.543 F F4(tr)72 372.6 Q
(off)-.18 E F3 2.658(documents. The)2.658 F .158(language is suf)2.658 F
.158(\214ciently \215e)-.25 F .158
(xible to be quite useful for state charts, Petri-net diagrams,)-.15 F
<8d6f>72 384.6 Q 3.564(wc)-.25 G 1.064(harts, simple circuit schematics\
, jumper layouts, and other kinds of illustration in)-3.564 F -.2(vo)-.4
G 1.063(lving repetiti).2 F -.15(ve)-.25 G .93
(uses of simple geometric forms and splines.)72 396.6 R .93
(Because these descriptions are procedural and object-based,)5.93 F(the)
72 408.6 Q 2.5(ya)-.15 G(re both compact and easy to modify)-2.5 E(.)
-.65 E .669(The phrase \231GNU pic\232 may refer to either of tw)97
424.2 R(o)-.1 E F4(pic)3.169 E F3 .669(implementations distrib)3.169 F
.668(uted by the Free Soft-)-.2 F -.1(wa)72 436.2 S .93(re F).1 F .93
(oundation and intended to accept the same input language.)-.15 F(The)
5.93 E F1(gpic)3.43 E F3 .93(\(1\) implementation is for use).31 F .77
(with the)72 448.2 R F1(gr)3.27 E(of)-.45 E(f)-.18 E F3 .77
(\(1\) implementation of)1.96 F F4(tr)3.269 E(off)-.18 E F3 5.769(.T)C
(he)-5.769 E F1(pic2plot)3.269 E F3 .769
(\(1\) implementation runs standalone and is part of).68 F(the)72 460.2
Q F4(plotutils)2.957 E F3 .457
(package. Because both implementations are widely a)2.957 F -.25(va)-.2
G .458(ilable in source form for free, the).25 F 2.958(ya)-.15 G(re)
-2.958 E(good bets for writing v)72 472.2 Q(ery portable documentation.)
-.15 E F4 2.5(1.2. PIC)72 496.2 R -1(Ve)2.5 G(rsions)1 E F3 .88
(The original 1984 pre-)97 511.8 R F1(ditr)A(of)-.45 E(f)-.18 E F3 .88
(\(1\) v)1.96 F .88(ersion of)-.15 F F4(pic)3.379 E F3 .879
(is long obsolete.)3.379 F .879(The re)5.879 F .879(written 1991 v)-.25
F .879(ersion is still)-.15 F -.2(av)72 523.8 S
(ailable as part of the Documenter')-.05 E 2.5(sW)-.55 G
(ork Bench module of System V)-3.3 E(.)-1.29 E 3.255(Where dif)97 539.4
R 3.255(ferences between Documenter')-.25 F 5.755(sW)-.55 G 3.255
(ork Bench \(1991\))-6.555 F F4(pic)5.755 E F3 3.256(and GNU)5.755 F F4
(pic)5.756 E F3 3.256(need to be)5.756 F .527(described, original)72
551.4 R F4(pic)3.027 E F3 .527(is referred to as \231D)3.027 F .527
(WB pic\232.)-.3 F .527(Details on the history of the program are gi)
5.527 F -.15(ve)-.25 G 3.026(na).15 G 3.026(tt)-3.026 G(he)-3.026 E
(end of this document.)72 563.4 Q(The)97 579 Q F4(pic2plot)3.414 E F3
.914(program does not require the rest of the)3.414 F F1(gr)3.414 E(of)
-.45 E(f)-.18 E F3 .915(\(1\) toolchain to render graphics.)1.96 F .915
(It can)5.915 F(display)72 591 Q F4(pic)2.502 E F3 .001
(diagrams in a X windo)2.501 F 1.301 -.65(w, o)-.25 H 2.501(rg).65 G
.001(enerate output plots in a lar)-2.501 F .001
(ge number of other formats.)-.18 F .001(These for)5.001 F(-)-.2 E .645
(mats include: PNG, PBM, PGM, PPM, GIF)72 603 R 3.145(,S)-.8 G -.15(VG)
-3.145 G 3.145(,A).15 G .646(dobe Illustrator format, idra)-3.145 F .646
(w-editable Postscript, the)-.15 F -.8(We)72 615 S .662
(bCGM format for W).8 F .662(eb-based v)-.8 F .661
(ector graphics, the format used by the)-.15 F F4(x\214g)3.161 E F3(dra)
3.161 E .661(wing editor)-.15 F 3.161(,t)-.4 G .661(he He)-3.161 F
(wlett-)-.25 E -.15(Pa)72 627 S 2.335
(ckard PCL 5 printer language, the He).15 F(wlett-P)-.25 E 2.335
(ackard Graphics Language \(by def)-.15 F 2.335(ault, HP-GL/2\), the)-.1
F .518(ReGIS \(remote graphics instruction set\) format de)72 639 R -.15
(ve)-.25 G .517(loped by DEC, T).15 F .517(ektronix format, and de)-.7 F
(vice-indepen-)-.25 E(dent GNU graphics meta\214le format.)72 651 Q
(In this document,)97 666.6 Q F1(gpic)2.5 E F3(\(1\) and).31 E F1
(pic2plot)2.5 E F3(\(1\) e).68 E(xtensions are mark)-.15 E(ed as such.)
-.1 E F4 2.5(2. In)72 690.6 R -.1(vo)-.4 G(king PIC).1 E F3(Ev)97 706.2
Q(ery)-.15 E F4(pic)3.575 E F3 1.076
(description is a little program describing dra)3.575 F 1.076
(wing actions.)-.15 F(The)6.076 E F4([gtn]r)3.576 E(off)-.18 E F3 1.076
(-dependent v)B(er)-.15 E(-)-.2 E .614(sions compile the program by)72
718.2 R F1(pic)3.114 E F3 .614(\(1\) into).31 F F1(gtr)3.114 E(of)-.45 E
(f)-.18 E F3 .614(\(1\) macros; the)1.96 F F1(pic2plot)3.113 E F3 .613
(\(1\) implementation uses a plotting).68 F .023(library to dra)72 730.2
R 2.523(wt)-.15 G .023(he picture directly)-2.523 F 5.023(.P)-.65 G .023
(rograms that process or display)-5.023 F F1(gtr)2.524 E(of)-.45 E(f)
-.18 E F3 .024(\(1\) output need not kno)1.96 F 2.524(wo)-.25 G 2.524
(rc)-2.524 G(are)-2.524 E 0 Cg EP
%%Page: 2 2
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-2-)282.17 48 Q(that parts of the image be)72 84
Q -.05(ga)-.15 G 2.5(nl).05 G(ife as)-2.5 E/F1 10/Times-Bold@0 SF(pic)
2.5 E F0(descriptions.)2.5 E(The)97 99.6 Q/F2 10/Times-Italic@0 SF(pic)
4.053 E F0 1.552(\(1\) program tries to translate an).31 F 1.552
(ything between)-.15 F F1(.PS)4.052 E F0(and)4.052 E F1(.PE)4.052 E F0
(mark)4.052 E 1.552(ers, and passes through)-.1 F -2.15 -.25(ev e)72
111.6 T .622(rything else.).25 F .622(The normal de\214nitions of)5.622
F F1(.PS)3.122 E F0(and)3.122 E F1(.PE)3.122 E F0 .622(in the)3.122 F F2
(ms)3.122 E F0 .623(macro package and else)3.123 F .623(where ha)-.25 F
.923 -.15(ve a)-.2 H(lso).15 E(the side-ef)72 123.6 Q
(fect of centering the)-.25 E F1(pic)2.5 E F0(output on the page.)2.5 E
F1 2.5(2.1. PIC)72 147.6 R(Err)2.5 E(or Messages)-.18 E F0 .253
(If you mak)97 163.2 R 2.753(ea)-.1 G F1(pic)A F0 .253(syntax error)
2.753 F(,)-.4 E F2(gpic)2.753 E F0 .253
(\(1\) issues an error message in the standard).31 F F2(gcc)2.753 E F0
(\(1\)-lik).31 E 2.753(es)-.1 G 2.752(yntax. A)-2.753 F
(typical error message looks lik)72 175.2 Q 2.5(et)-.1 G(his,)-2.5 E/F3
10/Courier@0 SF(pic:pic.ms:<nnn>: parse error before `<token>')108 193.2
Q(pic:pic.ms:<nnn>: giving up on this picture)108 205.2 Q F0(where)72
226.8 Q/F4 10/Symbol SF<e1>2.5 E F0(nnn)A F4<f1>A F0(is a line number)
2.5 E 2.5(,a)-.4 G(nd)-2.5 E F4<e1>2.5 E F0(tok)A(en)-.1 E F4<f1>A F0
(is a tok)2.5 E(en near \(usually just after\) the error location.)-.1 E
F1 2.5(3. Basic)72 250.8 R(PIC Concepts)2.5 E F0 1.067
(Pictures are described procedurally)97 266.4 R 3.567(,a)-.65 G 3.567
(sc)-3.567 G 1.068(ollections of objects connected by motions.)-3.567 F
(Normally)6.068 E(,)-.65 E F1(pic)3.568 E F0 .121
(tries to string together objects left-to-right in the sequence the)72
278.4 R 2.621(ya)-.15 G .12
(re described, joining them at visually natu-)-2.621 F(ral points.)72
290.4 Q(Here is an e)5 E(xample illustrating the \215o)-.15 E 2.5(wo)
-.25 G 2.5(fd)-2.5 G(ata in)-2.5 E F1(pic)2.5 E F0(processing:)2.5 E 54
36 106.2 326.4 DE .4 LW ST(document)86.48 328.6 Q 169.2 326.4 MT -7.2
1.8 RL 0 -3.6 RL CL 0 Fg 169.2 326.4 MT -7.2 1.8 RL 0 -3.6 RL CL .1 LW 0
Cg ST .4 LW 162 326.4 133.2 326.4 DL 212.4 344.4 MT 0 -36 RL -43.2 0 RL
0 36 RL CL ST F2(gpic)176.205 328.6 Q F0(\(1\)).31 E 248.4 326.4 MT -7.2
1.8 RL 0 -3.6 RL CL 0 Fg 248.4 326.4 MT -7.2 1.8 RL 0 -3.6 RL CL .1 LW 0
Cg ST .4 LW 241.2 326.4 212.4 326.4 DL 252 344.4 248.4 344.4 DL 259.56
344.4 255.96 344.4 DL 267.12 344.4 263.52 344.4 DL 274.68 344.4 271.08
344.4 DL 282.24 344.4 278.64 344.4 DL 289.8 344.4 286.2 344.4 DL 297.36
344.4 293.76 344.4 DL 304.92 344.4 301.32 344.4 DL 312.48 344.4 308.88
344.4 DL 320.04 344.4 316.44 344.4 DL 327.6 344.4 324 344.4 DL 327.6
340.8 327.6 344.4 DL 327.6 334.32 327.6 337.92 DL 327.6 327.84 327.6
331.44 DL 327.6 321.36 327.6 324.96 DL 327.6 314.88 327.6 318.48 DL
327.6 308.4 327.6 312 DL 324 308.4 327.6 308.4 DL 316.44 308.4 320.04
308.4 DL 308.88 308.4 312.48 308.4 DL 301.32 308.4 304.92 308.4 DL
293.76 308.4 297.36 308.4 DL 286.2 308.4 289.8 308.4 DL 278.64 308.4
282.24 308.4 DL 271.08 308.4 274.68 308.4 DL 263.52 308.4 267.12 308.4
DL 255.96 308.4 259.56 308.4 DL 248.4 308.4 252 308.4 DL 248.4 312 248.4
308.4 DL 248.4 318.48 248.4 314.88 DL 248.4 324.96 248.4 321.36 DL 248.4
331.44 248.4 327.84 DL 248.4 337.92 248.4 334.32 DL 248.4 344.4 248.4
340.8 DL F2(gtbl)251.85 322.6 Q F0(\(1\) or).51 E F2 -.1(ge)2.5 G(qn).1
E F0(\(1\)).24 E(\(optional\))268.28 334.6 Q 363.6 326.4 MT -7.2 1.8 RL
0 -3.6 RL CL 0 Fg 363.6 326.4 MT -7.2 1.8 RL 0 -3.6 RL CL .1 LW 0 Cg ST
.4 LW 356.4 326.4 327.6 326.4 DL 406.8 344.4 MT 0 -36 RL -43.2 0 RL 0 36
RL CL ST F2(gtr)367.59 328.6 Q(of)-.45 E(f)-.18 E F0(\(1\))1.96 E 442.8
326.4 MT -7.2 1.8 RL 0 -3.6 RL CL 0 Fg 442.8 326.4 MT -7.2 1.8 RL 0 -3.6
RL CL .1 LW 0 Cg ST .4 LW 435.6 326.4 406.8 326.4 DL 54 36 469.8 326.4
DE ST(PostScript)449.24 328.6 Q(Figure 3-1: Flo)231.6 367.4 Q 2.5(wo)
-.25 G(f)-2.5 E F1(pic)2.5 E F0(data)2.5 E(This w)97 395 Q
(as produced from the follo)-.1 E(wing)-.25 E F1(pic)2.5 E F0(program:)
2.5 E/F5 9/Courier@0 SF(.PS)108 412 Q(ellipse "document";)108 423 Q
(arrow;)108 434 Q(box width 0.6 "\\fIgpic\\/\\fP\(1\)")108 445 Q(arrow;)
108 456 Q(box width 1.1 "\\fIgtbl\\/\\fP\(1\) or \\fIgeqn\\/\\fP\(1\)" \
"\(optional\)" dashed;)108 467 Q(arrow;)108 478 Q
(box width 0.6 "\\fIgtroff\\/\\fP\(1\)";)108 489 Q(arrow;)108 500 Q
(ellipse "PostScript")108 511 Q(.PE)108 522 Q F0 .53
(This little program illustrates se)72 543.6 R -.15(ve)-.25 G(ral).15 E
F1(pic)3.03 E F0 3.03(basics. Firstly)3.03 F 3.03(,w)-.65 G 3.03(es)
-3.03 G .53(ee ho)-3.03 F 3.03(wt)-.25 G 3.03(oi)-3.03 G -1.9 -.4(nv o)
-3.03 H .73 -.1(ke t).4 H .53(hree object types; ellipses,).1 F(arro)72
555.6 Q 1.168(ws, and box)-.25 F 3.668(es. W)-.15 F 3.668(es)-.8 G 1.168
(ee ho)-3.668 F 3.668(wt)-.25 G 3.668(od)-3.668 G 1.168(eclare te)-3.668
F 1.167(xt lines to go within an object \(and that te)-.15 F 1.167
(xt can ha)-.15 F 1.467 -.15(ve f)-.2 H(ont).15 E .697(changes in it\).)
72 567.6 R 2.297 -.8(We s)5.697 H .697(ee ho).8 F 3.197(wt)-.25 G 3.198
(oc)-3.197 G .698
(hange the line style of an object from solid to dashed.)-3.198 F .698
(And we see that a)5.698 F .001(box can be made wider than its def)72
579.6 R .001(ault size to accommodate more te)-.1 F(xt \(we')-.15 E
(ll discuss this f)-.1 E(acility in detail in)-.1 E(the ne)72 591.6 Q
(xt section\).)-.15 E 3.083 -.8(We a)97 607.2 T 1.483(lso get to see).8
F F1(pic)3.983 E F0 2.583 -.55('s s)D 1.483(imple syntax.).55 F 1.483
(Statements are ended by ne)6.483 F 1.484(wlines or semicolons.)-.25 F
(String)6.484 E .496(quotes are required around all te)72 619.2 R .495
(xt ar)-.15 F .495(guments, whether or not the)-.18 F 2.995(yc)-.15 G
.495(ontain spaces.)-2.995 F .495(In general, the order of)5.495 F .028
(command ar)72 631.2 R .028(guments and modi\214ers lik)-.18 F 2.529
<6599>-.1 G .029(width 1.2\232 or \231dashed\232 doesn')-2.529 F 2.529
(tm)-.18 G(atter)-2.529 E 2.529(,e)-.4 G .029
(xcept that the order of te)-2.679 F(xt)-.15 E(ar)72 643.2 Q
(guments is signi\214cant.)-.18 E(Here are all b)97 658.8 Q
(ut one of the basic)-.2 E F1(pic)2.5 E F0(objects at their def)2.5 E
(ault sizes:)-.1 E 0 Cg EP
%%Page: 3 3
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-3-)282.17 48 Q 135 120 MT 0 -36 RL -54 0 RL 0
36 RL CL .4 LW ST(box)100.5 104.2 Q 207 102 171 102 DL(line)181.5 98.2 Q
279 102 MT -7.2 1.8 RL 0 -3.6 RL CL 0 Fg 279 102 MT -7.2 1.8 RL 0 -3.6
RL CL .1 LW 0 Cg ST .4 LW 271.8 102 243 102 DL(arro)249.465 98.2 Q(w)
-.25 E 333 102 18 DC ST(circle)321.895 104.2 Q 54 36 414 102 DE ST
(ellipse)400.945 104.2 Q 477 84 18 90 0 DA(arc)488.895 122.2 Q
(Figure 3-2: Basic)230.225 143 Q/F1 10/Times-Bold@0 SF(pic)2.5 E F0
(objects)2.5 E .346(The missing simple object type is a)97 170.6 R/F2 10
/Times-Italic@0 SF(spline)2.846 E F0 5.346(.T)C .346(here is also a w)
-5.346 F .346(ay to collect objects into)-.1 F F2(bloc)2.846 E 2.846(kc)
-.2 G(ompos-)-2.846 E(ites)72 182.6 Q F0 1.047(which allo)3.547 F 1.047
(ws you to treat the whole group as a single object \(resembling a box\
\) for man)-.25 F 3.548(yp)-.15 G(urposes.)-3.548 E -.8(We)72 194.6 S
-.1('l).8 G 2.5(ld).1 G(escribe both of these later on.)-2.5 E .956
(The box, ellipse, circle, and block composite objects are)97 210.2 R F2
(closed)3.456 E F0 3.456(;l).77 G .956(ines, arro)-3.456 F .956
(ws, arcs and splines are)-.25 F F2(open)72 222.2 Q F0 5(.T)C
(his distinction is often important in e)-5 E
(xplaining command modi\214ers.)-.15 E(Figure 3-2 w)97 237.8 Q
(as produced by the follo)-.1 E(wing)-.25 E F1(pic)2.5 E F0
(program, which introduces some more basic concepts:)2.5 E/F3 10
/Courier@0 SF(.PS)108 255.8 Q(box "box";)108 267.8 Q(move;)108 279.8 Q
(line "line" "";)108 291.8 Q(move;)108 303.8 Q(arrow "arrow" "";)108
315.8 Q(move;)108 327.8 Q(circle "circle";)108 339.8 Q(move;)108 351.8 Q
(ellipse "ellipse";)108 363.8 Q(move;)108 375.8 Q
(arc; down; move; "arc")108 387.8 Q(.PE)108 399.8 Q F0 .477
(The \214rst thing to notice is the)97 421.4 R F2(mo)2.977 E(ve)-.1 E F0
.477(command, which mo)2.977 F -.15(ve)-.15 G 2.977(sad).15 G(ef)-2.977
E .478(ault distance \(1/2 inch\) in the cur)-.1 F(-)-.2 E(rent mo)72
433.4 Q -.15(ve)-.15 G(ment direction.).15 E(Secondly)97 449 Q 3.335(,s)
-.65 G .835(ee ho)-3.335 F 3.335(ww)-.25 G 3.335(ec)-3.335 G .835
(an also decorate lines and arro)-3.335 F .835(ws with te)-.25 F 3.335
(xt. The)-.15 F .835(line and arro)3.335 F 3.335(wc)-.25 G(ommands)
-3.335 E .817(each tak)72 461 R 3.317(et)-.1 G 1.017 -.1(wo a)-3.317 H
-.18(rg).1 G .817(uments here, specifying te).18 F .817(xt to go abo)
-.15 F 1.117 -.15(ve a)-.15 H .817(nd belo).15 F 3.317(wt)-.25 G .817
(he object.)-3.317 F .818(If you w)5.817 F .818(onder wh)-.1 F 3.318(yo)
-.05 G(ne)-3.318 E(ar)72 473 Q(gument w)-.18 E
(ould not do, contemplate the output of)-.1 E F1(arr)2.5 E .2 -.1(ow ")
-.18 H -.1(ow).1 G(!").1 E F0(:)A 306 491 MT -7.2 1.8 RL 0 -3.6 RL CL 0
Fg 306 491 MT -7.2 1.8 RL 0 -3.6 RL CL .1 LW 0 Cg ST .4 LW 298.8 491 270
491 DL -.25(ow)280.35 493.2 S(!).25 E(Figure 3-3: T)212.46 514 Q -.15
(ex)-.7 G 2.5(tc).15 G(entered on an arro)-2.5 E(w)-.25 E .514
(When a command tak)97 541.6 R .514(es one te)-.1 F .514(xt string,)-.15
F F1(pic)3.014 E F0 .514(tries to place it at the object')3.014 F 3.014
(sg)-.55 G .514(eometric center)-3.014 F 5.513(.A)-.55 G 3.013(sy)-5.513
G(ou)-3.013 E(add more strings,)72 553.6 Q F1(pic)2.5 E F0
(treats them as a v)2.5 E(ertical block to be centered.)-.15 E
(The program)5 E F3(line "1";)108 571.6 Q(line "1" "2";)108 583.6 Q
(line "1" "2" "3";)108 595.6 Q(line "1" "2" "3" "4";)108 607.6 Q
(line "1" "2" "3" "4" "5";)108 619.6 Q F0(for e)72 641.2 Q(xample, gi)
-.15 E -.15(ve)-.25 G 2.5(sy).15 G(ou this:)-2.5 E 0 Cg EP
%%Page: 4 4
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-4-)282.17 48 Q .4 LW 234 84 198 84 DL(1)213.5
86.2 Q 270 84 234 84 DL(1)249.5 80.2 Q(2)249.5 92.2 Q 306 84 270 84 DL
(1)285.5 74.2 Q(2)285.5 86.2 Q(3)285.5 98.2 Q 342 84 306 84 DL(1)321.5
68.2 Q(2)321.5 80.2 Q(3)321.5 92.2 Q(4)321.5 104.2 Q 378 84 342 84 DL(1)
357.5 62.2 Q(2)357.5 74.2 Q(3)357.5 86.2 Q(4)357.5 98.2 Q(5)357.5 110.2
Q(Figure 3-4: Ef)196.355 131 Q(fects of multiple te)-.25 E(xt ar)-.15 E
(guments)-.18 E .128(The last line of Figure 3.2')97 158.6 R 2.628(sp)
-.55 G .128(rogram, `)-2.628 F/F1 10/Times-Bold@0 SF(ar)A .128(c; do)
-.18 F .128(wn; mo)-.1 F -.1(ve)-.1 G 2.628(;").1 G(ar)-2.628 E(c")-.18
E F0 .128(', describing the captioned arc, intro-)B .558(duces se)72
170.6 R -.15(ve)-.25 G .558(ral ne).15 F 3.058(wi)-.25 G 3.058
(deas. Firstly)-3.058 F 3.057(,w)-.65 G 3.057(es)-3.057 G .557(ee ho)
-3.057 F 3.057(wt)-.25 G 3.057(oc)-3.057 G .557
(hange the direction in which objects are joined.)-3.057 F .557(Had we)
5.557 F(written)72 182.6 Q F1(ar)3.577 E 1.077(c; mo)-.18 F -.1(ve)-.1 G
3.577(;").1 G(ar)-3.577 E(c")-.18 E F0 3.577(,o)C(mitting)-3.577 E F1
(do)3.577 E(wn)-.1 E F0 1.077(the caption w)3.577 F 1.077(ould ha)-.1 F
1.377 -.15(ve b)-.2 H 1.077(een joined to the top of the arc, lik).15 F
(e)-.1 E(this:)72 194.6 Q 279 248.6 18 90 0 DA(arc)290.895 214.8 Q
(Figure 3-5: Result of)222.23 289.6 Q F1(ar)2.5 E(c; mo)-.18 E -.1(ve)
-.1 G(;).1 E F0 .129(This is because dra)97 317.2 R .129
(wing an arc changes the def)-.15 F .128
(ault direction to the one its e)-.1 F .128(xit end points at.)-.15 F
1.728 -.8(To r)5.128 H(ein-).8 E(force this point, consider:)72 329.2 Q
279 365.2 18 -0 -90 DA(arc)290.895 403.4 Q(Figure 3-6: Result of)215.15
424.2 Q F1(ar)2.5 E 2.5(cc)-.18 G(w; mo)-2.5 E -.1(ve)-.1 G(;).1 E F0
.827(All we')97 451.8 R 1.127 -.15(ve d)-.5 H .827(one dif).15 F .827(f\
erently here is specify \231cw\232 for a clockwise arc \(\231ccw\232 sp\
eci\214es counter)-.25 F(-clock-)-.2 E(wise direction\).)72 463.8 Q
(Observ)5 E 2.5(eh)-.15 G .5 -.25(ow i)-2.5 H 2.5(tc).25 G
(hanges the def)-2.5 E(ault direction to do)-.1 E(wn, rather than up.)
-.25 E(Another good w)97 479.4 Q(ay to see this via with the follo)-.1 E
(wing program:)-.25 E/F2 10/Courier@0 SF(line; arc; arc cw; line)108
497.4 Q F0(which yields:)72 519 Q 270 573 234 573 DL 270 555 18 90 0 DA
306 555 18 -90 180 DA 342 537 306 537 DL(Figure 3-7: Result of)199.86
596 Q F1(line; ar)2.5 E(c; ar)-.18 E 2.5(cc)-.18 G(w; line)-2.5 E F0
(Notice that we did not ha)72 623.6 Q .3 -.15(ve t)-.2 H 2.5(os).15 G(p\
ecify \231up\232 for the second arc to be joined to the end of the \214\
rst.)-2.5 E(Finally)97 639.2 Q 3.206(,o)-.65 G(bserv)-3.206 E 3.206(et)
-.15 G .705(hat a string, alone, is treated as te)-3.206 F .705
(xt to be surrounded by an in)-.15 F .705(visible box of a size)-.4 F
.22(either speci\214ed by width and height attrib)72 651.2 R .221
(utes or by the def)-.2 F(aults)-.1 E F1(textwid)2.721 E F0(and)2.721 E
F1(textht)2.721 E F0 5.221(.B)C .221(oth are initially zero)-5.221 F
(\(because we don')72 663.2 Q 2.5(tk)-.18 G(no)-2.5 E 2.5(wt)-.25 G
(he def)-2.5 E(ault font size\).)-.1 E F1 2.5(4. Sizes)72 687.2 R
(and Spacing)2.5 E F0 .252(Sizes are speci\214ed in inches.)97 702.8 R
.251(If you don')5.251 F 2.751(tl)-.18 G(ik)-2.751 E 2.751(ei)-.1 G .251
(nches, it')-2.751 F 2.751(sp)-.55 G .251
(ossible to set a global style v)-2.751 F(ariable)-.25 E F1(scale)2.751
E F0 .085(that changes the unit.)72 714.8 R(Setting)5.086 E F1 .086
(scale = 2.54)2.586 F F0(ef)2.586 E(fecti)-.25 E -.15(ve)-.25 G .086
(ly changes the internal unit to centimeters \(all other size).15 F -.25
(va)72 726.8 S(riable v).25 E(alues are scaled correspondingly\).)-.25 E
0 Cg EP
%%Page: 5 5
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-5-)282.17 48 Q/F1 10/Times-Bold@0 SF 2.5
(4.1. Default)72 84 R(Sizes of Objects)2.5 E F0(Here are the def)97 99.6
Q(ault sizes for)-.1 E F1(pic)2.5 E F0(objects:)2.5 E F1 12.5
(Object Default)218.37 119.6 R(Size)2.5 E .08 LW 357.63 126.1 218.37
126.1 DL 254.75 108.1 254.75 128.1 DL F0 26.38(box 0.75")218.37 137.6 R
(wide by 0.5" high)2.5 E 19.17(circle 0.5")218.37 149.6 R(diameter)2.5 E
15.27(ellipse 0.75")218.37 161.6 R(wide by 0.5" high)2.5 E 29.17
(arc 0.5")218.37 173.6 R(radius)2.5 E 26.38(line 0.5")218.37 185.6 R
(long)2.5 E(arro)218.37 197.6 Q 20.81(w0)-.25 G(.5" long)-20.81 E 357.63
207.1 218.37 207.1 DL 254.75 128.1 254.75 207.1 DL .076(The simplest w)
97 226.2 R .076(ay to think about these def)-.1 F .076
(aults is that the)-.1 F 2.575(ym)-.15 G(ak)-2.575 E 2.575(et)-.1 G .075
(he other basic objects \214t snugly into)-2.575 F 2.5(ad)72 238.2 S(ef)
-2.5 E(ault-sized box.)-.1 E/F2 10/Times-Italic@0 SF(pic2plot)97 253.8 Q
F0 .716(\(1\) does not necessarily emit a ph).68 F .717
(ysical inch for each virtual inch in its dra)-.05 F .717
(wing coordinate)-.15 F 3.351(system. Instead,)72 265.8 R .851(it dra)
3.351 F .851(ws on a can)-.15 F -.25(va)-.4 G 3.351(s8v).25 G .851
(irtual inches by 8 virtual inches wide.)-3.351 F .851
(If its output page size is)5.851 F .151
(\231letter\232, these virtual inches will map to real ones.)72 277.8 R
.151(Specifying a dif)5.151 F .151(ferent page size \(such as, say)-.25
F 2.652<2c99>-.65 G .152(a4\232\) will)-2.652 F .194
(scale virtual inches so the)72 289.8 R 2.694(ya)-.15 G .193
(re output as one eighth of the page width.)-2.694 F(Also,)5.193 E F2
(pic2plot)2.693 E F0 .193(\(1\) centers all images).68 F(by def)72 301.8
Q(ault, though the)-.1 E F1<ad6e>2.5 E F0(option can be used to pre)2.5
E -.15(ve)-.25 G(nt this.).15 E F1 2.5(4.2. Objects)72 325.8 R
(Do Not Str)2.5 E(etch!)-.18 E F0 -1.25 -.7(Te x)97 341.4 T 2.711(ti).7
G 2.711(sr)-2.711 G .211(endered in the current font with normal trof)
-2.711 F 2.711(fl)-.25 G .211(ine spacing.)-2.711 F(Box)5.211 E .211
(es, circles, and ellipses do)-.15 F F2(not)2.712 E F0 .685
(automatically resize to \214t enclosed te)72 353.4 R 3.184(xt. Thus,)
-.15 F .684(if you say)3.184 F F1 .684(box "this text far too long f)
3.184 F .684(or a default box")-.25 F F0(you')72 365.4 Q(ll get this:)
-.1 E 315 419.4 MT 0 -36 RL -54 0 RL 0 36 RL CL .4 LW ST(this te)208.6
403.6 Q(xt is f)-.15 E(ar too long for a def)-.1 E(ault box)-.1 E
(Figure 4-1: Box)196.695 442.4 Q(es do not automatically resize)-.15 E
(which is probably not the ef)72 470 Q(fect you w)-.25 E(ant.)-.1 E F1
2.5(4.3. Resizing)72 494 R(Boxes)2.5 E F0 1.6 -.8(To c)97 509.6 T(hange\
 the box size, you can specify a box width with the \231width\232 modi\
\214er:).8 E 396 563.6 MT 0 -36 RL -216 0 RL 0 36 RL CL ST(this te)208.6
547.8 Q(xt is f)-.15 E(ar too long for a def)-.1 E(ault box)-.1 E
(Figure 4-2: Result of)219.94 586.6 Q F1(box width 3)2.5 E F0 1.175
(This modi\214er tak)97 614.2 R 1.175(es a dimension in inches.)-.1 F
1.176(There is also a \231height\232 modi\214er that changes a box')
6.176 F(s)-.55 E 2.5(height. The)72 626.2 R F1(width)2.5 E F0 -.1(ke)2.5
G(yw)-.05 E(ord may be abbre)-.1 E(viated to)-.25 E F1(wid)2.5 E F0 2.5
(;t)C(he)-2.5 E F1(height)2.5 E F0 -.1(ke)2.5 G(yw)-.05 E(ord to)-.1 E
F1(ht)2.5 E F0(.)A F1 2.5(4.4. Resizing)72 650.2 R(Other Object T)2.5 E
(ypes)-.34 E F0 2.477 -.8(To c)97 665.8 T .877
(hange the size of a circle, gi).8 F 1.177 -.15(ve i)-.25 H 3.377(ta).15
G F1(rad[ius])A F0(or)3.377 E F1(diam[eter])3.377 E F0 .876
(modi\214er; this changes the radius or)3.376 F
(diameter of the circle, according to the numeric ar)72 677.8 Q
(gument that follo)-.18 E(ws.)-.25 E 0 Cg EP
%%Page: 6 6
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-6-)282.17 48 Q 223.2 105.6 7.2 DC .4 LW ST(0.1)
216.95 129.4 Q 266.4 105.6 14.4 DC ST(0.2)260.15 107.8 Q 338.4 105.6
21.6 DC ST(0.3)332.15 107.8 Q(Figure 4-3: Circles with increasing radii)
207.87 150.2 Q(The)97 177.8 Q/F1 10/Times-Bold@0 SF(mo)3.27 E -.1(ve)-.1
G F0 .77(command can also tak)3.37 F 3.27(ead)-.1 G .771
(imension, which just tells it ho)-3.27 F 3.271(wm)-.25 G(an)-3.271 E
3.271(yi)-.15 G .771(nches to mo)-3.271 F 1.071 -.15(ve i)-.15 H 3.271
(nt).15 G(he)-3.271 E(current direction.)72 189.8 Q .849(Ellipses are s\
ized to \214t in the rectangular box de\214ned by their ax)97 205.4 R
.848(es, and can be resized with)-.15 F F1(width)3.348 E F0(and)72 217.4
Q F1(height)2.5 E F0(lik)2.5 E 2.5(eb)-.1 G(ox)-2.5 E(es.)-.15 E -1.1
(Yo)97 233 S 2.722(uc)1.1 G .222(an also change the radius of curv)
-2.722 F .222(ature of an arc with)-.25 F F1(rad[ius])2.722 E F0 .223
(\(which speci\214es the radius of the)2.722 F
(circle of which the arc is a se)72 245 Q 2.5(gment\). Lar)-.15 F(ger v)
-.18 E(alues yield \215atter arcs.)-.25 E 241.2 277.4 7.2 90 0 DA(0.1)
234.95 301.2 Q 277.2 270.2 14.4 90 0 DA(0.2)270.95 301.2 Q 313.2 263
21.6 90 0 DA(0.3)306.95 301.2 Q(Figure 4-4:)206.435 322 Q F1(ar)2.5 E
2.5(cr)-.18 G(ad)-2.5 E F0(with increasing radii)2.5 E(Observ)97 349.6 Q
2.667(et)-.15 G .166(hat because an arc is de\214ned as a quarter circl\
e, increasing the radius also increases the size)-2.667 F(of the arc')72
361.6 Q 2.5(sb)-.55 G(ounding box.)-2.5 E F1 2.5(4.5. The)72 385.6 R
(`same' K)2.5 E(eyw)-.25 E(ord)-.1 E F0 .231
(In place of a dimension speci\214cation, you can use the k)97 401.2 R
-.15(ey)-.1 G -.1(wo).15 G(rd).1 E F1(same)2.731 E F0 5.231(.T)C .231
(his gi)-5.231 F -.15(ve)-.25 G 2.731(st).15 G .232(he object the same)
-2.731 F(size as the pre)72 413.2 Q(vious one of its type.)-.25 E
(As an e)5 E(xample, the program)-.15 E/F2 10/Courier@0 SF(.PS)108 431.2
Q(box; box wid 1 ht 1; box same; box)108 443.2 Q(.PE)108 455.2 Q F0(gi)
72 476.8 Q -.15(ve)-.25 G 2.5(sy).15 G(ou)-2.5 E 216 548.8 MT 0 -36 RL
-54 0 RL 0 36 RL CL ST 288 566.8 MT 0 -72 RL -72 0 RL 0 72 RL CL ST 360
566.8 MT 0 -72 RL -72 0 RL 0 72 RL CL ST 414 548.8 MT 0 -36 RL -54 0 RL
0 36 RL CL ST(Figure 4-5: The)225.965 589.8 Q F1(same)2.5 E F0 -.1(ke)
2.5 G(yw)-.05 E(ord)-.1 E F1 2.5(5. Generalized)72 625.8 R
(Lines and Splines)2.5 E 2.5(5.1. Diagonal)72 649.8 R(Lines)2.5 E F0
.466(It is possible to specify diagonal lines or arro)97 665.4 R .466
(ws by adding multiple)-.25 F F1(up)2.966 E F0(,)A F1(do)2.966 E(wn)-.1
E F0(,)A F1(left)2.966 E F0 2.966(,a)C(nd)-2.966 E F1(right)2.965 E F0
(modi-)2.965 E .373(\214ers to the line object.)72 677.4 R(An)5.373 E
2.873(yo)-.15 G 2.874(ft)-2.873 G .374(hese can ha)-2.874 F .674 -.15
(ve a m)-.2 H(ultiplier).15 E 5.374(.T)-.55 G 2.874(ou)-6.174 G .374
(nderstand the ef)-2.874 F .374(fects, think of the dra)-.25 F(wing)-.15
E(area as being gridded with standard-sized box)72 689.4 Q(es.)-.15 E 0
Cg EP
%%Page: 7 7
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-7-)282.17 48 Q 86.4 84 MT 6.336 3.816 RL -2.52
2.52 RL CL 0 Fg 86.4 84 MT 6.336 3.816 RL -2.52 2.52 RL CL .1 LW 0 Cg ST
.4 LW 91.512 89.112 122.4 120 DL 86.4 120 86.4 120 DL 90 120 90 120 DL
93.6 120 93.6 120 DL 97.2 120 97.2 120 DL 100.8 120 100.8 120 DL 104.4
120 104.4 120 DL 108 120 108 120 DL 111.6 120 111.6 120 DL 115.2 120
115.2 120 DL 118.8 120 118.8 120 DL 122.4 120 122.4 120 DL 122.4 120
122.4 120 DL 122.4 116.4 122.4 116.4 DL 122.4 112.8 122.4 112.8 DL 122.4
109.2 122.4 109.2 DL 122.4 105.6 122.4 105.6 DL 122.4 102 122.4 102 DL
122.4 98.4 122.4 98.4 DL 122.4 94.8 122.4 94.8 DL 122.4 91.2 122.4 91.2
DL 122.4 87.6 122.4 87.6 DL 122.4 84 122.4 84 DL 122.4 84 122.4 84 DL
118.8 84 118.8 84 DL 115.2 84 115.2 84 DL 111.6 84 111.6 84 DL 108 84
108 84 DL 104.4 84 104.4 84 DL 100.8 84 100.8 84 DL 97.2 84 97.2 84 DL
93.6 84 93.6 84 DL 90 84 90 84 DL 86.4 84 86.4 84 DL 86.4 84 86.4 84 DL
86.4 87.6 86.4 87.6 DL 86.4 91.2 86.4 91.2 DL 86.4 94.8 86.4 94.8 DL
86.4 98.4 86.4 98.4 DL 86.4 102 86.4 102 DL 86.4 105.6 86.4 105.6 DL
86.4 109.2 86.4 109.2 DL 86.4 112.8 86.4 112.8 DL 86.4 116.4 86.4 116.4
DL 86.4 120 86.4 120 DL/F1 10/Times-Bold@0 SF(line up left)81.62 140.2 Q
136.8 84 MT 7.272 1.584 RL -1.584 3.24 RL CL 0 Fg 136.8 84 MT 7.272
1.584 RL -1.584 3.24 RL CL .1 LW 0 Cg ST .4 LW 143.208 87.24 208.8 120
DL 136.8 120 136.8 120 DL 140.4 120 140.4 120 DL 144 120 144 120 DL
147.6 120 147.6 120 DL 151.2 120 151.2 120 DL 154.8 120 154.8 120 DL
158.4 120 158.4 120 DL 162 120 162 120 DL 165.6 120 165.6 120 DL 169.2
120 169.2 120 DL 172.8 120 172.8 120 DL 172.8 120 172.8 120 DL 172.8
116.4 172.8 116.4 DL 172.8 112.8 172.8 112.8 DL 172.8 109.2 172.8 109.2
DL 172.8 105.6 172.8 105.6 DL 172.8 102 172.8 102 DL 172.8 98.4 172.8
98.4 DL 172.8 94.8 172.8 94.8 DL 172.8 91.2 172.8 91.2 DL 172.8 87.6
172.8 87.6 DL 172.8 84 172.8 84 DL 172.8 84 172.8 84 DL 169.2 84 169.2
84 DL 165.6 84 165.6 84 DL 162 84 162 84 DL 158.4 84 158.4 84 DL 154.8
84 154.8 84 DL 151.2 84 151.2 84 DL 147.6 84 147.6 84 DL 144 84 144 84
DL 140.4 84 140.4 84 DL 136.8 84 136.8 84 DL 136.8 84 136.8 84 DL 136.8
87.6 136.8 87.6 DL 136.8 91.2 136.8 91.2 DL 136.8 94.8 136.8 94.8 DL
136.8 98.4 136.8 98.4 DL 136.8 102 136.8 102 DL 136.8 105.6 136.8 105.6
DL 136.8 109.2 136.8 109.2 DL 136.8 112.8 136.8 112.8 DL 136.8 116.4
136.8 116.4 DL 136.8 120 136.8 120 DL 172.8 120 172.8 120 DL 176.4 120
176.4 120 DL 180 120 180 120 DL 183.6 120 183.6 120 DL 187.2 120 187.2
120 DL 190.8 120 190.8 120 DL 194.4 120 194.4 120 DL 198 120 198 120 DL
201.6 120 201.6 120 DL 205.2 120 205.2 120 DL 208.8 120 208.8 120 DL
208.8 120 208.8 120 DL 208.8 116.4 208.8 116.4 DL 208.8 112.8 208.8
112.8 DL 208.8 109.2 208.8 109.2 DL 208.8 105.6 208.8 105.6 DL 208.8 102
208.8 102 DL 208.8 98.4 208.8 98.4 DL 208.8 94.8 208.8 94.8 DL 208.8
91.2 208.8 91.2 DL 208.8 87.6 208.8 87.6 DL 208.8 84 208.8 84 DL 208.8
84 208.8 84 DL 205.2 84 205.2 84 DL 201.6 84 201.6 84 DL 198 84 198 84
DL 194.4 84 194.4 84 DL 190.8 84 190.8 84 DL 187.2 84 187.2 84 DL 183.6
84 183.6 84 DL 180 84 180 84 DL 176.4 84 176.4 84 DL 172.8 84 172.8 84
DL 172.8 84 172.8 84 DL 172.8 87.6 172.8 87.6 DL 172.8 91.2 172.8 91.2
DL 172.8 94.8 172.8 94.8 DL 172.8 98.4 172.8 98.4 DL 172.8 102 172.8 102
DL 172.8 105.6 172.8 105.6 DL 172.8 109.2 172.8 109.2 DL 172.8 112.8
172.8 112.8 DL 172.8 116.4 172.8 116.4 DL 172.8 120 172.8 120 DL(arr)
141.14 140.2 Q .2 -.1(ow u)-.18 H 2.5(pl).1 G(eft 1)-2.5 E 223.2 84 MT
7.416 .576 RL -1.152 3.384 RL CL 0 Fg 223.2 84 MT 7.416 .576 RL -1.152
3.384 RL CL .1 LW 0 Cg ST .4 LW 230.04 86.304 331.2 120 DL 223.2 120
223.2 120 DL 226.8 120 226.8 120 DL 230.4 120 230.4 120 DL 234 120 234
120 DL 237.6 120 237.6 120 DL 241.2 120 241.2 120 DL 244.8 120 244.8 120
DL 248.4 120 248.4 120 DL 252 120 252 120 DL 255.6 120 255.6 120 DL
259.2 120 259.2 120 DL 259.2 120 259.2 120 DL 259.2 116.4 259.2 116.4 DL
259.2 112.8 259.2 112.8 DL 259.2 109.2 259.2 109.2 DL 259.2 105.6 259.2
105.6 DL 259.2 102 259.2 102 DL 259.2 98.4 259.2 98.4 DL 259.2 94.8
259.2 94.8 DL 259.2 91.2 259.2 91.2 DL 259.2 87.6 259.2 87.6 DL 259.2 84
259.2 84 DL 259.2 84 259.2 84 DL 255.6 84 255.6 84 DL 252 84 252 84 DL
248.4 84 248.4 84 DL 244.8 84 244.8 84 DL 241.2 84 241.2 84 DL 237.6 84
237.6 84 DL 234 84 234 84 DL 230.4 84 230.4 84 DL 226.8 84 226.8 84 DL
223.2 84 223.2 84 DL 223.2 84 223.2 84 DL 223.2 87.6 223.2 87.6 DL 223.2
91.2 223.2 91.2 DL 223.2 94.8 223.2 94.8 DL 223.2 98.4 223.2 98.4 DL
223.2 102 223.2 102 DL 223.2 105.6 223.2 105.6 DL 223.2 109.2 223.2
109.2 DL 223.2 112.8 223.2 112.8 DL 223.2 116.4 223.2 116.4 DL 223.2 120
223.2 120 DL 259.2 120 259.2 120 DL 262.8 120 262.8 120 DL 266.4 120
266.4 120 DL 270 120 270 120 DL 273.6 120 273.6 120 DL 277.2 120 277.2
120 DL 280.8 120 280.8 120 DL 284.4 120 284.4 120 DL 288 120 288 120 DL
291.6 120 291.6 120 DL 295.2 120 295.2 120 DL 295.2 120 295.2 120 DL
295.2 116.4 295.2 116.4 DL 295.2 112.8 295.2 112.8 DL 295.2 109.2 295.2
109.2 DL 295.2 105.6 295.2 105.6 DL 295.2 102 295.2 102 DL 295.2 98.4
295.2 98.4 DL 295.2 94.8 295.2 94.8 DL 295.2 91.2 295.2 91.2 DL 295.2
87.6 295.2 87.6 DL 295.2 84 295.2 84 DL 295.2 84 295.2 84 DL 291.6 84
291.6 84 DL 288 84 288 84 DL 284.4 84 284.4 84 DL 280.8 84 280.8 84 DL
277.2 84 277.2 84 DL 273.6 84 273.6 84 DL 270 84 270 84 DL 266.4 84
266.4 84 DL 262.8 84 262.8 84 DL 259.2 84 259.2 84 DL 259.2 84 259.2 84
DL 259.2 87.6 259.2 87.6 DL 259.2 91.2 259.2 91.2 DL 259.2 94.8 259.2
94.8 DL 259.2 98.4 259.2 98.4 DL 259.2 102 259.2 102 DL 259.2 105.6
259.2 105.6 DL 259.2 109.2 259.2 109.2 DL 259.2 112.8 259.2 112.8 DL
259.2 116.4 259.2 116.4 DL 259.2 120 259.2 120 DL 295.2 120 295.2 120 DL
298.8 120 298.8 120 DL 302.4 120 302.4 120 DL 306 120 306 120 DL 309.6
120 309.6 120 DL 313.2 120 313.2 120 DL 316.8 120 316.8 120 DL 320.4 120
320.4 120 DL 324 120 324 120 DL 327.6 120 327.6 120 DL 331.2 120 331.2
120 DL 331.2 120 331.2 120 DL 331.2 116.4 331.2 116.4 DL 331.2 112.8
331.2 112.8 DL 331.2 109.2 331.2 109.2 DL 331.2 105.6 331.2 105.6 DL
331.2 102 331.2 102 DL 331.2 98.4 331.2 98.4 DL 331.2 94.8 331.2 94.8 DL
331.2 91.2 331.2 91.2 DL 331.2 87.6 331.2 87.6 DL 331.2 84 331.2 84 DL
331.2 84 331.2 84 DL 327.6 84 327.6 84 DL 324 84 324 84 DL 320.4 84
320.4 84 DL 316.8 84 316.8 84 DL 313.2 84 313.2 84 DL 309.6 84 309.6 84
DL 306 84 306 84 DL 302.4 84 302.4 84 DL 298.8 84 298.8 84 DL 295.2 84
295.2 84 DL 295.2 84 295.2 84 DL 295.2 87.6 295.2 87.6 DL 295.2 91.2
295.2 91.2 DL 295.2 94.8 295.2 94.8 DL 295.2 98.4 295.2 98.4 DL 295.2
102 295.2 102 DL 295.2 105.6 295.2 105.6 DL 295.2 109.2 295.2 109.2 DL
295.2 112.8 295.2 112.8 DL 295.2 116.4 295.2 116.4 DL 295.2 120 295.2
120 DL(arr)241.79 140.2 Q .2 -.1(ow u)-.18 H 2.5(pl).1 G(eft 1.5)-2.5 E
345.6 84 MT 7.416 0 RL -.864 3.528 RL CL 0 Fg 345.6 84 MT 7.416 0 RL
-.864 3.528 RL CL .1 LW 0 Cg ST .4 LW 352.584 85.728 489.6 120 DL 345.6
120 345.6 120 DL 349.2 120 349.2 120 DL 352.8 120 352.8 120 DL 356.4 120
356.4 120 DL 360 120 360 120 DL 363.6 120 363.6 120 DL 367.2 120 367.2
120 DL 370.8 120 370.8 120 DL 374.4 120 374.4 120 DL 378 120 378 120 DL
381.6 120 381.6 120 DL 381.6 120 381.6 120 DL 381.6 116.4 381.6 116.4 DL
381.6 112.8 381.6 112.8 DL 381.6 109.2 381.6 109.2 DL 381.6 105.6 381.6
105.6 DL 381.6 102 381.6 102 DL 381.6 98.4 381.6 98.4 DL 381.6 94.8
381.6 94.8 DL 381.6 91.2 381.6 91.2 DL 381.6 87.6 381.6 87.6 DL 381.6 84
381.6 84 DL 381.6 84 381.6 84 DL 378 84 378 84 DL 374.4 84 374.4 84 DL
370.8 84 370.8 84 DL 367.2 84 367.2 84 DL 363.6 84 363.6 84 DL 360 84
360 84 DL 356.4 84 356.4 84 DL 352.8 84 352.8 84 DL 349.2 84 349.2 84 DL
345.6 84 345.6 84 DL 345.6 84 345.6 84 DL 345.6 87.6 345.6 87.6 DL 345.6
91.2 345.6 91.2 DL 345.6 94.8 345.6 94.8 DL 345.6 98.4 345.6 98.4 DL
345.6 102 345.6 102 DL 345.6 105.6 345.6 105.6 DL 345.6 109.2 345.6
109.2 DL 345.6 112.8 345.6 112.8 DL 345.6 116.4 345.6 116.4 DL 345.6 120
345.6 120 DL 381.6 120 381.6 120 DL 385.2 120 385.2 120 DL 388.8 120
388.8 120 DL 392.4 120 392.4 120 DL 396 120 396 120 DL 399.6 120 399.6
120 DL 403.2 120 403.2 120 DL 406.8 120 406.8 120 DL 410.4 120 410.4 120
DL 414 120 414 120 DL 417.6 120 417.6 120 DL 417.6 120 417.6 120 DL
417.6 116.4 417.6 116.4 DL 417.6 112.8 417.6 112.8 DL 417.6 109.2 417.6
109.2 DL 417.6 105.6 417.6 105.6 DL 417.6 102 417.6 102 DL 417.6 98.4
417.6 98.4 DL 417.6 94.8 417.6 94.8 DL 417.6 91.2 417.6 91.2 DL 417.6
87.6 417.6 87.6 DL 417.6 84 417.6 84 DL 417.6 84 417.6 84 DL 414 84 414
84 DL 410.4 84 410.4 84 DL 406.8 84 406.8 84 DL 403.2 84 403.2 84 DL
399.6 84 399.6 84 DL 396 84 396 84 DL 392.4 84 392.4 84 DL 388.8 84
388.8 84 DL 385.2 84 385.2 84 DL 381.6 84 381.6 84 DL 381.6 84 381.6 84
DL 381.6 87.6 381.6 87.6 DL 381.6 91.2 381.6 91.2 DL 381.6 94.8 381.6
94.8 DL 381.6 98.4 381.6 98.4 DL 381.6 102 381.6 102 DL 381.6 105.6
381.6 105.6 DL 381.6 109.2 381.6 109.2 DL 381.6 112.8 381.6 112.8 DL
381.6 116.4 381.6 116.4 DL 381.6 120 381.6 120 DL 417.6 120 417.6 120 DL
421.2 120 421.2 120 DL 424.8 120 424.8 120 DL 428.4 120 428.4 120 DL 432
120 432 120 DL 435.6 120 435.6 120 DL 439.2 120 439.2 120 DL 442.8 120
442.8 120 DL 446.4 120 446.4 120 DL 450 120 450 120 DL 453.6 120 453.6
120 DL 453.6 120 453.6 120 DL 453.6 116.4 453.6 116.4 DL 453.6 112.8
453.6 112.8 DL 453.6 109.2 453.6 109.2 DL 453.6 105.6 453.6 105.6 DL
453.6 102 453.6 102 DL 453.6 98.4 453.6 98.4 DL 453.6 94.8 453.6 94.8 DL
453.6 91.2 453.6 91.2 DL 453.6 87.6 453.6 87.6 DL 453.6 84 453.6 84 DL
453.6 84 453.6 84 DL 450 84 450 84 DL 446.4 84 446.4 84 DL 442.8 84
442.8 84 DL 439.2 84 439.2 84 DL 435.6 84 435.6 84 DL 432 84 432 84 DL
428.4 84 428.4 84 DL 424.8 84 424.8 84 DL 421.2 84 421.2 84 DL 417.6 84
417.6 84 DL 417.6 84 417.6 84 DL 417.6 87.6 417.6 87.6 DL 417.6 91.2
417.6 91.2 DL 417.6 94.8 417.6 94.8 DL 417.6 98.4 417.6 98.4 DL 417.6
102 417.6 102 DL 417.6 105.6 417.6 105.6 DL 417.6 109.2 417.6 109.2 DL
417.6 112.8 417.6 112.8 DL 417.6 116.4 417.6 116.4 DL 417.6 120 417.6
120 DL 453.6 120 453.6 120 DL 457.2 120 457.2 120 DL 460.8 120 460.8 120
DL 464.4 120 464.4 120 DL 468 120 468 120 DL 471.6 120 471.6 120 DL
475.2 120 475.2 120 DL 478.8 120 478.8 120 DL 482.4 120 482.4 120 DL 486
120 486 120 DL 489.6 120 489.6 120 DL 489.6 120 489.6 120 DL 489.6 116.4
489.6 116.4 DL 489.6 112.8 489.6 112.8 DL 489.6 109.2 489.6 109.2 DL
489.6 105.6 489.6 105.6 DL 489.6 102 489.6 102 DL 489.6 98.4 489.6 98.4
DL 489.6 94.8 489.6 94.8 DL 489.6 91.2 489.6 91.2 DL 489.6 87.6 489.6
87.6 DL 489.6 84 489.6 84 DL 489.6 84 489.6 84 DL 486 84 486 84 DL 482.4
84 482.4 84 DL 478.8 84 478.8 84 DL 475.2 84 475.2 84 DL 471.6 84 471.6
84 DL 468 84 468 84 DL 464.4 84 464.4 84 DL 460.8 84 460.8 84 DL 457.2
84 457.2 84 DL 453.6 84 453.6 84 DL 453.6 84 453.6 84 DL 453.6 87.6
453.6 87.6 DL 453.6 91.2 453.6 91.2 DL 453.6 94.8 453.6 94.8 DL 453.6
98.4 453.6 98.4 DL 453.6 102 453.6 102 DL 453.6 105.6 453.6 105.6 DL
453.6 109.2 453.6 109.2 DL 453.6 112.8 453.6 112.8 DL 453.6 116.4 453.6
116.4 DL 453.6 120 453.6 120 DL(arr)385.94 140.2 Q .2 -.1(ow u)-.18 H
2.5(pl).1 G(eft 2)-2.5 E F0(Figure 5-1: Diagonal arro)138.76 161 Q
(ws \(dotted box)-.25 E(es sho)-.15 E 2.5(wt)-.25 G
(he implied 0.5-inch grid\))-2.5 E F1 2.5(5.2. Multi-Segment)72 197 R
(Line Objects)2.5 E F0 3.144<4199>97 212.6 S .644(line\232 or \231arro)
-3.144 F .644(w\232 object may actually be a path consisting of an)-.25
F 3.143(yn)-.15 G .643(umber of se)-3.143 F .643(gments of v)-.15 F
(arying)-.25 E(lengths and directions.)72 224.6 Q 1.6 -.8(To d)5 H
(escribe a path, connect se).8 E -.15(ve)-.25 G(ral line or arro).15 E
2.5(wc)-.25 G(ommands with the k)-2.5 E -.15(ey)-.1 G -.1(wo).15 G(rd).1
E F1(then)2.5 E F0(.)A 324 242.6 252 242.6 DL 252 278.6 324 242.6 DL 324
278.6 252 278.6 DL(Figure 5-2:)174.3 301.6 Q F1(line right 1 then do)2.5
E(wn .5 left 1 then right 1)-.1 E F0 1.448(If a path starts with)97
329.2 R F1(then)3.948 E F0 3.948(,t)C 1.448(he \214rst se)-3.948 F 1.449
(gment is assumed to be into the current direction, using the)-.15 F
(def)72 341.2 Q(ault length.)-.1 E F1 2.5(5.3. Spline)72 365.2 R
(Objects)2.5 E F0 .311(If you start a path with the)97 380.8 R F1
(spline)2.811 E F0 -.1(ke)2.811 G(yw)-.05 E .311(ord, the path v)-.1 F
.31(ertices are treated as control points for a spline)-.15 F(curv)72
392.8 Q 2.5<658c>-.15 G(t.)-2.5 E 190.8 410.8 MT 36 0 RL 24 0 24 6 0 18
RC -24 12 -24 18 0 18 RC 36 0 RL ST(The spline curv)189.8 463.4 Q(e...)
-.15 E 309.6 410.8 306 410.8 DL 317.232 410.8 313.632 410.8 DL 324.792
410.8 321.192 410.8 DL 332.424 410.8 328.824 410.8 DL 339.984 410.8
336.384 410.8 DL 347.616 410.8 344.016 410.8 DL 355.176 410.8 351.576
410.8 DL 362.808 410.8 359.208 410.8 DL 370.368 410.8 366.768 410.8 DL
378 410.8 374.4 410.8 DL 374.76 412.384 378 410.8 DL 368.496 415.48
371.736 413.896 DL 362.232 418.648 365.472 417.064 DL 355.968 421.744
359.208 420.16 DL 349.776 424.912 353.016 423.328 DL 343.512 428.008
346.752 426.424 DL 337.248 431.176 340.488 429.592 DL 330.984 434.272
334.224 432.688 DL 324.72 437.368 327.96 435.784 DL 318.456 440.536
321.696 438.952 DL 312.264 443.632 315.504 442.048 DL 306 446.8 309.24
445.216 DL 309.6 446.8 306 446.8 DL 317.232 446.8 313.632 446.8 DL
324.792 446.8 321.192 446.8 DL 332.424 446.8 328.824 446.8 DL 339.984
446.8 336.384 446.8 DL 347.616 446.8 344.016 446.8 DL 355.176 446.8
351.576 446.8 DL 362.808 446.8 359.208 446.8 DL 370.368 446.8 366.768
446.8 DL 378 446.8 374.4 446.8 DL 306 410.8 MT 36 0 RL 24 0 24 6 0 18 RC
-24 12 -24 18 0 18 RC 36 0 RL ST(1)296.3 413 Q(2)382.7 413 Q(3)296.3 449
Q(4)382.7 449 Q(...with tangents displayed)291.03 463.4 Q(Figure 5-3:)
169.575 484.2 Q F1(spline right 1 then do)2.5 E
(wn .5 left 1 then right 1)-.1 E F0 -1.1(Yo)97 511.8 S 2.5(uc)1.1 G
(an describe man)-2.5 E 2.5(yn)-.15 G(atural-looking b)-2.5 E(ut irre)
-.2 E(gular curv)-.15 E(es this w)-.15 E(ay)-.1 E 5(.F)-.65 G(or e)-5.15
E(xample:)-.15 E 156.384 561.336 MT -1.8 -7.2 RL 3.6 0 RL CL 0 Fg
156.384 561.336 MT -1.8 -7.2 RL 3.6 0 RL CL .1 LW 0 Cg ST 156.384
561.336 MT 18 0 RL 12 0 18 -6 18 -18 RC 0 -12 -6 -18 -18 -18 RC -12 0
-18 5.88 -18 17.64 RC 0 17.64 RL .4 LW ST F1
(spline right then up then left then do)80.457 577.864 Q(wn ->;)-.1 E
(spline left then up right then do)295.347 577.864 Q(wn right ->;)-.1 E
419.616 561.336 MT -6.336 -3.816 RL 2.52 -2.52 RL CL 0 Fg 419.616
561.336 MT -6.336 -3.816 RL 2.52 -2.52 RL CL .1 LW 0 Cg ST 383.616
561.336 MT -18 0 RL -12 0 -12 -6 0 -18 RC 12 -12 23.916 -12.084 35.748
-.252 RC 17.748 17.748 RL .4 LW ST F0(Figure 5-4: T)210.895 598.664 Q .2
-.1(wo m)-.8 H(ore spline e).1 E(xamples)-.15 E .646(Note the arro)72
626.264 R 3.146(wd)-.25 G 3.146(ecorations. Arro)-3.146 F .646
(wheads can be applied naturally to an)-.25 F 3.146(yp)-.15 G .646
(ath-based object, line or spline.)-3.146 F -.8(We)72 638.264 S -.1('l)
.8 G 2.5(ls).1 G(ee ho)-2.5 E 2.5(wi)-.25 G 2.5(nt)-2.5 G(he ne)-2.5 E
(xt section.)-.15 E F1 2.5(6. Decorating)72 662.264 R(Objects)2.5 E 2.5
(6.1. T)72 686.264 R(ext Special Effects)-.92 E F0(All)97 701.864 Q F1
(pic)2.5 E F0(implementations support the follo)2.5 E
(wing font-styling escapes within te)-.25 E(xt objects:)-.15 E
(\\fR, \\f1)72 717.464 Q(Set Roman style \(the def)97 729.464 Q(ault\))
-.1 E 0 Cg EP
%%Page: 8 8
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-8-)282.17 48 Q(\\fI, \\f2)72 84 Q
(Set Italic style)97 96 Q(\\fB, \\f3)72 111.6 Q(Set Bold style)97 123.6
Q(\\fP)72 139.2 Q(Re)97 151.2 Q -.15(ve)-.25 G(rt to pre).15 E
(vious style; only w)-.25 E(orks one le)-.1 E -.15(ve)-.25 G 2.5(ld).15
G(eep, does not stack.)-2.5 E .708(In the)97 166.8 R/F1 10/Times-Bold@0
SF(pic)3.208 E F0 .707
(implementations that are preprocessors for a toolchain that include)
3.207 F F1([gtn]r)3.207 E(off)-.18 E F0 3.207(,t)C -.15(ex)-3.207 G
3.207(to).15 G(bjects)-3.207 E .021(may also contain)72 178.8 R F1
([gtn]r)2.521 E(off)-.18 E F0 -.15(ve)2.521 G .021
(rtical- and horizontal-motion escapes such as \\h or \\v).15 F 5.022
(.T)-.65 G(rof)-5.372 E 2.522(fs)-.25 G .022(pecial glyphs are)-2.522 F
1.728(also a)72 190.8 R -.25(va)-.2 G 4.228(ilable. All).25 F 1.728
(\\-escapes will be passed through to the postprocessing stage and ha)
4.228 F 2.028 -.15(ve t)-.2 H 1.728(heir normal).15 F(ef)72 202.8 Q 2.5
(fects. The)-.25 F(base font f)2.5 E(amily is set by the)-.1 E F1
([gtn]r)2.5 E(off)-.18 E F0(en)2.5 E
(vironment at the time the picture is rendered.)-.4 E F1(pic2plot)97
218.4 Q F0(replaces)3.189 E F1([gtn]r)3.189 E(off)-.18 E F0 .689
(horizontal- and v)3.189 F .689
(ertical-motion escapes with \\-escapes of its o)-.15 F 3.19(wn. T)-.25
F(rof)-.35 E(f)-.25 E .502(special glyphs are not a)72 230.4 R -.25(va)
-.2 G .502(ilable, b).25 F .502(ut in most back ends Latin-1 special ch\
aracters and a square-root radical)-.2 F(will be.)72 242.4 Q(See the)5 E
F1(pic2plot)2.5 E F0(documentation for full details.)2.5 E F1 2.5
(6.2. Dashed)72 266.4 R(Objects)2.5 E F0 -.8(We)97 282 S -1.65 -.5('v e)
.8 H 1.399(already seen that the modi\214er)4.399 F F1(dashed)3.899 E F0
1.4(can change the line style of an object from solid to)3.899 F 3.332
(dashed. GNU)72 294 R F1(gpic)3.332 E F0 .831(permits you to dot or das\
h ellipses, circles, and arcs \(and splines in T)3.332 F(E)-1.667 2.24 M
3.331(Xm)-1.25 -2.24 O .831(ode only\);)-3.331 F .312(some v)72 306 R
.312(ersions of D)-.15 F .312
(WB may only permit dashing of lines and box)-.3 F 2.812(es. It')-.15 F
2.812(sp)-.55 G .313(ossible to change the dash inter)-2.812 F(-)-.2 E
-.25(va)72 318 S 2.5(lb).25 G 2.5(ys)-2.5 G
(pecifying a number after the modi\214er)-2.5 E(.)-.55 E .4 LW 84.6
375.6 81 375.6 DL 91.8 375.6 88.2 375.6 DL 99 375.6 95.4 375.6 DL 106.2
375.6 102.6 375.6 DL 113.4 375.6 109.8 375.6 DL 120.6 375.6 117 375.6 DL
127.8 375.6 124.2 375.6 DL 135 375.6 131.4 375.6 DL 135 372 135 375.6 DL
135 365.52 135 369.12 DL 135 359.04 135 362.64 DL 135 352.56 135 356.16
DL 135 346.08 135 349.68 DL 135 339.6 135 343.2 DL 131.4 339.6 135 339.6
DL 124.2 339.6 127.8 339.6 DL 117 339.6 120.6 339.6 DL 109.8 339.6 113.4
339.6 DL 102.6 339.6 106.2 339.6 DL 95.4 339.6 99 339.6 DL 88.2 339.6
91.8 339.6 DL 81 339.6 84.6 339.6 DL 81 343.2 81 339.6 DL 81 349.68 81
346.08 DL 81 356.16 81 352.56 DL 81 362.64 81 359.04 DL 81 369.12 81
365.52 DL 81 375.6 81 372 DL(def)94.165 359.8 Q(ault)-.1 E 174.6 375.6
171 375.6 DL 181.8 375.6 178.2 375.6 DL 189 375.6 185.4 375.6 DL 196.2
375.6 192.6 375.6 DL 203.4 375.6 199.8 375.6 DL 210.6 375.6 207 375.6 DL
217.8 375.6 214.2 375.6 DL 225 375.6 221.4 375.6 DL 225 372 225 375.6 DL
225 365.52 225 369.12 DL 225 359.04 225 362.64 DL 225 352.56 225 356.16
DL 225 346.08 225 349.68 DL 225 339.6 225 343.2 DL 221.4 339.6 225 339.6
DL 214.2 339.6 217.8 339.6 DL 207 339.6 210.6 339.6 DL 199.8 339.6 203.4
339.6 DL 192.6 339.6 196.2 339.6 DL 185.4 339.6 189 339.6 DL 178.2 339.6
181.8 339.6 DL 171 339.6 174.6 339.6 DL 171 343.2 171 339.6 DL 171
349.68 171 346.08 DL 171 356.16 171 352.56 DL 171 362.64 171 359.04 DL
171 369.12 171 365.52 DL 171 375.6 171 372 DL(0.05)189.25 359.8 Q 268.2
375.6 261 375.6 DL 283.824 375.6 276.624 375.6 DL 299.376 375.6 292.176
375.6 DL 315 375.6 307.8 375.6 DL 315 368.4 315 375.6 DL 315 354 315
361.2 DL 315 339.6 315 346.8 DL 307.8 339.6 315 339.6 DL 292.176 339.6
299.376 339.6 DL 276.624 339.6 283.824 339.6 DL 261 339.6 268.2 339.6 DL
261 346.8 261 339.6 DL 261 361.2 261 354 DL 261 375.6 261 368.4 DL(0.1)
281.75 359.8 Q 361.8 375.6 351 375.6 DL 383.4 375.6 372.6 375.6 DL 405
375.6 394.2 375.6 DL 405 364.8 405 375.6 DL 405 339.6 405 350.4 DL 394.2
339.6 405 339.6 DL 372.6 339.6 383.4 339.6 DL 351 339.6 361.8 339.6 DL
351 350.4 351 339.6 DL 351 375.6 351 364.8 DL(0.15)369.25 359.8 Q 455.4
375.6 441 375.6 DL 495 375.6 480.6 375.6 DL 495 361.2 495 375.6 DL 495
339.6 495 354 DL 480.6 339.6 495 339.6 DL 441 339.6 455.4 339.6 DL 441
354 441 339.6 DL 441 375.6 441 361.2 DL(0.2)461.75 359.8 Q
(Figure 6-1: Dashed objects)233.98 398.6 Q F1 2.5(6.3. Dotted)72 434.6 R
(Objects)2.5 E F0 .192(Another a)97 450.2 R -.25(va)-.2 G .192
(ilable quali\214er is).25 F F1(dotted)2.692 E F0 5.191(.G)C(NU)-5.191 E
F1(gpic)2.691 E F0 .191
(permits you to dot or dash ellipses, circles, and arcs)2.691 F .102
(\(and splines in T)72 462.2 R(E)-1.667 2.24 M 2.602(Xm)-1.25 -2.24 O
.102(ode only\); some v)-2.602 F .102(ersions of D)-.15 F .102
(WB may only permit dashing of lines and box)-.3 F 2.602(es. It)-.15 F
(too)2.602 E(can be suf)72 474.2 Q<8c78>-.25 E
(ed with a number to specify the interv)-.15 E(al between dots:)-.25 E
81 528.2 81 528.2 DL 84.6 528.2 84.6 528.2 DL 88.2 528.2 88.2 528.2 DL
91.8 528.2 91.8 528.2 DL 95.4 528.2 95.4 528.2 DL 99 528.2 99 528.2 DL
102.6 528.2 102.6 528.2 DL 106.2 528.2 106.2 528.2 DL 109.8 528.2 109.8
528.2 DL 113.4 528.2 113.4 528.2 DL 117 528.2 117 528.2 DL 120.6 528.2
120.6 528.2 DL 124.2 528.2 124.2 528.2 DL 127.8 528.2 127.8 528.2 DL
131.4 528.2 131.4 528.2 DL 135 528.2 135 528.2 DL 135 528.2 135 528.2 DL
135 524.6 135 524.6 DL 135 521 135 521 DL 135 517.4 135 517.4 DL 135
513.8 135 513.8 DL 135 510.2 135 510.2 DL 135 506.6 135 506.6 DL 135 503
135 503 DL 135 499.4 135 499.4 DL 135 495.8 135 495.8 DL 135 492.2 135
492.2 DL 135 492.2 135 492.2 DL 131.4 492.2 131.4 492.2 DL 127.8 492.2
127.8 492.2 DL 124.2 492.2 124.2 492.2 DL 120.6 492.2 120.6 492.2 DL 117
492.2 117 492.2 DL 113.4 492.2 113.4 492.2 DL 109.8 492.2 109.8 492.2 DL
106.2 492.2 106.2 492.2 DL 102.6 492.2 102.6 492.2 DL 99 492.2 99 492.2
DL 95.4 492.2 95.4 492.2 DL 91.8 492.2 91.8 492.2 DL 88.2 492.2 88.2
492.2 DL 84.6 492.2 84.6 492.2 DL 81 492.2 81 492.2 DL 81 492.2 81 492.2
DL 81 495.8 81 495.8 DL 81 499.4 81 499.4 DL 81 503 81 503 DL 81 506.6
81 506.6 DL 81 510.2 81 510.2 DL 81 513.8 81 513.8 DL 81 517.4 81 517.4
DL 81 521 81 521 DL 81 524.6 81 524.6 DL 81 528.2 81 528.2 DL(def)94.165
512.4 Q(ault)-.1 E 171 528.2 171 528.2 DL 174.6 528.2 174.6 528.2 DL
178.2 528.2 178.2 528.2 DL 181.8 528.2 181.8 528.2 DL 185.4 528.2 185.4
528.2 DL 189 528.2 189 528.2 DL 192.6 528.2 192.6 528.2 DL 196.2 528.2
196.2 528.2 DL 199.8 528.2 199.8 528.2 DL 203.4 528.2 203.4 528.2 DL 207
528.2 207 528.2 DL 210.6 528.2 210.6 528.2 DL 214.2 528.2 214.2 528.2 DL
217.8 528.2 217.8 528.2 DL 221.4 528.2 221.4 528.2 DL 225 528.2 225
528.2 DL 225 528.2 225 528.2 DL 225 524.6 225 524.6 DL 225 521 225 521
DL 225 517.4 225 517.4 DL 225 513.8 225 513.8 DL 225 510.2 225 510.2 DL
225 506.6 225 506.6 DL 225 503 225 503 DL 225 499.4 225 499.4 DL 225
495.8 225 495.8 DL 225 492.2 225 492.2 DL 225 492.2 225 492.2 DL 221.4
492.2 221.4 492.2 DL 217.8 492.2 217.8 492.2 DL 214.2 492.2 214.2 492.2
DL 210.6 492.2 210.6 492.2 DL 207 492.2 207 492.2 DL 203.4 492.2 203.4
492.2 DL 199.8 492.2 199.8 492.2 DL 196.2 492.2 196.2 492.2 DL 192.6
492.2 192.6 492.2 DL 189 492.2 189 492.2 DL 185.4 492.2 185.4 492.2 DL
181.8 492.2 181.8 492.2 DL 178.2 492.2 178.2 492.2 DL 174.6 492.2 174.6
492.2 DL 171 492.2 171 492.2 DL 171 492.2 171 492.2 DL 171 495.8 171
495.8 DL 171 499.4 171 499.4 DL 171 503 171 503 DL 171 506.6 171 506.6
DL 171 510.2 171 510.2 DL 171 513.8 171 513.8 DL 171 517.4 171 517.4 DL
171 521 171 521 DL 171 524.6 171 524.6 DL 171 528.2 171 528.2 DL(0.05)
189.25 512.4 Q 261 528.2 261 528.2 DL 267.768 528.2 267.768 528.2 DL
274.536 528.2 274.536 528.2 DL 281.232 528.2 281.232 528.2 DL 288 528.2
288 528.2 DL 294.768 528.2 294.768 528.2 DL 301.464 528.2 301.464 528.2
DL 308.232 528.2 308.232 528.2 DL 315 528.2 315 528.2 DL 315 528.2 315
528.2 DL 315 521 315 521 DL 315 513.8 315 513.8 DL 315 506.6 315 506.6
DL 315 499.4 315 499.4 DL 315 492.2 315 492.2 DL 315 492.2 315 492.2 DL
308.232 492.2 308.232 492.2 DL 301.464 492.2 301.464 492.2 DL 294.768
492.2 294.768 492.2 DL 288 492.2 288 492.2 DL 281.232 492.2 281.232
492.2 DL 274.536 492.2 274.536 492.2 DL 267.768 492.2 267.768 492.2 DL
261 492.2 261 492.2 DL 261 492.2 261 492.2 DL 261 499.4 261 499.4 DL 261
506.6 261 506.6 DL 261 513.8 261 513.8 DL 261 521 261 521 DL 261 528.2
261 528.2 DL(0.1)281.75 512.4 Q 351 528.2 351 528.2 DL 361.8 528.2 361.8
528.2 DL 372.6 528.2 372.6 528.2 DL 383.4 528.2 383.4 528.2 DL 394.2
528.2 394.2 528.2 DL 405 528.2 405 528.2 DL 405 528.2 405 528.2 DL 405
516.176 405 516.176 DL 405 504.224 405 504.224 DL 405 492.2 405 492.2 DL
405 492.2 405 492.2 DL 394.2 492.2 394.2 492.2 DL 383.4 492.2 383.4
492.2 DL 372.6 492.2 372.6 492.2 DL 361.8 492.2 361.8 492.2 DL 351 492.2
351 492.2 DL 351 492.2 351 492.2 DL 351 504.224 351 504.224 DL 351
516.176 351 516.176 DL 351 528.2 351 528.2 DL(0.15)369.25 512.4 Q 441
528.2 441 528.2 DL 454.536 528.2 454.536 528.2 DL 468 528.2 468 528.2 DL
481.464 528.2 481.464 528.2 DL 495 528.2 495 528.2 DL 495 528.2 495
528.2 DL 495 516.176 495 516.176 DL 495 504.224 495 504.224 DL 495 492.2
495 492.2 DL 495 492.2 495 492.2 DL 481.464 492.2 481.464 492.2 DL 468
492.2 468 492.2 DL 454.536 492.2 454.536 492.2 DL 441 492.2 441 492.2 DL
441 492.2 441 492.2 DL 441 504.224 441 504.224 DL 441 516.176 441
516.176 DL 441 528.2 441 528.2 DL(0.2)461.75 512.4 Q
(Figure 6-2: Dotted objects)235.365 551.2 Q F1 2.5(6.4. Rounding)72
587.2 R(Box Cor)2.5 E(ners)-.15 E F0(It is also possible, in GNU)97
602.8 Q F1(gpic)2.5 E F0(only)2.5 E 2.5(,t)-.65 G 2.5(om)-2.5 G
(odify a box so it has rounded corners:)-2.5 E 84.6 653.2 3.6 -180 90 DA
84.6 624.4 3.6 -90 180 DA 131.4 624.4 3.6 -0 -90 DA 131.4 653.2 3.6 90 0
DA 81 624.4 81 653.2 DL 131.4 620.8 84.6 620.8 DL 135 653.2 135 624.4 DL
84.6 656.8 131.4 656.8 DL(rad 0.05)91.615 641 Q 178.2 649.6 7.2 -180 90
DA 178.2 628 7.2 -90 180 DA 217.8 628 7.2 -0 -90 DA 217.8 649.6 7.2 90 0
DA 171 628 171 649.6 DL 217.8 620.8 178.2 620.8 DL 225 649.6 225 628 DL
178.2 656.8 217.8 656.8 DL(rad 0.1)184.115 641 Q 271.8 646 10.8 -180 90
DA 271.8 631.6 10.8 -90 180 DA 304.2 631.6 10.8 -0 -90 DA 304.2 646 10.8
90 0 DA 261 631.6 261 646 DL 304.2 620.8 271.8 620.8 DL 315 646 315
631.6 DL 271.8 656.8 304.2 656.8 DL(rad 0.15)271.615 641 Q 365.4 642.4
14.4 -180 90 DA 365.4 635.2 14.4 -90 180 DA 390.6 635.2 14.4 -0 -90 DA
390.6 642.4 14.4 90 0 DA 351 635.2 351 642.4 DL 390.6 620.8 365.4 620.8
DL 405 642.4 405 635.2 DL 365.4 656.8 390.6 656.8 DL(rad 0.2)364.115 641
Q 459 638.8 18 -180 90 DA 459 638.8 18 -90 180 DA 477 638.8 18 -0 -90 DA
477 638.8 18 90 0 DA 441 638.8 441 638.8 DL 477 620.8 459 620.8 DL 495
638.8 495 638.8 DL 459 656.8 477 656.8 DL(rad 0.25)451.615 641 Q
(Figure 6-3:)188.55 679.8 Q F1(box rad)2.5 E F0
(with increasing radius v)2.5 E(alues)-.25 E(Radius v)97 707.4 Q(alues \
higher than half the minimum box dimension are silently truncated to th\
at v)-.25 E(alue.)-.25 E 0 Cg EP
%%Page: 9 9
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-9-)282.17 48 Q/F1 10/Times-Bold@0 SF 2.5
(6.5. Slanted)72 84 R(Boxes)2.5 E F0(GNU)97 99.6 Q F1(gpic)2.5 E F0
(supports slanted box)2.5 E(es:)-.15 E 208.8 153.6 MT 7.2 -36 RL -86.4 0
RL -7.2 36 RL CL .4 LW ST(xslanted 0.1)141.435 137.8 Q 331.2 160.8 MT 0
-36 RL -86.4 -7.2 RL 0 36 RL CL ST(yslanted -0.1)262.17 137.8 Q 453.6
146.4 MT -14.4 -36 RL -86.4 7.2 RL 14.4 36 RL CL ST(xslanted -0.2)384.57
131.8 Q(yslanted 0.1)386.235 143.8 Q(Figure 6-4: V)219.61 176.6 Q
(arious slanted box)-1.11 E(es.)-.15 E(The)97 204.2 Q F1(xslanted)2.792
E F0(and)2.792 E F1(yslanted)2.792 E F0(attrib)2.792 E .291
(utes specify the x and y of)-.2 F .291(fset, respecti)-.25 F -.15(ve)
-.25 G(ly).15 E 2.791(,o)-.65 G 2.791(ft)-2.791 G .291(he box')-2.791 F
2.791(su)-.55 G .291(pper right)-2.791 F(corner from its def)72 216.2 Q
(ault position.)-.1 E F1 2.5(6.6. Arr)72 240.2 R -.1(ow)-.18 G(heads).1
E F0 .756(Lines and arcs can be decorated as well.)97 255.8 R(An)5.756 E
3.256(yl)-.15 G .756(ine or arc \(and an)-3.256 F 3.257(ys)-.15 G .757
(pline as well\) can be decorated)-3.257 F(with arro)72 267.8 Q
(wheads by adding one or more as modi\214ers:)-.25 E 270 285.8 MT 7.2
-1.8 RL 0 3.6 RL CL 0 Fg 270 285.8 MT 7.2 -1.8 RL 0 3.6 RL CL .1 LW 0 Cg
ST 306 285.8 MT -7.2 1.8 RL 0 -3.6 RL CL 0 Fg 306 285.8 MT -7.2 1.8 RL 0
-3.6 RL CL 0 Cg ST .4 LW 298.8 285.8 277.2 285.8 DL
(Figure 6-5: Double-headed line made with)181.065 308.8 Q F1(line <- ->)
5 E F0 .632(In f)97 336.4 R .632(act, the)-.1 F F1(arr)3.132 E -.1(ow)
-.18 G F0 .632(command is just shorthand for)3.232 F F1 .632(line ->)
3.132 F F0 5.632(.A)C .631(nd there is a double-head modi\214er <->,)
-5.632 F(so the \214gure abo)72 348.4 Q .3 -.15(ve c)-.15 H(ould ha).15
E .3 -.15(ve b)-.2 H(een made with).15 E F1(line <->)2.5 E F0(.)A(Arro)
97 364 Q .505(wheads ha)-.25 F .805 -.15(ve a)-.2 H F1(width)3.155 E F0
(attrib)3.005 E .505(ute, the distance across the rear; and a)-.2 F F1
(height)3.005 E F0(attrib)3.005 E .505(ute, the length of)-.2 F
(the arro)72 376 Q(whead along the shaft.)-.25 E(Arro)97 391.6 Q .528
(whead style is controlled by the style v)-.25 F(ariable)-.25 E F1(arr)
3.028 E -.1(ow)-.18 G(head).1 E F0 5.528(.T)C .528(he D)-5.528 F .528
(WB and GNU v)-.3 F .527(ersions inter)-.15 F(-)-.2 E .797(pret it dif)
72 403.6 R(ferently)-.25 E 5.797(.D)-.65 G .797(WB def)-6.097 F .797
(aults to open arro)-.1 F .797(wheads and an)-.25 F F1(arr)3.298 E -.1
(ow)-.18 G(head).1 E F0 -.25(va)3.298 G .798(lue of 2; the K).25 F .798
(ernighan paper)-.25 F .096(says a v)72 415.6 R .096(alue of 7 mak)-.25
F .095(es solid arro)-.1 F 2.595(wheads. GNU)-.25 F F1(gpic)2.595 E F0
(def)2.595 E .095(aults to solid arro)-.1 F .095(wheads and an)-.25 F F1
(arr)2.595 E -.1(ow)-.18 G(head).1 E F0 -.25(va)2.595 G(lue).25 E .385
(of 1; a v)72 427.6 R .385(alue of 0 produces open arro)-.25 F 2.886
(wheads. Note)-.25 F .386(that solid arro)2.886 F .386(wheads are al)
-.25 F -.1(wa)-.1 G .386(ys \214lled with the current).1 F
(outline color)72 439.6 Q(.)-.55 E F1 2.5(6.7. Line)72 463.6 R
(Thickness)2.5 E F0(It')97 479.2 Q 2.572(sa)-.55 G .071(lso possible to\
 change the line thickness of an object \(this is a GNU e)-2.572 F .071
(xtension, D)-.15 F(WB)-.3 E F1(pic)2.571 E F0(doesn')2.571 E(t)-.18 E
.607(support it\).)72 491.2 R .607(The def)5.607 F .607
(ault thickness of the lines used to dra)-.1 F 3.107(wo)-.15 G .607
(bjects is controlled by the)-3.107 F F1(linethick)3.107 E F0 -.25(va)
3.108 G(riable.).25 E .227(This gi)72 503.2 R -.15(ve)-.25 G 2.727(st)
.15 G .227(he thickness of lines in points.)-2.727 F 2.727(An)5.227 G
-2.25 -.15(eg a)-2.727 H(ti).15 E .526 -.15(ve v)-.25 H .226
(alue means use the def)-.1 F .226(ault thickness: in T)-.1 F(E)-1.667
2.24 M 2.726(Xo)-1.25 -2.24 O(utput)-2.726 E .683
(mode, this means use a thickness of 8 milliinches; in T)72 515.2 R(E)
-1.667 2.24 M 3.184(Xo)-1.25 -2.24 O .684(utput mode with the)-3.184 F
F1(-c)3.184 E F0 .684(option, this means use)3.184 F .188
(the line thickness speci\214ed by)72 527.2 R F1(.ps)2.688 E F0 .188
(lines; in trof)2.688 F 2.688(fo)-.25 G .188
(utput mode, this means use a thickness proportional to the)-2.688 F
3.293(pointsize. A)72 539.2 R .793(zero v)3.293 F .793(alue means dra)
-.25 F 3.293(wt)-.15 G .793
(he thinnest possible line supported by the output de)-3.293 F 3.294
(vice. Initially)-.25 F(it)3.294 E .036(has a v)72 551.2 R .036
(alue of -1.)-.25 F .036(There is also a)5.036 F F1(thickness)2.536 E F0
(attrib)2.536 E .036(ute \(which can be abbre)-.2 F .036(viated to)-.25
F F1(thick)2.535 E F0 2.535(\). F)B .035(or e)-.15 F(xample,)-.15 E F1
(cir)2.535 E(-)-.37 E .475(cle thickness 1.5)72 563.2 R F0 -.1(wo)2.975
G .475(uld dra).1 F 2.975(wac)-.15 G .476
(ircle using a line with a thickness of 1.5 points.)-2.975 F .476
(The thickness of lines is)5.476 F(not af)72 575.2 Q(fected by the v)
-.25 E(alue of the)-.25 E F1(scale)2.5 E F0 -.25(va)2.5 G
(riable, nor by an).25 E 2.5(yw)-.15 G(idth or height gi)-2.5 E -.15(ve)
-.25 G 2.5(ni).15 G 2.5(nt)-2.5 G(he)-2.5 E F1(.PS)2.5 E F0(line.)2.5 E
F1 2.5(6.8. In)72 599.2 R(visible Objects)-.4 E F0 .001(The modi\214er)
97 614.8 R F1(in)2.501 E(vis[ible])-.4 E F0(mak)2.501 E .001
(es an object entirely in)-.1 F 2.501(visible. This)-.4 F 0
(used to be useful for positioning te)2.501 F(xt)-.15 E .267(in an in)72
626.8 R .267
(visible object that is properly joined to neighboring ones.)-.4 F(Ne)
5.267 E .267(wer D)-.25 F .267(WB v)-.3 F .267(ersions and GNU)-.15 F F1
(pic)2.767 E F0(treat)2.768 E(stand-alone te)72 638.8 Q(xt in e)-.15 E
(xactly this w)-.15 E(ay)-.1 E(.)-.65 E F1 2.5(6.9. Filled)72 662.8 R
(Objects)2.5 E F0 .17(It is possible to \214ll box)97 678.4 R .17
(es, circles, and ellipses.)-.15 F .17(The modi\214er)5.17 F F1
(\214ll[ed])2.67 E F0 .17(accomplishes this.)2.67 F -1.1(Yo)5.17 G 2.67
(uc)1.1 G .17(an suf-)-2.67 F(\214x it with a \214ll v)72 690.4 Q
(alue; the def)-.25 E(ault is gi)-.1 E -.15(ve)-.25 G 2.5(nb).15 G 2.5
(yt)-2.5 G(he style v)-2.5 E(ariable)-.25 E F1(\214llv)2.5 E(al)-.1 E F0
(.)A -.3(DW)97 706 S(B).3 E F1(pic)4.191 E F0(and)4.191 E F1(gpic)4.191
E F0(ha)4.191 E 1.991 -.15(ve o)-.2 H 1.691(pposite con).15 F -.15(ve)
-.4 G 1.691(ntions for \214ll v).15 F 1.692(alues and dif)-.25 F 1.692
(ferent def)-.25 F 4.192(aults. D)-.1 F(WB)-.3 E F1(\214llv)4.192 E(al)
-.1 E F0(def)72 718 Q(aults to 0.3 and smaller v)-.1 E(alues are dark)
-.25 E(er; GNU)-.1 E F1(\214llv)2.5 E(al)-.1 E F0
(uses 0 for white and 1 for black.)2.5 E 0 Cg EP
%%Page: 10 10
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-10-)279.67 48 Q 216 102 18 DC 0.5 Fg 216 102 18
DC .4 LW 0 Cg ST 288 102 18 DC 0.6 Fg 288 102 18 DC 0 Cg ST 360 102 18
DC 0.1 Fg 360 102 18 DC 0 Cg ST(Figure 6-6:)158.355 143 Q/F1 10
/Times-Bold@0 SF(cir)2.5 E(cle \214ll; mo)-.18 E -.1(ve)-.1 G 2.5(;c).1
G(ir)-2.5 E(cle \214ll 0.4; mo)-.18 E -.1(ve)-.1 G 2.5(;c).1 G(ir)-2.5 E
(cle \214ll 0.9;)-.18 E F0(GNU)97 170.6 Q F1(gpic)2.528 E F0(mak)2.528 E
.028(es some additional guarantees.)-.1 F 2.528<418c>5.028 G .028(ll v)
-2.528 F .027(alue greater than 1 can also be used: this means)-.25 F
.355(\214ll with the shade of gray that is currently being used for te)
72 182.6 R .355(xt and lines.)-.15 F .355(Normally this is black, b)
5.355 F .355(ut output)-.2 F(de)72 194.6 Q 1.005(vices may pro)-.25 F
1.005(vide a mechanism for changing this.)-.15 F 1.005(The in)6.005 F
1.005(visible attrib)-.4 F 1.005(ute does not af)-.2 F 1.005
(fect the \214lling of)-.25 F 3(objects. An)72 206.6 R 3(yt)-.15 G -.15
(ex)-3 G 3(ta).15 G .5(ssociated with a \214lled object is added after \
the object has been \214lled, so that the te)-3 F .5(xt is)-.15 F
(not obscured by the \214lling.)72 218.6 Q 1.135
(The closed-object modi\214er)97 234.2 R F1(solid)3.635 E F0 1.135
(is equi)3.635 F -.25(va)-.25 G 1.135(lent to).25 F F1(\214ll)3.635 E F0
1.135(with the dark)3.635 F 1.135(est \214ll v)-.1 F 1.135(alue \(D)-.25
F(WB)-.3 E F1(pic)3.635 E F0 1.135(had this)3.635 F(capability b)72
246.2 Q(ut mentioned it only in a reference section\).)-.2 E F1 2.5
(6.10. Color)72 270.2 R(ed Objects)-.18 E F0 .289(As a GNU e)97 285.8 R
.289(xtension, three additional modi\214ers are a)-.15 F -.25(va)-.2 G
.289(ilable to specify colored objects.).25 F F1(outline)5.29 E F0(sets)
2.79 E .154(the color of the outline,)72 297.8 R F1(shaded)2.654 E F0
.154(the \214ll color)2.654 F 2.654(,a)-.4 G(nd)-2.654 E F1(color)2.654
E F0 .154(sets both.)2.654 F .153(All three k)5.154 F -.15(ey)-.1 G -.1
(wo).15 G .153(rds e).1 F .153(xpect a suf)-.15 F .153(\214x speci-)-.25
F(fying the color)72 309.8 Q 5(.E)-.55 G(xample:)-5 E 279 363.8 MT 0 -36
RL -54 0 RL 0 36 RL CL 1 1 0 Fr 279 363.8 MT 0 -36 RL -54 0 RL 0 36 RL
CL ST 315 345.8 MT -7.2 1.8 RL 0 -3.6 RL CL 0 1 1 Fr 315 345.8 MT -7.2
1.8 RL 0 -3.6 RL CL .1 LW ST .4 LW 307.8 345.8 279 345.8 DL 333 345.8 18
DC 0 1 0 Fr 333 345.8 18 DC 0 0 0 Cr ST 0 Cg(Figure 6-7:)94.015 386.8 Q
F1(box color "y)2.5 E(ello)-.1 E(w"; arr)-.1 E .2 -.1(ow c)-.18 H
(olor "cyan"; cir).1 E(cle shaded "gr)-.18 E(een" outline "black";)-.18
E F0(Alternati)97 414.4 Q .3 -.15(ve s)-.25 H(pellings are).15 E F1
(colour)2.5 E F0(,)A F1(color)2.5 E(ed)-.18 E F0(,)A F1(colour)2.5 E(ed)
-.18 E F0 2.5(,a)C(nd)-2.5 E F1(outlined)2.5 E F0(.)A .032
(Prede\214ned color names for)97 430 R/F2 10/Times-Italic@0 SF([gtn]r)
2.532 E(of)-.45 E(f)-.18 E F0(-based)1.96 E F1(pic)2.532 E F0 .032
(implementations are de\214ned in the de)2.532 F .033
(vice macro \214les,)-.25 F .206(for e)72 442 R(xample)-.15 E/F3 10
/Courier@0 SF(ps.tmac)2.706 E F0 2.706(;a)C .206
(dditional colors can be de\214ned with the)-2.706 F F1(.defcolor)2.706
E F0 .205(request \(see the manual page of)2.705 F(GNU)72 454 Q F2(tr)
2.5 E(of)-.45 E(f)-.18 E F0(\(1\) for more details\).)1.96 E(Currently)5
E 2.5(,c)-.65 G(olor support is not a)-2.5 E -.25(va)-.2 G
(ilable at all in T).25 E(E)-1.667 2.24 M 2.5(Xm)-1.25 -2.24 O(ode.)-2.5
E(The)97 469.6 Q F2(pic2plot)3.279 E F0 .779(\(1\) carries with its o)
.68 F .78
(wn set of color names, essentially those recognized by the X win-)-.25
F(do)72 481.6 Q 2.5(ws)-.25 G(ystem with \231gre)-2.5 E
(y\232 accepted as a v)-.15 E(ariant of \231gray\232.)-.25 E F1(pic)97
497.2 Q F0(assumes that at the be)2.5 E
(ginning of a picture both glyph and \214ll color are set to the def)
-.15 E(ault v)-.1 E(alue.)-.25 E F1 2.5(7. Mor)72 521.2 R 2.5(eA)-.18 G
(bout T)-2.5 E(ext Placement)-.92 E F0 .758(By def)97 536.8 R .757
(ault, te)-.1 F .757(xt is centered at the geometric center of the obje\
ct it is associated with.)-.15 F .757(The modi\214er)5.757 F F1(ljust)72
548.8 Q F0 .302(causes the left end to be at the speci\214ed point \(wh\
ich means that the te)2.802 F .303(xt lies to the right of the speci-)
-.15 F .734(\214ed place!\), the modi\214er)72 560.8 R F1(rjust)3.234 E
F0 .733(puts the right end at the place.)3.234 F .733(The modi\214ers)
5.733 F F1(abo)3.233 E -.1(ve)-.1 G F0(and)3.333 E F1(belo)3.233 E(w)-.1
E F0 .733(center the)3.233 F(te)72 572.8 Q
(xt one half line space in the gi)-.15 E -.15(ve)-.25 G 2.5(nd).15 G
(irection.)-2.5 E -1.25 -.7(Te x)97 588.4 T 2.5(ta).7 G(ttrib)-2.5 E
(utes can be combined:)-.2 E 126 606.4 126 642.4 DL(ljust te)126 626.6 Q
(xt)-.15 E 234 606.4 234 642.4 DL(rjust te)198.87 626.6 Q(xt)-.15 E 342
624.4 MT -7.2 1.8 RL 0 -3.6 RL CL 0 Fg 342 624.4 MT -7.2 1.8 RL 0 -3.6
RL CL .1 LW 0 Cg ST .4 LW 334.8 624.4 270 624.4 DL(ljust abo)306 620.6 Q
-.15(ve)-.15 G 450 624.4 MT -7.2 1.8 RL 0 -3.6 RL CL 0 Fg 450 624.4 MT
-7.2 1.8 RL 0 -3.6 RL CL .1 LW 0 Cg ST .4 LW 442.8 624.4 378 624.4 DL
(rjust belo)369.53 632.6 Q(w)-.25 E(Figure 7-1: T)235.89 665.4 Q -.15
(ex)-.7 G 2.5(ta).15 G(ttrib)-2.5 E(utes)-.2 E .204
(What actually happens is that)97 693 R F2(n)2.704 E F0(te)2.704 E .204
(xt strings are centered in a box that is)-.15 F F1(textwid)2.704 E F0
.205(wide by)2.705 F F1(textht)2.705 E F0(high.)2.705 E 1.644
(Both these v)72 705 R 1.644(ariables are initially zero \(that is)-.25
F F1(pic)4.143 E F0 2.743 -.55('s w)D 1.643
(ay of not making assumptions about).45 F F2([tg]r)4.143 E(of)-.45 E(f)
-.18 E F0(\(1\)')1.96 E(s)-.55 E(def)72 717 Q(ault point size\).)-.1 E 0
Cg EP
%%Page: 11 11
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-11-)279.67 48 Q .168(In GNU)97 84 R/F1 10
/Times-Bold@0 SF(gpic)2.668 E F0 2.668(,o)C .169(bjects can ha)-2.668 F
.469 -.15(ve a)-.2 H(n).15 E F1(aligned)2.669 E F0(attrib)2.669 E 2.669
(ute. This)-.2 F .169(only w)2.669 F .169(orks if the postprocessor is)
-.1 F F1(gr)2.669 E(ops)-.18 E F0(or)2.669 E F1(gr)72 96 Q(opdf)-.18 E
F0 5.81(.A)C 1.11 -.15(ny t)-5.81 H -.15(ex).15 G 3.31(ta).15 G .81
(ssociated with an object ha)-3.31 F .809(ving the)-.2 F F1(aligned)
3.309 E F0(attrib)3.309 E .809(ute is rotated about the center of the)
-.2 F .369(object so that it is aligned in the direction from the start\
 point to the end point of the object.)72 108 R .37(Note that this)5.37
F(attrib)72 120 Q(ute has no ef)-.2 E
(fect for objects whose start and end points are coincident.)-.25 E F1
2.5(8. Mor)72 144 R 2.5(eA)-.18 G(bout Dir)-2.5 E(ection Changes)-.18 E
F0 -.8(We)97 159.6 S -1.65 -.5('v e).8 H .871(already seen ho)3.871 F
3.371(wt)-.25 G 3.371(oc)-3.371 G .871
(hange the direction in which objects are composed from rightw)-3.371 F
.87(ards to)-.1 F(do)72 171.6 Q(wnw)-.25 E 2.5(ards. Here)-.1 F
(are some more illustrati)2.5 E .3 -.15(ve ex)-.25 H(amples:).15 E F1
(right; box; arr)204.365 191.8 Q -.1(ow)-.18 G 2.5(;c).1 G(ir)-2.5 E
(cle; arr)-.18 E -.1(ow)-.18 G 2.5(;e).1 G(llipse)-2.5 E 234 240 MT 0
-36 RL -54 0 RL 0 36 RL CL .4 LW ST 270 222 MT -7.2 1.8 RL 0 -3.6 RL CL
0 Fg 270 222 MT -7.2 1.8 RL 0 -3.6 RL CL .1 LW 0 Cg ST .4 LW 262.8 222
234 222 DL 288 222 18 DC ST 342 222 MT -7.2 1.8 RL 0 -3.6 RL CL 0 Fg 342
222 MT -7.2 1.8 RL 0 -3.6 RL CL .1 LW 0 Cg ST .4 LW 334.8 222 306 222 DL
54 36 369 222 DE ST(left; box; arr)207.98 263.8 Q -.1(ow)-.18 G 2.5(;c)
.1 G(ir)-2.5 E(cle; arr)-.18 E -.1(ow)-.18 G 2.5(;e).1 G(llipse)-2.5 E
396 312 MT 0 -36 RL -54 0 RL 0 36 RL CL ST 306 294 MT 7.2 -1.8 RL 0 3.6
RL CL 0 Fg 306 294 MT 7.2 -1.8 RL 0 3.6 RL CL .1 LW 0 Cg ST .4 LW 313.2
294 342 294 DL 288 294 18 DC ST 234 294 MT 7.2 -1.8 RL 0 3.6 RL CL 0 Fg
234 294 MT 7.2 -1.8 RL 0 3.6 RL CL .1 LW 0 Cg ST .4 LW 241.2 294 270 294
DL 54 36 207 294 DE ST F0(Figure 8-1: Ef)159.8 335 Q(fects of dif)-.25 E
(ferent motion directions \(right and left\))-.25 E F1(do)102.635 367.2
Q(wn; box; arr)-.1 E -.1(ow)-.18 G 2.5(;c).1 G(ir)-2.5 E(cle; arr)-.18 E
-.1(ow)-.18 G 2.5(;e).1 G(llipse;)-2.5 E 216 415.4 MT 0 -36 RL -54 0 RL
0 36 RL CL ST 189 451.4 MT -1.8 -7.2 RL 3.6 0 RL CL 0 Fg 189 451.4 MT
-1.8 -7.2 RL 3.6 0 RL CL .1 LW 0 Cg ST .4 LW 189 444.2 189 415.4 DL 189
469.4 18 DC ST 189 523.4 MT -1.8 -7.2 RL 3.6 0 RL CL 0 Fg 189 523.4 MT
-1.8 -7.2 RL 3.6 0 RL CL .1 LW 0 Cg ST .4 LW 189 516.2 189 487.4 DL 54
36 189 541.4 DE ST 414 559.4 MT 0 -36 RL -54 0 RL 0 36 RL CL ST 387
487.4 MT 1.8 7.2 RL -3.6 0 RL CL 0 Fg 387 487.4 MT 1.8 7.2 RL -3.6 0 RL
CL .1 LW 0 Cg ST .4 LW 387 494.6 387 523.4 DL 387 469.4 18 DC ST 387
415.4 MT 1.8 7.2 RL -3.6 0 RL CL 0 Fg 387 415.4 MT 1.8 7.2 RL -3.6 0 RL
CL .1 LW 0 Cg ST .4 LW 387 422.6 387 451.4 DL 54 36 387 397.4 DE ST
(up; box; arr)306.695 367.2 Q -.1(ow)-.18 G 2.5(;c).1 G(ir)-2.5 E
(cle; arr)-.18 E -.1(ow)-.18 G 2.5(;e).1 G(llipse;)-2.5 E F0
(Figure 8-2: Ef)159.925 582.4 Q(fects of dif)-.25 E
(ferent motion directions \(up and do)-.25 E(wn\))-.25 E(Something that\
 may appear surprising happens if you change directions in the ob)97 610
Q(vious w)-.15 E(ay:)-.1 E 0 Cg EP
%%Page: 12 12
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-12-)279.67 48 Q 265.5 120 MT 0 -36 RL -54 0 RL
0 36 RL CL .4 LW ST 301.5 102 MT -7.2 1.8 RL 0 -3.6 RL CL 0 Fg 301.5 102
MT -7.2 1.8 RL 0 -3.6 RL CL .1 LW 0 Cg ST .4 LW 294.3 102 265.5 102 DL
319.5 102 18 DC ST 337.5 138 MT -1.8 -7.2 RL 3.6 0 RL CL 0 Fg 337.5 138
MT -1.8 -7.2 RL 3.6 0 RL CL .1 LW 0 Cg ST .4 LW 337.5 130.8 337.5 102 DL
54 36 337.5 156 DE ST(Figure 8-3:)179.69 197 Q/F1 10/Times-Bold@0 SF
(box; arr)2.5 E -.1(ow)-.18 G 2.5(;c).1 G(ir)-2.5 E(cle; do)-.18 E
(wn; arr)-.1 E -.1(ow)-.18 G 2.5(;e).1 G(llipse)-2.5 E F0 -1.1(Yo)72
224.6 S 2.5(um)1.1 G(ight ha)-2.5 E .3 -.15(ve ex)-.2 H
(pected that program to yield this:).15 E 274.5 278.6 MT 0 -36 RL -54 0
RL 0 36 RL CL ST 310.5 260.6 MT -7.2 1.8 RL 0 -3.6 RL CL 0 Fg 310.5
260.6 MT -7.2 1.8 RL 0 -3.6 RL CL .1 LW 0 Cg ST .4 LW 303.3 260.6 274.5
260.6 DL 328.5 260.6 18 DC ST 328.5 314.6 MT -1.8 -7.2 RL 3.6 0 RL CL 0
Fg 328.5 314.6 MT -1.8 -7.2 RL 3.6 0 RL CL .1 LW 0 Cg ST .4 LW 328.5
307.4 328.5 278.6 DL 54 36 328.5 332.6 DE ST(Figure 8-4: More intuiti)
233.62 373.6 Q -.15(ve)-.25 G(?).15 E(But, in f)72 401.2 Q
(act, to get Figure 8.3 you ha)-.1 E .3 -.15(ve t)-.2 H 2.5(od).15 G 2.5
(ot)-2.5 G(his:)-2.5 E/F2 10/Courier@0 SF(.PS)108 419.2 Q(box;)108 431.2
Q(arrow;)108 443.2 Q(circle;)108 455.2 Q(move to last circle .s;)108
467.2 Q(down;)108 479.2 Q(arrow;)108 491.2 Q(ellipse)108 503.2 Q(.PE)108
515.2 Q F0(Wh)72 536.8 Q 2.891(yi)-.05 G 2.891(st)-2.891 G 2.891
(his? Because)-2.891 F .391(the e)2.891 F .391
(xit point for the current direction is already set when you dra)-.15 F
2.891(wt)-.15 G .391(he object.)-2.891 F(The)5.392 E .06(second arro)72
548.8 R 2.56(wi)-.25 G 2.56(nF)-2.56 G .06(igure 8.2 dropped do)-2.56 F
(wnw)-.25 E .059(ards from the circle')-.1 F 2.559(sa)-.55 G .059
(ttachment point for an object to be joined)-2.559 F(to the right.)72
560.8 Q .19(The meaning of the command)97 576.4 R F1(mo)2.69 E .39 -.1
(ve t)-.1 H 2.69(ol).1 G .19(ast cir)-2.69 F .19(cle .s)-.18 F F0 .19
(should be ob)2.69 F 2.69(vious. In)-.15 F .19(order to see ho)2.69 F
2.69(wi)-.25 G 2.69(tg)-2.69 G(ener)-2.69 E(-)-.2 E(alizes, we')72 588.4
Q(ll need to go into detail on tw)-.1 E 2.5(oi)-.1 G
(mportant topics; locations and object names.)-2.5 E F1 2.5(9. Naming)72
612.4 R(Objects)2.5 E F0 .436(The most natural w)97 628 R .436
(ay to name locations in)-.1 F F1(pic)2.936 E F0 .436(is relati)2.936 F
.736 -.15(ve t)-.25 H 2.936(oo).15 G 2.936(bjects. In)-2.936 F .436
(order to do this, you ha)2.936 F .736 -.15(ve t)-.2 H(o).15 E .186
(be able you ha)72 640 R .486 -.15(ve t)-.2 H 2.686(ob).15 G 2.686(ea)
-2.686 G .186(ble to name objects.)-2.686 F(The)5.186 E F1(pic)2.686 E
F0 .186(language has rich f)2.686 F .187
(acilities for this that try to emulate)-.1 F(the syntax of English.)72
652 Q F1 2.5(9.1. Naming)72 676 R(Objects By Order Of Drawing)2.5 E F0
.304(The simplest \(and generally the most useful\) w)97 691.6 R .304
(ay to name an object is with a)-.1 F F1(last)2.803 E F0 2.803
(clause. It)2.803 F .303(needs to)2.803 F .497(be follo)72 703.6 R .497
(wed by an object type name;)-.25 F F1(box)2.997 E F0(,)A F1(cir)2.997 E
(cle)-.18 E F0(,)A F1(ellipse)2.997 E F0(,)A F1(line)2.997 E F0(,)A F1
(arr)2.997 E -.1(ow)-.18 G F0(,).1 E F1(spline)2.997 E F0(,)A F1("")
2.998 E F0 2.998(,o)C(r)-2.998 E F1([])2.998 E F0 .498
(\(the last type refers)2.998 F 1.308(to a)72 715.6 R/F3 10
/Times-Italic@0 SF 1.308(composite object)3.808 F F0 1.308(which we')
3.808 F 1.308(ll discuss later\).)-.1 F 1.308(So, for e)6.308 F 1.308
(xample, the)-.15 F F1 1.307(last cir)3.807 F(cle)-.18 E F0 1.307
(clause in the program)3.807 F
(attached to Figure 9.1.3 refers to the last circle dra)72 727.6 Q(wn.)
-.15 E 0 Cg EP
%%Page: 13 13
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-13-)279.67 48 Q .768(More generally)97 84 R
3.268(,o)-.65 G .768(bjects of a gi)-3.268 F -.15(ve)-.25 G 3.268(nt).15
G .768(ype are implicitly numbered \(starting from 1\).)-3.268 F -1.1
(Yo)5.768 G 3.268(uc)1.1 G .769(an refer to)-3.268 F .083
(\(say\) the third ellipse in the current picture with)72 96 R/F1 10
/Times-Bold@0 SF .083(3rd ellipse)2.583 F F0 2.583(,o)C 2.583(rt)-2.583
G 2.583(ot)-2.583 G .082(he \214rst box as)-2.583 F F1 .082(1st box)
2.582 F F0 2.582(,o)C 2.582(rt)-2.582 G 2.582(ot)-2.582 G .082
(he \214fth te)-2.582 F(xt)-.15 E(string \(which isn')72 108 Q 2.5(ta)
-.18 G 2.5(na)-2.5 G(ttrib)-2.5 E(ute to another object\) as)-.2 E F1
(5th "")2.5 E F0(.)A .186(Objects are also numbered backw)97 123.6 R
.186(ards by type from the last one.)-.1 F -1.1(Yo)5.186 G 2.686(uc)1.1
G .186(an say)-2.686 F F1 .187(2nd last box)2.687 F F0 .187(to get the)
2.687 F(second-to-last box, or)72 135.6 Q F1(3rd last ellipse)2.5 E F0
(to get the third-to-last ellipse.)2.5 E .451(In places where)97 151.2 R
/F2 10/Times-Italic@0 SF(n)2.951 E F1(th).24 E F0 .451(is allo)2.951 F
(wed,)-.25 E F1(`)2.951 E F2 -.2(ex)C(pr).2 E F1('th).73 E F0 .451
(is also allo)2.951 F 2.951(wed. Note)-.25 F(that)2.95 E F1('th)2.95 E
F0 .45(is a single tok)2.95 F .45(en: no space is)-.1 F(allo)72 163.2 Q
(wed between the)-.25 E F1(')2.5 E F0(and the)2.5 E F1(th)2.5 E F0 5(.F)
C(or e)-5.15 E(xample,)-.15 E/F3 10/Courier@0 SF(for i = 1 to 4 do {)133
184.8 Q(line from `i'th box.nw to `i+1'th box.se)151 196.8 Q(})133 208.8
Q F1 2.5(9.2. Naming)72 238.8 R(Objects W)2.5 E(ith Labels)-.18 E F0
-1.1(Yo)97 254.4 S 3.338(uc)1.1 G .838
(an also specify an object by referring to a label.)-3.338 F 3.338(Al)
5.838 G .838(abel is a w)-3.338 F .838(ord \(which must be)-.1 F .838
(gin with a)-.15 F .26(capital letter\) follo)72 266.4 R .26(wed by a c\
olon; you declare it by placing it immediately before the object dra)
-.25 F .26(wing com-)-.15 F 2.5(mand. F)72 278.4 R(or e)-.15 E
(xample, the program)-.15 E F3(.PS)108 296.4 Q(A: box "first" "object")
108 308.4 Q(move;)108 320.4 Q(B: ellipse "second" "object")108 332.4 Q
(move;)108 344.4 Q(arrow right at A .r;)108 356.4 Q(.PE)108 368.4 Q F0
(declares labels)72 390 Q F1(A)2.5 E F0(and)2.5 E F1(B)2.5 E F0
(for its \214rst and second objects.)2.5 E(Here')5 E 2.5(sw)-.55 G
(hat that looks lik)-2.5 E(e:)-.1 E 252 444 MT 0 -36 RL -54 0 RL 0 36 RL
CL .4 LW ST(\214rst)217.22 422.2 Q(object)212.78 434.2 Q 54 36 315 426
DE ST(second)301.115 422.2 Q(object)302.78 434.2 Q 288 426 MT -7.2 1.8
RL 0 -3.6 RL CL 0 Fg 288 426 MT -7.2 1.8 RL 0 -3.6 RL CL .1 LW 0 Cg ST
.4 LW 280.8 426 252 426 DL(Figure 9-1: Example of label use)222.315 467
Q(The)72 491 Q F1(at)3.531 E F0 1.031
(statement in the fourth line uses the label)3.531 F F1(A)3.531 E F0
1.031(\(the beha)3.531 F 1.031(vior of)-.2 F F1(at)3.531 E F0 1.031
(is e)3.531 F 1.031(xplained in the ne)-.15 F 1.031(xt section\).)-.15 F
-.8(We)72 503 S -.1('l).8 G 2.5(ls).1 G(ee later on that labels are mos\
t useful for referring to block composite objects.)-2.5 E 1.225
(Labels are not constants b)97 518.6 R 1.225(ut v)-.2 F 1.225
(ariables \(you can vie)-.25 F 3.725(wc)-.25 G 1.225
(olon as a sort of assignment\).)-3.725 F -1.1(Yo)6.224 G 3.724(uc)1.1 G
1.224(an say)-3.724 F .241(something lik)72 530.6 R(e)-.1 E F1 .241
(A: A + \(1,0\);)2.741 F F0 .242(and the ef)2.742 F .242
(fect is to reassign the label)-.25 F F1(A)2.742 E F0 .242
(to designate a position one inch to the)2.742 F(right of its old v)72
542.6 Q(alue.)-.25 E F1 2.5(10. Describing)72 566.6 R(locations)2.5 E F0
.377(The location of points can be described in man)97 582.2 R 2.877(yd)
-.15 G(if)-2.877 E .377(ferent w)-.25 F 2.876(ays. All)-.1 F .376
(these forms are interchangeable)2.876 F .58(as for as the)72 594.2 R F1
(pic)3.08 E F0 .58
(language syntax is concerned; where you can use one, an)3.08 F 3.081
(yo)-.15 G 3.081(ft)-3.081 G .581(he others that w)-3.081 F .581
(ould mak)-.1 F(e)-.1 E(semantic sense are allo)72 606.2 Q(wed.)-.25 E
(The special label)97 621.8 Q F1(Her)2.5 E(e)-.18 E F0(al)2.5 E -.1(wa)
-.1 G(ys refers to the current position.).1 E F1 2.5(10.1. Absolute)72
645.8 R(Coordinates)2.5 E F0 .07
(The simplest is absolute coordinates in inches;)97 661.4 R F1(pic)2.57
E F0 .069(uses a Cartesian system with \(0,0\) at the lo)2.569 F .069
(wer left)-.25 F 1.505(corner of the virtual dra)72 673.4 R 1.505
(wing surf)-.15 F 1.505(ace for each picture \(that is, X increases to \
the right and Y increases)-.1 F(upw)72 685.4 Q 3.233(ards\). An)-.1 F
.732(absolute location may al)3.233 F -.1(wa)-.1 G .732
(ys be written in the con).1 F -.15(ve)-.4 G .732(ntional form as tw).15
F 3.232(oc)-.1 G(omma-separated)-3.232 E .538(numbers surrounded by par\
entheses \(and this is recommended for clarity\).)72 697.4 R .539
(In conte)5.539 F .539(xts where it creates no)-.15 F(ambiguity)72 709.4
Q 2.5(,t)-.65 G(he pair of X and Y coordinates suf)-2.5 E
(\214ces without parentheses.)-.25 E 0 Cg EP
%%Page: 14 14
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-14-)279.67 48 Q .035(It is a good idea to a)97
84 R -.2(vo)-.2 G .034(id absolute coordinates, ho).2 F(we)-.25 E -.15
(ve)-.25 G 3.634 -.55(r. T).15 H(he).55 E 2.534(yt)-.15 G .034
(end to mak)-2.534 F 2.534(ep)-.1 G .034(icture descriptions dif)-2.534
F<8c2d>-.25 E .132(cult to understand and modify)72 96 R 5.133(.I)-.65 G
.133(nstead, there are quite a number of w)-5.133 F .133
(ays to specify locations relati)-.1 F .433 -.15(ve t)-.25 H(o).15 E/F1
10/Times-Bold@0 SF(pic)2.633 E F0(objects and pre)72 108 Q
(vious locations.)-.25 E 1.487(Another possibility of surprise is the f)
97 123.6 R 1.487(act that)-.1 F F1(pic)3.987 E F0 1.487
(crops the picture to the smallest bounding box)3.987 F .189
(before writing it out.)72 135.6 R -.15(Fo)5.189 G 2.689(re).15 G .189
(xample, if you ha)-2.839 F .489 -.15(ve a p)-.2 H .19
(icture consisting of a small box with its lo).15 F .19(wer left corner)
-.25 F .979(at \(2,2\) and another small box with its upper right corne\
r at \(5,5\), the width and height of the image are)72 147.6 R 1.036
(both 3 units and not 5.)72 159.6 R 2.636 -.8(To g)6.036 H 1.036
(et the origin at \(0,0\) included, simply add an in).8 F 1.036
(visible object to the picture,)-.4 F(positioning the object')72 171.6 Q
2.5(sl)-.55 G(eft corner at \(0,0\).)-2.5 E F1 2.5(10.2. Locations)72
195.6 R(Relati)2.5 E .2 -.1(ve t)-.1 H 2.5(oO).1 G(bjects)-2.5 E F0 .607
(The symbol)97 211.2 R F1(Her)3.107 E(e)-.18 E F0(al)3.107 E -.1(wa)-.1
G .607(ys refers to the position of the last object dra).1 F .606
(wn or the destination of the last)-.15 F F1(mo)72 223.2 Q -.1(ve)-.1 G
F0(.).1 E 1.112(Alone and unquali\214ed, a)97 238.8 R F1 1.112(last cir)
3.612 F(cle)-.18 E F0 1.112(or an)3.612 F 3.612(yo)-.15 G 1.113(ther w)
-3.612 F 1.113(ay of specifying a closed-object or arc location)-.1 F
.753(refers as a position to the geometric center of the object.)72
250.8 R .752(Unquali\214ed, the name of a line or spline object)5.753 F
(refers to the position of the object start.)72 262.8 Q(Also,)97 278.4 Q
F1(pic)3.015 E F0 .516(objects ha)3.015 F .816 -.15(ve q)-.2 H .516
(uite a fe).15 F 3.016(wn)-.25 G .516
(amed locations associated with them.)-3.016 F .516
(One of these is the object)5.516 F(center)72 290.4 Q 2.771(,w)-.4 G
.271(hich can be indicated \(redundantly\) with the suf)-2.771 F<8c78>
-.25 E F1(.center)2.771 E F0 .27(\(or just)2.771 F F1(.c)2.77 E F0 2.77
(\). Thus,)B F1 .27(last cir)2.77 F .27(cle .center)-.18 F F0(is)2.77 E
(equi)72 302.4 Q -.25(va)-.25 G(lent to).25 E F1(last cir)2.5 E(cle)-.18
E F0(.)A F1 2.5(10.2.1. Locations)72 326.4 R(Relati)2.5 E .2 -.1(ve t)
-.1 H 2.5(oC).1 G(losed Objects)-2.5 E F0(Ev)97 342 Q .931(ery closed o\
bject \(box, circle, ellipse, or block composite\) also has eight compa\
ss points associ-)-.15 F(ated with it;)72 354 Q 213.12 445.44 MT 0 -72
RL -108 0 RL 0 72 RL CL .4 LW ST 159.12 409.44 1.44 DC 0.5 Fg 159.12
409.44 1.44 DC 0 Cg ST F1(.c)161.62 411.64 Q 159.12 373.44 1.44 DC 0.5
Fg 159.12 373.44 1.44 DC 0 Cg ST(.n)155.09 369.64 Q 213.12 373.44 1.44
DC 0.5 Fg 213.12 373.44 1.44 DC 0 Cg ST(.ne)208.12 369.64 Q 213.12
409.44 1.44 DC 0.5 Fg 213.12 409.44 1.44 DC 0 Cg ST(.e)215.62 411.64 Q
213.12 445.44 1.44 DC 0.5 Fg 213.12 445.44 1.44 DC 0 Cg ST(.se)208.955
453.64 Q 159.12 445.44 1.44 DC 0.5 Fg 159.12 445.44 1.44 DC 0 Cg ST(.s)
155.925 453.64 Q 105.12 445.44 1.44 DC 0.5 Fg 105.12 445.44 1.44 DC 0 Cg
ST(.sw)97.065 453.64 Q 105.12 409.44 1.44 DC 0.5 Fg 105.12 409.44 1.44
DC 0 Cg ST(.w)92.9 411.64 Q 105.12 373.44 1.44 DC 0.5 Fg 105.12 373.44
1.44 DC 0 Cg ST(.nw)96.23 369.64 Q 288 409.44 36 DC ST 288 409.44 1.44
DC 0.5 Fg 288 409.44 1.44 DC 0 Cg ST(.c)290.5 411.64 Q 288 373.44 1.44
DC 0.5 Fg 288 373.44 1.44 DC 0 Cg ST(.n)283.97 369.64 Q 313.488 383.952
1.44 DC 0.5 Fg 313.488 383.952 1.44 DC 0 Cg ST(.ne)308.488 380.152 Q 324
409.44 1.44 DC 0.5 Fg 324 409.44 1.44 DC 0 Cg ST(.e)326.5 411.64 Q
313.488 434.928 1.44 DC 0.5 Fg 313.488 434.928 1.44 DC 0 Cg ST(.se)
309.323 443.128 Q 288 445.44 1.44 DC 0.5 Fg 288 445.44 1.44 DC 0 Cg ST
(.s)284.805 453.64 Q 262.512 434.928 1.44 DC 0.5 Fg 262.512 434.928 1.44
DC 0 Cg ST(.sw)254.457 443.128 Q 252 409.44 1.44 DC 0.5 Fg 252 409.44
1.44 DC 0 Cg ST(.w)239.78 411.64 Q 262.512 383.952 1.44 DC 0.5 Fg
262.512 383.952 1.44 DC 0 Cg ST(.nw)253.622 380.152 Q 108 72 416.88
409.44 DE ST 416.88 409.44 1.44 DC 0.5 Fg 416.88 409.44 1.44 DC 0 Cg ST
(.c)419.38 411.64 Q 416.88 373.44 1.44 DC 0.5 Fg 416.88 373.44 1.44 DC 0
Cg ST(.n)412.85 369.64 Q 455.04 383.952 1.44 DC 0.5 Fg 455.04 383.952
1.44 DC 0 Cg ST(.ne)450.04 380.152 Q 470.88 409.44 1.44 DC 0.5 Fg 470.88
409.44 1.44 DC 0 Cg ST(.e)473.38 411.64 Q 455.04 434.928 1.44 DC 0.5 Fg
455.04 434.928 1.44 DC 0 Cg ST(.se)450.875 443.128 Q 416.88 445.44 1.44
DC 0.5 Fg 416.88 445.44 1.44 DC 0 Cg ST(.s)413.685 453.64 Q 378.72
434.928 1.44 DC 0.5 Fg 378.72 434.928 1.44 DC 0 Cg ST(.sw)370.665
443.128 Q 362.88 409.44 1.44 DC 0.5 Fg 362.88 409.44 1.44 DC 0 Cg ST(.w)
350.66 411.64 Q 378.72 383.952 1.44 DC 0.5 Fg 378.72 383.952 1.44 DC 0
Cg ST(.nw)369.83 380.152 Q F0(Figure 10-1: Compass points)230.08 469.88
Q .588(these are the locations where eight compass rays from the geomet\
ric center w)72 497.48 R .588(ould intersect the \214gure.)-.1 F(So)
5.588 E .421(when we say)72 509.48 R F1 .421(last cir)2.921 F .421
(cle .s)-.18 F F0 .421
(we are referring to the south compass point of the last circle dra)
2.921 F 2.921(wn. The)-.15 F -.15(ex)2.921 G(pla-).15 E
(nation of Figure 7.3')72 521.48 Q 2.5(sp)-.55 G(rogram is no)-2.5 E 2.5
(wc)-.25 G(omplete.)-2.5 E .136(\(In case you dislik)97 537.08 R 2.636
(ec)-.1 G .135(ompass points, the names)-2.636 F F1(.top)2.635 E F0(,)A
F1(.bottom)2.635 E F0(,)A F1(.left)2.635 E F0(and)2.635 E F1(.right)
2.635 E F0 .135(are synon)2.635 F .135(yms for)-.15 F F1(.n)2.635 E F0
(,)A F1(.s)2.635 E F0(,)A F1(.e)72 549.08 Q F0 2.5(,a)C(nd)-2.5 E F1(.w)
2.5 E F0(respecti)2.5 E -.15(ve)-.25 G(ly; the).15 E 2.5(yc)-.15 G(an e)
-2.5 E -.15(ve)-.25 G 2.5(nb).15 G 2.5(ea)-2.5 G(bbre)-2.5 E(viated to)
-.25 E F1(.t)2.5 E F0(,)A F1(.b)2.5 E F0(,)A F1(.l)2.5 E F0(and)2.5 E F1
(.r)2.5 E F0(\).)A .685(The names)97 564.68 R F1(center)3.185 E F0(,)A
F1(top)3.185 E F0(,)A F1(bottom)3.185 E F0(,)A F1(left)3.185 E F0(,)A F1
(right)3.185 E F0(,)A F1(north)3.185 E F0(,)A F1(south)3.185 E F0(,)A F1
(east)3.185 E F0 3.185(,a)C(nd)-3.185 E F1(west)3.185 E F0 .685
(can also be used \(without)3.185 F .8
(the leading dot\) in a pre\214x form mark)72 576.68 R .8(ed by)-.1 F F1
(of)3.3 E F0 3.3(;t)C(hus,)-3.3 E F1 .799(center of last cir)3.3 F(cle)
-.18 E F0(and)3.299 E F1 .799(top of 2nd last ellipse)3.299 F F0(are)
3.299 E .124(both v)72 588.68 R .124(alid object references.)-.25 F
(Finally)5.124 E 2.624(,t)-.65 G .125(he names)-2.624 F F1(left)2.625 E
F0(and)2.625 E F1(right)2.625 E F0 .125(can be pre\214x)2.625 F .125
(ed with)-.15 F F1(upper)2.625 E F0(and)2.625 E F1(lo)2.625 E(wer)-.1 E
F0(which)2.625 E(both ha)72 600.68 Q .3 -.15(ve t)-.2 H(he ob).15 E
(vious meaning.)-.15 E(Arc objects also ha)97 616.28 Q .3 -.15(ve c)-.2
H(ompass points; the).15 E 2.5(ya)-.15 G
(re the compass points of the implied circle.)-2.5 E 1.308
(Non-closed objects \(line, arro)97 631.88 R 2.608 -.65(w, o)-.25 H
3.808(rs).65 G 1.308(pline\) ha)-3.808 F 1.608 -.15(ve c)-.2 H 1.308
(ompass points too, b).15 F 1.308(ut the locations of them are)-.2 F
(completely arbitrary)72 643.88 Q 5(.I)-.65 G 2.5(np)-5 G(articular)-2.5
E 2.5(,d)-.4 G(if)-2.5 E(ferent)-.25 E F1(pic)2.5 E F0
(implementations return dif)2.5 E(ferent locations.)-.25 E F1 2.5
(10.2.2. Locations)72 667.88 R(Relati)2.5 E .2 -.1(ve t)-.1 H 2.5(oO).1
G(pen Objects)-2.5 E F0(Ev)97 683.48 Q .005
(ery open object \(line, arro)-.15 F 1.306 -.65(w, a)-.25 H .006
(rc, or spline\) has three named points:).65 F F1(.start)2.506 E F0(,)A
F1(.center)2.506 E F0(\(or)2.506 E F1(.c)2.506 E F0 .006(\), and)B F1
(.end)2.506 E F0(.)A(The)72 695.48 Q 3.183(yc)-.15 G .683
(an also be used without leading dots in the)-3.183 F F1(of)3.182 E F0
.682(pre\214x form.)3.182 F .682
(The center of an arc is the center of its)5.682 F(circle, b)72 707.48 Q
(ut the center of a line, path, or spline is halfw)-.2 E
(ay between its endpoints.)-.1 E 0 Cg EP
%%Page: 15 15
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-15-)279.67 48 Q .4 LW 237.78 91.2 165.78 127.2
DL 201.78 109.2 1.44 DC 0.5 Fg 201.78 109.2 1.44 DC 0 Cg ST/F1 10
/Times-Bold@0 SF(.center)165.43 104.2 Q 165.78 127.2 1.44 DC 0.5 Fg
165.78 127.2 1.44 DC 0 Cg ST(.start)136.09 122.2 Q 237.78 91.2 1.44 DC
0.5 Fg 237.78 91.2 1.44 DC 0 Cg ST(.end)212.52 86.2 Q 318.42 127.2 36 -0
-90 DA 318.42 127.2 1.44 DC 0.5 Fg 318.42 127.2 1.44 DC 0 Cg ST(.center)
282.07 122.2 Q 318.42 91.2 1.44 DC 0.5 Fg 318.42 91.2 1.44 DC 0 Cg ST
(.start)288.73 86.2 Q 354.42 127.2 1.44 DC 0.5 Fg 354.42 127.2 1.44 DC 0
Cg ST(.end)329.16 122.2 Q 237.78 171.84 165.78 171.84 DL 165.78 207.84
237.78 171.84 DL 237.78 207.84 165.78 207.84 DL 201.78 189.84 1.44 DC
0.5 Fg 201.78 189.84 1.44 DC 0 Cg ST(.center)165.43 184.84 Q 165.78
171.84 1.44 DC 0.5 Fg 165.78 171.84 1.44 DC 0 Cg ST(.start)136.09 166.84
Q 237.78 207.84 1.44 DC 0.5 Fg 237.78 207.84 1.44 DC 0 Cg ST(.end)212.52
202.84 Q 318.42 207.84 MT 36 0 RL 24 0 42 -6 54 -18 RC 12 -12 12 -18 0
-18 RC -12 0 -30 0 -54 0 RC -36 0 RL ST 318.42 189.84 1.44 DC 0.5 Fg
318.42 189.84 1.44 DC 0 Cg ST(.center)282.07 184.84 Q 318.42 207.84 1.44
DC 0.5 Fg 318.42 207.84 1.44 DC 0 Cg ST(.start)288.73 202.84 Q 318.42
171.84 1.44 DC 0.5 Fg 318.42 171.84 1.44 DC 0 Cg ST(.end)293.16 166.84 Q
F0(Figure 10-2: Special points on open objects)201.06 232.28 Q F1 2.5
(10.3. W)72 271.88 R(ays of Composing P)-.65 E(ositions)-.2 E F0 .851
(Once you ha)97 287.48 R 1.151 -.15(ve t)-.2 H 1.051 -.1(wo p).15 H .852
(ositions to w).1 F .852(ork with, there are se)-.1 F -.15(ve)-.25 G
.852(ral w).15 F .852(ays to combine them to specify ne)-.1 F(w)-.25 E
(positions.)72 299.48 Q F1 2.5(10.3.1. V)72 323.48 R
(ector Sums and Displacements)-1 E F0 .239
(Positions may be added or subtracted to yield a ne)97 339.08 R 2.738
(wp)-.25 G .238(osition \(to be more precise, you can only add a)-2.738
F .1(position and an e)72 351.08 R .101(xpression pair; the latter must\
 be on the right side of the addition or subtraction sign\).)-.15 F(The)
5.101 E .328(result is the con)72 363.08 R -.15(ve)-.4 G .328(ntional v)
.15 F .328(ector sum or dif)-.15 F .328(ference of coordinates.)-.25 F
-.15(Fo)5.328 G 2.828(re).15 G(xample,)-2.978 E F1 .328
(last box .ne + \(0.1, 0\))2.828 F F0 .327(is a)2.827 F -.25(va)72
375.08 S .026(lid position.).25 F .026(This e)5.026 F .026
(xample illustrates a common use, to de\214ne a position slightly of)
-.15 F .027(fset from a named one)-.25 F(\(say)72 387.08 Q 2.5(,f)-.65 G
(or captioning purposes\).)-2.5 E F1 2.5(10.3.2. Inter)72 411.08 R
(polation Between P)-.1 E(ositions)-.2 E F0 4.496(Ap)97 426.68 S 1.996
(osition may be interpolated between an)-4.496 F 4.495(yt)-.15 G 2.195
-.1(wo p)-4.495 H 4.495(ositions. The).1 F 1.995(syntax is `)4.495 F/F2
10/Times-Italic@0 SF(fr)A(action)-.15 E F1 1.995(of the way)4.495 F
(between)72 438.68 Q F2(position1)4.201 E F1(and)4.201 E F2(position2)
4.202 E F0 4.202('. F)B 1.702(or e)-.15 F 1.702(xample, you can say)-.15
F F1 1.702(1/3 of the way between Her)4.202 F 4.202(ea)-.18 G 1.702
(nd last)-4.202 F .199(ellipse .ne)72 450.68 R F0 5.199(.T)C .198(he fr\
action may be in numerator/denominator form or may be an ordinary numbe\
r \(v)-5.199 F .198(alues are)-.25 F F2(not)72 462.68 Q F0 .814
(restricted to [0,1]\).)3.314 F .814(As an alternati)5.814 F 1.115 -.15
(ve t)-.25 H 3.315(ot).15 G .815(his v)-3.315 F .815
(erbose syntax, you can say `)-.15 F F2(fr)A(action)-.15 E F1(<)5.815 E
F2(position1)1.25 E F1(,)3.315 E F2(posi-)3.315 E(tion2)72 474.68 Q F1
(>).02 E F0('; thus, the e)A(xample could also be written as)-.15 E F1
(1/3 <Her)2.5 E(e, last ellipse>)-.18 E F0(.)A 306 492.68 MT -3.816
6.336 RL -2.52 -2.52 RL CL 0 Fg 306 492.68 MT -3.816 6.336 RL -2.52
-2.52 RL CL .1 LW 0 Cg ST .4 LW 300.888 497.792 270 528.68 DL 282.024
516.656 1.44 DC 0.5 Fg 282.024 516.656 1.44 DC 0 Cg ST(P)287.884 518.856
Q(Figure 10-3:)129.69 551.68 Q F1(P: 1/3 of the way between last arr)2.5
E .2 -.1(ow .)-.18 H(start and last arr).1 E .2 -.1(ow .)-.18 H(end).1 E
F0(This f)97 579.28 Q(acility can be used, for e)-.1 E(xample, to dra)
-.15 E 2.5(wd)-.15 G(ouble connections.)-2.5 E 270 633.28 MT 0 -36 RL
-54 0 RL 0 36 RL CL ST(yin)236.61 617.48 Q 360 633.28 MT 0 -36 RL -54 0
RL 0 36 RL CL ST(yang)323.28 617.48 Q 306 610.816 MT -7.2 1.8 RL 0 -3.6
RL CL 0 Fg 306 610.816 MT -7.2 1.8 RL 0 -3.6 RL CL .1 LW 0 Cg ST .4 LW
298.8 610.816 270 610.816 DL 270 619.744 MT 7.2 -1.8 RL 0 3.6 RL CL 0 Fg
270 619.744 MT 7.2 -1.8 RL 0 3.6 RL CL .1 LW 0 Cg ST .4 LW 277.2 619.744
306 619.744 DL(Figure 10-4: Doubled arro)229.94 656.28 Q(ws)-.25 E -1.1
(Yo)72 683.88 S 2.5(uc)1.1 G(an get Figure 10-4 from the follo)-2.5 E
(wing program:)-.25 E 0 Cg EP
%%Page: 16 16
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-16-)279.67 48 Q/F1 10/Courier@0 SF(.PS)108 84 Q
(A: box "yin"; move;)108 96 Q(B: box "yang";)108 108 Q
(arrow right at 1/4 <A.e,A.ne>;)108 120 Q(arrow left)108 132 Q
(at 1/4 <B.w,B.sw>;)12 E(.PE)108 144 Q F0
(Note the use of the short form for interpolating points.)72 165.6 Q/F2
10/Times-Bold@0 SF 2.5(10.3.3. Pr)72 189.6 R(ojections of P)-.18 E
(oints)-.2 E F0(Gi)97 205.2 Q -.15(ve)-.25 G 2.853(nt).15 G .553 -.1
(wo p)-2.853 H(ositions).1 E/F3 10/Times-Italic@0 SF(p)2.853 E F0(and)
2.853 E F3(q)2.853 E F0 2.853(,t)C .353(he position)-2.853 F F2(\()2.853
E F3(p)1.25 E F2(,)A F3(q)2.853 E F2(\))A F0 .353
(has the X coordinate of)2.853 F F3(p)2.853 E F0 .353
(and the Y coordinate of)2.853 F F3(q)2.852 E F0(.)A 1.664(This can be \
helpful in placing an object at one of the corners of the virtual box d\
e\214ned by tw)72 217.2 R 4.164(oo)-.1 G(ther)-4.164 E(objects.)72 229.2
Q 360 254.4 1.44 DC 0.5 Fg 360 254.4 1.44 DC .4 LW 0 Cg ST F2(\(B,A\))
367.2 249.4 Q F0(is here)2.5 E 360 326.4 1.44 DC 0.5 Fg 360 326.4 1.44
DC 0 Cg ST(B)367.2 335.8 Q 216 326.4 1.44 DC 0.5 Fg 216 326.4 1.44 DC 0
Cg ST F2(\(A,B\))156.87 335.8 Q F0(is here)2.5 E 216 254.4 1.44 DC 0.5
Fg 216 254.4 1.44 DC 0 Cg ST(A)208.8 249.4 Q(Figure 10-5: Using \()
212.45 356.6 Q F3(x)A F0(,)A F3(y)2.5 E F0 2.5(\)c)C(omposition)-2.5 E
F2 2.5(10.4. Using)72 392.6 R(Locations)2.5 E F0 .841(There are four w)
97 408.2 R .841(ays to use locations;)-.1 F F2(at)3.341 E F0(,)A F2(fr)
3.341 E(om)-.18 E F0(,)A F2(to)3.341 E F0 3.341(,a)C(nd)-3.341 E F2
(with)3.34 E F0 5.84(.A)C .84(ll four are object modi\214ers; that is,)
-5.84 F(you use them as suf)72 420.2 Q<8c78>-.25 E(es to a dra)-.15 E
(wing command.)-.15 E(The)97 435.8 Q F2(at)3.623 E F0 1.123
(modi\214er says to dra)3.623 F -6.122 3.623(wa c)-.15 H 1.124
(losed object or arc with its center at the follo)-3.623 F 1.124
(wing location, or to)-.25 F(dra)72 447.8 Q 2.5(wal)-.15 G
(ine/spline/arro)-2.5 E 2.5(ws)-.25 G(tarting at the follo)-2.5 E
(wing location.)-.25 E(The)97 463.4 Q F2(to)3.648 E F0 1.147
(modi\214er can be used alone to specify a mo)3.647 F 1.447 -.15(ve d)
-.15 H 3.647(estination. The).15 F F2(fr)3.647 E(om)-.18 E F0 1.147
(modi\214er can be used)3.647 F(alone in the same w)72 475.4 Q(ay as)-.1
E F2(at)2.5 E F0(.)A(The)97 491 Q F2(fr)2.677 E(om)-.18 E F0(and)2.677 E
F2(to)2.677 E F0 .177(modi\214ers can be used with a)2.677 F F2(line)
2.677 E F0(or)2.677 E F2(ar)2.677 E(c)-.18 E F0 .177
(command to specify start and end points of)2.677 F 1.873(the object.)72
503 R 1.873(In conjunction with named locations, this of)6.873 F 1.873
(fers a v)-.25 F 1.873(ery \215e)-.15 F 1.872
(xible mechanism for connecting)-.15 F 2.5(objects. F)72 515 R(or e)-.15
E(xample, the follo)-.15 E(wing program)-.25 E F1(.PS)108 533 Q
(box "from")108 545 Q(move 0.75;)108 557 Q(ellipse "to")108 569 Q
(arc cw from 1/3 of the way \\)108 581 Q
(between last box .n and last box .ne to last ellipse .n;)132 593 Q(.PE)
108 605 Q F0(yields:)72 626.6 Q 0 Cg EP
%%Page: 17 17
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-17-)279.67 48 Q 261 169.536 MT 0 -36 RL -54 0
RL 0 36 RL CL .4 LW ST(from)224.28 153.736 Q 54 36 342 151.536 DE ST(to)
338.11 153.736 Q 292.464 133.536 49.536 -0 180 DA(Figure 10-6: A trick)
153.135 192.536 Q 2.5(yc)-.15 G(onnection speci\214ed with English-lik)
-2.5 E 2.5(es)-.1 G(yntax)-2.5 E(The)97 220.136 Q/F1 10/Times-Bold@0 SF
(with)2.781 E F0 .281(modi\214er allo)2.781 F .281(ws you to identify a\
 named attachment point of an object \(or a position within)-.25 F .167
(the object\) with another point.)72 232.136 R .166(This is v)5.166 F
.166(ery useful for connecting objects in a natural w)-.15 F(ay)-.1 E
5.166(.F)-.65 G .166(or an e)-5.316 F(xample,)-.15 E(consider these tw)
72 244.136 Q 2.5(op)-.1 G(rograms:)-2.5 E 180 325.136 MT 0 -36 RL -36 0
RL 0 36 RL CL ST 234 334.136 MT 0 -54 RL -54 0 RL 0 54 RL CL ST F1
(box wid 0.5 ht 0.5; box wid 0.75 ht 0.75)106.075 365.136 Q 378 316.136
MT 0 -36 RL -36 0 RL 0 36 RL CL ST 432 316.136 MT 0 -54 RL -54 0 RL 0 54
RL CL ST(box wid 0.5 ht 0.5;)347.83 359.136 Q
(box wid 0.75 ht 0.75 with .sw at last box .se;)294.22 371.136 Q F0
(Figure 10-7: Using the)181.48 403.936 Q F1(with)2.5 E F0
(modi\214er for attachments)2.5 E F1 2.5(10.5. The)72 439.936 R
(`chop' Modi\214er)2.5 E F0 .99(When dra)97 455.536 R .99
(wing lines between circles that don')-.15 F 3.49(ti)-.18 G .99
(ntersect them at a compass point, it is useful to be)-3.49 F(able to s\
horten a line by the radius of the circle at either or both ends.)72
467.536 Q(Consider the follo)5 E(wing program:)-.25 E/F2 10/Courier@0 SF
(.PS)108 485.536 Q(circle "x")108 497.536 Q
(circle "y" at 1st circle - \(0.4, 0.6\))108 509.536 Q
(circle "z" at 1st circle + \(0.4, -0.6\))108 521.536 Q
(arrow from 1st circle to 2nd circle chop)108 533.536 Q
(arrow from 2nd circle to 3rd circle chop)108 545.536 Q
(arrow from 3rd circle to 1st circle chop)108 557.536 Q(.PE)108 569.536
Q F0(It yields the follo)72 591.136 Q(wing:)-.25 E 0 Cg EP
%%Page: 18 18
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-18-)279.67 48 Q 288 102 18 DC .4 LW ST(x)285.5
104.2 Q 259.2 145.2 18 DC ST(y)256.7 147.4 Q 316.8 145.2 18 DC ST(z)
314.58 147.4 Q 269.208 130.224 MT 2.52 -6.984 RL 3.024 2.016 RL CL 0 Fg
269.208 130.224 MT 2.52 -6.984 RL 3.024 2.016 RL CL .1 LW 0 Cg ST .4 LW
273.168 124.248 277.992 116.976 DL 298.8 145.2 MT -7.2 1.8 RL 0 -3.6 RL
CL 0 Fg 298.8 145.2 MT -7.2 1.8 RL 0 -3.6 RL CL .1 LW 0 Cg ST .4 LW
291.6 145.2 277.2 145.2 DL 298.008 116.976 MT 5.472 4.968 RL -3.024
2.016 RL CL 0 Fg 298.008 116.976 MT 5.472 4.968 RL -3.024 2.016 RL CL .1
LW 0 Cg ST .4 LW 301.968 122.952 306.792 130.224 DL(Figure 10-8: The)
224.39 186.2 Q/F1 10/Times-Bold@0 SF(chop)2.5 E F0(modi\214er)2.5 E .303
(Notice that the)72 213.8 R F1(chop)2.803 E F0(attrib)2.803 E .303
(ute mo)-.2 F -.15(ve)-.15 G 2.803(sa).15 G(rro)-2.803 E .302
(wheads rather than stepping on them.)-.25 F .302(By def)5.302 F .302
(ault, the)-.1 F F1(chop)2.802 E F0(modi-)2.802 E .437
(\214er shortens both ends of the line by)72 225.8 R F1(cir)2.937 E
(clerad)-.18 E F0 5.437(.B)C 2.937(ys)-5.437 G(uf)-2.937 E .438
(\214xing it with a number you can change the amount)-.25 F
(of chopping.)72 237.8 Q .466(If you say)97 253.4 R F1 .466(line .)2.966
F -2.866 1.666(.. c)1.666 H(hop)-1.666 E/F2 10/Times-Italic@0 SF(r1)
2.966 E F1(chop)2.966 E F2(r2)2.966 E F0(with)2.966 E F2(r1)2.966 E F0
(and)2.966 E F2(r2)2.966 E F0 .465(both numbers, you can v)2.966 F .465
(ary the amount of chop-)-.25 F .919(ping at both ends.)72 265.4 R -1.1
(Yo)5.919 G 3.419(uc)1.1 G .92(an use this in combination with trigonom\
etric functions to write code that deals)-3.419 F(with more comple)72
277.4 Q 2.5(xi)-.15 G(ntersections.)-2.5 E F1 2.5(11. Object)72 301.4 R
(Gr)2.5 E(oups)-.18 E F0(There are tw)97 317 Q 2.5(od)-.1 G(if)-2.5 E
(ferent w)-.25 E(ays to group objects in)-.1 E F1(pic)2.5 E F0(;)A F2
(br)2.5 E(ace gr)-.15 E(ouping)-.45 E F0(and)2.5 E F2(bloc)2.5 E 2.5(kc)
-.2 G(omposites)-2.5 E F0(.)A F1 2.5(11.1. Brace)72 341 R(Gr)2.5 E
(ouping)-.18 E F0 .504(The simpler method is simply to group a set of o\
bjects within curly brack)97 356.6 R .503(et or brace characters.)-.1 F
(On)5.503 E -.15(ex)72 368.6 S 1.491(it from this grouping, the current\
 position and direction are restored to their v).15 F 1.491
(alue when the opening)-.25 F(brace w)72 380.6 Q(as encountered.)-.1 E
F1 2.5(11.2. Block)72 404.6 R(Composites)2.5 E F0 2.554(Ab)97 420.2 S
.053(lock composite object is created a series of commands enclosed by \
square brack)-2.554 F 2.553(ets. The)-.1 F(compos-)2.553 E .163
(ite can be treated for most purposes lik)72 432.2 R 2.663(eas)-.1 G
.164(ingle closed object, with the size and shape of its bounding box.)
-2.663 F(Here is an e)72 444.2 Q 2.5(xample. The)-.15 F
(program fragment)2.5 E/F3 10/Courier@0 SF(A: [)108 462.2 Q(circle;)132
474.2 Q(line up 1 at last circle .n;)132 486.2 Q
(line down 1 at last circle .s;)132 498.2 Q
(line right 1 at last circle .e;)132 510.2 Q
(line left 1 at last circle .w;)132 522.2 Q
(box dashed with .nw at last circle .se + \(0.2, -0.2\);)132 534.2 Q
(Caption: center of last box;)132 546.2 Q(])108 558.2 Q F0 .853
(yields the block in \214gure 11-1, which we sho)72 579.8 R 3.352(wb)
-.25 G .852(oth with and without its attachment points.)-3.352 F .852
(The block')5.852 F(s)-.55 E(location becomes the v)72 591.8 Q(alue of)
-.25 E F1(A)2.5 E F0(.)A 0 Cg EP
%%Page: 19 19
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-19-)279.67 48 Q 178.56 175.44 18 DC .4 LW ST
178.56 85.44 178.56 157.44 DL 178.56 265.44 178.56 193.44 DL 268.56
175.44 196.56 175.44 DL 88.56 175.44 160.56 175.44 DL 209.304 238.584
205.704 238.584 DL 216.504 238.584 212.904 238.584 DL 223.704 238.584
220.104 238.584 DL 230.904 238.584 227.304 238.584 DL 238.104 238.584
234.504 238.584 DL 245.304 238.584 241.704 238.584 DL 252.504 238.584
248.904 238.584 DL 259.704 238.584 256.104 238.584 DL 259.704 234.984
259.704 238.584 DL 259.704 228.504 259.704 232.104 DL 259.704 222.024
259.704 225.624 DL 259.704 215.544 259.704 219.144 DL 259.704 209.064
259.704 212.664 DL 259.704 202.584 259.704 206.184 DL 256.104 202.584
259.704 202.584 DL 248.904 202.584 252.504 202.584 DL 241.704 202.584
245.304 202.584 DL 234.504 202.584 238.104 202.584 DL 227.304 202.584
230.904 202.584 DL 220.104 202.584 223.704 202.584 DL 212.904 202.584
216.504 202.584 DL 205.704 202.584 209.304 202.584 DL 205.704 206.184
205.704 202.584 DL 205.704 212.664 205.704 209.064 DL 205.704 219.144
205.704 215.544 DL 205.704 225.624 205.704 222.024 DL 205.704 232.104
205.704 228.504 DL 205.704 238.584 205.704 234.984 DL 396 175.44 18 DC
ST 396 85.44 396 157.44 DL 396 265.44 396 193.44 DL 486 175.44 414
175.44 DL 306 175.44 378 175.44 DL 426.744 238.584 423.144 238.584 DL
433.944 238.584 430.344 238.584 DL 441.144 238.584 437.544 238.584 DL
448.344 238.584 444.744 238.584 DL 455.544 238.584 451.944 238.584 DL
462.744 238.584 459.144 238.584 DL 469.944 238.584 466.344 238.584 DL
477.144 238.584 473.544 238.584 DL 477.144 234.984 477.144 238.584 DL
477.144 228.504 477.144 232.104 DL 477.144 222.024 477.144 225.624 DL
477.144 215.544 477.144 219.144 DL 477.144 209.064 477.144 212.664 DL
477.144 202.584 477.144 206.184 DL 473.544 202.584 477.144 202.584 DL
466.344 202.584 469.944 202.584 DL 459.144 202.584 462.744 202.584 DL
451.944 202.584 455.544 202.584 DL 444.744 202.584 448.344 202.584 DL
437.544 202.584 441.144 202.584 DL 430.344 202.584 433.944 202.584 DL
423.144 202.584 426.744 202.584 DL 423.144 206.184 423.144 202.584 DL
423.144 212.664 423.144 209.064 DL 423.144 219.144 423.144 215.544 DL
423.144 225.624 423.144 222.024 DL 423.144 232.104 423.144 228.504 DL
423.144 238.584 423.144 234.984 DL 396 175.44 1.44 DC 0.5 Fg 396 175.44
1.44 DC 0 Cg ST/F1 10/Times-Bold@0 SF(.c)398.5 177.64 Q 396 85.44 1.44
DC 0.5 Fg 396 85.44 1.44 DC 0 Cg ST(.n)391.97 81.64 Q 486 85.44 1.44 DC
0.5 Fg 486 85.44 1.44 DC 0 Cg ST(.ne)481 81.64 Q 486 175.44 1.44 DC 0.5
Fg 486 175.44 1.44 DC 0 Cg ST(.e)488.5 177.64 Q 486 265.44 1.44 DC 0.5
Fg 486 265.44 1.44 DC 0 Cg ST(.se)481.835 273.64 Q 396 265.44 1.44 DC
0.5 Fg 396 265.44 1.44 DC 0 Cg ST(.s)392.805 273.64 Q 306 265.44 1.44 DC
0.5 Fg 306 265.44 1.44 DC 0 Cg ST(.sw)297.945 273.64 Q 306 175.44 1.44
DC 0.5 Fg 306 175.44 1.44 DC 0 Cg ST(.w)293.78 177.64 Q 306 85.44 1.44
DC 0.5 Fg 306 85.44 1.44 DC 0 Cg ST(.nw)297.11 81.64 Q F0
(Figure 11-1: A sample composite object)207.59 289.88 Q 3.041 -.8(To r)
72 317.48 T 1.441(efer to one of the composite').8 F 3.942(sa)-.55 G
1.442(ttachment points, you can say \(for e)-3.942 F(xample\))-.15 E F1
3.942(A.)3.942 G(s)-3.942 E F0 6.442(.F)C 1.442(or purposes of)-6.592 F
1.044(object naming, composites are a class.)72 329.48 R -1.1(Yo)6.044 G
3.544(uc)1.1 G 1.044(ould write)-3.544 F F1 1.043(last [] .s)3.544 F F0
1.043(as an equi)3.543 F -.25(va)-.25 G 1.043(lent reference, usable an)
.25 F(y-)-.15 E .826(where a location is needed.)72 341.48 R .826
(This construction is v)5.826 F .826
(ery important for putting together lar)-.15 F .826(ge, multi-part dia-)
-.18 F(grams.)72 353.48 Q .121(Blocks are also a v)97 369.08 R .121
(ariable-scoping mechanism, lik)-.25 F 2.621(ea)-.1 G/F2 10
/Times-Italic@0 SF(gr)A(of)-.45 E(f)-.18 E F0 .121(\(1\) en)1.96 F 2.621
(vironment. All)-.4 F -.25(va)2.62 G .12(riable assignments).25 F .474
(done inside a block are undone at the end of it.)72 381.08 R 2.074 -.8
(To g)5.474 H .474(et at v).8 F .474
(alues within a block, write a name of the block)-.25 F(follo)72 393.08
Q .156(wed by a dot, follo)-.25 F .155(wed by the label you w)-.25 F
2.655(ant. F)-.1 F .155(or e)-.15 F .155
(xample, we could refer the the center of the box in)-.15 F(the abo)72
405.08 Q .3 -.15(ve c)-.15 H(omposite as).15 E F1(last [] .Caption)2.5 E
F0(or)2.5 E F1(A.Caption)2.5 E F0(.)A .626
(This kind of reference to a label can be used in an)97 420.68 R 3.126
(yw)-.15 G .626(ay an)-3.226 F 3.126(yo)-.15 G .626
(ther location can be.)-3.126 F -.15(Fo)5.626 G 3.126(re).15 G .626
(xample, if)-3.276 F(we added)72 432.68 Q F1("Hi!" at A.Caption)2.5 E F0
(the result w)2.5 E(ould look lik)-.1 E 2.5(et)-.1 G(his:)-2.5 E 288
540.68 18 DC ST 288 450.68 288 522.68 DL 288 630.68 288 558.68 DL 378
540.68 306 540.68 DL 198 540.68 270 540.68 DL 318.744 603.824 315.144
603.824 DL 325.944 603.824 322.344 603.824 DL 333.144 603.824 329.544
603.824 DL 340.344 603.824 336.744 603.824 DL 347.544 603.824 343.944
603.824 DL 354.744 603.824 351.144 603.824 DL 361.944 603.824 358.344
603.824 DL 369.144 603.824 365.544 603.824 DL 369.144 600.224 369.144
603.824 DL 369.144 593.744 369.144 597.344 DL 369.144 587.264 369.144
590.864 DL 369.144 580.784 369.144 584.384 DL 369.144 574.304 369.144
577.904 DL 369.144 567.824 369.144 571.424 DL 365.544 567.824 369.144
567.824 DL 358.344 567.824 361.944 567.824 DL 351.144 567.824 354.744
567.824 DL 343.944 567.824 347.544 567.824 DL 336.744 567.824 340.344
567.824 DL 329.544 567.824 333.144 567.824 DL 322.344 567.824 325.944
567.824 DL 315.144 567.824 318.744 567.824 DL 315.144 571.424 315.144
567.824 DL 315.144 577.904 315.144 574.304 DL 315.144 584.384 315.144
580.784 DL 315.144 590.864 315.144 587.264 DL 315.144 597.344 315.144
593.744 DL 315.144 603.824 315.144 600.224 DL(Hi!)335.479 588.024 Q
(Figure 11-2: Adding a caption using interior labeling)182.035 653.68 Q
-1.1(Yo)97 681.28 S 2.993(uc)1.1 G .492
(an also use interior labels in either part of a)-2.993 F F1(with)2.992
E F0(modi\214er)2.992 E 5.492(.T)-.55 G .492(his means that the e)-5.492
F .492(xample com-)-.15 F(posite could be placed relati)72 693.28 Q .3
-.15(ve t)-.25 H 2.5(oi).15 G(ts caption box by a command containing)
-2.5 E F1(with A.Caption at)2.5 E F0(.)A
(Note that both width and height of the block composite object are al)97
708.88 Q -.1(wa)-.1 G(ys positi).1 E -.15(ve)-.25 G(:).15 E 0 Cg EP
%%Page: 20 20
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-20-)279.67 48 Q 144 129 MT 0 -36 RL 36 0 RL 0
36 RL CL .4 LW ST 198 138 MT 0 -54 RL -54 0 RL 0 54 RL CL ST/F1 10
/Times-Bold@0 SF(box wid -0.5 ht 0.5; box wid 0.75 ht 0.75)86.41 169 Q
342 129 MT 0 -36 RL 36 0 RL 0 36 RL CL ST 432 138 MT 0 -54 RL -54 0 RL 0
54 RL CL ST([box wid -0.5 ht 0.5]; box wid 0.75 ht 0.75)299.08 169 Q F0
(Figure 11-3: Composite block objects al)135.15 189.8 Q -.1(wa)-.1 G
(ys ha).1 E .3 -.15(ve p)-.2 H(ositi).15 E .3 -.15(ve w)-.25 H
(idth and height).15 E 1.121(Blocks may be nested.)97 217.4 R 1.121
(This means you can use block attachment points to b)6.121 F 1.122
(uild up comple)-.2 F 3.622(xd)-.15 G(ia-)-3.622 E .156
(grams hierarchically)72 229.4 R 2.656(,f)-.65 G .156
(rom the inside out.)-2.656 F .155(Note that)5.155 F F1(last)2.655 E F0
.155(and the other sequential naming mechanisms don')2.655 F(t)-.18 E
(look inside blocks, so if you ha)72 241.4 Q .3 -.15(ve a p)-.2 H
(rogram that looks lik).15 E(e)-.1 E/F2 10/Courier@0 SF(.PS)108 259.4 Q
(P: [box "foo"; ellipse "bar"];)108 271.4 Q(Q: [)108 283.4 Q
([box "baz"; ellipse "quxx"])133 295.4 Q("random text";)133 307.4 Q(])
126 319.4 Q(arrow from 2nd last [];)108 331.4 Q(.PE)108 343.4 Q F0
(the arro)72 365 Q 2.5(wi)-.25 G 2.5(nt)-2.5 G
(he last line is attached to object)-2.5 E F1(P)2.5 E F0 2.5(,n)C
(ot object)-2.5 E F1(Q)2.5 E F0(.)A 2.52(In D)97 380.6 R(WB)-.3 E F1
(pic)5.02 E F0 5.02(,o)C 2.52(nly references one le)-5.02 F -.15(ve)-.25
G 5.02(ld).15 G 2.52(eep into enclosed blocks were permitted.)-5.02 F
(GNU)7.52 E F1(gpic)5.02 E F0(remo)72 392.6 Q -.15(ve)-.15 G 2.5(st).15
G(his restriction.)-2.5 E .913(The combination of block v)97 408.2 R
.913(ariable scoping, assignability of labels and the macro f)-.25 F
.912(acility that we')-.1 F(ll)-.1 E .406
(describe later on can be used to simulate functions with local v)72
420.2 R .407(ariables \(just wrap the macro body in block)-.25 F
(braces\).)72 432.2 Q F1 2.5(12. Style)72 456.2 R -.92(Va)2.5 G(riables)
.92 E F0 .914(There are a number of global style v)97 471.8 R .913
(ariables in)-.25 F F1(pic)3.413 E F0 .913
(that can be used to change its o)3.413 F -.15(ve)-.15 G .913(rall beha)
.15 F(vior)-.2 E(.)-.55 E -.8(We)72 483.8 S -1.65 -.5('v e).8 H .758
(mentioned se)3.758 F -.15(ve)-.25 G .758(ral of them in pre).15 F .758
(vious sections.)-.25 F(The)5.758 E(y')-.15 E .758
(re all described here.)-.5 F -.15(Fo)5.758 G 3.258(re).15 G .758(ach v)
-3.258 F .758(ariable, the)-.25 F(def)72 495.8 Q(ault is gi)-.1 E -.15
(ve)-.25 G(n.).15 E F1(Style V)138.325 515.8 Q 12.5
(ariable Default What)-.92 F(It Does)2.5 E .08 LW 437.675 522.3 138.325
522.3 DL 252.395 504.3 252.395 524.3 DL 205.735 504.3 205.735 524.3 DL
F0 59.21(boxht 0.5)138.325 533.8 R(Def)24.58 E(ault height of a box)-.1
E 51.99(boxwid 0.75)138.325 545.8 R(Def)19.58 E(ault width of a box)-.1
E 59.21(lineht 0.5)138.325 557.8 R(Def)24.58 E(ault length of v)-.1 E
(ertical line)-.15 E(line)138.325 569.8 Q 52.24(wid 0.75)-.25 F(Def)
19.58 E(ault length of horizontal line)-.1 E 43.66(linethick -1)138.325
581.8 R(Def)32.08 E(ault line thickness)-.1 E 57.01(arcrad 0.25)138.325
593.8 R(Def)19.58 E(ault radius of an arc)-.1 E 47.01(circlerad 0.25)
138.325 605.8 R(Def)19.58 E(ault radius of a circle)-.1 E 48.1
(ellipseht 0.5)138.325 617.8 R(Def)24.58 E(ault height of an ellipse)-.1
E(ellipse)138.325 629.8 Q 41.13(wid 0.75)-.25 F(Def)19.58 E
(ault width of an ellipse)-.1 E(mo)138.325 641.8 Q -.15(ve)-.15 G 52.29
(ht 0.5).15 F(Def)24.58 E(ault length of v)-.1 E(ertical mo)-.15 E -.15
(ve)-.15 G(mo)138.325 653.8 Q -.15(ve)-.15 G 45.32(wid 0.75)-.1 F(Def)
19.58 E(ault length of horizontal mo)-.1 E -.15(ve)-.15 G(te)138.325
665.8 Q 59.36(xtht 0)-.15 F(Def)32.08 E
(ault height of box enclosing a te)-.1 E(xt object)-.15 E(te)138.325
677.8 Q 52.14(xtwid 0)-.15 F(Def)32.08 E
(ault width of box enclosing a te)-.1 E(xt object)-.15 E(arro)138.325
689.8 Q 51.14(wht 0.1)-.25 F(Length of arro)24.58 E(whead along shaft)
-.25 E(arro)138.325 701.8 Q 43.92(wwid 0.05)-.25 F -.4(Wi)19.58 G
(dth of rear of arro).4 E(whead)-.25 E(arro)138.325 713.8 Q 40.04
(whead 1)-.25 F(Enable/disable arro)32.08 E(whead \214lling)-.25 E
252.395 524.3 252.395 716.3 DL 205.735 524.3 205.735 716.3 DL 0 Cg EP
%%Page: 21 21
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-21-)279.67 48 Q/F1 10/Times-Bold@0 SF(Style V)
138.325 86 Q 12.5(ariable Default What)-.92 F(It Does)2.5 E .08 LW
437.675 92.5 138.325 92.5 DL 252.395 74.5 252.395 94.5 DL 205.735 74.5
205.735 94.5 DL F0 48.66(dashwid 0.05)138.325 104 R(Interv)19.58 E
(al for dashed lines)-.25 E 40.88(maxpswid 8.5)138.325 116 R
(Maximum width of picture)24.58 E 43.1(maxpsht 11)138.325 128 R
(Maximum height of picture)32.08 E 62(scale 1)138.325 140 R
(Unit scale f)32.08 E(actor)-.1 E(\214llv)138.325 152 Q 58.9(al 0.5)-.25
F(Def)24.58 E(ault \214ll v)-.1 E(alue)-.25 E 437.675 161.5 138.325
161.5 DL 252.395 94.5 252.395 161.5 DL 205.735 94.5 205.735 161.5 DL(An)
72 177 Q 2.5(yo)-.15 G 2.5(ft)-2.5 G(hese v)-2.5 E
(ariables can be set with a simple assignment statement.)-.25 E -.15(Fo)
5 G 2.5(re).15 G(xample:)-2.65 E 244.8 267 MT 0 -72 RL -21.6 0 RL 0 72
RL CL .4 LW ST 280.8 267 MT 0 -72 RL -21.6 0 RL 0 72 RL CL ST 316.8 267
MT 0 -72 RL -21.6 0 RL 0 72 RL CL ST 352.8 267 MT 0 -72 RL -21.6 0 RL 0
72 RL CL ST(Figure 12-1:)98.615 290 Q F1(boxht=1; boxwid=0.3; mo)2.5 E
-.1(ve)-.1 G(wid=0.2; box; mo).1 E -.1(ve)-.1 G 2.5(;b).1 G(ox; mo)-2.5
E -.1(ve)-.1 G 2.5(;b).1 G(ox; mo)-2.5 E -.1(ve)-.1 G 2.5(;b).1 G(ox;)
-2.5 E F0 1.338(In GNU)97 317.6 R F1(pic)3.838 E F0 3.838(,s)C 1.338
(etting the)-3.838 F F1(scale)3.838 E F0 -.25(va)3.837 G 1.337
(riable re-scales all size-related state v).25 F 1.337
(ariables so that their v)-.25 F(alues)-.25 E(remain equi)72 329.6 Q
-.25(va)-.25 G(lent in the ne).25 E 2.5(wu)-.25 G(nits.)-2.5 E .087
(The command)97 345.2 R F1 -.18(re)2.587 G(set).18 E F0 .088
(resets all style v)2.587 F .088(ariables to their def)-.25 F 2.588
(aults. Y)-.1 F .088(ou can gi)-1.1 F .388 -.15(ve i)-.25 H 2.588(tal)
.15 G .088(ist of v)-2.588 F .088(ariable names)-.25 F(as ar)72 357.2 Q
(guments \(optionally separated by commas\), in which case it resets on\
ly those.)-.18 E(State v)97 372.8 Q(ariables retain their v)-.25 E
(alues across pictures until reset.)-.25 E F1 2.5(13. Expr)72 396.8 R
(essions, V)-.18 E(ariables, and Assignment)-.92 E F0 2.85(An)97 412.4 S
.35(umber is a v)-2.85 F .35(alid e)-.25 F .35(xpression, of course \(a\
ll numbers are stored internally as \215oating-point\).)-.15 F(Deci-)
5.35 E(mal-point notation is acceptable; in GNU)72 424.4 Q F1(gpic)2.5 E
F0 2.5(,s)C(cienti\214c notation in C')-2.5 E 2.5(s`)-.55 G
(e' format \(lik)-2.5 E(e)-.1 E/F2 10/Courier@0 SF(5e-2)2.5 E F0 2.5
(\)i)C 2.5(sa)-2.5 G(ccepted.)-2.5 E(An)97 440 Q .523
(ywhere a number is e)-.15 F .523
(xpected, the language also accepts a v)-.15 F 3.024(ariable. V)-.25 F
.524(ariables may be the b)-1.11 F(uilt-in)-.2 E(style v)72 452 Q
(ariable described in the last section, or ne)-.25 E 2.5(wv)-.25 G
(ariables created by assignment.)-2.75 E -.3(DW)97 467.6 S(B).3 E F1
(pic)2.808 E F0 .308(supports only the ordinary assignment via)2.808 F
F1(=)2.808 E F0 2.808(,w)C .308(hich de\214nes the v)-2.808 F .307
(ariable \(on the left side of)-.25 F .031(the equal sign\) in the curr\
ent block if it is not already de\214ned there, and then changes the v)
72 479.6 R .032(alue \(on the right)-.25 F .031
(side\) in the current block.)72 491.6 R .031(The v)5.031 F .031
(ariable is not visible outside of the block.)-.25 F .031
(This is similar to the C program-)5.031 F(ming language where a v)72
503.6 Q(ariable within a block shado)-.25 E(ws a v)-.25 E
(ariable with the same name outside of the block.)-.25 E(GNU)97 519.2 Q
F1(gpic)2.904 E F0 .404(supports an alternate form of assignment using)
2.904 F F1(:=)2.904 E F0 5.404(.T)C .404(he v)-5.404 F .404
(ariable must already be de\214ned,)-.25 F .575(and the v)72 531.2 R
.575(alue is assigned to that v)-.25 F .575
(ariable without creating a v)-.25 F .575
(ariable local to the current block.)-.25 F -.15(Fo)5.575 G 3.075(re).15
G(xam-)-3.225 E(ple, this)72 543.2 Q F2(x=5)108 561.2 Q(y=5)108 573.2 Q
([)108 585.2 Q(x:=3)120 597.2 Q(y=3)120 609.2 Q(])108 621.2 Q
(print x " " y)108 633.2 Q F0(prints)72 654.8 Q F1 2.5(35)2.5 G F0(.)
-2.5 E -1.1(Yo)97 670.4 S 2.723(uc)1.1 G .224
(an use the height, width, radius, and x and y coordinates of an)-2.723
F 2.724(yo)-.15 G .224(bject or corner in e)-2.724 F(xpressions.)-.15 E
(If)72 682.4 Q F1(A)2.5 E F0(is an object label or name, all the follo)
2.5 E(wing are v)-.25 E(alid:)-.25 E 0 Cg EP
%%Page: 22 22
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-22-)279.67 48 Q/F1 10/Courier@0 SF 102(A.x #)
108 84 R 6(xc)6 G(oordinate of the center of A)-6 E 84(A.ne.y #)108 96 R
6(yc)6 G(oordinate of the northeast corner of A)-6 E 90(A.wid #)108 108
R(the width of A)6 E 96(A.ht #)108 120 R(and its height)6 E
(2nd last circle.rad)108 132 Q 6(#t)12 G
(he radius of the 2nd last circle)-6 E F0(Note the second e)72 153.6 Q
(xpression, sho)-.15 E(wing ho)-.25 E 2.5(wt)-.25 G 2.5(oe)-2.5 G
(xtract a corner coordinate.)-2.65 E .148
(Basic arithmetic resembling those of C operators are a)97 169.2 R -.25
(va)-.2 G(ilable;).25 E/F2 10/Times-Bold@0 SF(+)2.647 E F0(,)A F2(*)
2.647 E F0(,)A F2(-)2.647 E F0(,)A F2(/)2.647 E F0 2.647(,a)C(nd)-2.647
E F2(%)2.647 E F0 5.147(.S)C 2.647(oi)-5.147 G(s)-2.647 E F2(^)2.647 E
F0 .147(for e)2.647 F(xponen-)-.15 E 3.307(tiation. Grouping)72 181.2 R
.807(is permitted in the usual w)3.307 F .807(ay using parentheses.)-.1
F(GNU)5.807 E F2(gpic)3.308 E F0(allo)3.308 E .808
(ws logical operators to)-.25 F(appear in e)72 193.2 Q(xpressions;)-.15
E F2(!)2.5 E F0(\(logical ne)2.5 E -.05(ga)-.15 G(tion, not f).05 E
(actorial\),)-.1 E F2(&&)2.5 E F0(,)A F2 1.666(||)2.5 G F0(,)-1.666 E F2
(==)2.5 E F0(,)A F2(!=)2.5 E F0(,)A F2(>=)2.5 E F0(,)A F2(<=)2.5 E F0(,)
A F2(<)2.5 E F0(,)A F2(>)2.5 E F0(.)A -1.11(Va)97 208.8 S .563(rious b)
1.11 F .563(uilt-in functions are supported:)-.2 F F2(sin\()3.063 E/F3
10/Times-Italic@0 SF(x)A F2(\))A F0(,)A F2(cos\()3.063 E F3(x)A F2(\))A
F0(,)A F2(log\()3.063 E F3(x)A F2(\))A F0(,)A F2(exp\()3.063 E F3(x)A F2
(\))A F0(,)A F2(sqrt\()3.062 E F3(x)A F2(\))A F0(,)A F2(max\()3.062 E F3
(x)A F2(,)A F3(y)A F2(\))A F0(,)A F2(atan2\()3.062 E F3(x)A F2(,)A F3(y)
A F2(\))A F0(,)A F2(min\()72 220.8 Q F3(x)A F2(,)A F3(y)A F2(\))A F0(,)A
F2(int\()3.54 E F3(x)A F2(\))A F0(,)A F2(rand\(\))3.54 E F0 3.54(,a)C
(nd)-3.54 E F2(srand\(\))3.54 E F0 6.04(.B)C(oth)-6.04 E F2(exp)3.54 E
F0(and)3.541 E F2(log)3.541 E F0 1.041(are base 10;)3.541 F F2(int)3.541
E F0 1.041(does inte)3.541 F 1.041(ger truncation;)-.15 F F2(rand\(\))
3.541 E F0 .073(returns a random number in [0-1\), and)72 232.8 R F2
(srand\(\))2.573 E F0 .073(sets the seed for a ne)2.573 F 2.573(ws)-.25
G .073(equence of pseudo-random numbers)-2.573 F(to be returned by)72
244.8 Q F2(rand\(\))2.5 E F0(\()2.5 E F2(srand\(\))A F0(is a GNU e)2.5 E
(xtension\).)-.15 E(GNU)97 260.4 Q F2(gpic)3.455 E F0 .955
(also documents a one-ar)3.455 F .955(gument form or rand,)-.18 F F2
(rand\()3.455 E F3(x)A F2(\))A F0 3.455(,w)C .955
(hich returns a random number)-3.455 F(between 1 and)72 272.4 Q F3(x)2.5
E F0 2.5(,b)C(ut this is deprecated and may be remo)-2.7 E -.15(ve)-.15
G 2.5(di).15 G 2.5(naf)-2.5 G(uture v)-2.5 E(ersion.)-.15 E .072
(The function)97 288 R F2(sprintf\(\))2.572 E F0(beha)2.572 E -.15(ve)
-.2 G 2.571(sl).15 G(ik)-2.571 E 2.571(eaC)-.1 G F3(sprintf)A F0 .071
(\(3\) function that only tak)1.96 F .071(es %, %e, %f, and %g format)
-.1 F(strings.)72 300 Q F2 2.5(14. Macr)72 324 R(os)-.18 E F0 -1.1(Yo)97
339.6 S 2.527(uc)1.1 G .028(an de\214ne macros in)-2.527 F F2(pic)2.528
E F0 2.528(,w)C .028(ith up to 32 ar)-2.528 F .028
(guments \(up to 16 on EBCDIC platforms\).)-.18 F .028(This is use-)
5.028 F .952(ful for diagrams with repetiti)72 351.6 R 1.251 -.15(ve p)
-.25 H 3.451(arts. In).15 F .951
(conjunction with the scope rules for block composites, it ef)3.451 F
(fec-)-.25 E(ti)72 363.6 Q -.15(ve)-.25 G(ly gi).15 E -.15(ve)-.25 G 2.5
(sy).15 G(ou the ability to write functions.)-2.5 E(The syntax is)97
379.2 Q F2(de\214ne)108 397.2 Q F3(name)6 E F2({)6 E F3 -.37(re)6 G
(placement te).37 E(xt)-.2 E F2(})2.5 E F0 .217(This de\214nes)72 418.8
R F3(name)2.717 E F0 .218
(as a macro to be replaced by the replacement te)2.717 F .218
(xt \(not including the braces\).)-.15 F .218(The macro)5.218 F
(may be called as)72 430.8 Q F3(name)108 448.8 Q F2(\()A F3(ar)A(g1, ar)
-.37 E 1.666(g2, .)-.37 F -3.332 1.666(.. a)1.666 H -.37(rg)-1.666 G(n)
.37 E F2(\))A F0(The ar)72 470.4 Q(guments \(if an)-.18 E
(y\) are substituted for tok)-.15 E(ens)-.1 E F2($1)2.5 E F0(,)A F2($2)
2.5 E F0 1.666(...)2.5 G F2($n).834 E F0
(appearing in the replacement te)2.5 E(xt.)-.15 E(As an e)97 486 Q
(xample of macro use, consider this:)-.15 E 0 Cg EP
%%Page: 23 23
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-23-)279.67 48 Q/F1 9/Courier@0 SF(.PS)108 83 Q
5.4(#P)108 94 S(lot a single jumper in a box, $1 is the on-off state.)
-5.4 E(define jumper { [)108 105 Q(shrinkfactor = 0.8;)129.6 116 Q
(Outer: box invis wid 0.45 ht 1;)129.6 127 Q 5.4(#C)129.6 149 S
(ount on end ] to reset these)-5.4 E
(boxwid = Outer.wid * shrinkfactor / 2;)129.6 160 Q 5.4(boxht =)129.6
171 R 5.4(Outer.ht *)5.4 F(shrinkfactor / 2;)5.4 E
(box fill \(!$1\) with .s at center of Outer;)129.6 193 Q
(box fill \($1\))129.6 204 Q(with .n at center of Outer;)10.8 E 5.4(]})
108 215 S 5.4(#P)108 237 S(lot a block of six jumpers.)-5.4 E
(define jumperblock {)108 248 Q(jumper\($1\);)129.6 259 Q(jumper\($2\);)
129.6 270 Q(jumper\($3\);)129.6 281 Q(jumper\($4\);)129.6 292 Q
(jumper\($5\);)129.6 303 Q(jumper\($6\);)129.6 314 Q 5.4(jwidth =)129.6
336 R(last [].Outer.wid;)5.4 E(jheight = last [].Outer.ht;)129.6 347 Q
(box with .nw at 6th last [].nw wid 6*jwidth ht jheight;)129.6 369 Q 5.4
(#U)129.6 391 S(se {} to avoid changing position from last box draw.)
-5.4 E 5.4(#T)129.6 402 S
(his is necessary so move in any direction works as expected)-5.4 E
({"Jumpers in state $1$2$3$4$5$6" at last box .s + \(0,-0.2\);})129.6
413 Q(})108 424 Q 5.4(#S)108 446 S(ample macro invocations.)-5.4 E
(jumperblock\(1,1,0,0,1,0\);)108 457 Q(move;)108 468 Q
(jumperblock\(1,0,1,0,1,1\);)108 479 Q(.PE)108 490 Q F0
(It yields the follo)72 511.6 Q(wing:)-.25 E 107.28 565.6 MT 0 -28.8 RL
-12.96 0 RL 0 28.8 RL CL 1 Fg 107.28 565.6 MT 0 -28.8 RL -12.96 0 RL 0
28.8 RL CL .4 LW 0 Cg ST 107.28 594.4 MT 0 -28.8 RL -12.96 0 RL 0 28.8
RL CL 0 Fg 107.28 594.4 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 0 Cg ST
139.68 565.6 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 1 Fg 139.68 565.6 MT
0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 0 Cg ST 139.68 594.4 MT 0 -28.8 RL
-12.96 0 RL 0 28.8 RL CL 0 Fg 139.68 594.4 MT 0 -28.8 RL -12.96 0 RL 0
28.8 RL CL 0 Cg ST 172.08 565.6 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 0
Fg 172.08 565.6 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 0 Cg ST 172.08
594.4 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 1 Fg 172.08 594.4 MT 0
-28.8 RL -12.96 0 RL 0 28.8 RL CL 0 Cg ST 204.48 565.6 MT 0 -28.8 RL
-12.96 0 RL 0 28.8 RL CL 0 Fg 204.48 565.6 MT 0 -28.8 RL -12.96 0 RL 0
28.8 RL CL 0 Cg ST 204.48 594.4 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 1
Fg 204.48 594.4 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 0 Cg ST 236.88
565.6 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 1 Fg 236.88 565.6 MT 0
-28.8 RL -12.96 0 RL 0 28.8 RL CL 0 Cg ST 236.88 594.4 MT 0 -28.8 RL
-12.96 0 RL 0 28.8 RL CL 0 Fg 236.88 594.4 MT 0 -28.8 RL -12.96 0 RL 0
28.8 RL CL 0 Cg ST 269.28 565.6 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 0
Fg 269.28 565.6 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 0 Cg ST 269.28
594.4 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 1 Fg 269.28 594.4 MT 0
-28.8 RL -12.96 0 RL 0 28.8 RL CL 0 Cg ST 279 601.6 MT 0 -72 RL -194.4 0
RL 0 72 RL CL ST(Jumpers in state 110010)133.33 618.2 Q 319.68 565.6 MT
0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 1 Fg 319.68 565.6 MT 0 -28.8 RL
-12.96 0 RL 0 28.8 RL CL 0 Cg ST 319.68 594.4 MT 0 -28.8 RL -12.96 0 RL
0 28.8 RL CL 0 Fg 319.68 594.4 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 0
Cg ST 352.08 565.6 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 0 Fg 352.08
565.6 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 0 Cg ST 352.08 594.4 MT 0
-28.8 RL -12.96 0 RL 0 28.8 RL CL 1 Fg 352.08 594.4 MT 0 -28.8 RL -12.96
0 RL 0 28.8 RL CL 0 Cg ST 384.48 565.6 MT 0 -28.8 RL -12.96 0 RL 0 28.8
RL CL 1 Fg 384.48 565.6 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 0 Cg ST
384.48 594.4 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 0 Fg 384.48 594.4 MT
0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 0 Cg ST 416.88 565.6 MT 0 -28.8 RL
-12.96 0 RL 0 28.8 RL CL 0 Fg 416.88 565.6 MT 0 -28.8 RL -12.96 0 RL 0
28.8 RL CL 0 Cg ST 416.88 594.4 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 1
Fg 416.88 594.4 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 0 Cg ST 449.28
565.6 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 1 Fg 449.28 565.6 MT 0
-28.8 RL -12.96 0 RL 0 28.8 RL CL 0 Cg ST 449.28 594.4 MT 0 -28.8 RL
-12.96 0 RL 0 28.8 RL CL 0 Fg 449.28 594.4 MT 0 -28.8 RL -12.96 0 RL 0
28.8 RL CL 0 Cg ST 481.68 565.6 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 1
Fg 481.68 565.6 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 0 Cg ST 481.68
594.4 MT 0 -28.8 RL -12.96 0 RL 0 28.8 RL CL 0 Fg 481.68 594.4 MT 0
-28.8 RL -12.96 0 RL 0 28.8 RL CL 0 Cg ST 491.4 601.6 MT 0 -72 RL -194.4
0 RL 0 72 RL CL ST(Jumpers in state 101011)345.73 618.2 Q
(Figure 14-1: Sample use of a macro)216.345 639 Q .645(This macro e)72
666.6 R .645(xample illustrates ho)-.15 F 3.145(wy)-.25 G .645
(ou can combine [], brace grouping, and v)-3.145 F .644
(ariable assignment to write)-.25 F(true functions.)72 678.6 Q .251
(One detail the e)97 694.2 R .251(xample abo)-.15 F .552 -.15(ve d)-.15
H .252(oes not illustrate is the f).15 F .252(act that macro ar)-.1 F
.252(gument parsing is not tok)-.18 F(en-)-.1 E 2.798(oriented. If)72
706.2 R .298(you call)2.798 F/F2 10/Times-Bold@0 SF(jumper\( 1 \))2.798
E F0 2.798(,t)C .298(he v)-2.798 F .298(alue of $1 is)-.25 F F2 2.5("1")
2.798 G F0 5.298(.Y)-2.5 G .297(ou could e)-6.398 F -.15(ve)-.25 G 2.797
(nc).15 G(all)-2.797 E F2(jumper\(big string\))2.797 E F0 .297(to gi)
2.797 F -.15(ve)-.25 G($1 the v)72 718.2 Q(alue)-.25 E F2("big string")
2.5 E F0(.)A 0 Cg EP
%%Page: 24 24
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-24-)279.67 48 Q .272(If you w)97 84 R .272
(ant to pass in a coordinate pair)-.1 F 2.773(,y)-.4 G .273(ou can a)
-2.773 F -.2(vo)-.2 G .273
(id getting tripped up by the comma by wrapping).2 F
(the pair in parentheses.)72 96 Q(Macros persist through pictures.)97
111.6 Q 1.6 -.8(To u)5 H(nde\214ne a macro, say).8 E/F1 10/Times-Bold@0
SF(undef)2.5 E/F2 10/Times-Italic@0 SF(name)2.5 E F0 2.5(;f)C(or e)-2.5
E(xample,)-.15 E/F3 10/Courier@0 SF(undef jumper)108 129.6 Q
(undef jumperblock)108 141.6 Q F0 -.1(wo)72 163.2 S
(uld unde\214ne the tw).1 E 2.5(om)-.1 G(acros in the jumper block e)
-2.5 E(xample.)-.15 E F1 2.5(15. Import/Export)72 187.2 R(Commands)2.5 E
F0(Commands that import or e)97 202.8 Q(xport data between)-.15 E F1
(pic)2.5 E F0(and its en)2.5 E(vironment are described here.)-.4 E F1
2.5(15.1. File)72 226.8 R(and T)2.5 E(able Insertion)-.92 E F0
(The statement)97 242.4 Q F3(copy)108 260.4 Q F2(\214lename)2.5 E F0
.831(inserts the contents of)72 282 R F2(\214lename)3.331 E F0 .831
(in the)3.331 F F1(pic)3.331 E F0 .831(input stream.)3.331 F(An)5.831 E
(y)-.15 E F1(.PS)3.33 E F0(/)A F1(.PE)A F0 .83
(pair in the \214le is ignored.)3.33 F -1.1(Yo)5.83 G 3.33(uc)1.1 G(an)
-3.33 E(use this to include pre-generated images.)72 294 Q 2.5(Av)97
309.6 S(ariant of this statement replicates the)-2.75 E F1(copy thru)2.5
E F0(feature of)2.5 E F2(gr)2.5 E(ap)-.15 E F0 2.5(\(1\). The).19 F
(call)2.5 E F3(copy)108 327.6 Q F2(\214lename)2.5 E F3(thru)2.5 E F2
(macr)2.5 E(o)-.45 E F0(calls)72 349.2 Q F2(macr)2.849 E(o)-.45 E F0
.349(\(which may be either a name or replacement te)2.849 F .35
(xt\) on the ar)-.15 F .35(guments obtained by breaking each)-.18 F .636
(line of the \214le into blank-separated \214elds.)72 361.2 R .636
(The macro may ha)5.636 F .936 -.15(ve u)-.2 H 3.136(pt).15 G 3.136(o9a)
-3.136 G -.18(rg)-3.136 G 3.136(uments. The).18 F .635(replacement te)
3.135 F(xt)-.15 E
(may be delimited by braces or by a pair of instances of an)72 373.2 Q
2.5(yc)-.15 G(haracter not appearing in the rest of the te)-2.5 E(xt.)
-.15 E(If you write)97 388.8 Q F3 -3.5(copy thru)108 406.8 R F2(macr)2.5
E(o)-.45 E F0(omitting the \214lename, lines to be parsed are tak)72
428.4 Q(en from the input source up to the ne)-.1 E(xt)-.15 E F1(.PE)2.5
E F0(.)A 1.507(In either of the last tw)97 444 R(o)-.1 E F1(copy)4.007 E
F0 1.507(commands, GNU)4.007 F F1(gpic)4.007 E F0 1.507
(permits a trailing `)4.007 F F1(until)A F2(wor)4.007 E(d)-.37 E F0
4.007('c).77 G 1.507(lause to be)-4.007 F .625
(added which terminates the cop)72 456 R 3.125(yw)-.1 G .624
(hen the \214rst w)-3.125 F .624(ord matches the ar)-.1 F .624
(gument \(the def)-.18 F .624(ault beha)-.1 F .624(vior is there-)-.2 F
(fore equi)72 468 Q -.25(va)-.25 G(lent to).25 E F1(until .PE)2.5 E F0
(\).)A(Accordingly)97 483.6 Q 2.5(,t)-.65 G(he command)-2.5 E F3(.PS)122
499.2 Q(copy thru % circle at \($1,$2\) % until "END")122 511.2 Q 6(12)
122 523.2 S 6(34)122 535.2 S 6(56)122 547.2 S(END)122 559.2 Q(box)122
571.2 Q(.PE)122 583.2 Q F0(is equi)72 598.8 Q -.25(va)-.25 G(lent to).25
E F3(.PS)122 614.4 Q(circle at \(1,2\))122 626.4 Q(circle at \(3,4\))122
638.4 Q(circle at \(5,6\))122 650.4 Q(box)122 662.4 Q(.PE)122 674.4 Q F1
2.5(15.2. Deb)72 698.4 R(ug Messages)-.2 E F0 .89(The command)97 714 R
F1(print)3.39 E F0 .89(accepts an)3.39 F 3.39(yn)-.15 G .89(umber of ar)
-3.39 F .89(guments, concatenates their output forms, and writes)-.18 F
(the result to standard error)72 726 Q 5(.E)-.55 G(ach ar)-5 E
(gument must be an e)-.18 E(xpression, a position, or a te)-.15 E
(xt string.)-.15 E 0 Cg EP
%%Page: 25 25
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-25-)279.67 48 Q/F1 10/Times-Bold@0 SF 2.5
(15.3. Escape)72 84 R(to P)2.5 E(ost-Pr)-.2 E(ocessor)-.18 E F0
(If you write)97 99.6 Q F1(command)108 117.6 Q/F2 10/Times-Italic@0 SF
(ar)2.5 E(g)-.37 E F0 1.666(...)1.666 G F1(pic)72 139.2 Q F0 1.548
(concatenates the ar)4.048 F 1.547
(guments and pass them through as a line to trof)-.18 F 4.047(fo)-.25 G
4.047(rT)-4.047 G(E)-5.714 2.24 M 4.047(X. Each)-1.25 -2.24 N F2(ar)
4.047 E(g)-.37 E F0 1.547(must be an)4.047 F -.15(ex)72 151.2 S .005
(pression, a position, or te).15 F 2.505(xt. This)-.15 F .005
(has a similar ef)2.505 F .005(fect to a line be)-.25 F .005
(ginning with)-.15 F F1(.)2.505 E F0(or)5.005 E F1(\\)2.505 E F0 2.505
(,b)1.666 G .005(ut allo)-2.705 F .005(ws the v)-.25 F(alues)-.25 E
(of v)72 163.2 Q(ariables to be passed through.)-.25 E -.15(Fo)72 178.8
S 2.5(re).15 G(xample,)-2.65 E/F3 10/Courier@0 SF(.PS)108 196.8 Q 6(x=1)
108 208.8 S(4)-6 E(command ".ds string x is " x ".")108 220.8 Q(.PE)108
232.8 Q(\\*[string])108 244.8 Q F0(prints)72 266.4 Q F3 6(xi)108 284.4 S
6(s1)-6 G(4.)-6 E F1 2.5(15.4. Executing)72 314.4 R(Shell Commands)2.5 E
F0(The command)97 330 Q F3 -3.5(sh {)108 348 R F2(anything)2.5 E 1.666
(...)-.15 G F3(}).834 E F0(macro-e)72 369.6 Q 1.368(xpands the te)-.15 F
1.367(xt in braces, then e)-.15 F -.15(xe)-.15 G 1.367
(cutes it as a shell command.).15 F 1.367
(This could be used to generate)6.367 F .755
(images or data tables for later inclusion.)72 381.6 R .756
(The delimiters sho)5.756 F .756(wn as {} here may also be tw)-.25 F
3.256(oc)-.1 G .756(opies of an)-3.256 F(y)-.15 E 1.397
(one character not present in the shell command te)72 393.6 R 3.897
(xt. In)-.15 F 1.397(either case, the body may contain balanced {})3.897
F 2.5(pairs. Strings)72 405.6 R
(in the body may contain balanced or unbalanced braces in an)2.5 E 2.5
(yc)-.15 G(ase.)-2.5 E F1 2.5(16. Contr)72 429.6 R(ol-\215o)-.18 E 2.5
(wc)-.1 G(onstructs)-2.5 E F0(The)97 445.2 Q F1(pic)2.5 E F0
(language pro)2.5 E(vides conditionals and looping.)-.15 E -.15(Fo)5 G
2.5(re).15 G(xample,)-2.65 E F3(pi = atan2\(0,-1\);)108 463.2 Q
(for i = 0 to 2 * pi by 0.1 do {)108 475.2 Q("-" at \(i/2, 0\);)132
487.2 Q("." at \(i/2, sin\(i\)/2\);)132 499.2 Q
(":" at \(i/2, cos\(i\)/2\);)132 511.2 Q(})108 523.2 Q F0
(which yields this:)72 544.8 Q(-)174.735 601 Q(.)175.15 601 Q(:)175.01
565 Q(-)178.335 601 Q(.)178.75 597.4 Q(:)178.61 565.144 Q(-)181.935 601
Q(.)182.35 593.872 Q(:)182.21 565.72 Q(-)185.535 601 Q(.)185.95 590.344
Q(:)185.81 566.584 Q(-)189.135 601 Q(.)189.55 586.96 Q(:)189.41 567.808
Q(-)192.735 601 Q(.)193.15 583.72 Q(:)193.01 569.392 Q(-)196.335 601 Q
(.)196.75 580.696 Q(:)196.61 571.264 Q(-)199.935 601 Q(.)200.35 577.816
Q(:)200.21 573.496 Q(-)203.535 601 Q(.)203.95 575.152 Q(:)203.81 575.944
Q(-)207.135 601 Q(.)207.55 572.776 Q(:)207.41 578.608 Q(-)210.735 601 Q
(.)211.15 570.688 Q(:)211.01 581.56 Q(-)214.335 601 Q(.)214.75 568.888 Q
(:)214.61 584.656 Q(-)217.935 601 Q(.)218.35 567.448 Q(:)218.21 587.968
Q(-)221.535 601 Q(.)221.95 566.296 Q(:)221.81 591.352 Q(-)225.135 601 Q
(.)225.55 565.504 Q(:)225.41 594.88 Q(-)228.735 601 Q(.)229.15 565.072 Q
(:)229.01 598.48 Q(-)232.335 601 Q(.)232.75 565 Q(:)232.61 602.08 Q(-)
235.935 601 Q(.)236.35 565.288 Q(:)236.21 605.608 Q(-)239.535 601 Q(.)
239.95 565.936 Q(:)239.81 609.208 Q(-)243.135 601 Q(.)243.55 566.944 Q
(:)243.41 612.664 Q(-)246.735 601 Q(.)247.15 568.24 Q(:)247.01 615.976 Q
(-)250.335 601 Q(.)250.75 569.896 Q(:)250.61 619.144 Q(-)253.935 601 Q
(.)254.35 571.912 Q(:)254.21 622.168 Q(-)257.535 601 Q(.)257.95 574.144
Q(:)257.81 624.976 Q(-)261.135 601 Q(.)261.55 576.664 Q(:)261.41 627.568
Q(-)264.735 601 Q(.)265.15 579.472 Q(:)265.01 629.872 Q(-)268.335 601 Q
(.)268.75 582.424 Q(:)268.61 631.816 Q(-)271.935 601 Q(.)272.35 585.592
Q(:)272.21 633.544 Q(-)275.535 601 Q(.)275.95 588.976 Q(:)275.81 634.912
Q(-)279.135 601 Q(.)279.55 592.36 Q(:)279.41 635.92 Q(-)282.735 601 Q(.)
283.15 595.888 Q(:)283.01 636.64 Q(-)286.335 601 Q(.)286.75 599.488 Q(:)
286.61 637 Q(-)289.935 601 Q(.)290.35 603.088 Q(:)290.21 636.928 Q(-)
293.535 601 Q(.)293.95 606.688 Q(:)293.81 636.568 Q(-)297.135 601 Q(.)
297.55 610.216 Q(:)297.41 635.776 Q(-)300.735 601 Q(.)301.15 613.6 Q(:)
301.01 634.696 Q(-)304.335 601 Q(.)304.75 616.912 Q(:)304.61 633.256 Q
(-)307.935 601 Q(.)308.35 620.08 Q(:)308.21 631.528 Q(-)311.535 601 Q(.)
311.95 623.032 Q(:)311.81 629.44 Q(-)315.135 601 Q(.)315.55 625.768 Q(:)
315.41 627.136 Q(-)318.735 601 Q(.)319.15 628.216 Q(:)319.01 624.544 Q
(-)322.335 601 Q(.)322.75 630.448 Q(:)322.61 621.664 Q(-)325.935 601 Q
(.)326.35 632.392 Q(:)326.21 618.64 Q(-)329.535 601 Q(.)329.95 633.976 Q
(:)329.81 615.4 Q(-)333.135 601 Q(.)333.55 635.272 Q(:)333.41 612.088 Q
(-)336.735 601 Q(.)337.15 636.208 Q(:)337.01 608.56 Q(-)340.335 601 Q(.)
340.75 636.784 Q(:)340.61 605.032 Q(-)343.935 601 Q(.)344.35 637 Q(:)
344.21 601.432 Q(-)347.535 601 Q(.)347.95 636.856 Q(:)347.81 597.832 Q
(-)351.135 601 Q(.)351.55 636.352 Q(:)351.41 594.304 Q(-)354.735 601 Q
(.)355.15 635.488 Q(:)355.01 590.776 Q(-)358.335 601 Q(.)358.75 634.336
Q(:)358.61 587.392 Q(-)361.935 601 Q(.)362.35 632.824 Q(:)362.21 584.152
Q(-)365.535 601 Q(.)365.95 630.952 Q(:)365.81 581.056 Q(-)369.135 601 Q
(.)369.55 628.792 Q(:)369.41 578.176 Q(-)372.735 601 Q(.)373.15 626.416
Q(:)373.01 575.512 Q(-)376.335 601 Q(.)376.75 623.752 Q(:)376.61 573.064
Q(-)379.935 601 Q(.)380.35 620.8 Q(:)380.21 570.976 Q(-)383.535 601 Q(.)
383.95 617.704 Q(:)383.81 569.104 Q(-)387.135 601 Q(.)387.55 614.464 Q
(:)387.41 567.592 Q(-)390.735 601 Q(.)391.15 611.08 Q(:)391.01 566.44 Q
(-)394.335 601 Q(.)394.75 607.552 Q(:)394.61 565.576 Q(-)397.935 601 Q
(.)398.35 604.024 Q(:)398.21 565.144 Q(Figure 16-1: Plotting with a)
214.79 657.8 Q F1 -.25(fo)2.5 G(r).25 E F0(loop)2.5 E(The syntax of the)
72 685.4 Q F1 -.25(fo)2.5 G(r).25 E F0(statement is:)2.5 E F1 -.25(fo)
108 703.4 S(r).25 E F2(variable)2.5 E F1(=)2.5 E F2 -.2(ex)2.5 G(pr1).2
E F1(to)2.5 E F2 -.2(ex)2.5 G(pr2).2 E F0([)2.52 E F1(by)A F0([)2.5 E F1
(*)A F0(])A F2 -.2(ex)C(pr3).2 E F0(]).15 E F1(do)2.5 E F2 2.5(Xb)2.5 G
(ody X)-2.5 E F0 .846(The semantics are as follo)72 721.4 R 3.347
(ws: Set)-.25 F F2(variable)3.347 E F0(to)3.347 E F2 -.2(ex)3.347 G(pr1)
.2 E F0 5.847(.W)C .847(hile the v)-5.847 F .847(alue of)-.25 F F2
(variable)3.347 E F0 .847(is less than or equal to)3.347 F 0 Cg EP
%%Page: 26 26
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-26-)279.67 48 Q/F1 10/Times-Italic@0 SF -.2(ex)
72 84 S(pr2).2 E F0 3.407(,d)C(o)-3.407 E F1(body)3.407 E F0 .907
(and increment)3.407 F F1(variable)3.407 E F0(by)3.407 E F1 -.2(ex)3.406
G(pr3).2 E F0 3.406(;i)C(f)-3.406 E/F2 10/Times-Bold@0 SF(by)3.406 E F0
.906(is not gi)3.406 F -.15(ve)-.25 G .906(n, increment).15 F F1
(variable)3.406 E F0 .906(by 1.)3.406 F(If)5.906 E F1 -.2(ex)3.406 G
(pr3).2 E F0(is)3.406 E(pre\214x)72 96 Q .197(ed by)-.15 F F2(*)2.697 E
F0(then)2.697 E F1(variable)2.697 E F0 .197(is multiplied instead by)
2.697 F F1 -.2(ex)2.697 G(pr3).2 E F0 5.197(.T)C .197(he v)-5.197 F .197
(alue of)-.25 F F1 -.2(ex)2.698 G(pr3).2 E F0 .198(can be ne)2.698 F
-.05(ga)-.15 G(ti).05 E .498 -.15(ve f)-.25 H .198(or the addi-).15 F
(ti)72 108 Q 1.204 -.15(ve c)-.25 H(ase;).15 E F1(variable)3.404 E F0
.904(is then tested whether it is greater than or equal to)3.404 F F1
-.2(ex)3.404 G(pr2).2 E F0 5.904(.F)C .904(or the multiplicati)-6.054 F
1.203 -.15(ve c)-.25 H(ase,).15 E F1 -.2(ex)72 120 S(pr3).2 E F0 .106
(must be greater than zero.)2.606 F .106(If the constraints aren')5.106
F 2.606(tm)-.18 G .106(et, the loop isn')-2.606 F 2.607(te)-.18 G -.15
(xe)-2.757 G(cuted.).15 E F1(X)5.107 E F0 .107(can be an)2.607 F 2.607
(yc)-.15 G(harac-)-2.607 E(ter not occurring in)72 132 Q F1(body)2.5 E
F0 2.5(;o)C 2.5(rt)-2.5 G(he tw)-2.5 E(o)-.1 E F1(X)2.5 E F0 2.5(sm).94
G(ay be paired braces \(as in the)-2.5 E F2(sh)2.5 E F0(command\).)2.5 E
(The syntax of the)97 147.6 Q F2(if)2.5 E F0(statement is as follo)2.5 E
(ws:)-.25 E F2(if)108 165.6 Q F1 -.2(ex)2.5 G(pr).2 E F2(then)2.5 E F1
2.5(Xi)2.5 G(f-true X)-2.5 E F0([)2.5 E F2(else)A F1 2.5(Yi)2.5 G
(f-false Y)-2.5 E F0(])1.27 E .38(Its semantics are as follo)72 183.6 R
.38(ws: Ev)-.25 F(aluate)-.25 E F1 -.2(ex)2.88 G(pr).2 E F0 2.88(;i)C
2.88(fi)-2.88 G 2.88(ti)-2.88 G 2.879(sn)-2.88 G .379(on-zero then do)
-2.879 F F1(if-true)2.879 E F0 2.879(,o)C .379(therwise do)-2.879 F F1
(if-false)2.879 E F0(.)A F1(X)5.379 E F0 .379(can be)2.879 F(an)72 195.6
Q 2.5(yc)-.15 G(haracter not occurring in)-2.5 E F1(if-true)2.5 E F0(.)A
F1(Y)5 E F0(can be an)2.5 E 2.5(yc)-.15 G(haracter not occurring in)-2.5
E F1(if-false)2.5 E F0(.)A .409(Eithe or both of the)97 211.2 R F1(X)
2.909 E F0(or)2.909 E F1(Y)2.909 E F0 .41
(pairs may instead be balanced pairs of braces \({ and }\) as in the)
2.909 F F2(sh)2.91 E F0(com-)2.91 E 3.278(mand. In)72 223.2 R .778
(either case, the)3.278 F F1(if-true)3.278 E F0 .778
(may contain balanced pairs of braces.)3.278 F .777
(None of these delimiters are seen)5.777 F(inside strings.)72 235.2 Q
.463(All the usual relational operators my be used in conditional e)97
250.8 R(xpressions;)-.15 E F2(!)2.964 E F0 .464(\(logical ne)2.964 F
-.05(ga)-.15 G .464(tion, not f).05 F(ac-)-.1 E(torial\),)72 262.8 Q F2
(&&)2.5 E F0(,)A F2 1.666(||)2.5 G F0(,)-1.666 E F2(==)2.5 E F0(,)A F2
(!=)2.5 E F0(,)A F2(>=)2.5 E F0(,)A F2(<=)2.5 E F0(,)A F2(<)2.5 E F0(,)A
F2(>)2.5 E F0(.)A .57(String comparison is also supported using)97 278.4
R F2(==)3.07 E F0(and)3.07 E F2(!=)3.07 E F0 5.57(.S)C .57
(tring comparisons may need to be parenthe-)-5.57 F(sized to a)72 290.4
Q -.2(vo)-.2 G(id syntactic ambiguities.).2 E F2 2.5(17. Interface)72
314.4 R 1.84 -.92(To [)2.5 H(gt]r).92 E(off)-.18 E F0 .275
(The output of)97 330 R F2(pic)2.775 E F0(is)2.775 E F2([gt]r)2.775 E
(off)-.18 E F0(dra)2.775 E .276(wing commands.)-.15 F .276(The GNU)5.276
F F1(gpic)2.776 E F0 .276(\(1\) command w).31 F .276
(arns that it relies on)-.1 F(dra)72 342 Q(wing e)-.15 E
(xtensions present in)-.15 E F1(gr)2.5 E(of)-.45 E(f)-.18 E F0
(\(1\) that are not present in)1.96 E F1(tr)2.5 E(of)-.45 E(f)-.18 E F0
(\(1\).)1.96 E F2 2.5(17.1. Scaling)72 366 R(Ar)2.5 E(guments)-.1 E F0
.612(The D)97 381.6 R(WB)-.3 E F1(pic)3.112 E F0 .612
(\(1\) program accepts one or tw).31 F 3.112(oa)-.1 G -.18(rg)-3.112 G
.612(uments to).18 F F2(.PS)3.112 E F0 3.112(,w)C .611
(hich is interpreted as a width and)-3.112 F .577
(height in inches to which the results of)72 393.6 R F1(pic)3.077 E F0
.577(\(1\) should be scaled \(width and height scale independently\).)
.31 F(If)5.578 E .861(there is only one ar)72 405.6 R .86(gument, it is\
 interpreted as a width to scale the picture to, and height is scaled b\
y the)-.18 F(same proportion.)72 417.6 Q(GNU)97 433.2 Q F2(gpic)2.616 E
F0 .117(is less general; it accepts a single width to scale to, or a ze\
ro width and a maximum height)2.616 F(to scale to.)72 445.2 Q -.4(Wi)5 G
(th tw).4 E 2.5(on)-.1 G(on-zero ar)-2.5 E
(guments, it scales to the maximum height.)-.18 E F2 2.5(17.2. Ho)72
469.2 R 2.5(wS)-.1 G(caling is Handled)-2.5 E F0(When)97 484.8 Q F2(pic)
3.132 E F0 .631(processes a picture description on input, it passes)
3.132 F F2(.PS)3.131 E F0(and)3.131 E F2(.PE)3.131 E F0 .631
(through to the postproces-)3.131 F(sor)72 496.8 Q 5.392(.T)-.55 G(he)
-5.392 E F2(.PS)2.892 E F0 .393(gets decorated with tw)2.892 F 2.893(on)
-.1 G .393(umeric ar)-2.893 F .393
(guments which are the X and Y dimensions of the picture)-.18 F
(in inches.)72 508.8 Q(The post-processor can use these to reserv)5 E
2.5(es)-.15 G(pace for the picture and center it.)-2.5 E
(The GNU incarnation of the)97 524.4 Q F2(ms)2.5 E F0
(macro package, for e)2.5 E(xample, includes the follo)-.15 E
(wing de\214nitions:)-.25 E/F3 9/Courier@0 SF(.de PS)108 541.4 Q(.br)108
552.4 Q(.sp \\\\n[DD]u)108 563.4 Q(.ie \\\\n[.$]<2 .@error bad argument\
s to PS \(not preprocessed with pic?\))108 574.4 Q(.el \\{\\)108 585.4 Q
19.6(.d)108 596.4 S(s@need \(u;\\\\$1\)+1v)-19.6 E 19.6(.i)108 607.4 S
5.4(n+)-19.6 G(\(u;\\\\n[.l]-\\\\n[.i]-\\\\$2/2>?0\))-5.4 E(.\\})108
618.4 Q(..)108 629.4 Q(.de PE)108 640.4 Q(.par@reset)108 651.4 Q
(.sp \\\\n[DD]u+.5m)108 662.4 Q(..)108 673.4 Q F0(Equi)72 695 Q -.25(va)
-.25 G 1.029(lent de\214nition is supplied by GNU).25 F F1(pic)3.529 E
F0 1.029(\(1\) if you use the \255mpic option; this should mak).31 F
3.528(ei)-.1 G 3.528(tu)-3.528 G(sable)-3.528 E
(with macro pages other than)72 707 Q F1(ms)2.5 E F0(\(1\).).27 E 0 Cg
EP
%%Page: 27 27
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-27-)279.67 48 Q(If)97 84 Q/F1 10/Times-Bold@0
SF(.PF)4.786 E F0 2.286(is used instead of)4.786 F F1(.PE)4.786 E F0
4.786(,t)C(he)-4.786 E F1(tr)4.786 E(off)-.18 E F0 2.286
(position is restored to what it w)4.786 F 2.287
(as at the picture start)-.1 F(\(K)72 96 Q
(ernighan notes that the F stands for \231\215yback\232\).)-.25 E
(The in)97 111.6 Q -.2(vo)-.4 G(cation).2 E F1(.PS <)108 129.6 Q/F2 10
/Times-Italic@0 SF(\214le)1.91 E F0(causes the contents of)72 151.2 Q F2
(\214le)2.5 E F0(to replace the)2.5 E F1(.PS)2.5 E F0 2.5(line. This)2.5
F(feature is deprecated; use `)2.5 E F1(copy)A F2(\214le)2.5 E F0 2.5
('i)C(nstead\).)-2.5 E F1 2.5(17.3. PIC)72 175.2 R(and [gt]r)2.5 E
(off commands)-.18 E F0 .352(By def)97 190.8 R .352
(ault, input lines that be)-.1 F .351
(gin with a period are passed to the postprocessor)-.15 F 2.851(,e)-.4 G
.351(mbedded at the cor)-2.851 F(-)-.2 E .661
(responding point in the output.)72 202.8 R .662
(Messing with horizontal or v)5.662 F .662(ertical spacing is an ob)-.15
F .662(vious recipe for b)-.15 F(ugs,)-.2 E -.2(bu)72 214.8 S 2.5(tp).2
G(oint size and font changes are usually safe.)-2.5 E .765
(Point sizes and font changes are also safe within te)97 230.4 R .764
(xt strings, as long as the)-.15 F 3.264(ya)-.15 G .764
(re undone before the)-3.264 F(end of string.)72 242.4 Q(The state of)97
258 Q F1([gt]r)2.5 E(off)-.18 E F0 1.1 -.55('s \214)D
(ll mode is preserv).55 E(ed across pictures.)-.15 E F1 2.5(17.4. PIC)72
282 R(and EQN)2.5 E F0 .542(The K)97 297.6 R .543(ernighan paper notes \
that there is a subtle problem with complicated equations inside)-.25 F
F1(pic)3.043 E F0(pic-)3.043 E 1.043(tures; the)72 309.6 R 3.543(yc)-.15
G 1.043(ome out wrong if)-3.543 F F2(eqn)3.543 E F0 1.043
(\(1\) has to lea).24 F 1.343 -.15(ve ex)-.2 H 1.043(tra v).15 F 1.043
(ertical space for the equation.)-.15 F 1.042(If your equation)6.042 F
(in)72 321.6 Q -.2(vo)-.4 G(lv).2 E .905
(es more than subscripts and superscripts, you must add to the be)-.15 F
.906(ginning of each equation the e)-.15 F(xtra)-.15 E(information)72
333.6 Q F1(space 0)2.5 E F0 5(.H)C 2.5(eg)-5 G -2.15 -.25(iv e)-2.5 H
2.5(st).25 G(he follo)-2.5 E(wing e)-.25 E(xample:)-.15 E/F3 10
/Courier@0 SF(arrow)108 351.6 Q
(box "$space 0 {H\( omega \)} over {1 - H\( omega \)}$")108 363.6 Q
(arrow)108 375.6 Q 261 429.6 MT -7.2 1.8 RL 0 -3.6 RL CL 0 Fg 261 429.6
MT -7.2 1.8 RL 0 -3.6 RL CL .1 LW 0 Cg ST .4 LW 253.8 429.6 225 429.6 DL
315 447.6 MT 0 -36 RL -54 0 RL 0 36 RL CL ST F2(H)277.365 424.8 Q F0(\()
.95 E/F4 10/Symbol-Slanted SF(w)-.35 E F0(\))1.26 E(1)-29.875 14 M/F5 10
/Symbol SF(-)2.2 E F2(H)2.78 E F0(\().95 E F4(w)-.35 E F0(\))1.26 E
306.66 429.2 269.34 429.2 DL 351 429.6 MT -7.2 1.8 RL 0 -3.6 RL CL 0 Fg
351 429.6 MT -7.2 1.8 RL 0 -3.6 RL CL .1 LW 0 Cg ST .4 LW 343.8 429.6
315 429.6 DL(Figure 17-1: Equations within pictures)210.78 470.6 Q F1
2.5(17.5. Absolute)72 506.6 R -.2(Po)2.5 G(sitioning of Pictur).2 E(es)
-.18 E F0(A)97 522.2 Q F1(pic)3.198 E F0 .698(picture is positioned v)
3.198 F .698(ertically by trof)-.15 F 3.198(fa)-.25 G 3.198(tt)-3.198 G
.698(he current position.)-3.198 F .698(The topmost position possible)
5.698 F .421(on a page is not the paper edge b)72 534.2 R .421
(ut a position which is one baseline lo)-.2 F .422
(wer so that the \214rst ro)-.25 F 2.922(wo)-.25 G 2.922(fg)-2.922 G
.422(lyphs is)-2.922 F 2.818(visible. T)72 546.2 R 2.817(om)-.8 G(ak)
-2.817 E 2.817(eap)-.1 G .317
(icture really start at the paper edge you ha)-2.817 F .617 -.15(ve t)
-.2 H 2.817(om).15 G(ak)-2.817 E 2.817(et)-.1 G .317
(he baseline-to-baseline distance)-2.817 F
(zero, this is, you must set the v)72 558.2 Q
(ertical spacing to 0 \(using)-.15 E F1(.vs)2.5 E F0 2.5(\)b)C
(efore starting the picture.)-2.5 E F1 2.5(18. Interface)72 582.2 R
(to T)2.5 E(eX)-.92 E F0(T)97 601.4 Q(E)-1.667 2.24 M 2.966(Xm)-1.25
-2.24 O .466(ode is enabled by the)-2.966 F F1<ad74>2.966 E F0 2.966
(option. In)2.966 F(T)2.966 E(E)-1.667 2.24 M 2.967(Xm)-1.25 -2.24 O
.467(ode, pic de\214nes a vbox called)-2.967 F F1(\\graph)2.967 E F0
.467(for each pic-)2.967 F .182
(ture; the name can be changed with the pseudo-v)72 613.4 R(ariable)-.25
E F1(\214gname)2.681 E F0 .181
(\(which is actually a specially parsed com-)2.681 F 2.5(mand\). Y)72
625.4 R(ou must yourself print that vbox using, for e)-1.1 E
(xample, the command)-.15 E F3(\\centerline{\\box\\graph})97 641 Q F0
(Actually)72 656.6 Q 3.167(,s)-.65 G .667(ince the vbox has a height of\
 zero \(it is de\214ned with \\vtop\) this produces slightly more v)
-3.167 F(ertical)-.15 E(space abo)72 668.6 Q .3 -.15(ve t)-.15 H
(he picture than belo).15 E 2.5(wi)-.25 G(t;)-2.5 E F3
(\\centerline{\\raise 1em\\box\\graph})97 684.2 Q F0 -.1(wo)72 699.8 S
(uld a).1 E -.2(vo)-.2 G(id this.).2 E 5.226 -.8(To m)97 715.4 T(ak).8 E
6.126(et)-.1 G 3.626(he vbox ha)-6.126 F 3.626(ving a positi)-.2 F 3.925
-.15(ve h)-.25 H 3.625(eight and a depth of zero \(as used e.g. by L).15
F/F6 8/Times-Roman@0 SF(A)-3.6 -2.64 M F0(T)-1.5 2.64 M(E)-1.667 2.24 M
(X')-1.25 -2.24 M(s)-.55 E F3(graphics.sty)72 727.4 Q F0
(\), de\214ne the follo)A(wing macro in your document:)-.25 E 0 Cg EP
%%Page: 28 28
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-28-)279.67 48 Q/F1 10/Courier@0 SF
(\\def\\gpicbox#1{%)108 84 Q
(\\vbox{\\unvbox\\csname #1\\endcsname\\kern 0pt}})120 96 Q F0(No)72
117.6 Q 2.5(wy)-.25 G(ou can simply say)-2.5 E/F2 10/Times-Bold@0 SF
(\\gpicbox{graph})2.5 E F0(instead of \\box\\graph.)2.5 E -1.1(Yo)97
133.2 S 2.5(um)1.1 G(ust use a T)-2.5 E(E)-1.667 2.24 M 2.5(Xd)-1.25
-2.24 O(ri)-2.5 E -.15(ve)-.25 G 2.5(rt).15 G(hat supports the)-2.5 E F2
(tpic)2.5 E F0(specials, v)2.5 E(ersion 2.)-.15 E .385(Lines be)97 148.8
R .385(ginning with)-.15 F F2(\\)2.885 E F0 .385
(are passed through transparently; a)2.885 F F2(%)2.885 E F0 .386
(is added to the end of the line to a)2.885 F -.2(vo)-.2 G(id).2 E(unw)
72 160.8 Q .6(anted spaces.)-.1 F -1.1(Yo)5.6 G 3.1(uc)1.1 G .599
(an safely use this feature to change fonts or to change the v)-3.1 F
.599(alue of)-.25 F F2(\\baselineskip)3.099 E F0(.)A(An)72 172.8 Q .718
(ything else may well produce undesirable results; use at your o)-.15 F
.718(wn risk.)-.25 F .718(Lines be)5.718 F .719(ginning with a period)
-.15 F(are not gi)72 184.8 Q -.15(ve)-.25 G 2.5(na).15 G .3 -.15(ny s)
-2.5 H(pecial treatment.).15 E(The T)97 200.4 Q(E)-1.667 2.24 M 2.5(Xm)
-1.25 -2.24 O(ode of)-2.5 E/F3 10/Times-Italic@0 SF(pic)2.5 E F0
(\(1\) does).31 E F3(not)2.5 E F0(translate)2.5 E F2(tr)2.5 E(off)-.18 E
F0(font and size changes included in te)2.5 E(xt strings!)-.15 E
(Here an e)97 216 Q(xample ho)-.15 E 2.5(wt)-.25 G 2.5(ou)-2.5 G(se)-2.5
E F2(\214gname)2.5 E F0(.)A F1(.PS)108 234 Q(figname = foo;)108 246 Q
(...)108 258 Q(.PE)108 270 Q(.PS)108 294 Q(figname = bar;)108 306 Q(...)
108 318 Q(.PE)108 330 Q(\\centerline{\\box\\foo \\hss \\box\\bar})108
354 Q F0 .824
(Use this feature sparsingly and only if really needed: A dif)72 375.6 R
.824(ferent name means a ne)-.25 F 3.323(wb)-.25 G .823(ox re)-3.323 F
.823(gister in T)-.15 F(E)-1.667 2.24 M(X,)-1.25 -2.24 M 1.249
(and the maximum number of box re)72 387.6 R 1.249(gisters is only 256.)
-.15 F 1.25(Also be careful not to use a prede\214ned T)6.249 F(E)-1.667
2.24 M 3.75(Xo)-1.25 -2.24 O(r)-3.75 E(L)72 399.6 Q/F4 8/Times-Roman@0
SF(A)-3.6 -2.64 M F0(T)-1.5 2.64 M(E)-1.667 2.24 M 2.5(Xm)-1.25 -2.24 O
(acro name as an ar)-2.5 E(gument to)-.18 E F2(\214gname)2.5 E F0
(since this ine)2.5 E(vitably causes an error)-.25 E(.)-.55 E F2 2.5
(19. Obsolete)72 423.6 R(Commands)2.5 E F0(GNU)97 439.2 Q F3(gpic)2.5 E
F0 2.5(\(1\) has).31 F 2.5(ac)2.5 G(ommand)-2.5 E F2(plot)108 457.2 Q F3
-.2(ex)2.5 G(pr).2 E F0([)2.5 E F2(")A F3(te)A(xt)-.2 E F2(")A F0(])A
.879(This is a te)72 475.2 R .879
(xt object which is constructed by using)-.15 F F3(te)3.379 E(xt)-.2 E
F0 .879(as a format string for sprintf with an ar)3.379 F .879
(gument of)-.18 F F3 -.2(ex)72 487.2 S(pr).2 E F0 5.224(.I)C(f)-5.224 E
F3(te)2.724 E(xt)-.2 E F0 .225(is omitted a format string of)2.724 F F2
("%g")2.725 E F0 .225(is used.)2.725 F(Attrib)5.225 E .225
(utes can be speci\214ed in the same w)-.2 F .225(ay as for)-.1 F 2.733
(an)72 499.2 S .233(ormal te)-2.733 F .233(xt object.)-.15 F .233(Be v)
5.233 F .233(ery careful that you specify an appropriate format string;)
-.15 F F2(pic)2.733 E F0 .232(does only v)2.732 F .232(ery lim-)-.15 F
(ited checking of the string.)72 511.2 Q(This is deprecated in f)5 E -.2
(avo)-.1 G(ur of).2 E F2(sprintf)2.5 E F0(.)A F2 2.5(20. Some)72 535.2 R
(Lar)2.5 E(ger Examples)-.1 E F0 .092(Here are a fe)97 550.8 R 2.592(wl)
-.25 G(ar)-2.592 E .092(ger e)-.18 F .092
(xamples, with complete source code.)-.15 F .093(One of our earlier e)
5.093 F .093(xamples is generated)-.15 F(in an instructi)72 562.8 Q .3
-.15(ve w)-.25 H(ay using a for loop:).05 E 0 Cg EP
%%Page: 29 29
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-29-)279.67 48 Q/F1 9/Courier@0 SF(.PS)108 83 Q
5.4(#D)108 94 S(raw a demonstration up left arrow with grid box overlay)
-5.4 E(define gridarrow)108 105 Q({)108 116 Q(move right 0.1)129.6 127 Q
([)129.6 138 Q({arrow up left $1;})151.2 149 Q
(box wid 0.5 ht 0.5 dotted with .nw at last arrow .end;)151.2 160 Q
(for i = 2 to \($1 / 0.5\) do)151.2 171 Q({)151.2 182 Q
(box wid 0.5 ht 0.5 dotted with .sw at last box .se;)172.8 193 Q(})151.2
204 Q(move down from last arrow .center;)151.2 215 Q([)151.2 226 Q
(if \( $1 == boxht \) \\)172.8 237 Q(then { "\\fBline up left\\fP" } \\)
172.8 248 Q(else { sprintf\("\\fBarrow up left %g\\fP", $1\) };)172.8
259 Q(])151.2 270 Q(])129.6 281 Q(move right 0.1 from last [] .e;)129.6
292 Q(})108 303 Q(gridarrow\(0.5\);)108 314 Q(gridarrow\(1\);)108 325 Q
(gridarrow\(1.5\);)108 336 Q(gridarrow\(2\);)108 347 Q(undef gridarrow)
108 358 Q(.PE)108 369 Q 86.4 392 MT 6.336 3.816 RL -2.52 2.52 RL CL 0 Fg
86.4 392 MT 6.336 3.816 RL -2.52 2.52 RL CL .1 LW 0 Cg ST .36 LW 91.512
397.112 122.4 428 DL 86.4 428 86.4 428 DL 90 428 90 428 DL 93.6 428 93.6
428 DL 97.2 428 97.2 428 DL 100.8 428 100.8 428 DL 104.4 428 104.4 428
DL 108 428 108 428 DL 111.6 428 111.6 428 DL 115.2 428 115.2 428 DL
118.8 428 118.8 428 DL 122.4 428 122.4 428 DL 122.4 428 122.4 428 DL
122.4 424.4 122.4 424.4 DL 122.4 420.8 122.4 420.8 DL 122.4 417.2 122.4
417.2 DL 122.4 413.6 122.4 413.6 DL 122.4 410 122.4 410 DL 122.4 406.4
122.4 406.4 DL 122.4 402.8 122.4 402.8 DL 122.4 399.2 122.4 399.2 DL
122.4 395.6 122.4 395.6 DL 122.4 392 122.4 392 DL 122.4 392 122.4 392 DL
118.8 392 118.8 392 DL 115.2 392 115.2 392 DL 111.6 392 111.6 392 DL 108
392 108 392 DL 104.4 392 104.4 392 DL 100.8 392 100.8 392 DL 97.2 392
97.2 392 DL 93.6 392 93.6 392 DL 90 392 90 392 DL 86.4 392 86.4 392 DL
86.4 392 86.4 392 DL 86.4 395.6 86.4 395.6 DL 86.4 399.2 86.4 399.2 DL
86.4 402.8 86.4 402.8 DL 86.4 406.4 86.4 406.4 DL 86.4 410 86.4 410 DL
86.4 413.6 86.4 413.6 DL 86.4 417.2 86.4 417.2 DL 86.4 420.8 86.4 420.8
DL 86.4 424.4 86.4 424.4 DL 86.4 428 86.4 428 DL/F2 9/Times-Bold@0 SF
(line up left)83.898 447.98 Q 136.8 392 MT 7.272 1.584 RL -1.584 3.24 RL
CL 0 Fg 136.8 392 MT 7.272 1.584 RL -1.584 3.24 RL CL .1 LW 0 Cg ST .36
LW 143.208 395.24 208.8 428 DL 136.8 428 136.8 428 DL 140.4 428 140.4
428 DL 144 428 144 428 DL 147.6 428 147.6 428 DL 151.2 428 151.2 428 DL
154.8 428 154.8 428 DL 158.4 428 158.4 428 DL 162 428 162 428 DL 165.6
428 165.6 428 DL 169.2 428 169.2 428 DL 172.8 428 172.8 428 DL 172.8 428
172.8 428 DL 172.8 424.4 172.8 424.4 DL 172.8 420.8 172.8 420.8 DL 172.8
417.2 172.8 417.2 DL 172.8 413.6 172.8 413.6 DL 172.8 410 172.8 410 DL
172.8 406.4 172.8 406.4 DL 172.8 402.8 172.8 402.8 DL 172.8 399.2 172.8
399.2 DL 172.8 395.6 172.8 395.6 DL 172.8 392 172.8 392 DL 172.8 392
172.8 392 DL 169.2 392 169.2 392 DL 165.6 392 165.6 392 DL 162 392 162
392 DL 158.4 392 158.4 392 DL 154.8 392 154.8 392 DL 151.2 392 151.2 392
DL 147.6 392 147.6 392 DL 144 392 144 392 DL 140.4 392 140.4 392 DL
136.8 392 136.8 392 DL 136.8 392 136.8 392 DL 136.8 395.6 136.8 395.6 DL
136.8 399.2 136.8 399.2 DL 136.8 402.8 136.8 402.8 DL 136.8 406.4 136.8
406.4 DL 136.8 410 136.8 410 DL 136.8 413.6 136.8 413.6 DL 136.8 417.2
136.8 417.2 DL 136.8 420.8 136.8 420.8 DL 136.8 424.4 136.8 424.4 DL
136.8 428 136.8 428 DL 172.8 428 172.8 428 DL 176.4 428 176.4 428 DL 180
428 180 428 DL 183.6 428 183.6 428 DL 187.2 428 187.2 428 DL 190.8 428
190.8 428 DL 194.4 428 194.4 428 DL 198 428 198 428 DL 201.6 428 201.6
428 DL 205.2 428 205.2 428 DL 208.8 428 208.8 428 DL 208.8 428 208.8 428
DL 208.8 424.4 208.8 424.4 DL 208.8 420.8 208.8 420.8 DL 208.8 417.2
208.8 417.2 DL 208.8 413.6 208.8 413.6 DL 208.8 410 208.8 410 DL 208.8
406.4 208.8 406.4 DL 208.8 402.8 208.8 402.8 DL 208.8 399.2 208.8 399.2
DL 208.8 395.6 208.8 395.6 DL 208.8 392 208.8 392 DL 208.8 392 208.8 392
DL 205.2 392 205.2 392 DL 201.6 392 201.6 392 DL 198 392 198 392 DL
194.4 392 194.4 392 DL 190.8 392 190.8 392 DL 187.2 392 187.2 392 DL
183.6 392 183.6 392 DL 180 392 180 392 DL 176.4 392 176.4 392 DL 172.8
392 172.8 392 DL 172.8 392 172.8 392 DL 172.8 395.6 172.8 395.6 DL 172.8
399.2 172.8 399.2 DL 172.8 402.8 172.8 402.8 DL 172.8 406.4 172.8 406.4
DL 172.8 410 172.8 410 DL 172.8 413.6 172.8 413.6 DL 172.8 417.2 172.8
417.2 DL 172.8 420.8 172.8 420.8 DL 172.8 424.4 172.8 424.4 DL 172.8 428
172.8 428 DL(arr)144.306 447.98 Q .18 -.09(ow u)-.162 H 2.25(pl).09 G
(eft 1)-2.25 E 223.2 392 MT 7.416 .576 RL -1.152 3.384 RL CL 0 Fg 223.2
392 MT 7.416 .576 RL -1.152 3.384 RL CL .1 LW 0 Cg ST .36 LW 230.04
394.304 331.2 428 DL 223.2 428 223.2 428 DL 226.8 428 226.8 428 DL 230.4
428 230.4 428 DL 234 428 234 428 DL 237.6 428 237.6 428 DL 241.2 428
241.2 428 DL 244.8 428 244.8 428 DL 248.4 428 248.4 428 DL 252 428 252
428 DL 255.6 428 255.6 428 DL 259.2 428 259.2 428 DL 259.2 428 259.2 428
DL 259.2 424.4 259.2 424.4 DL 259.2 420.8 259.2 420.8 DL 259.2 417.2
259.2 417.2 DL 259.2 413.6 259.2 413.6 DL 259.2 410 259.2 410 DL 259.2
406.4 259.2 406.4 DL 259.2 402.8 259.2 402.8 DL 259.2 399.2 259.2 399.2
DL 259.2 395.6 259.2 395.6 DL 259.2 392 259.2 392 DL 259.2 392 259.2 392
DL 255.6 392 255.6 392 DL 252 392 252 392 DL 248.4 392 248.4 392 DL
244.8 392 244.8 392 DL 241.2 392 241.2 392 DL 237.6 392 237.6 392 DL 234
392 234 392 DL 230.4 392 230.4 392 DL 226.8 392 226.8 392 DL 223.2 392
223.2 392 DL 223.2 392 223.2 392 DL 223.2 395.6 223.2 395.6 DL 223.2
399.2 223.2 399.2 DL 223.2 402.8 223.2 402.8 DL 223.2 406.4 223.2 406.4
DL 223.2 410 223.2 410 DL 223.2 413.6 223.2 413.6 DL 223.2 417.2 223.2
417.2 DL 223.2 420.8 223.2 420.8 DL 223.2 424.4 223.2 424.4 DL 223.2 428
223.2 428 DL 259.2 428 259.2 428 DL 262.8 428 262.8 428 DL 266.4 428
266.4 428 DL 270 428 270 428 DL 273.6 428 273.6 428 DL 277.2 428 277.2
428 DL 280.8 428 280.8 428 DL 284.4 428 284.4 428 DL 288 428 288 428 DL
291.6 428 291.6 428 DL 295.2 428 295.2 428 DL 295.2 428 295.2 428 DL
295.2 424.4 295.2 424.4 DL 295.2 420.8 295.2 420.8 DL 295.2 417.2 295.2
417.2 DL 295.2 413.6 295.2 413.6 DL 295.2 410 295.2 410 DL 295.2 406.4
295.2 406.4 DL 295.2 402.8 295.2 402.8 DL 295.2 399.2 295.2 399.2 DL
295.2 395.6 295.2 395.6 DL 295.2 392 295.2 392 DL 295.2 392 295.2 392 DL
291.6 392 291.6 392 DL 288 392 288 392 DL 284.4 392 284.4 392 DL 280.8
392 280.8 392 DL 277.2 392 277.2 392 DL 273.6 392 273.6 392 DL 270 392
270 392 DL 266.4 392 266.4 392 DL 262.8 392 262.8 392 DL 259.2 392 259.2
392 DL 259.2 392 259.2 392 DL 259.2 395.6 259.2 395.6 DL 259.2 399.2
259.2 399.2 DL 259.2 402.8 259.2 402.8 DL 259.2 406.4 259.2 406.4 DL
259.2 410 259.2 410 DL 259.2 413.6 259.2 413.6 DL 259.2 417.2 259.2
417.2 DL 259.2 420.8 259.2 420.8 DL 259.2 424.4 259.2 424.4 DL 259.2 428
259.2 428 DL 295.2 428 295.2 428 DL 298.8 428 298.8 428 DL 302.4 428
302.4 428 DL 306 428 306 428 DL 309.6 428 309.6 428 DL 313.2 428 313.2
428 DL 316.8 428 316.8 428 DL 320.4 428 320.4 428 DL 324 428 324 428 DL
327.6 428 327.6 428 DL 331.2 428 331.2 428 DL 331.2 428 331.2 428 DL
331.2 424.4 331.2 424.4 DL 331.2 420.8 331.2 420.8 DL 331.2 417.2 331.2
417.2 DL 331.2 413.6 331.2 413.6 DL 331.2 410 331.2 410 DL 331.2 406.4
331.2 406.4 DL 331.2 402.8 331.2 402.8 DL 331.2 399.2 331.2 399.2 DL
331.2 395.6 331.2 395.6 DL 331.2 392 331.2 392 DL 331.2 392 331.2 392 DL
327.6 392 327.6 392 DL 324 392 324 392 DL 320.4 392 320.4 392 DL 316.8
392 316.8 392 DL 313.2 392 313.2 392 DL 309.6 392 309.6 392 DL 306 392
306 392 DL 302.4 392 302.4 392 DL 298.8 392 298.8 392 DL 295.2 392 295.2
392 DL 295.2 392 295.2 392 DL 295.2 395.6 295.2 395.6 DL 295.2 399.2
295.2 399.2 DL 295.2 402.8 295.2 402.8 DL 295.2 406.4 295.2 406.4 DL
295.2 410 295.2 410 DL 295.2 413.6 295.2 413.6 DL 295.2 417.2 295.2
417.2 DL 295.2 420.8 295.2 420.8 DL 295.2 424.4 295.2 424.4 DL 295.2 428
295.2 428 DL(arr)245.331 447.98 Q .18 -.09(ow u)-.162 H 2.25(pl).09 G
(eft 1.5)-2.25 E 345.6 392 MT 7.416 0 RL -.864 3.528 RL CL 0 Fg 345.6
392 MT 7.416 0 RL -.864 3.528 RL CL .1 LW 0 Cg ST .36 LW 352.584 393.728
489.6 428 DL 345.6 428 345.6 428 DL 349.2 428 349.2 428 DL 352.8 428
352.8 428 DL 356.4 428 356.4 428 DL 360 428 360 428 DL 363.6 428 363.6
428 DL 367.2 428 367.2 428 DL 370.8 428 370.8 428 DL 374.4 428 374.4 428
DL 378 428 378 428 DL 381.6 428 381.6 428 DL 381.6 428 381.6 428 DL
381.6 424.4 381.6 424.4 DL 381.6 420.8 381.6 420.8 DL 381.6 417.2 381.6
417.2 DL 381.6 413.6 381.6 413.6 DL 381.6 410 381.6 410 DL 381.6 406.4
381.6 406.4 DL 381.6 402.8 381.6 402.8 DL 381.6 399.2 381.6 399.2 DL
381.6 395.6 381.6 395.6 DL 381.6 392 381.6 392 DL 381.6 392 381.6 392 DL
378 392 378 392 DL 374.4 392 374.4 392 DL 370.8 392 370.8 392 DL 367.2
392 367.2 392 DL 363.6 392 363.6 392 DL 360 392 360 392 DL 356.4 392
356.4 392 DL 352.8 392 352.8 392 DL 349.2 392 349.2 392 DL 345.6 392
345.6 392 DL 345.6 392 345.6 392 DL 345.6 395.6 345.6 395.6 DL 345.6
399.2 345.6 399.2 DL 345.6 402.8 345.6 402.8 DL 345.6 406.4 345.6 406.4
DL 345.6 410 345.6 410 DL 345.6 413.6 345.6 413.6 DL 345.6 417.2 345.6
417.2 DL 345.6 420.8 345.6 420.8 DL 345.6 424.4 345.6 424.4 DL 345.6 428
345.6 428 DL 381.6 428 381.6 428 DL 385.2 428 385.2 428 DL 388.8 428
388.8 428 DL 392.4 428 392.4 428 DL 396 428 396 428 DL 399.6 428 399.6
428 DL 403.2 428 403.2 428 DL 406.8 428 406.8 428 DL 410.4 428 410.4 428
DL 414 428 414 428 DL 417.6 428 417.6 428 DL 417.6 428 417.6 428 DL
417.6 424.4 417.6 424.4 DL 417.6 420.8 417.6 420.8 DL 417.6 417.2 417.6
417.2 DL 417.6 413.6 417.6 413.6 DL 417.6 410 417.6 410 DL 417.6 406.4
417.6 406.4 DL 417.6 402.8 417.6 402.8 DL 417.6 399.2 417.6 399.2 DL
417.6 395.6 417.6 395.6 DL 417.6 392 417.6 392 DL 417.6 392 417.6 392 DL
414 392 414 392 DL 410.4 392 410.4 392 DL 406.8 392 406.8 392 DL 403.2
392 403.2 392 DL 399.6 392 399.6 392 DL 396 392 396 392 DL 392.4 392
392.4 392 DL 388.8 392 388.8 392 DL 385.2 392 385.2 392 DL 381.6 392
381.6 392 DL 381.6 392 381.6 392 DL 381.6 395.6 381.6 395.6 DL 381.6
399.2 381.6 399.2 DL 381.6 402.8 381.6 402.8 DL 381.6 406.4 381.6 406.4
DL 381.6 410 381.6 410 DL 381.6 413.6 381.6 413.6 DL 381.6 417.2 381.6
417.2 DL 381.6 420.8 381.6 420.8 DL 381.6 424.4 381.6 424.4 DL 381.6 428
381.6 428 DL 417.6 428 417.6 428 DL 421.2 428 421.2 428 DL 424.8 428
424.8 428 DL 428.4 428 428.4 428 DL 432 428 432 428 DL 435.6 428 435.6
428 DL 439.2 428 439.2 428 DL 442.8 428 442.8 428 DL 446.4 428 446.4 428
DL 450 428 450 428 DL 453.6 428 453.6 428 DL 453.6 428 453.6 428 DL
453.6 424.4 453.6 424.4 DL 453.6 420.8 453.6 420.8 DL 453.6 417.2 453.6
417.2 DL 453.6 413.6 453.6 413.6 DL 453.6 410 453.6 410 DL 453.6 406.4
453.6 406.4 DL 453.6 402.8 453.6 402.8 DL 453.6 399.2 453.6 399.2 DL
453.6 395.6 453.6 395.6 DL 453.6 392 453.6 392 DL 453.6 392 453.6 392 DL
450 392 450 392 DL 446.4 392 446.4 392 DL 442.8 392 442.8 392 DL 439.2
392 439.2 392 DL 435.6 392 435.6 392 DL 432 392 432 392 DL 428.4 392
428.4 392 DL 424.8 392 424.8 392 DL 421.2 392 421.2 392 DL 417.6 392
417.6 392 DL 417.6 392 417.6 392 DL 417.6 395.6 417.6 395.6 DL 417.6
399.2 417.6 399.2 DL 417.6 402.8 417.6 402.8 DL 417.6 406.4 417.6 406.4
DL 417.6 410 417.6 410 DL 417.6 413.6 417.6 413.6 DL 417.6 417.2 417.6
417.2 DL 417.6 420.8 417.6 420.8 DL 417.6 424.4 417.6 424.4 DL 417.6 428
417.6 428 DL 453.6 428 453.6 428 DL 457.2 428 457.2 428 DL 460.8 428
460.8 428 DL 464.4 428 464.4 428 DL 468 428 468 428 DL 471.6 428 471.6
428 DL 475.2 428 475.2 428 DL 478.8 428 478.8 428 DL 482.4 428 482.4 428
DL 486 428 486 428 DL 489.6 428 489.6 428 DL 489.6 428 489.6 428 DL
489.6 424.4 489.6 424.4 DL 489.6 420.8 489.6 420.8 DL 489.6 417.2 489.6
417.2 DL 489.6 413.6 489.6 413.6 DL 489.6 410 489.6 410 DL 489.6 406.4
489.6 406.4 DL 489.6 402.8 489.6 402.8 DL 489.6 399.2 489.6 399.2 DL
489.6 395.6 489.6 395.6 DL 489.6 392 489.6 392 DL 489.6 392 489.6 392 DL
486 392 486 392 DL 482.4 392 482.4 392 DL 478.8 392 478.8 392 DL 475.2
392 475.2 392 DL 471.6 392 471.6 392 DL 468 392 468 392 DL 464.4 392
464.4 392 DL 460.8 392 460.8 392 DL 457.2 392 457.2 392 DL 453.6 392
453.6 392 DL 453.6 392 453.6 392 DL 453.6 395.6 453.6 395.6 DL 453.6
399.2 453.6 399.2 DL 453.6 402.8 453.6 402.8 DL 453.6 406.4 453.6 406.4
DL 453.6 410 453.6 410 DL 453.6 413.6 453.6 413.6 DL 453.6 417.2 453.6
417.2 DL 453.6 420.8 453.6 420.8 DL 453.6 424.4 453.6 424.4 DL 453.6 428
453.6 428 DL(arr)389.106 447.98 Q .18 -.09(ow u)-.162 H 2.25(pl).09 G
(eft 2)-2.25 E F0(Figure 20-1: Diagonal arro)136.26 469 Q
(ws \(dotted box)-.25 E(es sho)-.15 E 2.5(wt)-.25 G
(he implied 0.5-inch grid\))-2.5 E(Here')97 496.6 Q 2.5(sa)-.55 G 2.5
(ne)-2.5 G(xample concocted to demonstrate layout of a lar)-2.65 E
(ge, multiple-part pattern:)-.18 E 0 Cg EP
%%Page: 30 30
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-30-)279.67 48 Q/F1 9/Courier@0 SF(.PS)108 83 Q
(define filter {box ht 0.25 rad 0.125})108 94 Q(lineht = 0.25;)108 105 Q
(Top: [)108 116 Q(right;)129.6 127 Q(box "\\fBms\\fR" "sources";)129.6
138 Q(move;)129.6 149 Q(box "\\fBHTML\\fR" "sources";)129.6 160 Q(move;)
129.6 171 Q(box "\\fBlinuxdoc-sgml\\fP" "sources" wid 1.5;)129.6 182 Q
(move;)129.6 193 Q(box "\\fBTexinfo\\fP" "sources";)129.6 204 Q
(line down from 1st box .s lineht;)129.6 226 Q(A: line down;)129.6 237 Q
(line down from 2nd box .s; filter "\\fBhtml2ms\\fP";)129.6 248 Q
(B: line down;)129.6 259 Q
(line down from 3rd box .s; filter "\\fBformat\\fP";)129.6 270 Q
(C: line down;)129.6 281 Q
(line down from 4th box .s; filter "\\fBtexi2roff\\fP";)129.6 292 Q
(D: line down;)129.6 303 Q(])108 314 Q(move down 1 from last [] .s;)108
325 Q(Anchor: box wid 1 ht 0.75 "\\fBms\\fR" "intermediate" "form";)108
336 Q(arrow from Top.A.end to Anchor.nw;)108 347 Q(arrow from Top.B.end\
 to 1/3 of the way between Anchor.nw and Anchor.ne;)108 358 Q(arrow fro\
m Top.C.end to 2/3 of the way between Anchor.nw and Anchor.ne;)108 369 Q
(arrow from Top.D.end to Anchor.ne)108 380 Q({)108 391 Q 5.4(#P)129.6
402 S(ostScript column)-5.4 E(move to Anchor .sw;)129.6 413 Q
(line down left then down ->;)129.6 424 Q(filter "\\fBpic\\fP";)129.6
435 Q(arrow;)129.6 446 Q(filter "\\fBeqn\\fP";)129.6 457 Q(arrow;)129.6
468 Q(filter "\\fBtbl\\fP";)129.6 479 Q(arrow;)129.6 490 Q
(filter "\\fBgroff\\fP";)129.6 501 Q(arrow;)129.6 512 Q
(box "PostScript";)129.6 523 Q 5.4(#H)129.6 545 S(TML column)-5.4 E
(move to Anchor .se;)129.6 556 Q(line down right then down ->;)129.6 567
Q(A: filter dotted "\\fBpic2img\\fP";)129.6 578 Q(arrow;)129.6 589 Q
(B: filter dotted "\\fBeqn2html\\fP";)129.6 600 Q(arrow;)129.6 611 Q
(C: filter dotted "\\fBtbl2html\\fP";)129.6 622 Q(arrow;)129.6 633 Q
(filter "\\fBms2html\\fP";)129.6 644 Q(arrow;)129.6 655 Q(box "HTML";)
129.6 666 Q 5.4(#N)129.6 688 S(onexistence caption)-5.4 E
(box dashed wid 1 at B + \(2,0\) "These tools" "don't yet exist";)129.6
699 Q(line chop 0 chop 0.1 dashed from last box .nw to A.e ->;)129.6 710
Q(line chop 0 chop 0.1 dashed from last box .w)129.6 721 Q(to B.e ->;)
10.8 E 0 Cg EP
%%Page: 31 31
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-31-)279.67 48 Q/F1 9/Courier@0 SF
(line chop 0 chop 0.1 dashed from last box .sw to C.e ->;)129.6 83 Q(})
108 94 Q(.PE)108 105 Q 126 164 MT 0 -36 RL -54 0 RL 0 36 RL CL .36 LW ST
/F2 9/Times-Bold@0 SF(ms)93.501 142.48 Q/F3 9/Times-Roman@0 SF(sources)
85.505 153.48 Q 216 164 MT 0 -36 RL -54 0 RL 0 36 RL CL ST F2(HTML)
175.248 142.48 Q F3(sources)175.505 153.48 Q 360 164 MT 0 -36 RL -108 0
RL 0 36 RL CL ST F2(linuxdoc-sgml)278.996 142.48 Q F3(sources)292.505
153.48 Q 450 164 MT 0 -36 RL -54 0 RL 0 36 RL CL ST F2 -.828(Te)408.776
142.48 S(xinf).828 E(o)-.225 E F3(sources)409.505 153.48 Q 99 200 99 164
DL 99 218 99 200 DL 189 182 189 164 DL 171 191 9 -180 90 DA 171 191 9
-90 180 DA 207 191 9 -0 -90 DA 207 191 9 90 0 DA 162 191 162 191 DL 207
182 171 182 DL 216 191 216 191 DL 171 200 207 200 DL F2(html2ms)172.251
192.98 Q 189 218 189 200 DL 306 182 306 164 DL 288 191 9 -180 90 DA 288
191 9 -90 180 DA 324 191 9 -0 -90 DA 324 191 9 90 0 DA 279 191 279 191
DL 324 182 288 182 DL 333 191 333 191 DL 288 200 324 200 DL -.225(fo)
292.869 192.98 S(rmat).225 E 306 218 306 200 DL 423 182 423 164 DL 405
191 9 -180 90 DA 405 191 9 -90 180 DA 441 191 9 -0 -90 DA 441 191 9 90 0
DA 396 191 396 191 DL 441 182 405 182 DL 450 191 450 191 DL 405 200 441
200 DL(texi2r)406.589 192.98 Q(off)-.162 E 423 218 423 200 DL 297 344 MT
0 -54 RL -72 0 RL 0 54 RL CL ST(ms)255.501 307.98 Q F3(intermediate)
238.505 318.98 Q(form)252.252 329.98 Q 225 290 MT -7.128 -2.016 RL 1.8
-3.096 RL CL 0 Fg 225 290 MT -7.128 -2.016 RL 1.8 -3.096 RL CL .1 LW 0
Cg ST .36 LW 218.736 286.4 99 218 DL 248.976 290 MT -5.976 -4.392 RL
2.736 -2.304 RL CL 0 Fg 248.976 290 MT -5.976 -4.392 RL 2.736 -2.304 RL
CL .1 LW 0 Cg ST .36 LW 244.368 284.456 189 218 DL 273.024 290 MT 1.368
-7.272 RL 3.24 1.512 RL CL 0 Fg 273.024 290 MT 1.368 -7.272 RL 3.24
1.512 RL CL .1 LW 0 Cg ST .36 LW 275.976 283.448 306 218 DL 297 290 MT
5.328 -5.112 RL 1.8 3.096 RL CL 0 Fg 297 290 MT 5.328 -5.112 RL 1.8
3.096 RL CL .1 LW 0 Cg ST .36 LW 303.264 286.4 423 218 DL 189 380 MT
-1.8 -7.2 RL 3.6 0 RL CL 0 Fg 189 380 MT -1.8 -7.2 RL 3.6 0 RL CL .1 LW
0 Cg ST .36 LW 189 362 225 344 DL 189 372.8 189 362 DL 171 389 9 -180 90
DA 171 389 9 -90 180 DA 207 389 9 -0 -90 DA 207 389 9 90 0 DA 162 389
162 389 DL 207 380 171 380 DL 216 389 216 389 DL 171 398 207 398 DL F2
(pic)183.249 390.98 Q 189 416 MT -1.8 -7.2 RL 3.6 0 RL CL 0 Fg 189 416
MT -1.8 -7.2 RL 3.6 0 RL CL .1 LW 0 Cg ST .36 LW 189 408.8 189 398 DL
171 425 9 -180 90 DA 171 425 9 -90 180 DA 207 425 9 -0 -90 DA 207 425 9
90 0 DA 162 425 162 425 DL 207 416 171 416 DL 216 425 216 425 DL 171 434
207 434 DL(eqn)181.998 426.98 Q 189 452 MT -1.8 -7.2 RL 3.6 0 RL CL 0 Fg
189 452 MT -1.8 -7.2 RL 3.6 0 RL CL .1 LW 0 Cg ST .36 LW 189 444.8 189
434 DL 171 461 9 -180 90 DA 171 461 9 -90 180 DA 207 461 9 -0 -90 DA 207
461 9 90 0 DA 162 461 162 461 DL 207 452 171 452 DL 216 461 216 461 DL
171 470 207 470 DL(tbl)183.749 462.98 Q 189 488 MT -1.8 -7.2 RL 3.6 0 RL
CL 0 Fg 189 488 MT -1.8 -7.2 RL 3.6 0 RL CL .1 LW 0 Cg ST .36 LW 189
480.8 189 470 DL 171 497 9 -180 90 DA 171 497 9 -90 180 DA 207 497 9 -0
-90 DA 207 497 9 90 0 DA 162 497 162 497 DL 207 488 171 488 DL 216 497
216 497 DL 171 506 207 506 DL(gr)179.586 498.98 Q(off)-.162 E 189 524 MT
-1.8 -7.2 RL 3.6 0 RL CL 0 Fg 189 524 MT -1.8 -7.2 RL 3.6 0 RL CL .1 LW
0 Cg ST .36 LW 189 516.8 189 506 DL 216 560 MT 0 -36 RL -54 0 RL 0 36 RL
CL ST F3(PostScript)170.496 543.98 Q 333 380 MT -1.8 -7.2 RL 3.6 0 RL CL
0 Fg 333 380 MT -1.8 -7.2 RL 3.6 0 RL CL .1 LW 0 Cg ST .36 LW 333 362
297 344 DL 333 372.8 333 362 DL 357.336 395.336 357.336 395.336 DL
359.28 392.456 359.28 392.456 DL 360 389 360 389 DL 360 389 360 389 DL
359.28 385.544 359.28 385.544 DL 357.336 382.664 357.336 382.664 DL
354.384 380.648 354.384 380.648 DL 350.928 380 350.928 380 DL 347.328
380 347.328 380 DL 343.728 380 343.728 380 DL 340.128 380 340.128 380 DL
336.6 380 336.6 380 DL 333 380 333 380 DL 329.4 380 329.4 380 DL 325.872
380 325.872 380 DL 322.272 380 322.272 380 DL 318.672 380 318.672 380 DL
315.072 380 315.072 380 DL 311.616 380.648 311.616 380.648 DL 308.664
382.664 308.664 382.664 DL 306.72 385.544 306.72 385.544 DL 306 389 306
389 DL 306 389 306 389 DL 306.72 392.456 306.72 392.456 DL 308.664
395.336 308.664 395.336 DL 311.616 397.352 311.616 397.352 DL 315.072
398 315.072 398 DL 318.672 398 318.672 398 DL 322.272 398 322.272 398 DL
325.872 398 325.872 398 DL 329.4 398 329.4 398 DL 333 398 333 398 DL
336.6 398 336.6 398 DL 340.128 398 340.128 398 DL 343.728 398 343.728
398 DL 347.328 398 347.328 398 DL 350.928 398 350.928 398 DL 354.384
397.352 354.384 397.352 DL F2(pic2img)317.75 390.98 Q 333 416 MT -1.8
-7.2 RL 3.6 0 RL CL 0 Fg 333 416 MT -1.8 -7.2 RL 3.6 0 RL CL .1 LW 0 Cg
ST .36 LW 333 408.8 333 398 DL 357.336 431.336 357.336 431.336 DL 359.28
428.456 359.28 428.456 DL 360 425 360 425 DL 360 425 360 425 DL 359.28
421.544 359.28 421.544 DL 357.336 418.664 357.336 418.664 DL 354.384
416.648 354.384 416.648 DL 350.928 416 350.928 416 DL 347.328 416
347.328 416 DL 343.728 416 343.728 416 DL 340.128 416 340.128 416 DL
336.6 416 336.6 416 DL 333 416 333 416 DL 329.4 416 329.4 416 DL 325.872
416 325.872 416 DL 322.272 416 322.272 416 DL 318.672 416 318.672 416 DL
315.072 416 315.072 416 DL 311.616 416.648 311.616 416.648 DL 308.664
418.664 308.664 418.664 DL 306.72 421.544 306.72 421.544 DL 306 425 306
425 DL 306 425 306 425 DL 306.72 428.456 306.72 428.456 DL 308.664
431.336 308.664 431.336 DL 311.616 433.352 311.616 433.352 DL 315.072
434 315.072 434 DL 318.672 434 318.672 434 DL 322.272 434 322.272 434 DL
325.872 434 325.872 434 DL 329.4 434 329.4 434 DL 333 434 333 434 DL
336.6 434 336.6 434 DL 340.128 434 340.128 434 DL 343.728 434 343.728
434 DL 347.328 434 347.328 434 DL 350.928 434 350.928 434 DL 354.384
433.352 354.384 433.352 DL(eqn2html)314.748 426.98 Q 333 452 MT -1.8
-7.2 RL 3.6 0 RL CL 0 Fg 333 452 MT -1.8 -7.2 RL 3.6 0 RL CL .1 LW 0 Cg
ST .36 LW 333 444.8 333 434 DL 357.336 467.336 357.336 467.336 DL 359.28
464.456 359.28 464.456 DL 360 461 360 461 DL 360 461 360 461 DL 359.28
457.544 359.28 457.544 DL 357.336 454.664 357.336 454.664 DL 354.384
452.648 354.384 452.648 DL 350.928 452 350.928 452 DL 347.328 452
347.328 452 DL 343.728 452 343.728 452 DL 340.128 452 340.128 452 DL
336.6 452 336.6 452 DL 333 452 333 452 DL 329.4 452 329.4 452 DL 325.872
452 325.872 452 DL 322.272 452 322.272 452 DL 318.672 452 318.672 452 DL
315.072 452 315.072 452 DL 311.616 452.648 311.616 452.648 DL 308.664
454.664 308.664 454.664 DL 306.72 457.544 306.72 457.544 DL 306 461 306
461 DL 306 461 306 461 DL 306.72 464.456 306.72 464.456 DL 308.664
467.336 308.664 467.336 DL 311.616 469.352 311.616 469.352 DL 315.072
470 315.072 470 DL 318.672 470 318.672 470 DL 322.272 470 322.272 470 DL
325.872 470 325.872 470 DL 329.4 470 329.4 470 DL 333 470 333 470 DL
336.6 470 336.6 470 DL 340.128 470 340.128 470 DL 343.728 470 343.728
470 DL 347.328 470 347.328 470 DL 350.928 470 350.928 470 DL 354.384
469.352 354.384 469.352 DL(tbl2html)316.499 462.98 Q 333 488 MT -1.8
-7.2 RL 3.6 0 RL CL 0 Fg 333 488 MT -1.8 -7.2 RL 3.6 0 RL CL .1 LW 0 Cg
ST .36 LW 333 480.8 333 470 DL 315 497 9 -180 90 DA 315 497 9 -90 180 DA
351 497 9 -0 -90 DA 351 497 9 90 0 DA 306 497 306 497 DL 351 488 315 488
DL 360 497 360 497 DL 315 506 351 506 DL(ms2html)316.251 498.98 Q 333
524 MT -1.8 -7.2 RL 3.6 0 RL CL 0 Fg 333 524 MT -1.8 -7.2 RL 3.6 0 RL CL
.1 LW 0 Cg ST .36 LW 333 516.8 333 506 DL 360 560 MT 0 -36 RL -54 0 RL 0
36 RL CL ST F3(HTML)320.252 543.98 Q 444.6 443 441 443 DL 452.232 443
448.632 443 DL 459.792 443 456.192 443 DL 467.424 443 463.824 443 DL
474.984 443 471.384 443 DL 482.616 443 479.016 443 DL 490.176 443
486.576 443 DL 497.808 443 494.208 443 DL 505.368 443 501.768 443 DL 513
443 509.4 443 DL 513 439.4 513 443 DL 513 432.92 513 436.52 DL 513
426.44 513 430.04 DL 513 419.96 513 423.56 DL 513 413.48 513 417.08 DL
513 407 513 410.6 DL 509.4 407 513 407 DL 501.768 407 505.368 407 DL
494.208 407 497.808 407 DL 486.576 407 490.176 407 DL 479.016 407
482.616 407 DL 471.384 407 474.984 407 DL 463.824 407 467.424 407 DL
456.192 407 459.792 407 DL 448.632 407 452.232 407 DL 441 407 444.6 407
DL 441 410.6 441 407 DL 441 417.08 441 413.48 DL 441 423.56 441 419.96
DL 441 430.04 441 426.44 DL 441 436.52 441 432.92 DL 441 443 441 439.4
DL(These tools)456.377 421.48 Q(don')451.4 432.48 Q 2.25(ty)-.162 G
(et e)-2.25 E(xist)-.135 E 367.056 390.584 MT 7.416 -.216 RL -.792 3.528
RL CL 0 Fg 367.056 390.584 MT 7.416 -.216 RL -.792 3.528 RL CL .1 LW 0
Cg ST .36 LW 437.472 406.208 441 407 DL 430.416 404.624 433.944 405.416
DL 423.36 403.04 426.888 403.832 DL 416.304 401.528 419.832 402.32 DL
409.248 399.944 412.776 400.736 DL 402.264 398.36 405.792 399.152 DL
395.208 396.776 398.736 397.568 DL 388.152 395.264 391.68 396.056 DL
381.096 393.68 384.624 394.472 DL 374.04 392.096 377.568 392.888 DL
367.2 425 MT 7.2 -1.8 RL 0 3.6 RL CL 0 Fg 367.2 425 MT 7.2 -1.8 RL 0 3.6
RL CL .1 LW 0 Cg ST .36 LW 437.4 425 441 425 DL 430.416 425 434.016 425
DL 423.432 425 427.032 425 DL 416.376 425 419.976 425 DL 409.392 425
412.992 425 DL 402.408 425 406.008 425 DL 395.424 425 399.024 425 DL
388.368 425 391.968 425 DL 381.384 425 384.984 425 DL 374.4 425 378 425
DL 367.056 459.416 MT 6.624 -3.312 RL .792 3.528 RL CL 0 Fg 367.056
459.416 MT 6.624 -3.312 RL .792 3.528 RL CL .1 LW 0 Cg ST .36 LW 437.472
443.792 441 443 DL 430.416 445.376 433.944 444.584 DL 423.36 446.96
426.888 446.168 DL 416.304 448.472 419.832 447.68 DL 409.248 450.056
412.776 449.264 DL 402.264 451.64 405.792 450.848 DL 395.208 453.224
398.736 452.432 DL 388.152 454.736 391.68 453.944 DL 381.096 456.32
384.624 455.528 DL 374.04 457.904 377.568 457.112 DL F0
(Figure 20-2: Hypothetical production \215o)151.05 583 Q 2.5(wf)-.25 G
(or dual-mode publishing)-2.5 E 0 Cg EP
%%Page: 32 32
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-32-)279.67 48 Q 302.4 145.2 MT 0 -36 RL -72 0
RL 0 36 RL CL 1 0.843 0 Fr 302.4 145.2 MT 0 -36 RL -72 0 RL 0 36 RL CL
.4 LW 0 0 0 Cr ST(Master)252.515 123.4 Q(1)263.9 135.4 Q 302.4 109.2 MT
7.2 -7.2 RL -72 0 RL -7.2 7.2 RL CL 1 1 0 Fr 302.4 109.2 MT 7.2 -7.2 RL
-72 0 RL -7.2 7.2 RL CL 0 0 0 Cr ST 309.6 138 MT 0 -36 RL -7.2 7.2 RL 0
36 RL CL 0.855 0.647 0.125 Fr 309.6 138 MT 0 -36 RL -7.2 7.2 RL 0 36 RL
CL 0 0 0 Cr ST 338.4 163.2 MT 0 -72 RL -36 0 RL 0 72 RL CL 1 0.843 0 Fr
338.4 163.2 MT 0 -72 RL -36 0 RL 0 72 RL CL 0 0 0 Cr ST(Sla)309.465
129.4 Q -.15(ve)-.2 G 338.4 91.2 MT 7.2 -7.2 RL -36 0 RL -7.2 7.2 RL CL
1 1 0 Fr 338.4 91.2 MT 7.2 -7.2 RL -36 0 RL -7.2 7.2 RL CL 0 0 0 Cr ST
345.6 156 MT 0 -72 RL -7.2 7.2 RL 0 72 RL CL 0.855 0.647 0.125 Fr 345.6
156 MT 0 -72 RL -7.2 7.2 RL 0 72 RL CL 0 0 0 Cr ST 0 Cg
(Figure 20-3: Three-dimensional Box)210.445 186.2 Q(es)-.15 E
(Here the source code for \214gure 20-3:)97 213.8 Q/F1 10/Courier@0 SF
(.PS)108 231.8 Q 6(#at)108 243.8 S(hree-dimensional block)-6 E(#)108
255.8 Q 6(#t)108 267.8 S(block\(<width>, <height>, <text>\))-6 E
(define tblock { [)108 291.8 Q(box ht $2 wid $1 \\)120 303.8 Q
(color "gold" outlined "black" \\)144 315.8 Q(xslanted 0 yslanted 0 \\)
144 327.8 Q($3;)144 339.8 Q(box ht .1 wid $1 \\)120 351.8 Q
(color "yellow" outlined "black" \\)144 363.8 Q
(xslanted .1 yslanted 0 \\)144 375.8 Q(with .sw at last box .nw;)144
387.8 Q(box ht $2 wid .1 \\)120 399.8 Q
(color "goldenrod" outlined "black" \\)144 411.8 Q
(xslanted 0 yslanted .1 \\)144 423.8 Q(with .nw at 2nd last box .ne;)144
435.8 Q 6(]})108 447.8 S(tblock\(1, .5, "Master" "1"\);)108 471.8 Q
(move -.1)108 483.8 Q(tblock\(.5, 1, "Slave"\);)108 495.8 Q(.PE)108
507.8 Q/F2 10/Times-Bold@0 SF 2.5(21. PIC)72 537.8 R(Refer)2.5 E(ence)
-.18 E F0(This is an annotated grammar of)97 553.4 Q F2(pic)2.5 E F0(.)A
F2 2.5(21.1. Lexical)72 577.4 R(Items)2.5 E F0 .317(In general,)97 593 R
F2(pic)2.817 E F0 .317(is a free-format, tok)2.817 F .317
(en-oriented language that ignores whitespace outside strings.)-.1 F
(But)5.316 E
(certain lines and contructs are specially interpreted at the le)72 605
Q(xical le)-.15 E -.15(ve)-.25 G(l:).15 E 3.815(Ac)97 620.6 S 1.315
(omment be)-3.815 F 1.315(gins with)-.15 F F2(#)3.815 E F0 1.315
(and continues to)3.815 F F2(\\n)3.815 E F0 1.316
(\(comments may also follo)3.816 F 3.816(wt)-.25 G -.15(ex)-3.816 G
3.816(ti).15 G 3.816(nal)-3.816 G 3.816(ine\). A)-3.816 F(line)3.816 E
(be)72 632.6 Q .359
(ginning with a period or backslash may be interpreted as te)-.15 F .359
(xt to be passed through to the post-processor)-.15 F(,)-.4 E .822
(depending on command-line options.)72 644.6 R .822
(An end-of-line backslash is interpreted as a request to continue the)
5.822 F(line; the backslash and follo)72 656.6 Q(wing ne)-.25 E
(wline are ignored.)-.25 E(Here are the grammar terminals:)97 672.2 Q/F3
9/Times-Roman@0 SF(INT)97 687.8 Q F0 2.5(Ap)10.006 G(ositi)-2.5 E .3
-.15(ve i)-.25 H(nte).15 E(ger)-.15 E(.)-.55 E F3(NUMBER)97 703.4 Q F0
3.371<418d>122 715.4 S .871(oating point numeric constant.)-3.371 F .871
(May contain a decimal point or be e)5.871 F .87
(xpressed in scienti\214c)-.15 F .217(notation in the style of)122 727.4
R/F4 10/Times-Italic@0 SF(printf)2.717 E F0(\(3\)')1.96 E 2.717(s%)-.55
G 2.718(ee)-2.717 G 2.718(scape. A)-2.718 F .218
(trailing `i' or `I' \(indicating the unit `inch'\) is)2.718 F 0 Cg EP
%%Page: 33 33
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-33-)279.67 48 Q(ignored.)122 84 Q/F1 9
/Times-Roman@0 SF(TEXT)97 99.6 Q F0 2.754(As)122 111.6 S .254
(tring enclosed in double quotes.)-2.754 F 2.754(Ad)5.254 G .253
(ouble quote within)-2.754 F F1(TEXT)2.753 E F0 .253
(must be preceded by a back-)2.753 F 2.5(slash. Instead)122 123.6 R(of)
2.5 E F1(TEXT)2.5 E F0(you can use)2.5 E/F2 10/Courier@0 SF
(sprintf \( TEXT [, <expr> ...] \))158 141.6 Q F0 -.15(ex)122 163.2 S
(cept after the `until' and `last' k).15 E -.15(ey)-.1 G -.1(wo).15 G
(rds, and after all ordinal k).1 E -.15(ey)-.1 G -.1(wo).15 G
(rds \(`th' and friends\).).1 E F1 -1.215(VA)97 178.8 S(RIABLE)1.215 E
F0 2.525(As)122 190.8 S .025
(tring starting with a character from the set [a-z], optionally follo)
-2.525 F .025(wed by one or more charac-)-.25 F
(ters of the set [a-zA-Z0-9_].)122 202.8 Q(\(V)5 E(alues of v)-1.11 E
(ariables are preserv)-.25 E(ed across pictures.\))-.15 E F1(LABEL)97
218.4 Q F0 2.815(As)122 230.4 S .315
(tring starting with a character from the set [A-Z], optionally follo)
-2.815 F .314(wed by one or more char)-.25 F(-)-.2 E
(acters of the set [a-zA-Z0-9_].)122 242.4 Q F1(COMMAND-LINE)97 258 Q F0
2.5(Al)122 270 S(ine starting with a command character \(`.)-2.5 E 2.5
('i)-.7 G 2.5(ng)-2.5 G(rof)-2.5 E 2.5(fm)-.25 G(ode, `\\' in T)-2.5 E
(E)-1.667 2.24 M 2.5(Xm)-1.25 -2.24 O(ode\).)-2.5 E F1 -.315(BA)97 285.6
S(LANCED-TEXT).315 E F0 2.5(As)122 297.6 S
(tring either enclosed by `{' and `}' or with)-2.5 E/F3 10
/Times-Italic@0 SF(X)2.5 E F0(and)2.5 E F3(X)2.5 E F0 2.5(,w)C(here)-2.5
E F3(X)2.5 E F0(doesn')2.5 E 2.5(to)-.18 G(ccur in the string.)-2.5 E F1
-.315(BA)97 313.2 S(LANCED-BOD).315 E(Y)-.495 E F0(Delimiters as in)122
325.2 Q F1 -.315(BA)2.5 G(LANCED-TEXT).315 E F0 2.5(;t)C
(he body is interpreted as `)-2.5 E/F4 10/Symbol SF<e1>A/F5 10
/Times-Bold@0 SF(command)A F4<f1>A F5 1.666(...)C F0('.)-1.666 E F1
(FILEN)97 340.8 Q(AME)-.315 E F0(The name of a \214le.)122 352.8 Q
(This has the same semantics as)5 E F1(TEXT)2.5 E F0(.)A F1(MA)97 368.4
Q(CR)-.36 E(ON)-.36 E(AME)-.315 E F0(Either)122 380.4 Q F1 -1.215(VA)2.5
G(RIABLE)1.215 E F0(or)2.5 E F1(LABEL)2.5 E F0(.)A F5 2.5(21.2. Semi-F)
72 404.4 R(ormal Grammar)-.25 E F0 -.8(To)97 420 S -.1(ke).8 G
(ns not enclosed in).1 E F4 1.666<e1f1>2.5 G F0(are literals, e).834 E
(xcept:)-.15 E(1.)72 435.6 Q F5(\\n)17.5 E F0(is a ne)2.5 E(wline.)-.25
E 15(2. Three)72 451.2 R(dots is a suf)2.5 E(\214x meaning `replace wit\
h 0 or more repetitions of the preceding element\(s\).)-.25 E 15(3. An)
72 466.8 R(enclosure in square brack)2.5 E
(ets has its usual meaning of `this clause is optional'.)-.1 E 15
(4. Square-brack)72 482.4 R 3.709(et-enclosed portions within tok)-.1 F
3.709(ens are optional.)-.1 F 3.71(Thus, `h)8.709 F -1.667([eigh] t')
.833 F 3.71(matches either)6.21 F(`height' or `ht'.)97 494.4 Q
(If one of these special tok)72 510 Q
(ens has to be referred to literally)-.1 E 2.5(,i)-.65 G 2.5(ti)-2.5 G
2.5(ss)-2.5 G(urrounded with single quotes.)-2.5 E(The top-le)97 525.6 Q
-.15(ve)-.25 G(l).15 E F5(pic)2.5 E F0(object is a picture.)2.5 E F2
(<picture> ::=)108 543.6 Q(.PS [NUMBER [NUMBER]]\\n)120 555.6 Q
(<statement> ...)120 567.6 Q(.PE \\n)120 579.6 Q F0 1.199(The ar)97
601.2 R 1.199(guments, if present, represent the width and height of th\
e picture, causing)-.18 F F5(pic)3.698 E F0 1.198(to attempt to)3.698 F
1.281(scale it to the gi)72 613.2 R -.15(ve)-.25 G 3.781(nd).15 G 1.281
(imensions in inches.)-3.781 F 1.281(In no case, ho)6.281 F(we)-.25 E
-.15(ve)-.25 G 2.081 -.4(r, t).15 H 1.281
(he X and Y dimensions of the picture).4 F -.15(ex)72 625.2 S .592
(ceed the v).15 F .592(alues of the style v)-.25 F(ariables)-.25 E F5
(maxpswid)3.092 E F0(and)3.092 E F5(maxpsheight)3.092 E F0 .592
(\(which def)3.092 F .591(ault to the normal 8.5)-.1 F 3.091(ib).833 G
(y)-3.091 E -1.667(11 i)72 637.2 R(page size\).)2.5 E .597
(If the ending `.PE' is replaced by `.PF', the page v)97 652.8 R .597
(ertical position is restored to its v)-.15 F .597(alue at the time)-.25
F .065(`.PS' w)72 664.8 R .065(as encountered.)-.1 F .065
(Another alternate form of in)5.065 F -.2(vo)-.4 G .065(cation is `.PS)
.2 F(<)2.5 E F1(FILEN)A(AME)-.315 E F0 .064(', which replaces the `.PS')
B(line with a \214le to be interpreted by)72 676.8 Q F5(pic)2.5 E F0
(\(b)2.5 E(ut this feature is deprecated\).)-.2 E 1.323(The `.PS', `.PE\
', and `.PF' macros to perform centering and scaling are normally suppl\
ied by the)97 692.4 R(post-processor)72 704.4 Q(.)-.55 E 0 Cg EP
%%Page: 34 34
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-34-)279.67 48 Q(In the follo)97 84 Q
(wing, either `|' or a ne)-.25 E 2.5(wl)-.25 G(ine starts an alternati)
-2.5 E -.15(ve)-.25 G(.).15 E/F1 10/Courier@0 SF(<statement> ::=)108 102
Q(<command> ;)120 114 Q(<command> \\n)120 126 Q(<command> ::=)108 150 Q
(<primitive> [<attribute>])120 162 Q(LABEL : [;] <command>)120 174 Q
(LABEL : [;] <command> [<position>])120 186 Q 6({<)120 198 S
(command> ... })-6 E(VARIABLE [:] = <any-expr>)120 210 Q
(figname = MACRONAME)120 222 Q(up | down | left | right)120 234 Q
(COMMAND-LINE)120 246 Q(command <print-arg> ...)120 258 Q
(print <print-arg> ...)120 270 Q(sh BALANCED-TEXT)120 282 Q
(copy FILENAME)120 294 Q(copy [FILENAME] thru MACRONAME [until TEXT])120
306 Q(copy [FILENAME] thru BALANCED-BODY [until TEXT])120 318 Q
(for VARIABLE = <expr> to <expr> [by [*] <expr>] do BALANCED-BODY)120
330 Q(if <any-expr> then BALANCED-BODY [else BALANCED-BODY])120 342 Q
(reset [VARIABLE [[,] VARIABLE ...]])120 354 Q(<print-arg> ::=)108 378 Q
(TEXT)120 390 Q(<expr>)120 402 Q(<position>)120 414 Q F0 .655
(The current position and direction are sa)97 435.6 R -.15(ve)-.2 G
3.155(do).15 G 3.155(ne)-3.155 G .655(ntry to a `{)-3.155 F -3.332 1.666
(... })2.5 H 3.155('c)-1.666 G .655(onstruction and restored on e)-3.155
F(xit)-.15 E(from it.)72 447.6 Q(Note that in `if)97 463.2 Q 2.5('c).55
G(onstructions, ne)-2.5 E(wlines can only occur in)-.25 E/F2 9
/Times-Roman@0 SF -.315(BA)2.5 G(LANCED-BOD).315 E(Y)-.495 E F0 5(.T)C
(his means that)-5 E F1(if)108 481.2 Q 6({.)108 493.2 S(.. })-6 E(else)
108 505.2 Q 6({.)108 517.2 S(.. })-6 E F0 -.1(fa)97 538.8 S 2.5(ils. Y)
.1 F(ou ha)-1.1 E .3 -.15(ve t)-.2 H 2.5(ou).15 G
(se the braces on the same line as the k)-2.5 E -.15(ey)-.1 G -.1(wo).15
G(rds:).1 E F1(if {)108 556.8 Q(...)108 568.8 Q 6(}e)108 580.8 S(lse {)
-6 E(...)108 592.8 Q(})108 604.8 Q F0(This restriction doesn')97 626.4 Q
2.5(th)-.18 G(old for the body after the `do' in a `for' construction.)
-2.5 E .13(At the be)97 642 R .13(ginning of each picture, `\214gname' \
is reset to the vbox name `graph'; this command has only)-.15 F 3.762
(am)72 654 S 1.262(eaning in T)-3.762 F(E)-1.667 2.24 M 3.762(Xm)-1.25
-2.24 O 3.762(ode. While)-3.762 F 1.262(the grammar rules allo)3.762 F
3.761(wd)-.25 G 1.261(igits and the underscore in the v)-3.761 F 1.261
(alue of `\214g-)-.25 F 2.781(name', T)72 666 R(E)-1.667 2.24 M 5.281
(Xn)-1.25 -2.24 O 2.782(ormally accepts uppercase and lo)-5.281 F 2.782
(wercase letters only as box names \(you ha)-.25 F 3.082 -.15(ve t)-.2 H
5.282(ou).15 G(se)-5.282 E(`\\csname' if you really need to circumv)72
678 Q(ent this limitation\).)-.15 E 0 Cg EP
%%Page: 35 35
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-35-)279.67 48 Q/F1 10/Courier@0 SF
(<any-expr> ::=)108 84 Q(<expr>)120 96 Q(<text-expr>)120 108 Q
(<any-expr> <logical-op> <any-expr>)120 120 Q 6(!<)120 132 S(any-expr>)
-6 E(<logical-op> ::=)108 156 Q(== | != | && | '||')120 168 Q
(<text-expr> ::=)108 192 Q(TEXT == TEXT)120 204 Q(TEXT != TEXT)120 216 Q
F0 1.155(Logical operators are handled specially by)97 237.6 R/F2 10
/Times-Bold@0 SF(pic)3.655 E F0 1.154(since the)3.654 F 3.654(yc)-.15 G
1.154(an deal with te)-3.654 F 1.154(xt strings also.)-.15 F F2(pic)
6.154 E F0(uses)3.654 E/F3 10/Times-Italic@0 SF(str)72 249.6 Q(cmp)-.37
E F0(\(3\) to test for equality of strings; an empty string is consider\
ed as `f).19 E(alse' for `&&' and `|)-.1 E(|'.)1.666 E F1
(<primitive> ::=)108 267.6 Q(box)120 279.6 Q F0 2.5(#c)114 G
(losed object \212 rectangle)-2.5 E F1(circle)120 291.6 Q F0 2.5(#c)96 G
(losed object \212 circle)-2.5 E F1(ellipse)120 303.6 Q F0 2.5(#c)90 G
(losed object \212 ellipse)-2.5 E F1(arc)120 315.6 Q F0 2.5(#o)114 G
(pen object \212 quarter)-2.5 E(-circle)-.2 E F1(line)120 327.6 Q F0 2.5
(#o)108 G(pen object \212 line)-2.5 E F1(arrow)120 339.6 Q F0 2.5(#o)102
G(pen object \212 line with arro)-2.5 E(whead)-.25 E F1(spline)120 351.6
Q F0 2.5(#o)96 G(pen object \212 spline curv)-2.5 E(e)-.15 E F1(move)120
363.6 Q(TEXT TEXT ...)120 375.6 Q F0 2.5(#t)54 G -.15(ex)-2.5 G 2.5(tw)
.15 G(ithin in)-2.5 E(visible box)-.4 E F1(plot <expr> TEXT)120 387.6 Q
F0 2.5(#f)36 G(ormatted te)-2.5 E(xt)-.15 E F1('[' <command> ... ']')120
399.6 Q F0(Dra)97 421.2 Q .631(wn objects within `[)-.15 F -3.332 1.666
(... ])2.5 H 3.131('a)-1.666 G .631(re treated as a single composite ob\
ject with a rectangular shape \(that)-3.131 F 1.071
(of the bounding box of all the elements\).)72 433.2 R -1.11(Va)6.071 G
1.071(riable and label assignments within a block are local to the)1.11
F 4.146(block. Current)72 445.2 R 1.646
(direction of motion is restored to the v)4.146 F 1.647
(alue at start of block upon e)-.25 F 4.147(xit. Position)-.15 F(is)
4.147 E F3(not)4.147 E F0 .904(restored \(unlik)72 457.2 R 3.404(e`)-.1
G 2.5({})-3.404 G .903('\); instead, the current position becomes the e)
-2.5 F .903(xit position for the current direction on)-.15 F(the block')
72 469.2 Q 2.5(sb)-.55 G(ounding box.)-2.5 E 0 Cg EP
%%Page: 36 36
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-36-)279.67 48 Q/F1 10/Courier@0 SF
(<attribute> ::=)108 84 Q(h[eigh]t <expr>)120 96 Q F0 2.5(#s)42 G
(et height of closed \214gure)-2.5 E F1(wid[th] <expr>)120 108 Q F0 2.5
(#s)48 G(et width of closed \214gure)-2.5 E F1(rad[ius] <expr>)120 120 Q
F0 2.5(#s)42 G(et radius of circle/arc)-2.5 E F1(diam[eter] <expr>)120
132 Q F0 2.5(#s)30 G(et diameter of circle/arc)-2.5 E F1(up [<expr>])120
144 Q F0 2.5(#m)66 G .3 -.15(ove u)-2.5 H(p).15 E F1(down [<expr>])120
156 Q F0 2.5(#m)54 G .3 -.15(ove d)-2.5 H -.25(ow).15 G(n).25 E F1
(left [<expr>])120 168 Q F0 2.5(#m)54 G .3 -.15(ove l)-2.5 H(eft).15 E
F1(right [<expr>])120 180 Q F0 2.5(#m)48 G .3 -.15(ove r)-2.5 H(ight).15
E F1(from <position>)120 192 Q F0 2.5(#s)42 G
(et from position of open \214gure)-2.5 E F1(to <position>)120 204 Q F0
2.5(#s)54 G(et to position of open \214gure)-2.5 E F1(at <position>)120
216 Q F0 2.5(#s)54 G(et center of open \214gure)-2.5 E F1(with <path>)
120 228 Q F0 2.5<238c>66 G 2.5(xc)-2.5 G
(orner/named point at speci\214ed location)-2.5 E F1(with <position>)120
240 Q F0 2.5<238c>42 G 2.5(xp)-2.5 G
(osition of object at speci\214ed location)-2.5 E F1(by <expr-pair>)120
252 Q F0 2.5(#s)48 G(et object')-2.5 E 2.5(sa)-.55 G(ttachment point)
-2.5 E F1(then)120 264 Q F0 2.5(#s)108 G(equential se)-2.5 E
(gment composition)-.15 E F1(dotted [<expr>])120 276 Q F0 2.5(#s)42 G
(et dotted line style)-2.5 E F1(dashed [<expr>])120 288 Q F0 2.5(#s)42 G
(et dashed line style)-2.5 E F1(thick[ness] <expr>)120 300 Q F0 2.5(#s)
24 G(et thickness of lines)-2.5 E F1(chop [<expr>])120 312 Q F0 2.5(#c)
54 G(hop end\(s\) of se)-2.5 E(gment)-.15 E F1('->' | '<-' | '<->')120
324 Q F0 2.5(#d)18 G(ecorate with arro)-2.5 E(ws)-.25 E F1(invis[ible])
120 336 Q F0 2.5(#m)66 G(ak)-2.5 E 2.5(ep)-.1 G(rimiti)-2.5 E .3 -.15
(ve i)-.25 H -.4(nv).15 G(isible).4 E F1(solid)120 348 Q F0 2.5(#m)102 G
(ak)-2.5 E 2.5(ec)-.1 G(losed \214gure solid)-2.5 E F1
(fill[ed] [<expr>])120 360 Q F0 2.5(#s)30 G
(et \214ll density for \214gure)-2.5 E F1(xscaled <expr>)120 372 Q F0
2.5(#s)48 G(lant box into x direction)-2.5 E F1(yscaled <expr>)120 384 Q
F0 2.5(#s)48 G(lant box into y direction)-2.5 E F1(colo[u]r[ed] TEXT)120
396 Q F0 2.5(#s)30 G(et \214ll and outline color for \214gure)-2.5 E F1
(outline[d] TEXT)120 408 Q F0 2.5(#s)42 G(et outline color for \214gure)
-2.5 E F1(shaded TEXT)120 420 Q F0 2.5(#s)66 G
(et \214ll color for \214gure)-2.5 E F1(same)120 432 Q F0 2.5(#c)108 G
(op)-2.5 E 2.5(ys)-.1 G(ize of pre)-2.5 E(vious object)-.25 E F1
(cw | ccw)120 444 Q F0 2.5(#s)84 G(et orientation of curv)-2.5 E(es)-.15
E F1(ljust | rjust)120 456 Q F0 2.5(#a)54 G(djust te)-2.5 E
(xt horizontally)-.15 E F1(above | below)120 468 Q F0 2.5(#a)54 G
(djust te)-2.5 E(xt v)-.15 E(ertically)-.15 E F1(aligned)120 480 Q F0
2.5(#a)90 G(lign parallel to object)-2.5 E F1(TEXT TEXT ...)120 492 Q F0
2.5(#t)54 G -.15(ex)-2.5 G 2.5(tw).15 G(ithin object)-2.5 E F1(<expr>)
120 504 Q F0 2.5(#m)96 G(otion in the current direction)-2.5 E 1.99
(Missing attrib)97 525.6 R 1.99(utes are supplied from def)-.2 F 1.99
(aults; inappropriate ones are silently ignored.)-.1 F -.15(Fo)6.99 G
4.49(rl).15 G(ines,)-4.49 E
(splines, and arcs, height and width refer to arro)72 537.6 Q
(whead size.)-.25 E .247(The `at' primiti)97 553.2 R .547 -.15(ve s)-.25
H .247(ets the center of the current object.).15 F .247
(The `with' attrib)5.247 F .247(ute \214x)-.2 F .246
(es the speci\214ed feature)-.15 F 1.732(of the gi)72 565.2 R -.15(ve)
-.25 G 4.232(no).15 G 1.732(bject to a speci\214ed location.)-4.232 F
1.733(\(Note that `with' is incorrectly described in the K)6.732 F
(ernighan)-.25 E(paper)72 577.2 Q(.\))-.55 E .177(The `by' primiti)97
592.8 R .477 -.15(ve i)-.25 H 2.677(sn).15 G .176
(ot documented in the tutorial portion of the K)-2.677 F .176
(ernighan paper)-.25 F 2.676(,a)-.4 G .176(nd should prob-)-2.676 F
(ably be considered unreliable.)72 604.8 Q(The primiti)97 620.4 Q .3
-.15(ve `)-.25 H(arro).15 E(w' is a synon)-.25 E(ym for `line ->'.)-.15
E -1.25 -.7(Te x)97 636 T 3.344(ti).7 G 3.344(sn)-3.344 G .844
(ormally an attrib)-3.344 F .844
(ute of some object, in which case successi)-.2 F 1.144 -.15(ve s)-.25 H
.844(trings are v).15 F .844(ertically stack)-.15 F(ed)-.1 E .83
(and centered on the object')72 648 R 3.33(sc)-.55 G .83(enter by def)
-3.33 F 3.33(ault. Standalone)-.1 F(te)3.33 E .83
(xt is treated as though placed in an in)-.15 F(visible)-.4 E(box.)72
660 Q 2.803(At)97 675.6 S -.15(ex)-2.803 G 2.803(ti).15 G .304
(tem consists of a string or sprintf-e)-2.803 F .304
(xpression, optionally follo)-.15 F .304
(wed by positioning information.)-.25 F -1.25 -.7(Te x)72 687.6 T 3.547
(t\().7 G 1.047(or strings speci\214ed with `sprintf)-3.547 F 1.047
('\) may contain font changes, size changes, and local motions, pro-).55
F .353
(vided those changes are undone before the end of the current item.)72
699.6 R -1.25 -.7(Te x)5.354 H 2.854(tm).7 G .354
(ay also contain \\-escapes denot-)-2.854 F 1.003
(ing special characters.)72 711.6 R 1.002(The base font and speci\214c \
set of escapes supported is implementation dependent,)6.002 F -.2(bu)72
723.6 S 2.5(ts).2 G(upported escapes al)-2.5 E -.1(wa)-.1 G
(ys include the follo).1 E(wing:)-.25 E 0 Cg EP
%%Page: 37 37
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-37-)279.67 48 Q(\\fR, \\f1)72 84 Q
(Set Roman style \(the def)97 96 Q(ault\))-.1 E(\\fI, \\f2)72 111.6 Q
(Set Italic style)97 123.6 Q(\\fB, \\f3)72 139.2 Q(Set Bold style)97
151.2 Q(\\fP)72 166.8 Q(Re)97 178.8 Q -.15(ve)-.25 G(rt to pre).15 E
(vious style; only w)-.25 E(orks one le)-.1 E -.15(ve)-.25 G 2.5(ld).15
G(eep, does not stack.)-2.5 E .16
(Color names are dependent on the pic implementation, b)97 194.4 R .161
(ut in all modern v)-.2 F .161(ersions color names recog-)-.15 F
(nized by the X windo)72 206.4 Q 2.5(ws)-.25 G(ystem are supported.)-2.5
E 2.5(Ap)97 222 S(osition is an \(x,y\) coordinate pair)-2.5 E 5(.T)-.55
G(here are lots of dif)-5 E(ferent w)-.25 E(ays to specify positions:)
-.1 E/F1 10/Courier@0 SF(<position> ::=)108 240 Q(<position-not-place>)
120 252 Q(<place>)120 264 Q 6(\(<)120 276 S(position> \))-6 E
(<position-not-place> ::=)108 300 Q(<expr-pair>)120 312 Q
(<position> + <expr-pair>)120 324 Q(<position> - <expr-pair>)120 336 Q 6
(\(<)120 348 S(position> , <position> \))-6 E
(<expr> [of the way] between <position> and <position>)120 360 Q
(<expr> '<' <position> , <position> '>')120 372 Q(<expr-pair> ::=)108
396 Q(<expr> , <expr>)120 408 Q 6(\(e)120 420 S(xpr-pair \))-6 E
(<place> ::=)108 444 Q(<label>)120 456 Q(<label> <corner>)120 468 Q
(<corner> [of] <label>)120 480 Q(Here)120 492 Q(<label> ::=)108 516 Q
(LABEL [. LABEL ...])120 528 Q(<nth-primitive>)120 540 Q(<corner> ::=)
108 564 Q(.n | .e | .w | .s)120 576 Q(.ne | .se | .nw | .sw)120 588 Q
(.c[enter] | .start | .end)120 600 Q
(.t[op] | .b[ot[tom]] | .l[eft] | .r[ight])120 612 Q
(left | right | <top-of> | <bottom-of>)120 624 Q
(<north-of> | <south-of> | <east-of> | <west-of>)120 636 Q
(<center-of> | <start-of> | <end-of>)120 648 Q
(upper left | lower left | upper right | lower right)120 660 Q(<)108 684
Q/F2 10/Courier-Oblique@0 SF(xxx).28 E F1(-of> ::=).9 E F2(xxx)120 696 Q
F0 2.5(#f)114 G(ollo)-2.5 E(wed by `of)-.25 E(').55 E 0 Cg EP
%%Page: 38 38
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-38-)279.67 48 Q/F1 10/Courier@0 SF
(<nth-primitive> ::=)108 84 Q(<ordinal> <object-type>)120 96 Q
([<ordinal>] last <object-type>)120 108 Q(<ordinal> ::=)108 132 Q
(INT th)120 144 Q(INT st | INT nd | INT rd)120 156 Q 6(`<)120 168 S
(any-expr> 'th)-6 E(<object-type> ::=)108 192 Q(box)120 204 Q(circle)120
216 Q(ellipse)120 228 Q(arc)120 240 Q(line)120 252 Q(arrow)120 264 Q
(spline)120 276 Q('[]')120 288 Q(TEXT)120 300 Q F0 .48(As K)97 321.6 R
.48(ernighan notes, \231since barbarisms lik)-.25 F(e)-.1 E/F2 10
/Times-Bold@0 SF(1th)2.98 E F0(and)2.98 E F2(3th)2.98 E F0 .48
(are barbaric, synon)2.98 F .48(yms lik)-.15 F(e)-.1 E F2(1st)2.98 E F0
(and)2.98 E F2(3rd)2.98 E F0(are)2.98 E .739(accepted as well.)72 333.6
R 5.739<9a4f>-.7 G .739(bjects of a gi)-5.739 F -.15(ve)-.25 G 3.239(nt)
.15 G .739(ype are numbered from 1 upw)-3.239 F .74
(ards in order of declaration; the)-.1 F F2(last)3.24 E F0
(modi\214er counts backw)72 345.6 Q(ards.)-.1 E 1.249(The \231')97 361.2
R 1.249(th\232 form \(which allo)-.18 F 1.249(ws you to select a pre)
-.25 F 1.249(vious object with an e)-.25 F 1.248
(xpression, as opposed to a)-.15 F
(numeric literal\) is not documented in D)72 373.2 Q(WB')-.3 E(s)-.55 E
/F3 10/Times-Italic@0 SF(pic)2.5 E F0(\(1\).).31 E(The)97 388.8 Q/F4 10
/Symbol SF<e1>3.942 E F3(xxx).77 E F0(-of).53 E F4<f1>1.666 E F0 1.442
(rule is special: The le)3.942 F 1.442(xical parser checks whether)-.15
F F3(xxx)3.942 E F0 1.442(is follo)3.942 F 1.442(wed by the tok)-.25 F
1.443(en `of)-.1 F(').55 E .866
(without eliminating it so that the grammar parser can still see `of)72
400.8 R 3.366('. V).55 F .866(alid e)-1.11 F .866
(xamples of specifying a place)-.15 F(with corner and label are thus)72
412.8 Q F1 6(A.)108 430.8 S(n)-6 E(.n of A)108 442.8 Q(.n A)108 454.8 Q
(north of A)108 466.8 Q F0(while)72 488.4 Q F1(north A)108 506.4 Q 6(An)
108 518.4 S(orth)-6 E F0(both cause a syntax error)72 536.4 Q 5(.\()-.55
G -.3(DW)-5 G(B).3 E F2(pic)2.5 E F0(also allo)2.5 E
(ws the weird form `)-.25 E 2.5(An)-.8 G(orth of)-2.5 E('.\)).55 E
(Here the special rules for the `with' k)97 552 Q -.15(ey)-.1 G -.1(wo)
.15 G(rd using a path:).1 E F1(<path> ::=)108 570 Q(<relative-path>)120
582 Q 6(\(<)120 594 S(relative-path> , <relative-path> \))-6 E
(<relative-path> ::=)108 618 Q(<corner>)120 630 Q 6(.L)120 642 S
(ABEL [. LABEL ...] [<corner>])-6 E F0(The follo)97 663.6 Q
(wing style v)-.25 E(ariables control output:)-.25 E F2(Style V)138.325
683.6 Q 12.5(ariable Default What)-.92 F(It Does)2.5 E .08 LW 437.675
690.1 138.325 690.1 DL 252.395 672.1 252.395 692.1 DL 205.735 672.1
205.735 692.1 DL F0 59.21(boxht 0.5)138.325 701.6 R(Def)24.58 E
(ault height of a box)-.1 E 51.99(boxwid 0.75)138.325 713.6 R(Def)19.58
E(ault width of a box)-.1 E 252.395 692.1 252.395 716.1 DL 205.735 692.1
205.735 716.1 DL 0 Cg EP
%%Page: 39 39
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-39-)279.67 48 Q/F1 10/Times-Bold@0 SF(Style V)
138.325 86 Q 12.5(ariable Default What)-.92 F(It Does)2.5 E .08 LW
437.675 92.5 138.325 92.5 DL 252.395 74.5 252.395 94.5 DL 205.735 74.5
205.735 94.5 DL F0 59.21(lineht 0.5)138.325 104 R(Def)24.58 E
(ault length of v)-.1 E(ertical line)-.15 E(line)138.325 116 Q 52.24
(wid 0.75)-.25 F(Def)19.58 E(ault length of horizontal line)-.1 E 57.01
(arcrad 0.25)138.325 128 R(Def)19.58 E(ault radius of an arc)-.1 E 47.01
(circlerad 0.25)138.325 140 R(Def)19.58 E(ault radius of a circle)-.1 E
48.1(ellipseht 0.5)138.325 152 R(Def)24.58 E(ault height of an ellipse)
-.1 E(ellipse)138.325 164 Q 41.13(wid 0.75)-.25 F(Def)19.58 E
(ault width of an ellipse)-.1 E(mo)138.325 176 Q -.15(ve)-.15 G 52.29
(ht 0.5).15 F(Def)24.58 E(ault length of v)-.1 E(ertical mo)-.15 E -.15
(ve)-.15 G(mo)138.325 188 Q -.15(ve)-.15 G 45.32(wid 0.75)-.1 F(Def)
19.58 E(ault length of horizontal mo)-.1 E -.15(ve)-.15 G(te)138.325 200
Q 59.36(xtht 0)-.15 F(Def)32.08 E(ault height of box enclosing a te)-.1
E(xt object)-.15 E(te)138.325 212 Q 52.14(xtwid 0)-.15 F(Def)32.08 E
(ault width of box enclosing a te)-.1 E(xt object)-.15 E(arro)138.325
224 Q 51.14(wht 0.1)-.25 F(Length of arro)24.58 E(whead along shaft)-.25
E(arro)138.325 236 Q 43.92(wwid 0.05)-.25 F -.4(Wi)19.58 G
(dth of rear of arro).4 E(whead)-.25 E(arro)138.325 248 Q 40.04(whead 1)
-.25 F(Enable/disable arro)32.08 E(whead \214lling)-.25 E 48.66
(dashwid 0.05)138.325 260 R(Interv)19.58 E(al for dashed lines)-.25 E
40.88(maxpswid 8.5)138.325 272 R(Maximum width of picture)24.58 E 43.1
(maxpsht 11)138.325 284 R(Maximum height of picture)32.08 E 62(scale 1)
138.325 296 R(Unit scale f)32.08 E(actor)-.1 E(\214llv)138.325 308 Q
58.9(al 0.5)-.25 F(Def)24.58 E(ault \214ll v)-.1 E(alue)-.25 E 437.675
317.5 138.325 317.5 DL 252.395 94.5 252.395 317.5 DL 205.735 94.5
205.735 317.5 DL(An)72 333 Q 3.112(yo)-.15 G 3.113(ft)-3.112 G .613
(hese can be set by assignment, or reset using the)-3.113 F F1 -.18(re)
3.113 G(set).18 E F0 3.113(statement. Style)3.113 F -.25(va)3.113 G .613
(riables assigned within).25 F(`[ ]')72 345 Q .554
(blocks are restored to their be)3.054 F .554(ginning-of-block v)-.15 F
.554(alue on e)-.25 F .553(xit; top-le)-.15 F -.15(ve)-.25 G 3.053(la)
.15 G .553(ssignments persist across pic-)-3.053 F 2.5
(tures. Dimensions)72 357 R(are di)2.5 E(vided by)-.25 E F1(scale)2.5 E
F0(on output.)2.5 E(All)97 372.6 Q F1(pic)3.961 E F0 -.15(ex)3.961 G
1.461(pressions are e).15 F -.25(va)-.25 G 1.462
(luated in \215oating point; units are al).25 F -.1(wa)-.1 G 1.462
(ys inches \(a trailing `i' or `I' is).1 F 2.5(ignored\). Expressions)72
384.6 R(ha)2.5 E .3 -.15(ve t)-.2 H(he follo).15 E(wing simple grammar)
-.25 E 2.5(,w)-.4 G(ith semantics v)-2.5 E(ery similar to C e)-.15 E
(xpressions:)-.15 E/F2 10/Courier@0 SF(<expr> ::=)108 402.6 Q(VARIABLE)
120 414.6 Q(NUMBER)120 426.6 Q(<place> <place-attribute>)120 438.6 Q
(<expr> <op> <expr>)120 450.6 Q 6(-<)120 462.6 S(expr>)-6 E 6(\(<)120
474.6 S(any-expr> \))-6 E 6(!<)120 486.6 S(expr>)-6 E
(<func1> \( <any-expr> \))120 498.6 Q
(<func2> \( <any-expr> , <any-expr> \))120 510.6 Q(rand \( \))120 522.6
Q(<place-attribute>)108 546.6 Q(.x | .y | .h[eigh]t | .wid[th] | .rad)
114 558.6 Q(<op> ::=)108 582.6 Q 6(+|-|*|/|%|^|')120 594.6 S
(<' | '>' | '<=' | '>=')-6 E(<func1> ::=)108 618.6 Q
(sin | cos | log | exp | sqrt | int | rand | srand)120 630.6 Q
(<func2> ::=)108 654.6 Q(atan2 | max | min)120 666.6 Q F0(Both)72 688.2
Q F1(exp)2.5 E F0(and)2.5 E F1(log)2.5 E F0(are base 10;)2.5 E F1(int)
2.5 E F0(does inte)2.5 E(ger truncation; and)-.15 E F1(rand\(\))2.5 E F0
(returns a random number in [0-1\).)2.5 E .059(There are)97 703.8 R F1
(de\214ne)2.559 E F0(and)2.559 E F1(undef)2.559 E F0 .059
(statements which are not part of the grammar \(the)2.559 F 2.558(yb)
-.15 G(eha)-2.558 E .358 -.15(ve a)-.2 H 2.558(sp).15 G(re-proces-)
-2.558 E(sor macros to the language\).)72 715.8 Q
(These may be used to de\214ne pseudo-functions.)5 E 0 Cg EP
%%Page: 40 40
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(-40-)279.67 48 Q/F1 10/Times-Bold@0 SF(de\214ne)
108 84 Q/F2 10/Times-Italic@0 SF(name)6 E F1({)6 E F2 -.37(re)6 G
(placement-te).37 E(xt)-.2 E F1(})6 E F0 .217(This de\214nes)72 105.6 R
F2(name)2.717 E F0 .218(as a macro to be replaced by the replacement te)
2.717 F .218(xt \(not including the braces\).)-.15 F .218(The macro)
5.218 F(may be called as)72 117.6 Q F2(name)108 135.6 Q F1(\().18 E F2
(ar).33 E(g1, ar)-.37 E(g2, .)-.37 E 1.666(..)1.666 G 2.5(,a)-1.666 G
-.37(rg)-2.5 G(n).37 E F1(\)).24 E F0 .285(The ar)72 157.2 R .285
(guments \(if an)-.18 F .285(y\) are substituted for tok)-.15 F .285
(ens $1, $2 .)-.1 F -3.047 1.666(.. $)1.666 H 2.785(na)-1.666 G .285
(ppearing in the replacement te)-2.785 F 2.784(xt. T)-.15 F 2.784(ou)-.8
G(nde-)-2.784 E(\214ne a macro, say)72 169.2 Q F1(undef)2.5 E F2(name)
2.5 E F0 2.5(,s)C(pecifying the name to be unde\214ned.)-2.5 E F1 2.5
(22. History)72 193.2 R(and Ackno)2.5 E(wledgements)-.1 E F0(Original)97
208.8 Q F1(pic)2.904 E F0 -.1(wa)2.904 G 2.904(sw).1 G .404
(ritten to go with Joseph Ossanna')-2.904 F 2.904(so)-.55 G(riginal)
-2.904 E F2(tr)2.904 E(of)-.45 E(f)-.18 E F0 .404(\(1\) by Brian K)1.96
F .404(ernighan, and later)-.25 F .5(re-written by K)72 220.8 R .499
(ernighan with substantial enhancements \(apparently as part of the e)
-.25 F -.2(vo)-.25 G .499(lution of).2 F F2(tr)2.999 E(of)-.45 E(f)-.18
E F0 .499(\(1\) into)1.96 F F2(ditr)72 232.8 Q(of)-.45 E(f)-.18 E F0
(\(1\) to generate de)1.96 E(vice-independent output\).)-.25 E 2.424(Th\
e language had been inspired by some earlier graphics languages includi\
ng)97 248.4 R F1(ideal)4.924 E F0(and)4.924 E F1(grap)4.924 E F0(.)A
-.25(Ke)72 260.4 S(rnighan credits Chris v).25 E(an W)-.25 E
(yk \(the designer of)-.73 E F1(ideal)2.5 E F0 2.5(\)w)C(ith man)-2.5 E
2.5(yo)-.15 G 2.5(ft)-2.5 G(he ideas that went into)-2.5 E F1(pic)2.5 E
F0(.)A(The)97 276 Q F1(pic)4.287 E F0 1.787(language w)4.287 F 1.787
(as originally described by Brian K)-.1 F 1.787
(ernighan in Bell Labs Computing Science)-.25 F -.7(Te)72 288 S .057
(chnical Report #116 \(you can obtain a PostScript cop).7 F 2.558(yo)-.1
G 2.558(ft)-2.558 G .058(he re)-2.558 F .058(vised v)-.25 F .058
(ersion, [1], by sending a mail mes-)-.15 F .504(sage to)72 300 R F2
(netlib@r)3.004 E(esear)-.37 E -.15(ch)-.37 G(.att.com).15 E F0 .503
(with a body of `send 116 from research/cstr'\).)3.004 F .503(There ha)
5.503 F .803 -.15(ve b)-.2 H .503(een tw).15 F 3.003(or)-.1 G -.25(ev)
-3.003 G(i-).25 E(sions, in 1984 and 1991.)72 312 Q .495
(The document you are reading ef)97 327.6 R(fecti)-.25 E -.15(ve)-.25 G
.496(ly subsumes K).15 F(ernighan')-.25 E 2.996(sd)-.55 G .496
(escription; it w)-2.996 F .496(as written to \214ll in)-.1 F
(lacun\346 in the e)72 339.6 Q(xposition and inte)-.15 E
(grate in descriptions of the GNU)-.15 E F2(gpic)2.5 E F0(\(1\) and).31
E F2(pic2plot)2.5 E F0(\(1\) features.).68 E .674(The GNU)97 355.2 R F1
(gpic)3.173 E F0 .673(implementation w)3.173 F .673
(as written by James Clark)-.1 F/F3 10/Symbol SF<e1>3.173 E F2
(jjc@jclark.com)1.74 E F3<f1>.32 E F0 5.673(.I)C 3.173(ti)-5.673 G 3.173
(sc)-3.173 G .673(urrently main-)-3.173 F(tained by W)72 367.2 Q
(erner Lember)-.8 E(g)-.18 E F3<e1>2.5 E F2(wl@gnu.or).34 E(g)-.37 E F3
<f1>.22 E F0(.)A .384(The GNU)97 382.8 R F1(pic2plot)2.884 E F0 .384
(implementation is based on James Clark')2.884 F 2.884(sp)-.55 G .385
(arser code and maintained by Robert)-2.884 F(Maier)72 394.8 Q 2.5(,p)
-.4 G(rincipal author of)-2.5 E F1(plotutils)2.5 E F0(.)A F1 2.5
(23. Bibliograph)72 418.8 R(y)-.15 E F0 15(1. K)72 434.4 R 1.094
(ernighan, B. W)-.25 F(.)-.92 E F1 1.093(PIC \212 A Graphics Language f)
6.093 F 1.093(or T)-.25 F 1.093(ypesetting \(Re)-.34 F 1.093
(vised User Manual\))-.15 F F0 6.093(.B)C(ell)-6.093 E
(Labs Computing Science T)97 446.4 Q
(echnical Report #116, December 1991.)-.7 E 15(2. V)72 462 R .107(an W)
-1.11 F .107(yk, C. J.)-.73 F F1 2.608(Ah)5.108 G(igh-le)-2.608 E -.1
(ve)-.15 G 2.608(ll).1 G .108(anguage f)-2.608 F .108
(or specifying pictur)-.25 F(es)-.18 E F0(.)A F2 -.3(AC)5.108 G 2.608
(MT).3 G -.15(ra)-3.158 G .108(nsactions On Gr).15 F(aphics)-.15 E F0
(1,2)2.608 E(\(1982\) 163-182.)97 474 Q 0 Cg EP
%%Trailer
end
%%EOF