pic0.ps 126 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355
  1. %!PS
  2. %%Version: 3.3
  3. %%DocumentFonts: (atend)
  4. %%Pages: (atend)
  5. %%EndComments
  6. %
  7. % Version 3.3 prologue for troff files.
  8. %
  9. /#copies 1 store
  10. /aspectratio 1 def
  11. /formsperpage 1 def
  12. /landscape false def
  13. /linewidth .3 def
  14. /magnification 1 def
  15. /margin 0 def
  16. /orientation 0 def
  17. /resolution 720 def
  18. /rotation 1 def
  19. /xoffset 0 def
  20. /yoffset 0 def
  21. /roundpage true def
  22. /useclippath true def
  23. /pagebbox [0 0 612 792] def
  24. /R /Times-Roman def
  25. /I /Times-Italic def
  26. /B /Times-Bold def
  27. /BI /Times-BoldItalic def
  28. /H /Helvetica def
  29. /HI /Helvetica-Oblique def
  30. /HB /Helvetica-Bold def
  31. /HX /Helvetica-BoldOblique def
  32. /CW /Courier def
  33. /CO /Courier def
  34. /CI /Courier-Oblique def
  35. /CB /Courier-Bold def
  36. /CX /Courier-BoldOblique def
  37. /PA /Palatino-Roman def
  38. /PI /Palatino-Italic def
  39. /PB /Palatino-Bold def
  40. /PX /Palatino-BoldItalic def
  41. /Hr /Helvetica-Narrow def
  42. /Hi /Helvetica-Narrow-Oblique def
  43. /Hb /Helvetica-Narrow-Bold def
  44. /Hx /Helvetica-Narrow-BoldOblique def
  45. /KR /Bookman-Light def
  46. /KI /Bookman-LightItalic def
  47. /KB /Bookman-Demi def
  48. /KX /Bookman-DemiItalic def
  49. /AR /AvantGarde-Book def
  50. /AI /AvantGarde-BookOblique def
  51. /AB /AvantGarde-Demi def
  52. /AX /AvantGarde-DemiOblique def
  53. /NR /NewCenturySchlbk-Roman def
  54. /NI /NewCenturySchlbk-Italic def
  55. /NB /NewCenturySchlbk-Bold def
  56. /NX /NewCenturySchlbk-BoldItalic def
  57. /ZD /ZapfDingbats def
  58. /ZI /ZapfChancery-MediumItalic def
  59. /S /S def
  60. /S1 /S1 def
  61. /GR /Symbol def
  62. /inch {72 mul} bind def
  63. /min {2 copy gt {exch} if pop} bind def
  64. /setup {
  65. counttomark 2 idiv {def} repeat pop
  66. landscape {/orientation 90 orientation add def} if
  67. /scaling 72 resolution div def
  68. linewidth setlinewidth
  69. 1 setlinecap
  70. pagedimensions
  71. xcenter ycenter translate
  72. orientation rotation mul rotate
  73. width 2 div neg height 2 div translate
  74. xoffset inch yoffset inch neg translate
  75. margin 2 div dup neg translate
  76. magnification dup aspectratio mul scale
  77. scaling scaling scale
  78. /Symbol /S Sdefs cf
  79. /Times-Roman /S1 S1defs cf
  80. 0 0 moveto
  81. } def
  82. /pagedimensions {
  83. useclippath userdict /gotpagebbox known not and {
  84. /pagebbox [clippath pathbbox newpath] def
  85. roundpage currentdict /roundpagebbox known and {roundpagebbox} if
  86. } if
  87. pagebbox aload pop
  88. 4 -1 roll exch 4 1 roll 4 copy
  89. landscape {4 2 roll} if
  90. sub /width exch def
  91. sub /height exch def
  92. add 2 div /xcenter exch def
  93. add 2 div /ycenter exch def
  94. userdict /gotpagebbox true put
  95. } def
  96. /pagesetup {
  97. /page exch def
  98. currentdict /pagedict known currentdict page known and {
  99. page load pagedict exch get cvx exec
  100. } if
  101. } def
  102. /decodingdefs [
  103. {counttomark 2 idiv {y moveto show} repeat}
  104. {neg /y exch def counttomark 2 idiv {y moveto show} repeat}
  105. {neg moveto {2 index stringwidth pop sub exch div 0 32 4 -1 roll widthshow} repeat}
  106. {neg moveto {spacewidth sub 0.0 32 4 -1 roll widthshow} repeat}
  107. {counttomark 2 idiv {y moveto show} repeat}
  108. {neg setfunnytext}
  109. ] def
  110. /setdecoding {/t decodingdefs 3 -1 roll get bind def} bind def
  111. /w {neg moveto show} bind def
  112. /m {neg dup /y exch def moveto} bind def
  113. /done {/lastpage where {pop lastpage} if} def
  114. /f {
  115. dup /font exch def findfont exch
  116. dup /ptsize exch def scaling div dup /size exch def scalefont setfont
  117. linewidth ptsize mul scaling 10 mul div setlinewidth
  118. /spacewidth ( ) stringwidth pop def
  119. } bind def
  120. /changefont {
  121. /fontheight exch def
  122. /fontslant exch def
  123. currentfont [
  124. 1 0
  125. fontheight ptsize div fontslant sin mul fontslant cos div
  126. fontheight ptsize div
  127. 0 0
  128. ] makefont setfont
  129. } bind def
  130. /sf {f} bind def
  131. /cf {
  132. dup length 2 idiv
  133. /entries exch def
  134. /chtab exch def
  135. /newfont exch def
  136. findfont dup length 1 add dict
  137. /newdict exch def
  138. {1 index /FID ne {newdict 3 1 roll put} {pop pop} ifelse} forall
  139. newdict /Metrics entries dict put
  140. newdict /Metrics get
  141. begin
  142. chtab aload pop
  143. 1 1 entries {pop def} for
  144. newfont newdict definefont pop
  145. end
  146. } bind def
  147. %
  148. % A few arrays used to adjust reference points and character widths in some
  149. % of the printer resident fonts. If square roots are too high try changing
  150. % the lines describing /radical and /radicalex to,
  151. %
  152. % /radical [0 -75 550 0]
  153. % /radicalex [-50 -75 500 0]
  154. %
  155. % Move braceleftbt a bit - default PostScript character is off a bit.
  156. %
  157. /Sdefs [
  158. /bracketlefttp [201 500]
  159. /bracketleftbt [201 500]
  160. /bracketrighttp [-81 380]
  161. /bracketrightbt [-83 380]
  162. /braceleftbt [203 490]
  163. /bracketrightex [220 -125 500 0]
  164. /radical [0 0 550 0]
  165. /radicalex [-50 0 500 0]
  166. /parenleftex [-20 -170 0 0]
  167. /integral [100 -50 500 0]
  168. /infinity [10 -75 730 0]
  169. ] def
  170. /S1defs [
  171. /underscore [0 80 500 0]
  172. /endash [7 90 650 0]
  173. ] def
  174. %
  175. % Tries to round clipping path dimensions, as stored in array pagebbox, so they
  176. % match one of the known sizes in the papersizes array. Lower left coordinates
  177. % are always set to 0.
  178. %
  179. /roundpagebbox {
  180. 7 dict begin
  181. /papersizes [8.5 inch 11 inch 14 inch 17 inch] def
  182. /mappapersize {
  183. /val exch def
  184. /slop .5 inch def
  185. /diff slop def
  186. /j 0 def
  187. 0 1 papersizes length 1 sub {
  188. /i exch def
  189. papersizes i get val sub abs
  190. dup diff le {/diff exch def /j i def} {pop} ifelse
  191. } for
  192. diff slop lt {papersizes j get} {val} ifelse
  193. } def
  194. pagebbox 0 0 put
  195. pagebbox 1 0 put
  196. pagebbox dup 2 get mappapersize 2 exch put
  197. pagebbox dup 3 get mappapersize 3 exch put
  198. end
  199. } bind def
  200. %%EndProlog
  201. %%BeginSetup
  202. mark
  203. /resolution 720 def
  204. setup
  205. 2 setdecoding
  206. %%EndSetup
  207. %%Page: 1 1
  208. /saveobj save def
  209. mark
  210. 1 pagesetup
  211. 10 R f
  212. (AT&T Bell Laboratories)2 993 1 2563 1740 t
  213. (Murray Hill, New Jersey 07974)4 1267 1 2426 1860 t
  214. (Computing Science Technical Report No. 116)5 1848 1 2136 3000 t
  215. 12 B f
  216. (PIC \320 A Graphics Language for Typesetting)6 2328 1 1896 3270 t
  217. (User Manual\262)1 730 1 2695 3420 t
  218. 10 I f
  219. (Brian W. Kernighan)2 814 1 2653 3660 t
  220. 10 R f
  221. (Revised, May, 1991)2 805 1 720 6240 t
  222. cleartomark
  223. showpage
  224. saveobj restore
  225. %%EndPage: 1 1
  226. %%Page: 0 2
  227. /saveobj save def
  228. mark
  229. 2 pagesetup
  230. 12 B f
  231. (PIC \320 A Graphics Language for Typesetting)6 2328 1 1896 1230 t
  232. (User Manual\262)1 730 1 2695 1380 t
  233. 10 I f
  234. (Brian W. Kernighan)2 814 1 2653 1620 t
  235. 10 R f
  236. (AT&T Bell Laboratories)2 993 1 2563 1800 t
  237. (Murray Hill, New Jersey 07974)4 1267 1 2426 1920 t
  238. 10 I f
  239. (ABSTRACT)2823 2420 w
  240. (Pic)1360 2716 w
  241. 10 R f
  242. ( basic objects in)3 662( The)1 212(is a language for drawing simple figures on a typesetter.)9 2303 3 1525 2716 t
  243. 10 I f
  244. (pic)4734 2716 w
  245. 10 R f
  246. (are)4889 2716 w
  247. ( may be placed any-)4 851( These)1 301(boxes, circles, ellipses, lines, arrows, arcs, spline curves, and text.)9 2748 3 1110 2836 t
  248. ( below)1 287( example)1 380( The)1 222(where, at positions specified absolutely or in terms of previous objects.)10 3011 4 1110 2956 t
  249. (illustrates the style and basic capabilities of the language.)8 2294 1 1110 3076 t
  250. cleartomark
  251. saveobj restore
  252. %%BeginGlobal
  253. %
  254. % Version 3.3 drawing procedures for dpost. Automatically pulled in, but only
  255. % when needed.
  256. %
  257. /inpath false def
  258. /savematrix matrix def
  259. /Dl {
  260. inpath
  261. {pop pop neg lineto}
  262. {newpath neg moveto neg lineto stroke}
  263. ifelse
  264. } bind def
  265. /De {
  266. /y1 exch 2 div def
  267. /x1 exch 2 div def
  268. /savematrix savematrix currentmatrix def
  269. neg exch x1 add exch translate
  270. x1 y1 scale
  271. 0 0 1 0 360
  272. inpath
  273. {1 0 moveto arc savematrix setmatrix}
  274. {newpath arc savematrix setmatrix stroke}
  275. ifelse
  276. } bind def
  277. /Da {
  278. /dy2 exch def
  279. /dx2 exch def
  280. /dy1 exch def
  281. /dx1 exch def
  282. dy1 add neg exch dx1 add exch
  283. dx1 dx1 mul dy1 dy1 mul add sqrt
  284. dy1 dx1 neg atan
  285. dy2 neg dx2 atan
  286. inpath
  287. {arc}
  288. {newpath arc stroke}
  289. ifelse
  290. } bind def
  291. /DA {
  292. /dy2 exch def
  293. /dx2 exch def
  294. /dy1 exch def
  295. /dx1 exch def
  296. dy1 add neg exch dx1 add exch
  297. dx1 dx1 mul dy1 dy1 mul add sqrt
  298. dy1 dx1 neg atan
  299. dy2 neg dx2 atan
  300. inpath
  301. {arcn}
  302. {newpath arcn stroke}
  303. ifelse
  304. } bind def
  305. /Ds {
  306. /y2 exch def
  307. /x2 exch def
  308. /y1 exch def
  309. /x1 exch def
  310. /y0 exch def
  311. /x0 exch def
  312. x0 5 x1 mul add 6 div
  313. y0 5 y1 mul add -6 div
  314. x2 5 x1 mul add 6 div
  315. y2 5 y1 mul add -6 div
  316. x1 x2 add 2 div
  317. y1 y2 add -2 div
  318. inpath
  319. {curveto}
  320. {newpath x0 x1 add 2 div y0 y1 add -2 div moveto curveto stroke}
  321. ifelse
  322. } bind def
  323. %%EndGlobal
  324. /saveobj save def
  325. mark
  326. 10 R f
  327. 795 3418 540 360 De
  328. (document)868 3438 w
  329. 1695 3418 1335 3418 Dl
  330. 1695 3418 1623 3436 Dl
  331. 1695 3418 1623 3400 Dl
  332. 1695 3238 1695 3598 Dl
  333. 2235 3238 1695 3238 Dl
  334. 2235 3598 2235 3238 Dl
  335. 1695 3598 2235 3598 Dl
  336. (PIC)1887 3438 w
  337. 2595 3418 2235 3418 Dl
  338. 2595 3418 2523 3436 Dl
  339. 2595 3418 2523 3400 Dl
  340. 2631 3598 2595 3598 Dl
  341. 2703 3598 2667 3598 Dl
  342. 2775 3598 2739 3598 Dl
  343. 2847 3598 2811 3598 Dl
  344. 2919 3598 2883 3598 Dl
  345. 2991 3598 2955 3598 Dl
  346. 3063 3598 3027 3598 Dl
  347. 3135 3598 3099 3598 Dl
  348. 3135 3562 3135 3598 Dl
  349. 3135 3481 3135 3517 Dl
  350. 3135 3400 3135 3436 Dl
  351. 3135 3319 3135 3355 Dl
  352. 3135 3238 3135 3274 Dl
  353. 3099 3238 3135 3238 Dl
  354. 3027 3238 3063 3238 Dl
  355. 2955 3238 2991 3238 Dl
  356. 2883 3238 2919 3238 Dl
  357. 2811 3238 2847 3238 Dl
  358. 2739 3238 2775 3238 Dl
  359. 2667 3238 2703 3238 Dl
  360. 2595 3238 2631 3238 Dl
  361. 2595 3274 2595 3238 Dl
  362. 2595 3354 2595 3318 Dl
  363. 2595 3436 2595 3400 Dl
  364. 2595 3516 2595 3480 Dl
  365. 2595 3598 2595 3562 Dl
  366. (TBL/EQN)2654 3378 w
  367. (\(optional\))2668 3498 w
  368. 3495 3418 3135 3418 Dl
  369. 3495 3418 3423 3436 Dl
  370. 3495 3418 3423 3400 Dl
  371. 3495 3238 3495 3598 Dl
  372. 4035 3238 3495 3238 Dl
  373. 4035 3598 4035 3238 Dl
  374. 3495 3598 4035 3598 Dl
  375. (TROFF)3609 3438 w
  376. 4395 3418 4035 3418 Dl
  377. 4395 3418 4323 3436 Dl
  378. 4395 3418 4323 3400 Dl
  379. 4395 3418 540 360 De
  380. (typesetter)4471 3438 w
  381. (This picture was created with the input)6 1553 1 1110 3796 t
  382. 9 CW f
  383. (.PS)1830 3966 w
  384. (ellipse "document")1 972 1 1830 4076 t
  385. (arrow)1830 4186 w
  386. (box "PIC")1 486 1 1830 4296 t
  387. (arrow)1830 4406 w
  388. (box "TBL/EQN" "\(optional\)" dashed)3 1782 1 1830 4516 t
  389. (arrow)1830 4626 w
  390. (box "TROFF")1 594 1 1830 4736 t
  391. (arrow)1830 4846 w
  392. (ellipse "typesetter")1 1080 1 1830 4956 t
  393. (.PE)1830 5066 w
  394. 10 I f
  395. (Pic)1360 5282 w
  396. 10 R f
  397. (is a)1 150 1 1532 5282 t
  398. 10 I f
  399. (troff)1721 5282 w
  400. 10 R f
  401. ( untouched, but translates)3 1066(preprocessor; it passes most of its input through)7 2011 2 1933 5282 t
  402. (commands between)1 790 1 1110 5402 t
  403. 10 CW f
  404. (.PS)1925 5402 w
  405. 10 R f
  406. (and)2130 5402 w
  407. 10 CW f
  408. (.PE)2299 5402 w
  409. 10 R f
  410. (into)2504 5402 w
  411. 10 I f
  412. (troff)2685 5402 w
  413. 10 R f
  414. (commands that draw the pictures.)4 1345 1 2883 5402 t
  415. (Revised, May, 1991)2 805 1 720 5882 t
  416. 10 S1 f
  417. (_ ______________)1 720 1 720 6600 t
  418. 8 R f
  419. (\262 This is a revised version of [5].)7 1051 1 720 6700 t
  420. cleartomark
  421. showpage
  422. saveobj restore
  423. %%EndPage: 0 2
  424. %%Page: 1 3
  425. /saveobj save def
  426. mark
  427. 3 pagesetup
  428. 12 B f
  429. (PIC \320 A Graphics Language for Typesetting)6 2328 1 1896 1230 t
  430. (User Manual\262)1 730 1 2695 1380 t
  431. 10 I f
  432. (Brian W. Kernighan)2 814 1 2653 1620 t
  433. 10 R f
  434. (AT&T Bell Laboratories)2 993 1 2563 1800 t
  435. (Murray Hill, New Jersey 07974)4 1267 1 2426 1920 t
  436. 10 B f
  437. (1. Introduction)1 670 1 720 2280 t
  438. 10 I f
  439. (Pic)970 2436 w
  440. 10 R f
  441. ( operates as yet another)4 964( It)1 118(is a language for drawing pictures.)5 1415 3 1135 2436 t
  442. 10 I f
  443. (troff)3664 2436 w
  444. 10 R f
  445. ( the same style as)4 731([8] preprocessor \(in)2 800 2 3869 2436 t
  446. 10 I f
  447. (eqn)720 2556 w
  448. 10 R f
  449. ([7] and)1 285 1 889 2556 t
  450. 10 I f
  451. (tbl)1199 2556 w
  452. 10 R f
  453. ([4]\), with pictures delimited by)4 1246 1 1330 2556 t
  454. 10 CW f
  455. (.PS)2601 2556 w
  456. 10 R f
  457. (and)2806 2556 w
  458. 10 CW f
  459. (.PE)2975 2556 w
  460. 10 R f
  461. (.)3155 2556 w
  462. 10 I f
  463. (Pic)970 2712 w
  464. 10 R f
  465. ( Van Wyk's early work on)5 1101(was inspired partly by Chris)4 1155 2 1135 2712 t
  466. 10 I f
  467. (ideal)3424 2712 w
  468. 10 R f
  469. ([9]; it has somewhat the same capabilities,)6 1743 1 3657 2712 t
  470. ( particular,)1 433( In)1 134(but quite a different flavor.)4 1082 3 720 2832 t
  471. 10 I f
  472. (pic)2394 2832 w
  473. 10 R f
  474. (is much more procedural\320a picture is drawn by specifying \(sometimes)9 2859 1 2541 2832 t
  475. ( PICTURE lan-)2 640( direct influences include the)4 1185( Other)1 285(in painful detail\) the motions that one goes through to draw it.)11 2570 4 720 2952 t
  476. (guage [2], the V viewgraph language [1], and, more recently, new features from the)13 3428 1 720 3072 t
  477. 10 I f
  478. (grap)4179 3072 w
  479. 10 R f
  480. (language [3] for typeset-)3 1001 1 4399 3072 t
  481. (ting graphs.)1 472 1 720 3192 t
  482. ( a user's manual for)4 848(This paper is primarily)3 952 2 970 3348 t
  483. 10 I f
  484. (pic)2809 3348 w
  485. 10 R f
  486. (; a discussion of design issues and user experience may be)10 2469 1 2931 3348 t
  487. ( next section shows how to use)6 1268( The)1 210(found in [6].)2 512 3 720 3468 t
  488. 10 I f
  489. (pic)2740 3468 w
  490. 10 R f
  491. ( sections describe how to)4 1020( Subsequent)1 515(in the most simple way.)4 973 3 2892 3468 t
  492. ( defaults are wrong, and how to change their positions when the standard posi-)13 3204(change the sizes of objects when the)6 1476 2 720 3588 t
  493. ( appendix describes the language succinctly and summarizes changes since the last man-)12 3549( An)1 173( are wrong.)2 453(tioning rules)1 505 4 720 3708 t
  494. (ual.)720 3828 w
  495. 10 B f
  496. (2. Basics)1 392 1 720 4068 t
  497. 10 I f
  498. (Pic)970 4224 w
  499. 10 R f
  500. (provides boxes, lines, arrows, circles, ellipses, arcs, and splines \(smooth curves\), plus facilities for posi-)14 4264 1 1136 4224 t
  501. ( shows all of the fundamental objects \(except for splines\) in their)11 2758( picture below)2 603( The)1 221(tioning and labeling them.)3 1098 4 720 4344 t
  502. (default sizes:)1 524 1 720 4464 t
  503. 990 4626 990 4986 Dl
  504. 1530 4626 990 4626 Dl
  505. 1530 4986 1530 4626 Dl
  506. 990 4986 1530 4986 Dl
  507. (box)1185 4826 w
  508. 2250 4806 1890 4806 Dl
  509. (line)1995 4766 w
  510. 2970 4806 2610 4806 Dl
  511. 2970 4806 2898 4824 Dl
  512. 2970 4806 2898 4788 Dl
  513. (arrow)2674 4766 w
  514. 3330 4806 360 360 De
  515. (circle)3400 4826 w
  516. 4050 4806 540 360 De
  517. (ellipse)4190 4826 w
  518. 4950 4986 0 -180 180 0 Da
  519. (arc)4890 4826 w
  520. (Each picture begins with)3 1002 1 720 5184 t
  521. 10 CW f
  522. (.PS)1751 5184 w
  523. 10 R f
  524. (and ends with)2 563 1 1960 5184 t
  525. 10 CW f
  526. (.PE)2552 5184 w
  527. 10 R f
  528. ( com-)1 235( Each)1 253(; between them are commands to describe the picture.)8 2180 3 2732 5184 t
  529. ( example)1 363( For)1 189(mand is typed on a line by itself.)7 1305 3 720 5304 t
  530. 9 CW f
  531. (.PS)1008 5474 w
  532. (box "this is" "a box")4 1134 1 1008 5584 t
  533. (.PE)1008 5694 w
  534. 10 R f
  535. (creates a standard box \()4 941 1 720 5874 t
  536. 10 S1 f
  537. ()1661 5874 w
  538. cleartomark
  539. saveobj restore
  540. %%BeginGlobal
  541. /build_34 {
  542. pop
  543. /optsize ptsize def
  544. /osize size def
  545. /ofont font def
  546. optsize 2 div dup R exch R f
  547. 0 size 2 mul 3 div dup neg exch 0 exch rmoveto
  548. (3) show
  549. rmoveto
  550. optsize R f
  551. (\244) show
  552. f
  553. (4) show
  554. optsize ofont f
  555. } def
  556. %%EndGlobal
  557. /saveobj save def
  558. mark
  559. 10 S1 f
  560. 1661 5874 m
  561. 75 build_34
  562. 1736 5874 m
  563. 10 R f
  564. (inch wide,)1 416 1 1761 5874 t
  565. 10 S1 f
  566. ()2202 5874 w
  567. cleartomark
  568. saveobj restore
  569. %%BeginGlobal
  570. /build_12 {
  571. pop
  572. /optsize ptsize def
  573. /osize size def
  574. /ofont font def
  575. optsize 2 div dup R exch R f
  576. 0 size 2 mul 3 div dup neg exch 0 exch rmoveto
  577. (1) show
  578. rmoveto
  579. optsize R f
  580. (\244) show
  581. f
  582. (2) show
  583. optsize ofont f
  584. } def
  585. %%EndGlobal
  586. /saveobj save def
  587. mark
  588. 10 S1 f
  589. 2202 5874 m
  590. 75 build_12
  591. 2277 5874 m
  592. 10 R f
  593. (inch high\) and centers the two pieces of text in it:)10 1975 1 2302 5874 t
  594. 2790 6036 2790 6396 Dl
  595. 3330 6036 2790 6036 Dl
  596. 3330 6396 3330 6036 Dl
  597. 2790 6396 3330 6396 Dl
  598. (this is)1 237 1 2942 6176 t
  599. (a box)1 219 1 2951 6296 t
  600. ( \(Of)1 195( are mandatory, even if the text contains no blanks.)9 2101( Quotes)1 340( quoted string.)2 589(Each line of text is a separate)6 1205 5 970 6630 t
  601. ( line will be printed in the current size and font, centered horizontally,)12 2843( Each)1 253( at all.\))2 288(course there needn't be any text)5 1296 4 720 6750 t
  602. (and separated vertically by the current)5 1571 1 720 6870 t
  603. 10 I f
  604. (troff)2325 6870 w
  605. 10 R f
  606. (line spacing.)1 515 1 2533 6870 t
  607. 10 I f
  608. (Pic)3108 6870 w
  609. 10 R f
  610. (does not center the complete drawing itself, but the)8 2124 1 3276 6870 t
  611. (default definitions of)2 838 1 720 6990 t
  612. 10 CW f
  613. (.PS)1583 6990 w
  614. 10 R f
  615. (and)1788 6990 w
  616. 10 CW f
  617. (.PE)1957 6990 w
  618. 10 R f
  619. (in the)1 225 1 2162 6990 t
  620. 10 CW f
  621. (-ms)2412 6990 w
  622. 10 R f
  623. (macro package do.)2 750 1 2617 6990 t
  624. 8 S1 f
  625. (__________________)720 7090 w
  626. 8 R f
  627. (\262 This is a revised version of [5].)7 1051 1 720 7190 t
  628. cleartomark
  629. showpage
  630. saveobj restore
  631. %%EndPage: 1 3
  632. %%Page: 2 4
  633. /saveobj save def
  634. mark
  635. 4 pagesetup
  636. 10 R f
  637. (- 2 -)2 166 1 2977 480 t
  638. (You can use)2 493 1 970 840 t
  639. 10 CW f
  640. (circle)1488 840 w
  641. 10 R f
  642. (or)1873 840 w
  643. 10 CW f
  644. (ellipse)1981 840 w
  645. 10 R f
  646. (in place of)2 421 1 2426 840 t
  647. 10 CW f
  648. (box)2872 840 w
  649. 10 R f
  650. (:)3052 840 w
  651. 2250 1182 360 360 De
  652. (this is)1 237 1 2312 1142 t
  653. (a box)1 219 1 2321 1262 t
  654. 3330 1182 540 360 De
  655. (this is)1 237 1 3482 1142 t
  656. (a box)1 219 1 3491 1262 t
  657. ( than one line of text, the lines are centered above and)11 2249(Text is centered on lines and arrows; if there is more)10 2181 2 970 1596 t
  658. (below:)720 1716 w
  659. 9 CW f
  660. (line "this is" "a line")4 1242 1 1008 1886 t
  661. 10 R f
  662. 3240 2066 2880 2066 Dl
  663. (this is)1 237 1 2942 2026 t
  664. (a line)1 219 1 2951 2146 t
  665. 9 CW f
  666. (arrow "this is" "an arrow")4 1404 1 1008 2236 t
  667. 10 R f
  668. 3240 2416 2880 2416 Dl
  669. 3240 2416 3168 2434 Dl
  670. 3240 2416 3168 2398 Dl
  671. (this is)1 237 1 2942 2376 t
  672. (an arrow)1 351 1 2885 2496 t
  673. (Boxes and lines may be dashed or dotted; just add the word)11 2378 1 970 2572 t
  674. 10 CW f
  675. (dashed)3373 2572 w
  676. 10 R f
  677. (or)3758 2572 w
  678. 10 CW f
  679. (dotted)3866 2572 w
  680. 10 R f
  681. (after)4251 2572 w
  682. 10 CW f
  683. (box)4458 2572 w
  684. 10 R f
  685. (or)4663 2572 w
  686. 10 CW f
  687. (line)4771 2572 w
  688. 10 R f
  689. (:)5011 2572 w
  690. 9 CW f
  691. (line dashed "dashed" "line")3 1458 1 1008 2742 t
  692. 10 R f
  693. 2916 2922 2880 2922 Dl
  694. 2996 2922 2960 2922 Dl
  695. 3078 2922 3042 2922 Dl
  696. 3158 2922 3122 2922 Dl
  697. 3240 2922 3204 2922 Dl
  698. (dashed)2922 2882 w
  699. (line)2985 3002 w
  700. ( counterclockwise from the current direction; you can make them turn clock-)11 3145(Arcs by default turn 90 degrees)5 1285 2 970 3078 t
  701. (wise by saying)2 594 1 720 3198 t
  702. 10 CW f
  703. (arc cw)1 325 1 1339 3198 t
  704. 10 R f
  705. (:)1664 3198 w
  706. 9 CW f
  707. (line; arc; arc cw; arrow)4 1296 1 1008 3368 t
  708. 10 R f
  709. 2880 3950 2520 3950 Dl
  710. 2880 3950 0 -180 180 0 Da
  711. 3240 3590 0 180 -180 0 Da
  712. 3600 3590 3240 3590 Dl
  713. 3600 3590 3528 3608 Dl
  714. 3600 3590 3528 3572 Dl
  715. (A spline might well do this job better; we will return to that shortly.)13 2711 1 720 4148 t
  716. (As you might guess,)3 817 1 970 4304 t
  717. 9 CW f
  718. (arc; arc; arc; arc)3 972 1 1008 4474 t
  719. 10 R f
  720. ( that several commands can be put on a single line if they are sep-)14 2656( Notice)1 318( though not very efficiently.)4 1126(draws a circle,)2 580 4 720 4654 t
  721. (arated by semicolons.)2 868 1 720 4774 t
  722. (Objects are normally drawn one after another, left to right, and connected at the obvious places:)15 3822 1 970 4930 t
  723. 9 CW f
  724. (arrow; box "input"; arrow; box "process"; arrow; box "output"; arrow)9 3672 1 1008 5100 t
  725. 10 R f
  726. 1890 5502 1530 5502 Dl
  727. 1890 5502 1818 5520 Dl
  728. 1890 5502 1818 5484 Dl
  729. 1890 5322 1890 5682 Dl
  730. 2430 5322 1890 5322 Dl
  731. 2430 5682 2430 5322 Dl
  732. 1890 5682 2430 5682 Dl
  733. (input)2057 5522 w
  734. 2790 5502 2430 5502 Dl
  735. 2790 5502 2718 5520 Dl
  736. 2790 5502 2718 5484 Dl
  737. 2790 5322 2790 5682 Dl
  738. 3330 5322 2790 5322 Dl
  739. 3330 5682 3330 5322 Dl
  740. 2790 5682 3330 5682 Dl
  741. (process)2911 5522 w
  742. 3690 5502 3330 5502 Dl
  743. 3690 5502 3618 5520 Dl
  744. 3690 5502 3618 5484 Dl
  745. 3690 5322 3690 5682 Dl
  746. 4230 5322 3690 5322 Dl
  747. 4230 5682 4230 5322 Dl
  748. 3690 5682 4230 5682 Dl
  749. (output)3832 5522 w
  750. 4590 5502 4230 5502 Dl
  751. 4590 5502 4518 5520 Dl
  752. 4590 5502 4518 5484 Dl
  753. (One way to leave a space is with)7 1305 1 720 5880 t
  754. 10 CW f
  755. (move)2050 5880 w
  756. 10 R f
  757. (:)2290 5880 w
  758. 9 CW f
  759. (box; move; box; move; box)4 1350 1 1008 6050 t
  760. 10 R f
  761. 1890 6272 1890 6632 Dl
  762. 2430 6272 1890 6272 Dl
  763. 2430 6632 2430 6272 Dl
  764. 1890 6632 2430 6632 Dl
  765. 2790 6272 2790 6632 Dl
  766. 3330 6272 2790 6272 Dl
  767. 3330 6632 3330 6272 Dl
  768. 2790 6632 3330 6632 Dl
  769. 3690 6272 3690 6632 Dl
  770. 4230 6272 3690 6272 Dl
  771. 4230 6632 4230 6272 Dl
  772. 3690 6632 4230 6632 Dl
  773. ( you specify a direction \(as a)6 1213( If)1 126(Although objects are normally connected left to right, this can be changed.)11 3091 3 970 6866 t
  774. (separate object\), subsequent objects will be joined in that direction:)9 2691 1 720 6986 t
  775. 9 CW f
  776. (down; box; arrow; ellipse; arrow; circle)5 2160 1 1008 7156 t
  777. cleartomark
  778. showpage
  779. saveobj restore
  780. %%EndPage: 2 4
  781. %%Page: 3 5
  782. /saveobj save def
  783. mark
  784. 5 pagesetup
  785. 10 R f
  786. (- 3 -)2 166 1 2977 480 t
  787. 2790 840 2790 1200 Dl
  788. 3330 840 2790 840 Dl
  789. 3330 1200 3330 840 Dl
  790. 2790 1200 3330 1200 Dl
  791. 3060 1560 3060 1200 Dl
  792. 3060 1560 3042 1488 Dl
  793. 3060 1560 3078 1488 Dl
  794. 2790 1740 540 360 De
  795. 3060 2280 3060 1920 Dl
  796. 3060 2280 3042 2208 Dl
  797. 3060 2280 3078 2208 Dl
  798. 2880 2460 360 360 De
  799. 9 CW f
  800. (left; box; arrow; ellipse; arrow; circle)5 2160 1 1008 2888 t
  801. 10 R f
  802. 3600 3110 3600 3470 Dl
  803. 4140 3110 3600 3110 Dl
  804. 4140 3470 4140 3110 Dl
  805. 3600 3470 4140 3470 Dl
  806. 3240 3290 3600 3290 Dl
  807. 3240 3290 3312 3272 Dl
  808. 3240 3290 3312 3308 Dl
  809. 2700 3290 540 360 De
  810. 2340 3290 2700 3290 Dl
  811. 2340 3290 2412 3272 Dl
  812. 2340 3290 2412 3308 Dl
  813. 1980 3290 360 360 De
  814. (Each new picture begins going to the right.)7 1720 1 720 3668 t
  815. ( is possible, however, to)4 1038( It)1 129( drawn at a fixed scale, with objects of a standard size.)11 2373(Normally, figures are)2 890 4 970 3824 t
  816. ( the)1 149( If)1 118( to fit a particular width.)5 981(arrange that a figure be expanded or shrunk)7 1757 4 720 3944 t
  817. 10 CW f
  818. (.PS)3752 3944 w
  819. 10 R f
  820. (line contains a number, the drawing)5 1441 1 3959 3944 t
  821. ( Thus)1 250(is forced to be that many inches wide, with the height scaled proportionately.)12 3079 2 720 4064 t
  822. 9 CW f
  823. (.PS 3.5)1 378 1 1008 4234 t
  824. 10 R f
  825. ( two dimensions are specified, the second is the height.)9 2200( If)1 116(causes the picture to be 3.5 inches wide.)7 1605 3 720 4414 t
  826. 10 I f
  827. (Pic)970 4570 w
  828. 10 R f
  829. ( is no way to)4 519( There)1 284(is pretty dumb about the size of text in relation to the size of boxes, circles, and so on.)18 3468 3 1129 4570 t
  830. ( text'' or ``make this text fit inside this circle'' or ``draw a line as long as)16 2986(say ``make a box that just fits around this)8 1694 2 720 4690 t
  831. ( fitting of text can generally only be done by trial and error.)12 2376( Tight)1 267(this text.'')1 411 3 720 4810 t
  832. ( you make a grammatical error in the way you describe a picture,)12 2656(Speaking of errors, if)3 860 2 970 4966 t
  833. 10 I f
  834. (pic)4516 4966 w
  835. 10 R f
  836. (will complain and)2 732 1 4668 4966 t
  837. ( example, the invalid input)4 1069( For)1 189(try to indicate where.)3 848 3 720 5086 t
  838. 9 CW f
  839. (box arrow box)2 702 1 1008 5256 t
  840. 10 R f
  841. (will draw the message)3 890 1 720 5436 t
  842. 9 CW f
  843. (pic: syntax error near line 5, file -)7 1998 1 1008 5606 t
  844. (context is)1 540 1 1062 5716 t
  845. ( box)1 270( <<<)1 216( arrow)1 378(box >>>)1 378 4 1440 5826 t
  846. 10 R f
  847. ( to the place where the error was first noted; it sometimes follows the word in error, although in)18 3927(The brackets point)2 753 2 720 6006 t
  848. ( filename `)2 432( The)1 205(this example it's right on target.)5 1277 3 720 6126 t
  849. 10 CW f
  850. (-)2634 6126 w
  851. 10 R f
  852. (' is the standard input.)4 891 1 2694 6126 t
  853. 10 B f
  854. ( Sizes)1 236(3. Controlling)1 620 2 720 6366 t
  855. 10 R f
  856. ( The)1 208( deals with how to control the sizes of objects when the default sizes are not what is wanted.)18 3734(This section)1 488 3 970 6522 t
  857. (next section deals with positioning them when the default positions are not right.)12 3229 1 720 6642 t
  858. (Each object that)2 661 1 970 6798 t
  859. 10 I f
  860. (pic)1665 6798 w
  861. 10 R f
  862. ( radius,)1 304(knows about \(boxes, circles, etc.\) has associated dimensions, like height, width,)10 3275 2 1821 6798 t
  863. ( default,)1 328( By)1 168(and so on.)2 410 3 720 6918 t
  864. 10 I f
  865. (pic)1652 6918 w
  866. 10 R f
  867. ( be)1 119(tries to choose sensible default values for these dimensions, so that simple pictures can)13 3481 2 1800 6918 t
  868. ( in their default)3 637( of the figures and motions shown so far have been)10 2105( All)1 185(drawn with a minimum of fuss and bother.)7 1753 4 720 7038 t
  869. (sizes:)720 7158 w
  870. cleartomark
  871. showpage
  872. saveobj restore
  873. %%EndPage: 3 5
  874. %%Page: 4 6
  875. /saveobj save def
  876. mark
  877. 6 pagesetup
  878. 10 R f
  879. (- 4 -)2 166 1 2977 480 t
  880. (box)1080 900 w
  881. 10 S1 f
  882. ()1800 900 w
  883. 1800 900 m
  884. 75 build_34
  885. 1875 900 m
  886. 10 R f
  887. (" wide)1 260 1 1875 900 t
  888. 10 S f
  889. (\264)2160 900 w
  890. 10 S1 f
  891. ()2240 900 w
  892. 2240 900 m
  893. 75 build_12
  894. 2315 900 m
  895. 10 R f
  896. (" high)1 244 1 2315 900 t
  897. (circle)1080 1020 w
  898. 10 S1 f
  899. ()1800 1020 w
  900. 1800 1020 m
  901. 75 build_12
  902. 1875 1020 m
  903. 10 R f
  904. (" diameter)1 415 1 1875 1020 t
  905. (ellipse)1080 1140 w
  906. 10 S1 f
  907. ()1800 1140 w
  908. 1800 1140 m
  909. 75 build_34
  910. 1875 1140 m
  911. 10 R f
  912. (" wide)1 260 1 1875 1140 t
  913. 10 S f
  914. (\264)2160 1140 w
  915. 10 S1 f
  916. ()2240 1140 w
  917. 2240 1140 m
  918. 75 build_12
  919. 2315 1140 m
  920. 10 R f
  921. (" high)1 244 1 2315 1140 t
  922. (arc)1080 1260 w
  923. 10 S1 f
  924. ()1800 1260 w
  925. 1800 1260 m
  926. 75 build_12
  927. 1875 1260 m
  928. 10 R f
  929. (" radius)1 310 1 1875 1260 t
  930. (line or arrow)2 515 1 1080 1380 t
  931. 10 S1 f
  932. ()1800 1380 w
  933. 1800 1380 m
  934. 75 build_12
  935. 1875 1380 m
  936. 10 R f
  937. (" long)1 244 1 1875 1380 t
  938. (move)1080 1500 w
  939. 10 S1 f
  940. ()1800 1500 w
  941. 1800 1500 m
  942. 75 build_12
  943. 1875 1500 m
  944. 10 R f
  945. (" in the current direction)4 978 1 1875 1500 t
  946. (When necessary, you can make any object any size you want:)10 2463 1 720 1716 t
  947. 9 CW f
  948. (box width 3 height 0.1; circle radius 0.1)7 2214 1 1008 1886 t
  949. 10 R f
  950. 1908 2144 1908 2216 Dl
  951. 4068 2144 1908 2144 Dl
  952. 4068 2216 4068 2144 Dl
  953. 1908 2216 4068 2216 Dl
  954. 4068 2180 144 144 De
  955. ( wide and 1/10 inch high and the circle has radius)10 2030(All positions and dimensions are in inches, so the box is 3 inches)12 2650 2 720 2450 t
  956. (1/10 inch.)1 400 1 720 2570 t
  957. (An attribute like)2 657 1 970 2726 t
  958. 10 CW f
  959. (width)1654 2726 w
  960. 10 R f
  961. ( can also change the default size for)7 1440( You)1 224(changes only the one instance of the object.)7 1755 3 1981 2726 t
  962. (all objects of a particular type by assigning values to)9 2100 1 720 2846 t
  963. 10 I f
  964. (pic)2845 2846 w
  965. 10 R f
  966. (variables; this will be discussed in Section 6.)7 1794 1 2992 2846 t
  967. (The attributes of)2 684 1 970 3002 t
  968. 10 CW f
  969. (height)1691 3002 w
  970. 10 R f
  971. (\(which you can abbreviate to)4 1206 1 2088 3002 t
  972. 10 CW f
  973. (ht)3331 3002 w
  974. 10 R f
  975. (\) and)1 214 1 3451 3002 t
  976. 10 CW f
  977. (width)3702 3002 w
  978. 10 R f
  979. (\(or)4039 3002 w
  980. 10 CW f
  981. (wid)4192 3002 w
  982. 10 R f
  983. (\) apply to boxes, circles,)4 1028 1 4372 3002 t
  984. ( attributes of)2 517( The)1 211(ellipses, and to the head on an arrow.)7 1525 3 720 3122 t
  985. 10 CW f
  986. (radius)3004 3122 w
  987. 10 R f
  988. (\(or)3395 3122 w
  989. 10 CW f
  990. (rad)3542 3122 w
  991. 10 R f
  992. (\) and)1 208 1 3722 3122 t
  993. 10 CW f
  994. (diameter)3961 3122 w
  995. 10 R f
  996. (\(or)4472 3122 w
  997. 10 CW f
  998. (diam)4619 3122 w
  999. 10 R f
  1000. (\) can be used)3 541 1 4859 3122 t
  1001. (for circles and arcs if they seem more natural.)8 1825 1 720 3242 t
  1002. ( you are right now, in)5 875(Lines and arrows are most easily drawn by specifying the amount of motion from where)14 3555 2 970 3398 t
  1003. ( the words)2 428( Accordingly)1 555(terms of directions.)2 786 3 720 3518 t
  1004. 10 CW f
  1005. (up)2519 3518 w
  1006. 10 R f
  1007. (,)2639 3518 w
  1008. 10 CW f
  1009. (down)2694 3518 w
  1010. 10 R f
  1011. (,)2934 3518 w
  1012. 10 CW f
  1013. (left)2989 3518 w
  1014. 10 R f
  1015. (and)3259 3518 w
  1016. 10 CW f
  1017. (right)3433 3518 w
  1018. 10 R f
  1019. (and an optional distance can be attached)6 1637 1 3763 3518 t
  1020. (to)720 3638 w
  1021. 10 CW f
  1022. (line)823 3638 w
  1023. 10 R f
  1024. (,)1063 3638 w
  1025. 10 CW f
  1026. (arrow)1113 3638 w
  1027. 10 R f
  1028. (, and)1 194 1 1413 3638 t
  1029. 10 CW f
  1030. (move)1632 3638 w
  1031. 10 R f
  1032. (:)1872 3638 w
  1033. 9 CW f
  1034. (line up 1 right 2)4 918 1 1008 3808 t
  1035. (arrow left 2)2 648 1 1008 3918 t
  1036. (move left 0.1)2 702 1 1008 4028 t
  1037. (line <-> down 1 "height " rjust)6 1674 1 1008 4138 t
  1038. 10 R f
  1039. 3816 4360 2376 5080 Dl
  1040. 2376 4360 3816 4360 Dl
  1041. 2376 4360 2448 4342 Dl
  1042. 2376 4360 2448 4378 Dl
  1043. 2304 4360 2322 4432 Dl
  1044. 2304 4360 2286 4432 Dl
  1045. 2304 5080 2304 4360 Dl
  1046. 2304 5080 2286 5008 Dl
  1047. 2304 5080 2322 5008 Dl
  1048. (height)2029 4740 w
  1049. (The notation)1 508 1 720 5278 t
  1050. 10 CW f
  1051. (<->)1253 5278 w
  1052. 10 R f
  1053. ( use)1 159(indicates a two-headed arrow;)3 1199 2 1458 5278 t
  1054. 10 CW f
  1055. (->)2842 5278 w
  1056. 10 R f
  1057. (for a head on the end and)6 1014 1 2988 5278 t
  1058. 10 CW f
  1059. (<-)4028 5278 w
  1060. 10 R f
  1061. ( and)1 170( Lines)1 273(for one on the start.)4 783 3 4174 5278 t
  1062. (arrows are really the same thing; in fact,)7 1607 1 720 5398 t
  1063. 10 CW f
  1064. (arrow)2352 5398 w
  1065. 10 R f
  1066. (is a synonym for)3 669 1 2677 5398 t
  1067. 10 CW f
  1068. (line ->)1 385 1 3371 5398 t
  1069. 10 R f
  1070. (.)3756 5398 w
  1071. (If you don't specify any distance after)6 1518 1 970 5554 t
  1072. 10 CW f
  1073. (up)2513 5554 w
  1074. 10 R f
  1075. (,)2633 5554 w
  1076. 10 CW f
  1077. (down)2683 5554 w
  1078. 10 R f
  1079. (, etc.,)1 216 1 2923 5554 t
  1080. 10 I f
  1081. (pic)3164 5554 w
  1082. 10 R f
  1083. (uses the standard distance:)3 1062 1 3311 5554 t
  1084. 9 CW f
  1085. (line up right; line down; line down left; line up)9 2646 1 1008 5724 t
  1086. 10 R f
  1087. 3240 5946 2880 6306 Dl
  1088. 3240 6306 3240 5946 Dl
  1089. 2880 6666 3240 6306 Dl
  1090. 2880 6306 2880 6666 Dl
  1091. (If you omit the direction associated with a distance, the current direction is used.)13 3220 1 720 6864 t
  1092. (Boxes and lines may be dotted or dashed:)7 1662 1 970 7020 t
  1093. 9 CW f
  1094. (box dotted; line dotted; move; line dashed; box dashed)8 2916 1 1008 7190 t
  1095. cleartomark
  1096. showpage
  1097. saveobj restore
  1098. %%EndPage: 4 6
  1099. %%Page: 5 7
  1100. /saveobj save def
  1101. mark
  1102. 7 pagesetup
  1103. 10 R f
  1104. (- 5 -)2 166 1 2977 480 t
  1105. 7 R f
  1106. ( .)1 0(. . . . . . . . . . . . . . . .)15 558 2 1970 1203 t
  1107. (.)2510 1167 w
  1108. (.)2510 1131 w
  1109. (.)2510 1095 w
  1110. (.)2510 1059 w
  1111. (.)2510 1023 w
  1112. (.)2510 987 w
  1113. (.)2510 951 w
  1114. (.)2510 915 w
  1115. (.)2510 879 w
  1116. ( .)1 0( . . . . . . . . . . . . . . .)15 -540(. .)1 18 3 2510 843 t
  1117. (.)1970 879 w
  1118. (.)1970 915 w
  1119. (.)1970 951 w
  1120. (.)1970 987 w
  1121. (.)1970 1023 w
  1122. (.)1970 1059 w
  1123. (.)1970 1095 w
  1124. (.)1970 1131 w
  1125. (.)1970 1167 w
  1126. (.)1970 1203 w
  1127. (. . . . . . . . . . .)10 378 1 2510 1023 t
  1128. 10 R f
  1129. 3276 1020 3240 1020 Dl
  1130. 3356 1020 3320 1020 Dl
  1131. 3438 1020 3402 1020 Dl
  1132. 3518 1020 3482 1020 Dl
  1133. 3600 1020 3564 1020 Dl
  1134. 3636 1200 3600 1200 Dl
  1135. 3708 1200 3672 1200 Dl
  1136. 3780 1200 3744 1200 Dl
  1137. 3852 1200 3816 1200 Dl
  1138. 3924 1200 3888 1200 Dl
  1139. 3996 1200 3960 1200 Dl
  1140. 4068 1200 4032 1200 Dl
  1141. 4140 1200 4104 1200 Dl
  1142. 4140 1164 4140 1200 Dl
  1143. 4140 1083 4140 1119 Dl
  1144. 4140 1002 4140 1038 Dl
  1145. 4140 921 4140 957 Dl
  1146. 4140 840 4140 876 Dl
  1147. 4104 840 4140 840 Dl
  1148. 4032 840 4068 840 Dl
  1149. 3960 840 3996 840 Dl
  1150. 3888 840 3924 840 Dl
  1151. 3816 840 3852 840 Dl
  1152. 3744 840 3780 840 Dl
  1153. 3672 840 3708 840 Dl
  1154. 3600 840 3636 840 Dl
  1155. 3600 876 3600 840 Dl
  1156. 3600 956 3600 920 Dl
  1157. 3600 1038 3600 1002 Dl
  1158. 3600 1118 3600 1082 Dl
  1159. 3600 1200 3600 1164 Dl
  1160. (If there is a number after)5 1033 1 720 1398 t
  1161. 10 CW f
  1162. (dot)1787 1398 w
  1163. 10 R f
  1164. ( size of the)3 465( can also control the)4 840( You)1 231(, the dots will be approximately that far apart.)8 1897 4 1967 1398 t
  1165. ( if there is a length after the word)8 1330(dashes \(at least somewhat\):)3 1098 2 720 1518 t
  1166. 10 CW f
  1167. (dashed)3173 1518 w
  1168. 10 R f
  1169. (, the dashes will be that long, and the interven-)9 1867 1 3533 1518 t
  1170. (ing spaces will be as close as possible to that size:)10 1998 1 720 1638 t
  1171. 9 CW f
  1172. (line right 5 dashed; move left 5 down .25; right)9 2592 1 1008 1808 t
  1173. (line right 5 dashed 0.25; move left 5 down .25; right)10 2862 1 1008 1918 t
  1174. (line right 5 dashed 0.5; move left 5 down .25; right)10 2808 1 1008 2028 t
  1175. (line right 5 dashed 1)4 1134 1 1008 2138 t
  1176. 10 R f
  1177. 1296 2360 1260 2360 Dl
  1178. 1368 2360 1332 2360 Dl
  1179. 1441 2360 1405 2360 Dl
  1180. 1514 2360 1478 2360 Dl
  1181. 1586 2360 1550 2360 Dl
  1182. 1659 2360 1623 2360 Dl
  1183. 1732 2360 1696 2360 Dl
  1184. 1805 2360 1769 2360 Dl
  1185. 1877 2360 1841 2360 Dl
  1186. 1950 2360 1914 2360 Dl
  1187. 2023 2360 1987 2360 Dl
  1188. 2095 2360 2059 2360 Dl
  1189. 2168 2360 2132 2360 Dl
  1190. 2241 2360 2205 2360 Dl
  1191. 2314 2360 2278 2360 Dl
  1192. 2386 2360 2350 2360 Dl
  1193. 2459 2360 2423 2360 Dl
  1194. 2532 2360 2496 2360 Dl
  1195. 2604 2360 2568 2360 Dl
  1196. 2677 2360 2641 2360 Dl
  1197. 2750 2360 2714 2360 Dl
  1198. 2823 2360 2787 2360 Dl
  1199. 2895 2360 2859 2360 Dl
  1200. 2968 2360 2932 2360 Dl
  1201. 3041 2360 3005 2360 Dl
  1202. 3114 2360 3078 2360 Dl
  1203. 3187 2360 3151 2360 Dl
  1204. 3260 2360 3224 2360 Dl
  1205. 3332 2360 3296 2360 Dl
  1206. 3405 2360 3369 2360 Dl
  1207. 3478 2360 3442 2360 Dl
  1208. 3551 2360 3515 2360 Dl
  1209. 3623 2360 3587 2360 Dl
  1210. 3696 2360 3660 2360 Dl
  1211. 3769 2360 3733 2360 Dl
  1212. 3841 2360 3805 2360 Dl
  1213. 3914 2360 3878 2360 Dl
  1214. 3987 2360 3951 2360 Dl
  1215. 4060 2360 4024 2360 Dl
  1216. 4132 2360 4096 2360 Dl
  1217. 4205 2360 4169 2360 Dl
  1218. 4278 2360 4242 2360 Dl
  1219. 4350 2360 4314 2360 Dl
  1220. 4423 2360 4387 2360 Dl
  1221. 4496 2360 4460 2360 Dl
  1222. 4569 2360 4533 2360 Dl
  1223. 4641 2360 4605 2360 Dl
  1224. 4714 2360 4678 2360 Dl
  1225. 4787 2360 4751 2360 Dl
  1226. 4860 2360 4824 2360 Dl
  1227. 1440 2540 1260 2540 Dl
  1228. 1782 2540 1602 2540 Dl
  1229. 2124 2540 1944 2540 Dl
  1230. 2466 2540 2286 2540 Dl
  1231. 2808 2540 2628 2540 Dl
  1232. 3150 2540 2970 2540 Dl
  1233. 3492 2540 3312 2540 Dl
  1234. 3834 2540 3654 2540 Dl
  1235. 4176 2540 3996 2540 Dl
  1236. 4518 2540 4338 2540 Dl
  1237. 4860 2540 4680 2540 Dl
  1238. 1620 2720 1260 2720 Dl
  1239. 2268 2720 1908 2720 Dl
  1240. 2916 2720 2556 2720 Dl
  1241. 3564 2720 3204 2720 Dl
  1242. 4212 2720 3852 2720 Dl
  1243. 4860 2720 4500 2720 Dl
  1244. 1980 2900 1260 2900 Dl
  1245. 3420 2900 2700 2900 Dl
  1246. 4860 2900 4140 2900 Dl
  1247. (Dotted or dashed attributes apply only to lines and boxes.)9 2298 1 720 3098 t
  1248. ( by adding the word)4 803(You can make any object invisible)5 1384 2 970 3290 t
  1249. 10 CW f
  1250. (invis)3183 3290 w
  1251. 10 R f
  1252. ( is particularly useful for position-)5 1373( This)1 229(after it.)1 289 3 3509 3290 t
  1253. (ing things correctly near text:)4 1176 1 720 3410 t
  1254. 9 CW f
  1255. (box invis "input"; arrow; box invis "output")6 2376 1 1008 3580 t
  1256. 10 R f
  1257. (input)2507 4002 w
  1258. 3240 3982 2880 3982 Dl
  1259. 3240 3982 3168 4000 Dl
  1260. 3240 3982 3168 3964 Dl
  1261. (output)3382 4002 w
  1262. (Text may be positioned on lines and arrows:)7 1773 1 970 4396 t
  1263. 9 CW f
  1264. (arrow "on top of"; move)4 1242 1 1008 4566 t
  1265. (arrow "above" "below"; move)3 1458 1 1008 4676 t
  1266. (arrow "above" above; move)3 1350 1 1008 4786 t
  1267. (arrow "below" below; move)3 1350 1 1008 4896 t
  1268. (arrow "above" "on top of" "below")5 1782 1 1008 5006 t
  1269. 10 R f
  1270. 1800 5186 1440 5186 Dl
  1271. 1800 5186 1728 5204 Dl
  1272. 1800 5186 1728 5168 Dl
  1273. (on top of)2 361 1 1440 5206 t
  1274. 2520 5186 2160 5186 Dl
  1275. 2520 5186 2448 5204 Dl
  1276. 2520 5186 2448 5168 Dl
  1277. (above)2221 5146 w
  1278. (below)2218 5266 w
  1279. 3240 5186 2880 5186 Dl
  1280. 3240 5186 3168 5204 Dl
  1281. 3240 5186 3168 5168 Dl
  1282. (above)2941 5146 w
  1283. 3960 5186 3600 5186 Dl
  1284. 3960 5186 3888 5204 Dl
  1285. 3960 5186 3888 5168 Dl
  1286. (below)3658 5266 w
  1287. 4680 5186 4320 5186 Dl
  1288. 4680 5186 4608 5204 Dl
  1289. 4680 5186 4608 5168 Dl
  1290. (above)4381 5086 w
  1291. (on top of)2 361 1 4320 5206 t
  1292. (below)4378 5326 w
  1293. ( The)1 209( is the distance along the shaft.)6 1253(The ``width'' of an arrowhead is the distance across its tail; the ``height'')12 2968 3 970 5378 t
  1294. (arrowheads in this picture are default size and shape.)8 2108 1 720 5498 t
  1295. (As we said earlier, arcs go 90 degrees counterclockwise from where you are right now, and)15 3717 1 970 5654 t
  1296. 10 CW f
  1297. (arc cw)1 331 1 4717 5654 t
  1298. 10 R f
  1299. (changes)5079 5654 w
  1300. ( is the same as for circles, but you can change it with the)13 2348( default radius)2 587( The)1 213(this to clockwise.)2 713 4 720 5774 t
  1301. 10 CW f
  1302. (rad)4613 5774 w
  1303. 10 R f
  1304. ( is)1 99(attribute. It)1 476 2 4825 5774 t
  1305. (also easy to draw arcs between specific places; this will be described in the next section.)15 3526 1 720 5894 t
  1306. (To put an arrowhead on an arc, use one of)9 1678 1 970 6050 t
  1307. 10 CW f
  1308. (<-)2673 6050 w
  1309. 10 R f
  1310. (,)2793 6050 w
  1311. 10 CW f
  1312. (->)2843 6050 w
  1313. 10 R f
  1314. (or)2988 6050 w
  1315. 10 CW f
  1316. (<->)3096 6050 w
  1317. 10 R f
  1318. (, as with lines.)3 575 1 3276 6050 t
  1319. ( you)1 186( If)1 127( explicit dimension for some object is specified, you will get the default size.)13 3215(In all cases, unless an)4 902 4 970 6242 t
  1320. ( of that kind, add the word)6 1075(want an object to have the same size as the previous one)11 2292 2 720 6362 t
  1321. 10 CW f
  1322. (same)4115 6362 w
  1323. 10 R f
  1324. ( in the set of boxes)5 767(. Thus)1 278 2 4355 6362 t
  1325. (given by)1 347 1 720 6482 t
  1326. 9 CW f
  1327. (down; box ht 0.2 wid 1.5; move down 0.15; box same; move same; box same)14 3834 1 1008 6652 t
  1328. cleartomark
  1329. showpage
  1330. saveobj restore
  1331. %%EndPage: 5 7
  1332. %%Page: 6 8
  1333. /saveobj save def
  1334. mark
  1335. 8 pagesetup
  1336. 10 R f
  1337. (- 6 -)2 166 1 2977 480 t
  1338. 2520 840 2520 984 Dl
  1339. 3600 840 2520 840 Dl
  1340. 3600 984 3600 840 Dl
  1341. 2520 984 3600 984 Dl
  1342. 2520 1092 2520 1236 Dl
  1343. 3600 1092 2520 1092 Dl
  1344. 3600 1236 3600 1092 Dl
  1345. 2520 1236 3600 1236 Dl
  1346. 2520 1344 2520 1488 Dl
  1347. 3600 1344 2520 1344 Dl
  1348. 3600 1488 3600 1344 Dl
  1349. 2520 1488 3600 1488 Dl
  1350. (the dimensions set by the first)5 1222 1 720 1686 t
  1351. 10 CW f
  1352. (box)1972 1686 w
  1353. 10 R f
  1354. ( for the second)3 608(are used several times; similarly, the amount of motion)8 2241 2 2182 1686 t
  1355. 10 CW f
  1356. (move)5062 1686 w
  1357. 10 R f
  1358. (is)5333 1686 w
  1359. (the same as for the first one.)6 1128 1 720 1806 t
  1360. ( Here)1 247( values.)1 309(You can change the default sizes of objects by assigning values to the variables that define their)16 3874 3 970 1962 t
  1361. (is the list, with their default values:)6 1408 1 720 2082 t
  1362. 9 CW f
  1363. ( = 0.5)2 324( boxht)1 954(boxwid = 0.75;)2 756 3 1008 2252 t
  1364. ( = 0.5)2 324( lineht)1 954(linewid = 0.75;)2 810 3 1008 2362 t
  1365. ( = 0.25)2 378( arcrad)1 846(circlerad = 0.25;)2 918 3 1008 2472 t
  1366. ( = 0.5)2 324( ellipseht)1 954(ellipsewid = 0.75;)2 972 3 1008 2582 t
  1367. ( = 0.5)2 324( moveht)1 954(movewid = 0.75;)2 810 3 1008 2692 t
  1368. ( = 0)2 216( textht)1 1116(textwid = 0;)2 648 3 1008 2802 t
  1369. ( = 0.1)2 324( arrowht)1 954(arrowwid = 0.05;)2 864 3 1008 2912 t
  1370. 9 R f
  1371. (\(These refer to the arrowhead.\))4 1120 1 3384 2912 t
  1372. 9 CW f
  1373. ( = 2)2 216( arrowhead)1 1116(dashwid = 0.05;)2 810 3 1008 3022 t
  1374. 9 R f
  1375. (\(Arrowhead fill style\))2 786 1 3384 3022 t
  1376. 9 CW f
  1377. ( = 11)2 270( maxpswid)1 1116(maxpsht = 8.5;)2 756 3 1008 3132 t
  1378. 9 R f
  1379. (\(Maximum picture dimensions\))2 1141 1 3384 3132 t
  1380. 9 CW f
  1381. ( = 1)2 216( scale)1 954(fillval = 0.3;)2 756 3 1008 3242 t
  1382. 10 R f
  1383. (So if you want all your boxes to be long and skinny, and relatively close together,)15 3266 1 720 3422 t
  1384. 9 CW f
  1385. (boxwid = 0.1; boxht = 1)5 1242 1 1008 3592 t
  1386. (movewid = 0.2)2 702 1 1008 3702 t
  1387. (box; move; box; move; box)4 1350 1 1008 3812 t
  1388. 10 R f
  1389. 2808 4034 2808 4754 Dl
  1390. 2880 4034 2808 4034 Dl
  1391. 2880 4754 2880 4034 Dl
  1392. 2808 4754 2880 4754 Dl
  1393. 3024 4034 3024 4754 Dl
  1394. 3096 4034 3024 4034 Dl
  1395. 3096 4754 3096 4034 Dl
  1396. 3024 4754 3096 4754 Dl
  1397. 3240 4034 3240 4754 Dl
  1398. 3312 4034 3240 4034 Dl
  1399. 3312 4754 3312 4034 Dl
  1400. 3240 4754 3312 4754 Dl
  1401. (Setting the variable)2 787 1 970 4988 t
  1402. 10 CW f
  1403. (arrowhead)1787 4988 w
  1404. 10 R f
  1405. ( overstriking; the default)3 1003(to a value like 7 causes arrowheads to be filled by)10 2040 2 2357 4988 t
  1406. (is 2:)1 170 1 720 5108 t
  1407. 9 CW f
  1408. (arrowhead = 7; arrow; move; arrowhead = 2; arrow)8 2592 1 1008 5278 t
  1409. 10 R f
  1410. 2988 5458 2628 5458 Dl
  1411. 2988 5458 2916 5476 Dl
  1412. 2987 5458 2914 5470 Dl
  1413. 2987 5458 2913 5463 Dl
  1414. 2987 5458 2913 5458 Dl
  1415. 2987 5458 2913 5453 Dl
  1416. 2987 5458 2914 5446 Dl
  1417. 2988 5458 2916 5440 Dl
  1418. 3492 5458 3132 5458 Dl
  1419. 3492 5458 3420 5476 Dl
  1420. 3492 5458 3420 5440 Dl
  1421. 10 I f
  1422. (Pic)970 5614 w
  1423. 10 R f
  1424. ( the variable)2 503( Setting)1 339(works internally in inches.)3 1075 3 1133 5614 t
  1425. 10 CW f
  1426. (scale)3080 5614 w
  1427. 10 R f
  1428. (to some value causes all dimensions to be scaled)8 1990 1 3410 5614 t
  1429. ( for example,)2 529( Thus,)1 275(down by that value.)3 788 3 720 5734 t
  1430. 10 CW f
  1431. (scale=2.54)2337 5734 w
  1432. 10 R f
  1433. (causes dimensions to be interpreted as centimeters.)6 2038 1 2962 5734 t
  1434. (The numbers given in the)4 1037 1 970 5890 t
  1435. 10 CW f
  1436. (.PS)2037 5890 w
  1437. 10 R f
  1438. (line override the dimensions given in the picture; these can be used to force a)14 3153 1 2247 5890 t
  1439. ( way to get a picture of the right size is to)11 1700( indicates that a good)4 869( Experience)1 503(picture to a particular width and height.)6 1608 4 720 6010 t
  1440. (enter its dimensions in inches, then if necessary add a width and perhaps height to the)15 3423 1 720 6130 t
  1441. 10 CW f
  1442. (.PS)4168 6130 w
  1443. 10 R f
  1444. (line.)4373 6130 w
  1445. (Once set, variables like)3 961 1 970 6286 t
  1446. 10 CW f
  1447. (boxht)1966 6286 w
  1448. 10 R f
  1449. ( can reset variables to)4 908( You)1 233( next.)1 233(retain their values from one picture to the)7 1725 4 2301 6286 t
  1450. (their default values by listing them in a)7 1563 1 720 6406 t
  1451. 10 CW f
  1452. (reset)2308 6406 w
  1453. 10 R f
  1454. (statement:)2633 6406 w
  1455. 9 CW f
  1456. (reset boxht, boxwid)2 1026 1 1008 6576 t
  1457. 10 R f
  1458. (A bare)1 268 1 720 6756 t
  1459. 10 CW f
  1460. (reset)1013 6756 w
  1461. 10 R f
  1462. (resets all variables.)2 762 1 1338 6756 t
  1463. ( attribute)1 362( The)1 209( filling or shading objects, intended for Postscript output devices.)9 2643(There is a minimal facility for)5 1216 4 970 6912 t
  1464. 10 CW f
  1465. (fill)720 7032 w
  1466. 10 I f
  1467. (expr)994 7032 w
  1468. 10 R f
  1469. (sets the gray scale value to)5 1112 1 1205 7032 t
  1470. 10 I f
  1471. (expr)2350 7032 w
  1472. 10 R f
  1473. (; the default, determined by the variable)6 1642 1 2527 7032 t
  1474. 10 CW f
  1475. (fillval)4202 7032 w
  1476. 10 R f
  1477. ( Following)1 470(, is 0.3.)2 308 2 4622 7032 t
  1478. ( Thus:)1 278(Postscript, smaller values are darker.)4 1469 2 720 7152 t
  1479. cleartomark
  1480. showpage
  1481. saveobj restore
  1482. %%EndPage: 6 8
  1483. %%Page: 7 9
  1484. /saveobj save def
  1485. mark
  1486. 9 pagesetup
  1487. 10 R f
  1488. (- 7 -)2 166 1 2977 480 t
  1489. 9 CW f
  1490. (box fill)1 432 1 1008 830 t
  1491. (box ht boxht/2 wid boxwid/2 "hello" at last box)8 2538 1 1008 940 t
  1492. cleartomark
  1493. saveobj restore
  1494. %%BeginGlobal
  1495. %
  1496. % Color and reverse video support for dpost. A call made to setcolor with two
  1497. % arguments implies reverse video printing.
  1498. %
  1499. /rgb {setrgbcolor} bind def
  1500. /hsb {sethsbcolor} bind def
  1501. /colordict 50 dict dup begin
  1502. /red { 1 0 0 } def
  1503. /green { 0 1 0 } def
  1504. /blue { 0 0 1 } def
  1505. /cyan { 0 1 1 } def
  1506. /magenta { 1 0 1 } def
  1507. /yellow { 1 1 0 } def
  1508. /white { 1 1 1 } def
  1509. /black { 0 0 0 } def
  1510. end def
  1511. /setcolor {
  1512. counttomark 1 eq {
  1513. dup colordict exch known not {pop /black} if
  1514. colordict exch get exec setrgbcolor
  1515. } if
  1516. counttomark 2 eq {
  1517. /backcolor exch def
  1518. /textcolor exch def
  1519. colordict backcolor known not colordict textcolor known not or {
  1520. /backcolor colordict /black get def
  1521. /textcolor colordict /white get def
  1522. } if
  1523. /backcolor colordict backcolor get def
  1524. /textcolor colordict textcolor get def
  1525. /dY1 0 def
  1526. /dY2 0 def
  1527. textcolor exec setrgbcolor
  1528. } if
  1529. } bind def
  1530. /drawrvbox {
  1531. /x2 exch def
  1532. /x1 exch def
  1533. currentpoint dup
  1534. /y1 exch def
  1535. /y2 exch def pop
  1536. dY1 0 eq dY2 0 eq and {
  1537. currentfont /FontBBox get aload pop
  1538. currentfont /FontMatrix get dtransform /dY2 exch def pop
  1539. currentfont /FontMatrix get dtransform /dY1 exch def pop
  1540. } if
  1541. /y1 y1 dY1 add def
  1542. /y2 y2 dY2 add def
  1543. backcolor exec setrgbcolor
  1544. newpath
  1545. x1 y1 moveto
  1546. x2 y1 lineto
  1547. x2 y2 lineto
  1548. x1 y2 lineto
  1549. closepath fill
  1550. textcolor exec setrgbcolor
  1551. } bind def
  1552. %%EndGlobal
  1553. /saveobj save def
  1554. mark
  1555. gsave
  1556. newpath
  1557. 2790 1522 m
  1558. /inpath true def
  1559. 0.3 setgray
  1560. 10 R f
  1561. 2790 1162 2790 1522 Dl
  1562. 3330 1162 2790 1162 Dl
  1563. 3330 1522 3330 1162 Dl
  1564. 2790 1522 3330 1522 Dl
  1565. gsave eofill grestore 0 setgray stroke
  1566. grestore
  1567. /inpath false def
  1568. 10 R f
  1569. 2925 1252 2925 1432 Dl
  1570. 3195 1252 2925 1252 Dl
  1571. 3195 1432 3195 1252 Dl
  1572. 2925 1432 3195 1432 Dl
  1573. (hello)2960 1362 w
  1574. 10 CW f
  1575. (fill)720 1720 w
  1576. 10 R f
  1577. (currently only applies to boxes, circles, and ellipses.)7 2086 1 985 1720 t
  1578. 10 B f
  1579. ( Positions)1 409(4. Controlling)1 620 2 720 1960 t
  1580. 10 R f
  1581. (You can place things anywhere you want;)6 1716 1 970 2116 t
  1582. 10 I f
  1583. (pic)2718 2116 w
  1584. 10 R f
  1585. (provides a variety of ways to talk about positions.)8 2054 1 2873 2116 t
  1586. 10 I f
  1587. (Pic)4985 2116 w
  1588. 10 R f
  1589. (uses a)1 249 1 5151 2116 t
  1590. (standard Cartesian coordinate system with)4 1712 1 720 2236 t
  1591. 10 I f
  1592. (x)2462 2236 w
  1593. 10 R f
  1594. (increasing rightwards and)2 1041 1 2536 2236 t
  1595. 10 I f
  1596. (y)3607 2236 w
  1597. 10 R f
  1598. (increasing upwards, so any point or object)6 1719 1 3681 2236 t
  1599. (has an)1 257 1 720 2356 t
  1600. 10 I f
  1601. (x)1007 2356 w
  1602. 10 R f
  1603. (and)1081 2356 w
  1604. 10 I f
  1605. (y)1255 2356 w
  1606. 10 R f
  1607. ( The)1 211( first object is placed with its start at position 0,0 by default.)12 2471( The)1 211(position, measured in inches.)3 1178 4 1329 2356 t
  1608. 10 I f
  1609. (x,y)720 2476 w
  1610. 10 R f
  1611. ( circle or ellipse is its geometric center; the position of a line or spline or motion is its begin-)19 3814(position of a box,)3 721 2 865 2476 t
  1612. (ning; the position of an arc is the center of the corresponding circle.)12 2703 1 720 2596 t
  1613. (Position modifiers like)2 924 1 970 2752 t
  1614. 10 CW f
  1615. (from)1925 2752 w
  1616. 10 R f
  1617. (,)2165 2752 w
  1618. 10 CW f
  1619. (to)2221 2752 w
  1620. 10 R f
  1621. (,)2341 2752 w
  1622. 10 CW f
  1623. (by)2397 2752 w
  1624. 10 R f
  1625. (and)2548 2752 w
  1626. 10 CW f
  1627. (at)2723 2752 w
  1628. 10 R f
  1629. (are followed by an)3 763 1 2874 2752 t
  1630. 10 I f
  1631. (x,y)3669 2752 w
  1632. 10 R f
  1633. (pair, and can be attached to boxes, cir-)7 1586 1 3814 2752 t
  1634. (cles, lines, motions, and so on, to specify or modify a position.)11 2505 1 720 2872 t
  1635. (You can also use)3 679 1 970 3028 t
  1636. 10 CW f
  1637. (up)1674 3028 w
  1638. 10 R f
  1639. (,)1794 3028 w
  1640. 10 CW f
  1641. (down)1844 3028 w
  1642. 10 R f
  1643. (,)2084 3028 w
  1644. 10 CW f
  1645. (right)2134 3028 w
  1646. 10 R f
  1647. (, and)1 194 1 2434 3028 t
  1648. 10 CW f
  1649. (left)2653 3028 w
  1650. 10 R f
  1651. (with)2918 3028 w
  1652. 10 CW f
  1653. (line)3121 3028 w
  1654. 10 R f
  1655. (and)3386 3028 w
  1656. 10 CW f
  1657. (move)3555 3028 w
  1658. 10 R f
  1659. (:)3795 3028 w
  1660. 9 CW f
  1661. (box ht 0.2 wid 0.2 at 0,0 "1")7 1566 1 1008 3198 t
  1662. ( or "move to 0.5,0")4 1026( #)1 1026(move right 0.5)2 756 3 1008 3308 t
  1663. (box ht 0.2 wid 0.2 "2")5 1188 1 1008 3418 t
  1664. ( or "move 0.5" or "move same")6 1566( #)1 1026(move right 0.5)2 756 3 1008 3528 t
  1665. (box ht 0.2 wid 0.2 "3")5 1188 1 1008 3638 t
  1666. 10 R f
  1667. 2340 3860 2340 4040 Dl
  1668. 2520 3860 2340 3860 Dl
  1669. 2520 4040 2520 3860 Dl
  1670. 2340 4040 2520 4040 Dl
  1671. (1)2405 3970 w
  1672. 2970 3860 2970 4040 Dl
  1673. 3150 3860 2970 3860 Dl
  1674. 3150 4040 3150 3860 Dl
  1675. 2970 4040 3150 4040 Dl
  1676. (2)3035 3970 w
  1677. 3600 3860 3600 4040 Dl
  1678. 3780 3860 3600 3860 Dl
  1679. 3780 4040 3780 3860 Dl
  1680. 3600 4040 3780 4040 Dl
  1681. (3)3665 3970 w
  1682. (Comments can be used in pictures; they begin with a)9 2112 1 720 4238 t
  1683. 10 CW f
  1684. (#)2857 4238 w
  1685. 10 R f
  1686. (and end at the end of the line.)7 1181 1 2942 4238 t
  1687. (Attributes like)1 575 1 970 4394 t
  1688. 10 CW f
  1689. (ht)1570 4394 w
  1690. 10 R f
  1691. (and)1715 4394 w
  1692. 10 CW f
  1693. (wid)1884 4394 w
  1694. 10 R f
  1695. (and positions like)2 706 1 2089 4394 t
  1696. 10 CW f
  1697. (at)2820 4394 w
  1698. 10 R f
  1699. ( So)1 156(can be written out in any order.)6 1250 2 2965 4394 t
  1700. 9 CW f
  1701. (box ht 0.2 wid 0.2 at 0,0)6 1350 1 1008 4564 t
  1702. (box at 0,0 wid 0.2 ht 0.2)6 1350 1 1008 4674 t
  1703. (box ht 0.2 at 0,0 wid 0.2)6 1350 1 1008 4784 t
  1704. 10 R f
  1705. (are all equivalent, though the last is harder to read and thus less desirable.)13 2942 1 720 4964 t
  1706. (The)970 5120 w
  1707. 10 CW f
  1708. (from)1159 5120 w
  1709. 10 R f
  1710. (and)1433 5120 w
  1711. 10 CW f
  1712. (to)1611 5120 w
  1713. 10 R f
  1714. ( default, arcs are)3 688( By)1 177( the endpoints.)2 606(attributes are particularly useful with arcs, to specify)7 2164 4 1765 5120 t
  1715. (drawn counterclockwise,)1 997 1 720 5240 t
  1716. 9 CW f
  1717. ("+" at 0,0)2 540 1 1008 5410 t
  1718. (arc -> from 0.5,0 to 0,0.5)5 1404 1 1008 5520 t
  1719. (arc -> cw from 0,0 to 1,0.5)6 1458 1 1008 5630 t
  1720. 10 R f
  1721. (+)2672 6237 w
  1722. 3060 6217 -360 0 0 -360 Da
  1723. 2700 5857 2773 5847 Dl
  1724. 2700 5857 2769 5882 Dl
  1725. 3419 5858 3346 5870 Dl
  1726. 3419 5858 3349 5835 Dl
  1727. 3420 5857 -92 714 -627 -354 Da
  1728. (The radius can be made large to provide flat arcs:)9 1975 1 720 6415 t
  1729. 9 CW f
  1730. (arc -> cw from 0,0 to 2,0 rad 15)8 1728 1 1008 6585 t
  1731. 10 R f
  1732. 3779 6831 3707 6844 Dl
  1733. 3779 6830 3709 6808 Dl
  1734. 3780 6830 -720 10776 -720 -10776 Da
  1735. (If the circle is under-specified,)4 1261 1 720 7028 t
  1736. 10 I f
  1737. (pic)2017 7028 w
  1738. 10 R f
  1739. (guesses a radius and/or center; you will have to provide them explicitly if the)13 3225 1 2175 7028 t
  1740. (guess is wrong.)2 619 1 720 7148 t
  1741. cleartomark
  1742. showpage
  1743. saveobj restore
  1744. %%EndPage: 7 9
  1745. %%Page: 8 10
  1746. /saveobj save def
  1747. mark
  1748. 10 pagesetup
  1749. 10 R f
  1750. (- 8 -)2 166 1 2977 480 t
  1751. ( truth is)2 320( The)1 212( is an over-simplification.)3 1048( This)1 235( that objects are normally connected left to right.)8 2000(We said earlier)2 615 6 970 840 t
  1752. ( the direction specified by the most recent)7 1700(that objects are connected together in)5 1513 2 720 960 t
  1753. 10 CW f
  1754. (up)3962 960 w
  1755. 10 R f
  1756. (,)4082 960 w
  1757. 10 CW f
  1758. (down)4136 960 w
  1759. 10 R f
  1760. (,)4376 960 w
  1761. 10 CW f
  1762. (left)4430 960 w
  1763. 10 R f
  1764. (or)4699 960 w
  1765. 10 CW f
  1766. (right)4811 960 w
  1767. 10 R f
  1768. (\(either)5140 960 w
  1769. ( in)1 103( Thus,)1 275(alone or as part of some object\).)6 1283 3 720 1080 t
  1770. 9 CW f
  1771. (arrow left; box; arrow; circle; arrow)5 1998 1 1008 1250 t
  1772. 10 R f
  1773. (the)720 1430 w
  1774. 10 CW f
  1775. (left)867 1430 w
  1776. 10 R f
  1777. (implies connection towards the left:)4 1432 1 1132 1430 t
  1778. 3690 1772 4050 1772 Dl
  1779. 3690 1772 3762 1754 Dl
  1780. 3690 1772 3762 1790 Dl
  1781. 3150 1592 3150 1952 Dl
  1782. 3690 1592 3150 1592 Dl
  1783. 3690 1952 3690 1592 Dl
  1784. 3150 1952 3690 1952 Dl
  1785. 2790 1772 3150 1772 Dl
  1786. 2790 1772 2862 1754 Dl
  1787. 2790 1772 2862 1790 Dl
  1788. 2430 1772 360 360 De
  1789. 2070 1772 2430 1772 Dl
  1790. 2070 1772 2142 1754 Dl
  1791. 2070 1772 2142 1790 Dl
  1792. (This could also be written as)5 1146 1 720 2150 t
  1793. 9 CW f
  1794. (left; arrow; box; arrow; circle; arrow)5 2052 1 1008 2320 t
  1795. 10 R f
  1796. ( the last)2 327(Objects are joined in the direction determined by)7 2004 2 970 2536 t
  1797. 10 CW f
  1798. (up)3334 2536 w
  1799. 10 R f
  1800. (,)3454 2536 w
  1801. 10 CW f
  1802. (down)3512 2536 w
  1803. 10 R f
  1804. (, etc., with the entry point of the second)8 1648 1 3752 2536 t
  1805. ( points for boxes, cir-)4 861( and exit)2 348( Entry)1 274(object attached to the exit point of the first \(which is fixed at the time of entry\).)16 3197 4 720 2656 t
  1806. ( automatic connection and direction selection works well if the direction)10 2910( This)1 230(cles and ellipses are on opposite sides.)6 1540 3 720 2776 t
  1807. (doesn't change but it will occasionally surprise you:)7 2084 1 720 2896 t
  1808. 9 CW f
  1809. (arrow; circle; down; arrow)3 1404 1 1008 3066 t
  1810. 10 R f
  1811. 3060 3468 2700 3468 Dl
  1812. 3060 3468 2988 3486 Dl
  1813. 3060 3468 2988 3450 Dl
  1814. 3060 3468 360 360 De
  1815. 3420 3828 3420 3468 Dl
  1816. 3420 3828 3402 3756 Dl
  1817. 3420 3828 3438 3756 Dl
  1818. (The arrow comes out of the right side of the circle, not the bottom, as might be expected.)17 3550 1 720 4026 t
  1819. (If a set of commands is enclosed in braces)8 1789 1 970 4182 t
  1820. 10 CW f
  1821. ({...})2797 4182 w
  1822. 10 R f
  1823. ( direction of motion when the)5 1255(, the current position and)4 1048 2 3097 4182 t
  1824. ( is also a more general)5 915( There)1 286( else is restored.)3 655( Nothing)1 382( exactly where it was when entered.)6 1450(group is finished will be)4 992 6 720 4302 t
  1825. (way to group objects, using)4 1102 1 720 4422 t
  1826. 10 CW f
  1827. ([)1847 4422 w
  1828. 10 R f
  1829. (and)1932 4422 w
  1830. 10 CW f
  1831. (])2101 4422 w
  1832. 10 R f
  1833. (, which is discussed in Section 9.)6 1322 1 2161 4422 t
  1834. 10 B f
  1835. ( and Corners)2 561(5. Labels)1 409 2 720 4662 t
  1836. 10 R f
  1837. ( example,)1 388( For)1 189(Objects can be labelled or named so that you can talk about them later.)13 2828 3 970 4818 t
  1838. 9 CW f
  1839. (Box1: box)1 594 1 1008 4988 t
  1840. (# ... other stuff ...)4 1134 1 1440 5098 t
  1841. (move to Box1)2 648 1 1440 5208 t
  1842. 10 R f
  1843. (Place names)1 499 1 720 5388 t
  1844. 10 I f
  1845. (must)1247 5388 w
  1846. 10 R f
  1847. ( with lower)2 463(begin with an upper case letter \(to distinguish them from variable names, which begin)13 3473 2 1464 5388 t
  1848. ( name refers to the ``center'' of the object, which is the geometric center for most things.)16 3547( The)1 205(case letters\).)1 498 3 720 5508 t
  1849. (Other combinations also work:)3 1235 1 970 5664 t
  1850. 9 CW f
  1851. (line from Box1 to Box2)4 1188 1 1008 5834 t
  1852. (move to Box1 up 0.1 right 0.2)6 1566 1 1008 5944 t
  1853. ( same as previous)3 918( #)1 162(move to Box1 + 0.2,0.1)4 1188 3 1008 6054 t
  1854. (line to Box1 - 0.5,0)4 1080 1 1008 6164 t
  1855. 10 R f
  1856. (The reserved name)2 758 1 720 6344 t
  1857. 10 CW f
  1858. (Here)1503 6344 w
  1859. 10 R f
  1860. (may be used to refer to the current position.)8 1744 1 1768 6344 t
  1861. (Labels can be reset several times in a single picture, so a statement like)13 2839 1 970 6500 t
  1862. 9 CW f
  1863. ( + 1,1)2 324(Box1: Box1)1 594 2 1008 6670 t
  1864. 10 R f
  1865. (is perfectly legal.)2 690 1 720 6850 t
  1866. (You can also refer to previously drawn objects of each type, using the word)13 3125 1 970 7042 t
  1867. 10 CW f
  1868. (last)4128 7042 w
  1869. 10 R f
  1870. ( example, given the)3 809(. For)1 223 2 4368 7042 t
  1871. (input)720 7162 w
  1872. cleartomark
  1873. showpage
  1874. saveobj restore
  1875. %%EndPage: 8 10
  1876. %%Page: 9 11
  1877. /saveobj save def
  1878. mark
  1879. 11 pagesetup
  1880. 10 R f
  1881. (- 9 -)2 166 1 2977 480 t
  1882. 9 CW f
  1883. (box "A"; circle "B"; box "C")5 1512 1 1008 830 t
  1884. 10 R f
  1885. (then `)1 233 1 720 1010 t
  1886. 10 CW f
  1887. (last box)1 448 1 953 1010 t
  1888. 10 R f
  1889. (' refers to box)3 571 1 1401 1010 t
  1890. 10 CW f
  1891. (C)2000 1010 w
  1892. 10 R f
  1893. (, `)1 86 1 2060 1010 t
  1894. 10 CW f
  1895. (last circle)1 628 1 2146 1010 t
  1896. 10 R f
  1897. ( to circle)2 357(' refers)1 287 2 2774 1010 t
  1898. 10 CW f
  1899. (B)3447 1010 w
  1900. 10 R f
  1901. (, and `)2 260 1 3507 1010 t
  1902. 10 CW f
  1903. (2nd last box)2 658 1 3767 1010 t
  1904. 10 R f
  1905. (' refers to box)3 574 1 4425 1010 t
  1906. 10 CW f
  1907. (A)5028 1010 w
  1908. 10 R f
  1909. (. Num-)1 312 1 5088 1010 t
  1910. ( from the beginning, so boxes)5 1238(bering of objects can also be done)6 1424 2 720 1130 t
  1911. 10 CW f
  1912. (A)3417 1130 w
  1913. 10 R f
  1914. (and)3512 1130 w
  1915. 10 CW f
  1916. (C)3691 1130 w
  1917. 10 R f
  1918. (are `)1 189 1 3786 1130 t
  1919. 10 CW f
  1920. (1st box)1 395 1 3975 1130 t
  1921. 10 R f
  1922. (' and `)2 280 1 4370 1130 t
  1923. 10 CW f
  1924. (2nd box)1 395 1 4650 1130 t
  1925. 10 R f
  1926. (' respec-)1 355 1 5045 1130 t
  1927. (tively.)720 1250 w
  1928. (To cut down the need for explicit coordinates, objects have ``corners'' named by compass points:)14 3895 1 970 1406 t
  1929. 9 CW f
  1930. (B: box "B.c" ht 1 wid 1.5)6 1350 1 1008 1576 t
  1931. (" B.e" at B.e ljust)4 1026 1 1440 1686 t
  1932. (" B.ne" at B.ne ljust)4 1134 1 1440 1796 t
  1933. (" B.se" at B.se ljust)4 1134 1 1440 1906 t
  1934. ("B.s" at B.s below)3 972 1 1440 2016 t
  1935. ("B.n" at B.n above)3 972 1 1440 2126 t
  1936. ("B.sw " at B.sw rjust)4 1134 1 1440 2236 t
  1937. ("B.w " at B.w rjust)4 1026 1 1440 2346 t
  1938. ("B.nw " at B.nw rjust)4 1134 1 1440 2456 t
  1939. 10 R f
  1940. 2520 2678 2520 3398 Dl
  1941. 3600 2678 2520 2678 Dl
  1942. 3600 3398 3600 2678 Dl
  1943. 2520 3398 3600 3398 Dl
  1944. (B.c B.e)1 769 1 2992 3058 t
  1945. (B.ne)3625 2698 w
  1946. (B.se)3625 3418 w
  1947. (B.s)2995 3478 w
  1948. (B.n)2989 2638 w
  1949. (B.sw)2292 3418 w
  1950. (B.w)2331 3058 w
  1951. (B.nw)2281 2698 w
  1952. (Note the use of)3 622 1 720 3596 t
  1953. 10 CW f
  1954. (ljust)1373 3596 w
  1955. 10 R f
  1956. (,)1673 3596 w
  1957. 10 CW f
  1958. (rjust)1729 3596 w
  1959. 10 R f
  1960. (,)2029 3596 w
  1961. 10 CW f
  1962. (above)2085 3596 w
  1963. 10 R f
  1964. (, and)1 200 1 2385 3596 t
  1965. 10 CW f
  1966. (below)2616 3596 w
  1967. 10 R f
  1968. (to alter the default positioning of text, and of a blank within)11 2453 1 2947 3596 t
  1969. (some strings to help space them away from a vertical line.)10 2321 1 720 3716 t
  1970. ( arrows have a)3 584(Lines and)1 392 2 970 3872 t
  1971. 10 CW f
  1972. (start)1973 3872 w
  1973. 10 R f
  1974. (, an)1 146 1 2273 3872 t
  1975. 10 CW f
  1976. (end)2446 3872 w
  1977. 10 R f
  1978. (and a)1 215 1 2653 3872 t
  1979. 10 CW f
  1980. (center)2895 3872 w
  1981. 10 R f
  1982. ( and ellipses have cor-)4 900( Circles)1 335(in addition to corners.)3 883 3 3282 3872 t
  1983. ( words)1 286( The)1 222( has the same corners as the circle of which it is a part.)13 2399(ners too; an arc)3 666 4 720 3992 t
  1984. 10 CW f
  1985. (left)4335 3992 w
  1986. 10 R f
  1987. (,)4575 3992 w
  1988. 10 CW f
  1989. (right)4642 3992 w
  1990. 10 R f
  1991. (,)4942 3992 w
  1992. 10 CW f
  1993. (top)5009 3992 w
  1994. 10 R f
  1995. (, and)1 211 1 5189 3992 t
  1996. 10 CW f
  1997. (bottom)720 4112 w
  1998. 10 R f
  1999. (are synonyms for)2 693 1 1105 4112 t
  2000. 10 CW f
  2001. (west)1823 4112 w
  2002. 10 R f
  2003. (,)2063 4112 w
  2004. 10 CW f
  2005. (east)2113 4112 w
  2006. 10 R f
  2007. (,)2353 4112 w
  2008. 10 CW f
  2009. (north)2403 4112 w
  2010. 10 R f
  2011. (and)2728 4112 w
  2012. 10 CW f
  2013. (south)2897 4112 w
  2014. 10 R f
  2015. (.)3197 4112 w
  2016. ( example the)2 520(It is often easiest to position objects by positioning some part of one at some part of another, for)18 3910 2 970 4268 t
  2017. ( The)1 205(southwest corner of one at the southeast corner of another.)9 2333 2 720 4388 t
  2018. 10 CW f
  2019. (with)3283 4388 w
  2020. 10 R f
  2021. (attribute permits this kind of positioning:)5 1643 1 3548 4388 t
  2022. 9 CW f
  2023. (box ht 0.75 wid 0.75)4 1080 1 1008 4558 t
  2024. (box ht 0.5 wid 0.5 with .sw at last box.se)9 2268 1 1008 4668 t
  2025. 10 R f
  2026. 2610 4890 2610 5430 Dl
  2027. 3150 4890 2610 4890 Dl
  2028. 3150 5430 3150 4890 Dl
  2029. 2610 5430 3150 5430 Dl
  2030. 3150 5070 3150 5430 Dl
  2031. 3510 5070 3150 5070 Dl
  2032. 3510 5430 3510 5070 Dl
  2033. 3150 5430 3510 5430 Dl
  2034. (Notice that the corner after)4 1074 1 720 5628 t
  2035. 10 CW f
  2036. (with)1819 5628 w
  2037. 10 R f
  2038. (is written)1 375 1 2084 5628 t
  2039. 10 CW f
  2040. (.sw)2484 5628 w
  2041. 10 R f
  2042. (.)2664 5628 w
  2043. (As another example, consider)3 1186 1 970 5784 t
  2044. 9 CW f
  2045. (ellipse)1008 5954 w
  2046. (ellipse ht .2 wid .3 with .se at 1st ellipse.nw)9 2538 1 1008 6064 t
  2047. (ellipse ht .2 wid .3 with .sw at 1st ellipse.ne)9 2538 1 1008 6174 t
  2048. 10 R f
  2049. 2790 6645 540 360 De
  2050. 2685 6468 216 144 De
  2051. 3219 6468 216 144 De
  2052. ( which is not one of the eight compass)8 1636(Sometimes it is desirable to have a line intersect a circle at a point)13 2794 2 970 7095 t
  2053. (points that)1 426 1 720 7215 t
  2054. 10 I f
  2055. (pic)1177 7215 w
  2056. 10 R f
  2057. ( the attribute)2 515( such cases, the proper visual effect can be obtained by using)11 2499( In)1 139(knows about.)1 539 4 1330 7215 t
  2058. 10 CW f
  2059. (chop)5052 7215 w
  2060. 10 R f
  2061. (to)5322 7215 w
  2062. cleartomark
  2063. showpage
  2064. saveobj restore
  2065. %%EndPage: 9 11
  2066. %%Page: 10 12
  2067. /saveobj save def
  2068. mark
  2069. 12 pagesetup
  2070. 10 R f
  2071. (- 10 -)2 216 1 2952 480 t
  2072. (chop off part of the line:)5 973 1 720 840 t
  2073. 9 CW f
  2074. (circlerad = 0.15; arrowhead = 7)5 1674 1 1008 1010 t
  2075. (circle "a")1 540 1 1008 1120 t
  2076. (circle "b" at 1st circle - \(0.4, 0.6\))7 1998 1 1008 1230 t
  2077. (circle "c" at 1st circle + \(0.4, -0.6\))7 2052 1 1008 1340 t
  2078. (arrow from 1st circle to 2nd circle chop)7 2160 1 1008 1450 t
  2079. (arrow from 1st circle to 3rd circle chop)7 2160 1 1008 1560 t
  2080. 10 R f
  2081. 2952 1890 216 216 De
  2082. (a)3038 1910 w
  2083. 2664 2322 216 216 De
  2084. (b)2747 2342 w
  2085. 3240 2322 216 216 De
  2086. (c)3326 2342 w
  2087. 2832 2232 3000 1980 Dl
  2088. 2831 2231 2856 2162 Dl
  2089. 2832 2231 2862 2164 Dl
  2090. 2831 2231 2867 2167 Dl
  2091. 2831 2231 2872 2170 Dl
  2092. 2831 2231 2877 2173 Dl
  2093. 2832 2232 2882 2178 Dl
  2094. 2832 2231 2886 2182 Dl
  2095. 3287 2232 3119 1980 Dl
  2096. 3287 2231 3233 2182 Dl
  2097. 3287 2232 3237 2178 Dl
  2098. 3288 2231 3242 2173 Dl
  2099. 3288 2231 3247 2170 Dl
  2100. 3288 2231 3252 2167 Dl
  2101. 3287 2231 3257 2164 Dl
  2102. 3288 2231 3263 2162 Dl
  2103. (By default the line is chopped by)6 1321 1 720 2628 t
  2104. 10 CW f
  2105. (circlerad)2066 2628 w
  2106. 10 R f
  2107. ( may be changed:)3 701( This)1 228(at each end.)2 473 3 2631 2628 t
  2108. 9 CW f
  2109. (line ... chop)2 702 1 1008 2798 t
  2110. 9 I f
  2111. (r)1764 2798 w
  2112. 10 R f
  2113. (chops both ends by)3 769 1 720 2978 t
  2114. 10 I f
  2115. (r)1514 2978 w
  2116. 10 R f
  2117. (, and)1 194 1 1553 2978 t
  2118. 9 CW f
  2119. (line ... chop)2 702 1 1008 3148 t
  2120. 9 I f
  2121. (r1)1764 3148 w
  2122. 9 CW f
  2123. (chop)1898 3148 w
  2124. 9 I f
  2125. (r2)2168 3148 w
  2126. 10 R f
  2127. (chops the beginning by)3 963 1 720 3328 t
  2128. 10 I f
  2129. (r1)1719 3328 w
  2130. 10 R f
  2131. (and the end by)3 618 1 1844 3328 t
  2132. 10 I f
  2133. (r2)2498 3328 w
  2134. 10 R f
  2135. ( complicated intersections can be computed with the built-in)8 2510(. More)1 303 2 2587 3328 t
  2136. (trigonometric functions listed in the next section.)6 1963 1 720 3448 t
  2137. ( positioning that is sometimes useful, to refer to a point some fraction of the way)15 3345(There is one other form of)5 1085 2 970 3604 t
  2138. ( can be expressed in)4 803( This)1 228(between two other points.)3 1032 3 720 3724 t
  2139. 10 I f
  2140. (pic)2808 3724 w
  2141. 10 R f
  2142. (as)2955 3724 w
  2143. 9 I f
  2144. (fraction)1008 3894 w
  2145. 9 CW f
  2146. (of the way between)3 972 1 1347 3894 t
  2147. 9 I f
  2148. (position1)2373 3894 w
  2149. 9 CW f
  2150. (and)2762 3894 w
  2151. 9 I f
  2152. (position2)2978 3894 w
  2153. 10 R f
  2154. (where)720 4074 w
  2155. 10 I f
  2156. (fraction)1003 4074 w
  2157. 10 R f
  2158. (is any expression, and)3 927 1 1360 4074 t
  2159. 10 I f
  2160. (position1)2327 4074 w
  2161. 10 R f
  2162. (and)2740 4074 w
  2163. 10 I f
  2164. (position2)2924 4074 w
  2165. 10 R f
  2166. ( can abbreviate this rather)4 1094( You)1 237(are any positions.)2 732 3 3337 4074 t
  2167. (windy phrase; ``of the way'' is optional, and the whole thing can be written instead as)15 3433 1 720 4194 t
  2168. 9 I f
  2169. (fraction)1008 4364 w
  2170. 9 CW f
  2171. (<)1347 4364 w
  2172. 9 I f
  2173. (position1)1455 4364 w
  2174. 9 CW f
  2175. (,)1844 4364 w
  2176. 9 I f
  2177. (position2)1952 4364 w
  2178. 9 CW f
  2179. (>)2341 4364 w
  2180. 10 R f
  2181. (As a pair of examples:)4 898 1 720 4544 t
  2182. 9 CW f
  2183. (box)1008 4714 w
  2184. (arrow right from 1/3 of the way between last box.ne and last box.se)12 3618 1 1008 4824 t
  2185. (arrow right from 2/3 <last box.ne, last box.se>)7 2538 1 1008 4934 t
  2186. 10 R f
  2187. 2610 5156 2610 5516 Dl
  2188. 3150 5156 2610 5156 Dl
  2189. 3150 5516 3150 5156 Dl
  2190. 2610 5516 3150 5516 Dl
  2191. 3510 5276 3150 5276 Dl
  2192. 3510 5276 3438 5294 Dl
  2193. 3510 5276 3438 5258 Dl
  2194. 3510 5395 3150 5395 Dl
  2195. 3510 5395 3438 5413 Dl
  2196. 3510 5395 3438 5377 Dl
  2197. 9 CW f
  2198. (A: ellipse)1 594 1 1008 5764 t
  2199. (ellipse ht .2 wid .3 with .se at 1st ellipse.nw)9 2538 1 1224 5874 t
  2200. (ellipse ht .2 wid .3 with .sw at 1st ellipse.ne)9 2538 1 1224 5984 t
  2201. (circle rad .05 at 0.5 <A.nw,A.c>)5 1728 1 1224 6094 t
  2202. (circle rad .05 at 0.5 <A.ne,A.c>)5 1728 1 1224 6204 t
  2203. (arc from 0.25 <A.w,A.e> to 0.75 <A.w,A.e>)6 2214 1 1224 6314 t
  2204. 10 R f
  2205. 2790 6785 540 360 De
  2206. 2685 6608 216 144 De
  2207. 3219 6608 216 144 De
  2208. 2929 6722 72 72 De
  2209. 3119 6722 72 72 De
  2210. 2925 6785 135 -118 135 118 Da
  2211. (Naturally, the distance given by)4 1273 1 720 7163 t
  2212. 10 I f
  2213. (fraction)2018 7163 w
  2214. 10 R f
  2215. (can be greater than 1 or less than 0.)8 1410 1 2360 7163 t
  2216. ( placing them relative to previous)5 1390( suggests that the easiest way to position objects is by)10 2234(Advice: experience)1 806 3 970 7319 t
  2217. cleartomark
  2218. showpage
  2219. saveobj restore
  2220. %%EndPage: 10 12
  2221. %%Page: 11 13
  2222. /saveobj save def
  2223. mark
  2224. 13 pagesetup
  2225. 10 R f
  2226. (- 11 -)2 216 1 2952 480 t
  2227. (objects and places, using)3 993 1 720 840 t
  2228. 10 CW f
  2229. (with)1738 840 w
  2230. 10 R f
  2231. (,)1978 840 w
  2232. 10 CW f
  2233. (at)2028 840 w
  2234. 10 R f
  2235. ( is better than using)4 783( This)1 228(, etc.)1 191 3 2148 840 t
  2236. 10 CW f
  2237. (move)3375 840 w
  2238. 10 R f
  2239. (; you should generally avoid)4 1138 1 3615 840 t
  2240. 10 CW f
  2241. (move)4778 840 w
  2242. 10 R f
  2243. (.)5018 840 w
  2244. 10 B f
  2245. ( Expressions and Built-in Functions)4 1526(6. Variables,)1 561 2 720 1080 t
  2246. 10 R f
  2247. ( write everything in absolute coordinates if you are likely to change things.)12 3125(It's generally a bad idea to)5 1111 2 970 1236 t
  2248. 10 I f
  2249. (Pic)5267 1236 w
  2250. 10 R f
  2251. (variables let you parameterize your picture:)5 1737 1 720 1356 t
  2252. 9 CW f
  2253. ( = 1)2 216( b)1 162(a = 0.5;)2 432 3 1008 1526 t
  2254. (box wid a ht b)4 756 1 1008 1746 t
  2255. (ellipse wid a/2 ht 1.5*b)4 1296 1 1008 1856 t
  2256. ( - \(a/2, b/2\))3 702(Box2: Box1)1 594 2 1008 1966 t
  2257. 10 R f
  2258. (Expressions may use the standard operators)5 1744 1 720 2146 t
  2259. 10 CW f
  2260. (+)2489 2146 w
  2261. 10 R f
  2262. (,)2549 2146 w
  2263. 10 CW f
  2264. (-)2599 2146 w
  2265. 10 R f
  2266. (,)2659 2146 w
  2267. 10 CW f
  2268. (*)2709 2146 w
  2269. 10 R f
  2270. (,)2769 2146 w
  2271. 10 CW f
  2272. (/)2819 2146 w
  2273. 10 R f
  2274. (,)2879 2146 w
  2275. 10 CW f
  2276. (%)2929 2146 w
  2277. 10 R f
  2278. (,)2989 2146 w
  2279. 10 CW f
  2280. (\303)3039 2146 w
  2281. 10 R f
  2282. (\(exponentiation\), and parentheses for grouping.)4 1896 1 3124 2146 t
  2283. ( controlling the default sizes of objects, listed in Sec-)9 2147(The most important variables are the predefined ones for)8 2283 2 970 2302 t
  2284. ( may be set at any time in any picture, and retain their values from picture to picture until reset.)19 3802( These)1 288(tion 3.)1 256 3 720 2422 t
  2285. (You can use the height, width, radius, and)7 1681 1 970 2578 t
  2286. 10 I f
  2287. (x)2676 2578 w
  2288. 10 R f
  2289. (and)2745 2578 w
  2290. 10 I f
  2291. (y)2914 2578 w
  2292. 10 R f
  2293. (coordinates of any object or corner in an expression:)8 2095 1 2983 2578 t
  2294. 9 CW f
  2295. ( the)1 216(Box1.x #)1 918 2 1008 2748 t
  2296. 9 I f
  2297. (x)2196 2748 w
  2298. 9 CW f
  2299. (coordinate of the center of Box1)5 1728 1 2290 2748 t
  2300. ( the)1 216(Box1.ne.y #)1 918 2 1008 2858 t
  2301. 9 I f
  2302. (y)2196 2858 w
  2303. 9 CW f
  2304. (coordinate of the northeast corner of Box1)6 2268 1 2290 2858 t
  2305. ( the width of Box1)4 972(Box1.wid #)1 918 2 1008 2968 t
  2306. ( and its height)3 810(Box1.ht #)1 918 2 1008 3078 t
  2307. ( the radius of the 2nd last circle)7 1836( #)1 324(2nd last circle.rad)2 1026 3 1008 3188 t
  2308. 10 R f
  2309. ( such positions can be added)5 1170( furthermore)1 532( expressions enclosed in parentheses defines a position;)7 2258(Any pair of)2 470 4 970 3404 t
  2310. (or subtracted to yield new positions:)5 1452 1 720 3524 t
  2311. 9 CW f
  2312. (\()1008 3694 w
  2313. 9 I f
  2314. (x)1062 3694 w
  2315. 9 CW f
  2316. (,)1102 3694 w
  2317. 9 I f
  2318. (y)1210 3694 w
  2319. 9 CW f
  2320. (\))1250 3694 w
  2321. (\()1008 3804 w
  2322. 9 I f
  2323. (x)1062 3804 w
  2324. 6 R f
  2325. (1)1112 3822 w
  2326. 9 CW f
  2327. (,)1149 3804 w
  2328. 9 I f
  2329. (y)1257 3804 w
  2330. 6 R f
  2331. (1)1307 3822 w
  2332. 9 CW f
  2333. (\) + \()2 270 1 1344 3804 t
  2334. 9 I f
  2335. (x)1614 3804 w
  2336. 6 R f
  2337. (2)1664 3822 w
  2338. 9 CW f
  2339. (,)1701 3804 w
  2340. 9 I f
  2341. (y)1809 3804 w
  2342. 6 R f
  2343. (2)1859 3822 w
  2344. 9 CW f
  2345. (\))1896 3804 w
  2346. 10 R f
  2347. (If)720 3984 w
  2348. 10 I f
  2349. (p)811 3984 w
  2350. 7 R f
  2351. (1)872 4004 w
  2352. 10 R f
  2353. (and)940 3984 w
  2354. 10 I f
  2355. (p)1109 3984 w
  2356. 7 R f
  2357. (2)1170 4004 w
  2358. 10 R f
  2359. (are positions, then \()3 788 1 1238 3984 t
  2360. 10 I f
  2361. (p)2034 3984 w
  2362. 7 R f
  2363. (1)2095 4004 w
  2364. 10 R f
  2365. (,)2146 3984 w
  2366. 10 I f
  2367. (p)2179 3984 w
  2368. 7 R f
  2369. (2)2240 4004 w
  2370. 10 R f
  2371. (\) refers to the point \()5 823 1 2291 3984 t
  2372. 10 I f
  2373. (p)3122 3984 w
  2374. 7 R f
  2375. (1)3183 4004 w
  2376. 10 CW f
  2377. (. x)1 128 1 3234 3984 t
  2378. 10 R f
  2379. (,)3370 3984 w
  2380. 10 I f
  2381. (p)3436 3984 w
  2382. 7 R f
  2383. (2)3497 4004 w
  2384. 10 CW f
  2385. (. y)1 128 1 3548 3984 t
  2386. 10 R f
  2387. (\).)3684 3984 w
  2388. 10 I f
  2389. (Pic)970 4140 w
  2390. 10 R f
  2391. (provides a small collection of standard functions:)6 1970 1 1128 4140 t
  2392. 10 CW f
  2393. (sin)1080 4320 w
  2394. 10 R f
  2395. (\()1268 4320 w
  2396. 10 I f
  2397. (expr)1309 4320 w
  2398. 10 R f
  2399. (\),)1494 4320 w
  2400. 10 CW f
  2401. (cos)1577 4320 w
  2402. 10 R f
  2403. (\()1765 4320 w
  2404. 10 I f
  2405. (expr)1806 4320 w
  2406. 10 R f
  2407. (\),)1991 4320 w
  2408. 10 CW f
  2409. (atan 2)1 308 1 2074 4320 t
  2410. 10 R f
  2411. (\()2390 4320 w
  2412. 10 I f
  2413. (y)2431 4320 w
  2414. 10 R f
  2415. (,)2483 4320 w
  2416. 10 I f
  2417. (x)2516 4320 w
  2418. 10 R f
  2419. ( in radians\))2 449(\) \(angle)1 921 2 2568 4320 t
  2420. 10 CW f
  2421. (log)1080 4440 w
  2422. 10 R f
  2423. (\()1268 4440 w
  2424. 10 I f
  2425. (expr)1309 4440 w
  2426. 10 R f
  2427. (\),)1494 4440 w
  2428. 10 CW f
  2429. (exp)1577 4440 w
  2430. 10 R f
  2431. (\()1765 4440 w
  2432. 10 I f
  2433. (expr)1806 4440 w
  2434. 10 R f
  2435. ( both base 10\))3 563(\) \(Beware:)1 1614 2 1991 4440 t
  2436. 10 CW f
  2437. (sqrt)1080 4560 w
  2438. 10 R f
  2439. (\()1328 4560 w
  2440. 10 I f
  2441. (expr)1369 4560 w
  2442. 10 R f
  2443. (\),)1554 4560 w
  2444. 10 CW f
  2445. (max)1637 4560 w
  2446. 10 R f
  2447. (\()1825 4560 w
  2448. 10 I f
  2449. (e)1866 4560 w
  2450. 7 R f
  2451. (1)1921 4580 w
  2452. 10 R f
  2453. (,)1972 4560 w
  2454. 10 I f
  2455. (e)2005 4560 w
  2456. 7 R f
  2457. (2)2060 4580 w
  2458. 10 R f
  2459. (\),)2111 4560 w
  2460. 10 CW f
  2461. (min)2194 4560 w
  2462. 10 R f
  2463. (\()2382 4560 w
  2464. 10 I f
  2465. (e)2423 4560 w
  2466. 7 R f
  2467. (1)2478 4580 w
  2468. 10 R f
  2469. (,)2529 4560 w
  2470. 10 I f
  2471. (e)2562 4560 w
  2472. 7 R f
  2473. (2)2617 4580 w
  2474. 10 R f
  2475. (\))2668 4560 w
  2476. 10 CW f
  2477. (int)1080 4680 w
  2478. 10 R f
  2479. (\()1268 4680 w
  2480. 10 I f
  2481. (expr)1309 4680 w
  2482. 10 R f
  2483. ( part of)2 288(\) \(integer)1 2056 2 1494 4680 t
  2484. 10 I f
  2485. (expr)3863 4680 w
  2486. 10 R f
  2487. (\))4040 4680 w
  2488. 10 CW f
  2489. (rand)1080 4800 w
  2490. 10 R f
  2491. ( number between 0 and 1\))5 1039( \(random)1 2168(\( \))1 82 3 1328 4800 t
  2492. 10 B f
  2493. ( on Text)2 350(7. More)1 357 2 720 5100 t
  2494. 10 R f
  2495. ( attribute)1 371( The)1 218( associated with.)2 689(Normally, text is centered at the geometric center of the object it is)12 2814 4 970 5256 t
  2496. 10 CW f
  2497. (ljust)5100 5256 w
  2498. 10 R f
  2499. ( and)1 169(causes the left end to be at the specified point \(which means that the text lies to the right of the specified place!\),)22 4511 2 720 5376 t
  2500. 10 CW f
  2501. (rjust)720 5496 w
  2502. 10 R f
  2503. (puts the right end at the place.)6 1201 1 1045 5496 t
  2504. 10 CW f
  2505. (above)2296 5496 w
  2506. 10 R f
  2507. (and)2621 5496 w
  2508. 10 CW f
  2509. (below)2790 5496 w
  2510. 10 R f
  2511. (center the text one half line space in the given direction.)10 2237 1 3115 5496 t
  2512. (Text attributes can be compounded:)4 1431 1 970 5652 t
  2513. 9 CW f
  2514. (arrow 1 "ljust above" ljust above)5 1782 1 1008 5822 t
  2515. 10 R f
  2516. 3420 6002 2700 6002 Dl
  2517. 3420 6002 3348 6020 Dl
  2518. 3420 6002 3348 5984 Dl
  2519. (ljust above)1 436 1 3060 5962 t
  2520. (Text is most often an attribute of some other object, but you can also have self-standing text:)16 3704 1 970 6194 t
  2521. 9 CW f
  2522. ("origin" "\(0,0\)" at 0,0)3 1242 1 1008 6364 t
  2523. ("this is" "\(1,1\)" at 1,1)4 1296 1 1008 6474 t
  2524. (box ht 1 wid 1 dotted with .sw at 0,0)9 1998 1 1008 6584 t
  2525. cleartomark
  2526. showpage
  2527. saveobj restore
  2528. %%EndPage: 11 13
  2529. %%Page: 12 14
  2530. /saveobj save def
  2531. mark
  2532. 14 pagesetup
  2533. 10 R f
  2534. (- 12 -)2 216 1 2952 480 t
  2535. (origin)2581 1520 w
  2536. (\(0,0\))2605 1640 w
  2537. (this is)1 237 1 3302 800 t
  2538. (\(1,1\))3325 920 w
  2539. 7 R f
  2540. ( .)1 0(. . . . . . . . . . . . . . . . . . . . .)20 738 2 2690 1563 t
  2541. (.)3410 1527 w
  2542. (.)3410 1491 w
  2543. (.)3410 1455 w
  2544. (.)3410 1419 w
  2545. (.)3410 1383 w
  2546. (.)3410 1347 w
  2547. (.)3410 1311 w
  2548. (.)3410 1275 w
  2549. (.)3410 1239 w
  2550. (.)3410 1203 w
  2551. (.)3410 1167 w
  2552. (.)3410 1131 w
  2553. (.)3410 1095 w
  2554. (.)3410 1059 w
  2555. (.)3410 1023 w
  2556. (.)3410 987 w
  2557. (.)3410 951 w
  2558. (.)3410 915 w
  2559. (.)3410 879 w
  2560. ( .)1 0( . . . . . . . . . . . . . . . . . . . .)20 -720(. .)1 18 3 3410 843 t
  2561. (.)2690 879 w
  2562. (.)2690 915 w
  2563. (.)2690 951 w
  2564. (.)2690 987 w
  2565. (.)2690 1023 w
  2566. (.)2690 1059 w
  2567. (.)2690 1095 w
  2568. (.)2690 1131 w
  2569. (.)2690 1167 w
  2570. (.)2690 1203 w
  2571. (.)2690 1239 w
  2572. (.)2690 1275 w
  2573. (.)2690 1311 w
  2574. (.)2690 1347 w
  2575. (.)2690 1383 w
  2576. (.)2690 1419 w
  2577. (.)2690 1455 w
  2578. (.)2690 1491 w
  2579. (.)2690 1527 w
  2580. (.)2690 1563 w
  2581. 10 R f
  2582. (In effect,)1 361 1 720 1794 t
  2583. 10 I f
  2584. (n)1108 1794 w
  2585. 10 R f
  2586. (text strings are contained in an invisible box of width)9 2147 1 1185 1794 t
  2587. 10 CW f
  2588. (textwid)3360 1794 w
  2589. 10 R f
  2590. (and height)1 422 1 3808 1794 t
  2591. 10 I f
  2592. (n)4258 1794 w
  2593. 10 S f
  2594. (\264)4336 1794 w
  2595. 10 CW f
  2596. (textht)4419 1794 w
  2597. 10 R f
  2598. ( variables)1 388(. The)1 233 2 4779 1794 t
  2599. 10 CW f
  2600. (textwid)720 1914 w
  2601. 10 R f
  2602. (and)1165 1914 w
  2603. 10 CW f
  2604. (textht)1334 1914 w
  2605. 10 R f
  2606. (may be set to any values; they are normally zero.)9 1957 1 1719 1914 t
  2607. (A list of numeric expressions can be converted to a formatted string with the)13 3202 1 970 2070 t
  2608. 10 CW f
  2609. (sprintf)4209 2070 w
  2610. 10 R f
  2611. (function and used)2 734 1 4666 2070 t
  2612. (anywhere a quoted string can be:)5 1316 1 720 2190 t
  2613. 9 CW f
  2614. (B: box wid log\(20\))3 972 1 1008 2360 t
  2615. (sprintf\("width = %g, height = %g ", B.wid, B.ht\) rjust at B.w)11 3294 1 1170 2470 t
  2616. 10 R f
  2617. 2592 2692 2592 3052 Dl
  2618. 3528 2692 2592 2692 Dl
  2619. 3528 3052 3528 2692 Dl
  2620. 2592 3052 3528 3052 Dl
  2621. (width = 1.30103, height = 0.5)5 1190 1 1377 2892 t
  2622. 10 B f
  2623. ( and Splines)2 519(8. Lines)1 359 2 720 3370 t
  2624. 10 R f
  2625. (A ``line'' may actually be a path, that is, it may consist of connected segments:)14 3162 1 970 3526 t
  2626. 9 CW f
  2627. (line right 1 then down .5 left 1 then right 1)10 2430 1 1008 3696 t
  2628. 10 R f
  2629. 3420 3918 2700 3918 Dl
  2630. 2700 4278 3420 3918 Dl
  2631. 3420 4278 2700 4278 Dl
  2632. (The word)1 385 1 720 4476 t
  2633. 10 CW f
  2634. (then)1130 4476 w
  2635. 10 R f
  2636. (separates components of the path.)4 1350 1 1395 4476 t
  2637. ( begins at the same place,)5 1025( It)1 112( above.)1 289(A spline is a smooth curve guided by a set of straight lines just like the line)16 3004 4 970 4632 t
  2638. ( for a spline is)4 590( syntax)1 293( The)1 212(ends at the same place, and in between is tangent to the mid-point of each guiding line.)16 3585 4 720 4752 t
  2639. (identical to a \(path\) line except for using)7 1622 1 720 4872 t
  2640. 10 CW f
  2641. (spline)2367 4872 w
  2642. 10 R f
  2643. (instead of)1 391 1 2752 4872 t
  2644. 10 CW f
  2645. (line)3168 4872 w
  2646. 10 R f
  2647. (:)3408 4872 w
  2648. 9 CW f
  2649. (line dashed right 1 then down .5 left 1 then right 1)11 2808 1 1008 5042 t
  2650. (spline from start of last line \\)6 1728 1 1008 5152 t
  2651. (right 1 then down .5 left 1 then right 1)9 2160 1 1116 5262 t
  2652. 10 R f
  2653. 2736 5484 2700 5484 Dl
  2654. 2812 5484 2776 5484 Dl
  2655. 2887 5484 2851 5484 Dl
  2656. 2964 5484 2928 5484 Dl
  2657. 3039 5484 3003 5484 Dl
  2658. 3116 5484 3080 5484 Dl
  2659. 3191 5484 3155 5484 Dl
  2660. 3268 5484 3232 5484 Dl
  2661. 3343 5484 3307 5484 Dl
  2662. 3420 5484 3384 5484 Dl
  2663. 3388 5499 3420 5484 Dl
  2664. 3325 5529 3357 5514 Dl
  2665. 3262 5561 3294 5546 Dl
  2666. 3200 5592 3232 5577 Dl
  2667. 3138 5624 3170 5609 Dl
  2668. 3075 5655 3107 5640 Dl
  2669. 3012 5686 3044 5671 Dl
  2670. 2950 5717 2982 5702 Dl
  2671. 2887 5748 2919 5733 Dl
  2672. 2824 5780 2856 5765 Dl
  2673. 2763 5811 2795 5796 Dl
  2674. 2700 5843 2732 5828 Dl
  2675. 2736 5844 2700 5844 Dl
  2676. 2812 5844 2776 5844 Dl
  2677. 2887 5844 2851 5844 Dl
  2678. 2964 5844 2928 5844 Dl
  2679. 3039 5844 3003 5844 Dl
  2680. 3116 5844 3080 5844 Dl
  2681. 3191 5844 3155 5844 Dl
  2682. 3268 5844 3232 5844 Dl
  2683. 3343 5844 3307 5844 Dl
  2684. 3420 5844 3384 5844 Dl
  2685. 2700 5484 2700 5484 3420 5484 Ds
  2686. 2700 5484 3420 5484 2700 5844 Ds
  2687. 3420 5484 2700 5844 3420 5844 Ds
  2688. 2700 5844 3420 5844 3420 5844 Ds
  2689. (\(Long input lines can be split by ending each piece with a backslash.\))12 2776 1 720 6042 t
  2690. ( by)1 127(The elements of a path, whether line or spline, are specified as a series of points, either in absolute terms or)20 4303 2 970 6198 t
  2691. 10 CW f
  2692. (up)720 6318 w
  2693. 10 R f
  2694. (,)840 6318 w
  2695. 10 CW f
  2696. (down)890 6318 w
  2697. 10 R f
  2698. (, etc.)1 191 1 1130 6318 t
  2699. 9 CW f
  2700. (spline right then up then left then down ->)8 2322 1 1008 6488 t
  2701. 10 R f
  2702. 2902 7025 2902 7025 3262 7025 Ds
  2703. 2902 7025 3262 7025 3262 6665 Ds
  2704. 3262 7025 3262 6665 2902 6665 Ds
  2705. 3262 6665 2902 6665 2902 7025 Ds
  2706. 2902 6665 2902 7025 2902 7025 Ds
  2707. 2902 7024 2884 6952 Dl
  2708. 2902 7024 2920 6952 Dl
  2709. cleartomark
  2710. showpage
  2711. saveobj restore
  2712. %%EndPage: 12 14
  2713. %%Page: 13 15
  2714. /saveobj save def
  2715. mark
  2716. 15 pagesetup
  2717. 10 R f
  2718. (- 13 -)2 216 1 2952 480 t
  2719. 9 CW f
  2720. (spline right then up left then down ->)7 2052 1 1008 830 t
  2721. 10 R f
  2722. 2925 1322 2925 1322 3285 1322 Ds
  2723. 2925 1322 3285 1322 2925 962 Ds
  2724. 3285 1322 2925 962 2925 1322 Ds
  2725. 2925 962 2925 1322 2925 1322 Ds
  2726. 2925 1322 2907 1250 Dl
  2727. 2925 1322 2943 1250 Dl
  2728. (Notice that arrowheads may be put on the ends of a line or spline.)13 2623 1 970 1556 t
  2729. 10 B f
  2730. (9. Blocks)1 409 1 720 1796 t
  2731. 10 R f
  2732. (Any sequence of)2 696 1 970 1952 t
  2733. 10 I f
  2734. (pic)1704 1952 w
  2735. 10 R f
  2736. (statements may be enclosed in brackets)5 1637 1 1864 1952 t
  2737. 10 CW f
  2738. ([)3539 1952 w
  2739. 10 R f
  2740. (and)3637 1952 w
  2741. 10 CW f
  2742. (])3819 1952 w
  2743. 10 R f
  2744. ( a block, which can then be)6 1173(to form)1 310 2 3917 1952 t
  2745. (treated as a single object, and manipulated rather like an ordinary box:)11 2811 1 720 2072 t
  2746. 9 CW f
  2747. (box "1")1 378 1 1008 2242 t
  2748. ([ box "2"; arrow "3" above; box "4" ] with .n at last box.s - \(0,0.1\))15 3726 1 1008 2352 t
  2749. ("Thing 2: " rjust at last [].w)6 1620 1 1008 2462 t
  2750. 10 R f
  2751. 2790 2684 2790 3044 Dl
  2752. 3330 2684 2790 2684 Dl
  2753. 3330 3044 3330 2684 Dl
  2754. 2790 3044 3330 3044 Dl
  2755. (1)3035 2884 w
  2756. 2340 3116 2340 3476 Dl
  2757. 2880 3116 2340 3116 Dl
  2758. 2880 3476 2880 3116 Dl
  2759. 2340 3476 2880 3476 Dl
  2760. (2)2585 3316 w
  2761. 3240 3296 2880 3296 Dl
  2762. 3240 3296 3168 3314 Dl
  2763. 3240 3296 3168 3278 Dl
  2764. (3)3035 3256 w
  2765. 3240 3116 3240 3476 Dl
  2766. 3780 3116 3240 3116 Dl
  2767. 3780 3476 3780 3116 Dl
  2768. 3240 3476 3780 3476 Dl
  2769. ( 2:)1 103(4 Thing)1 -1273 2 3485 3316 t
  2770. (Notice that ``last''-type constructs treat blocks as a unit and don't look inside for objects: ``)15 3688 1 720 3674 t
  2771. 10 CW f
  2772. (last box.s)1 567 1 4408 3674 t
  2773. 10 R f
  2774. ( to)1 106('' refers)1 319 2 4975 3674 t
  2775. ( can use)2 321( You)1 222(box 1, not box 2 or 4.)6 861 3 720 3794 t
  2776. 10 CW f
  2777. (last [])1 420 1 2149 3794 t
  2778. 10 R f
  2779. (, etc., just like)3 561 1 2569 3794 t
  2780. 10 CW f
  2781. (last box)1 480 1 3155 3794 t
  2782. 10 R f
  2783. (.)3635 3794 w
  2784. ( is also possible to posi-)5 969( It)1 113(Blocks have the same compass corners as boxes \(determined by the bounding box\).)12 3348 3 970 3950 t
  2785. ( absolute coordinate \(like)3 1027(tion a block by placing either an)6 1323 2 720 4070 t
  2786. 10 CW f
  2787. (0,0)3100 4070 w
  2788. 10 R f
  2789. (\) or an internal label \(like)5 1042 1 3280 4070 t
  2790. 10 CW f
  2791. (A)4352 4070 w
  2792. 10 R f
  2793. (\) at some external point,)4 988 1 4412 4070 t
  2794. (as in)1 186 1 720 4190 t
  2795. 9 CW f
  2796. ([ ...; A: ...; ... ] with .A at ...)9 1890 1 1008 4360 t
  2797. 10 R f
  2798. (By default, blocks join with other things as boxes do, at the center of the appropriate side.)16 3587 1 720 4540 t
  2799. ( a block are local to that block, and thus do not affect variables and)14 2871(Names of variables and places within)5 1559 2 970 4696 t
  2800. ( particular, that includes the built-in variables like)7 2006( \(In)1 168( the same name outside.)4 965(places of)1 360 4 720 4816 t
  2801. 10 CW f
  2802. (boxwid)4246 4816 w
  2803. 10 R f
  2804. (, etc.; if they are set)5 794 1 4606 4816 t
  2805. ( can get at the internal place names)7 1448( You)1 229( the block is left.\))4 730(within a block, they revert to their original values when)9 2273 4 720 4936 t
  2806. (with constructs like)2 783 1 720 5056 t
  2807. 9 CW f
  2808. (last [].A)1 486 1 1008 5226 t
  2809. 10 R f
  2810. (or)720 5406 w
  2811. 9 CW f
  2812. (B.A)1008 5576 w
  2813. 10 R f
  2814. (where)720 5756 w
  2815. 10 CW f
  2816. (B)988 5756 w
  2817. 10 R f
  2818. (is a name attached to a block:)6 1181 1 1073 5756 t
  2819. 9 CW f
  2820. ( ])1 162( ...;)1 270( A:)1 216( ... ;)2 324(B: [)1 270 5 1008 5926 t
  2821. 10 R f
  2822. (When combined with)2 888 1 720 6106 t
  2823. 10 CW f
  2824. (define)1648 6106 w
  2825. 10 R f
  2826. (statements \(next section\), blocks provide a reasonable simulation of a procedure)10 3352 1 2048 6106 t
  2827. (mechanism.)720 6226 w
  2828. (Although blocks nest, it is currently possible to look only one level deep with constructs like)15 3734 1 970 6382 t
  2829. 10 CW f
  2830. (B.A)4731 6382 w
  2831. 10 R f
  2832. (, although)1 402 1 4911 6382 t
  2833. 10 CW f
  2834. (A)5340 6382 w
  2835. 10 R f
  2836. (may be further qualified by a corner name \(i.e.,)8 1886 1 720 6502 t
  2837. 10 CW f
  2838. (B.A.sw)2631 6502 w
  2839. 10 R f
  2840. (or)3016 6502 w
  2841. 10 CW f
  2842. (top of B.A)2 530 1 3124 6502 t
  2843. 10 R f
  2844. (are legal\).)1 398 1 3679 6502 t
  2845. (The following example illustrates most of the points made above about how blocks work:)13 3583 1 970 6658 t
  2846. cleartomark
  2847. showpage
  2848. saveobj restore
  2849. %%EndPage: 13 15
  2850. %%Page: 14 16
  2851. /saveobj save def
  2852. mark
  2853. 16 pagesetup
  2854. 10 R f
  2855. (- 14 -)2 216 1 2952 480 t
  2856. 9 CW f
  2857. ( = .1)2 270( dw)1 216( = .02;)2 378( dh)1 216(h = .5;)2 378 5 1008 830 t
  2858. ([)1008 940 w
  2859. (Ptr: [)1 324 1 1440 1050 t
  2860. (boxht = h; boxwid = dw)5 1188 1 1872 1160 t
  2861. (A: box)1 324 1 1872 1270 t
  2862. (B: box)1 324 1 1872 1380 t
  2863. (C: box)1 324 1 1872 1490 t
  2864. (box wid 2*boxwid "...")3 1188 1 1872 1600 t
  2865. (D: box)1 324 1 1872 1710 t
  2866. (])1440 1820 w
  2867. (Block: [)1 432 1 1440 1930 t
  2868. (boxht = 2*dw; boxwid = 2*dw)5 1458 1 1872 2040 t
  2869. (movewid = 2*dh)2 756 1 1872 2150 t
  2870. (A: box; move)2 648 1 1872 2260 t
  2871. (B: box; move)2 648 1 1872 2370 t
  2872. (C: box; move)2 648 1 1872 2480 t
  2873. (box invis "..." wid 2*boxwid; move)5 1836 1 1872 2590 t
  2874. (D: box)1 324 1 1872 2700 t
  2875. (] with .t at Ptr.s - \(0,h/2\))6 1512 1 1440 2810 t
  2876. (arrow from Ptr.A to Block.A.nw + \(dh,0\))6 2106 1 1440 2920 t
  2877. (arrow from Ptr.B to Block.B.nw + \(dh,0\))6 2106 1 1440 3030 t
  2878. (arrow from Ptr.C to Block.C.nw + \(dh,0\))6 2106 1 1440 3140 t
  2879. (arrow from Ptr.D to Block.D.nw + \(dh,0\))6 2106 1 1440 3250 t
  2880. (])1008 3360 w
  2881. (box dashed ht last [].ht+dw wid last [].wid+dw at last [])10 3078 1 1008 3470 t
  2882. 10 R f
  2883. (This produces)1 563 1 720 3650 t
  2884. 2843 3848 2843 4208 Dl
  2885. 2915 3848 2843 3848 Dl
  2886. 2915 4208 2915 3848 Dl
  2887. 2843 4208 2915 4208 Dl
  2888. 2915 3848 2915 4208 Dl
  2889. 2987 3848 2915 3848 Dl
  2890. 2987 4208 2987 3848 Dl
  2891. 2915 4208 2987 4208 Dl
  2892. 2987 3848 2987 4208 Dl
  2893. 3059 3848 2987 3848 Dl
  2894. 3059 4208 3059 3848 Dl
  2895. 2987 4208 3059 4208 Dl
  2896. 3059 3848 3059 4208 Dl
  2897. 3203 3848 3059 3848 Dl
  2898. 3203 4208 3203 3848 Dl
  2899. 3059 4208 3203 4208 Dl
  2900. (...)3094 4048 w
  2901. 3203 3848 3203 4208 Dl
  2902. 3275 3848 3203 3848 Dl
  2903. 3275 4208 3275 3848 Dl
  2904. 3203 4208 3275 4208 Dl
  2905. 2570 4388 2570 4532 Dl
  2906. 2714 4388 2570 4388 Dl
  2907. 2714 4532 2714 4388 Dl
  2908. 2570 4532 2714 4532 Dl
  2909. 2742 4388 2742 4532 Dl
  2910. 2886 4388 2742 4388 Dl
  2911. 2886 4532 2886 4388 Dl
  2912. 2742 4532 2886 4532 Dl
  2913. 2915 4388 2915 4532 Dl
  2914. 3059 4388 2915 4388 Dl
  2915. 3059 4532 3059 4388 Dl
  2916. 2915 4532 3059 4532 Dl
  2917. (...)3195 4480 w
  2918. 3405 4388 3405 4532 Dl
  2919. 3549 4388 3405 4388 Dl
  2920. 3549 4532 3549 4388 Dl
  2921. 3405 4532 3549 4532 Dl
  2922. 2584 4388 2879 4028 Dl
  2923. 2585 4387 2616 4321 Dl
  2924. 2585 4387 2644 4344 Dl
  2925. 2757 4388 2951 4028 Dl
  2926. 2757 4388 2775 4316 Dl
  2927. 2757 4387 2807 4333 Dl
  2928. 2930 4388 3023 4028 Dl
  2929. 2930 4387 2930 4313 Dl
  2930. 2930 4387 2965 4323 Dl
  2931. 3419 4388 3239 4028 Dl
  2932. 3419 4387 3371 4331 Dl
  2933. 3418 4387 3403 4315 Dl
  2934. 2570 4568 2534 4568 Dl
  2935. 2642 4568 2606 4568 Dl
  2936. 2714 4568 2678 4568 Dl
  2937. 2787 4568 2751 4568 Dl
  2938. 2860 4568 2824 4568 Dl
  2939. 2932 4568 2896 4568 Dl
  2940. 3004 4568 2968 4568 Dl
  2941. 3077 4568 3041 4568 Dl
  2942. 3150 4568 3114 4568 Dl
  2943. 3222 4568 3186 4568 Dl
  2944. 3295 4568 3259 4568 Dl
  2945. 3367 4568 3331 4568 Dl
  2946. 3440 4568 3404 4568 Dl
  2947. 3512 4568 3476 4568 Dl
  2948. 3585 4568 3549 4568 Dl
  2949. 3585 4532 3585 4568 Dl
  2950. 3585 4460 3585 4496 Dl
  2951. 3585 4388 3585 4424 Dl
  2952. 3585 4316 3585 4352 Dl
  2953. 3585 4244 3585 4280 Dl
  2954. 3585 4172 3585 4208 Dl
  2955. 3585 4100 3585 4136 Dl
  2956. 3585 4028 3585 4064 Dl
  2957. 3585 3956 3585 3992 Dl
  2958. 3585 3884 3585 3920 Dl
  2959. 3585 3812 3585 3848 Dl
  2960. 3549 3812 3585 3812 Dl
  2961. 3476 3812 3512 3812 Dl
  2962. 3404 3812 3440 3812 Dl
  2963. 3331 3812 3367 3812 Dl
  2964. 3259 3812 3295 3812 Dl
  2965. 3186 3812 3222 3812 Dl
  2966. 3114 3812 3150 3812 Dl
  2967. 3041 3812 3077 3812 Dl
  2968. 2968 3812 3004 3812 Dl
  2969. 2896 3812 2932 3812 Dl
  2970. 2824 3812 2860 3812 Dl
  2971. 2751 3812 2787 3812 Dl
  2972. 2678 3812 2714 3812 Dl
  2973. 2606 3812 2642 3812 Dl
  2974. 2534 3812 2570 3812 Dl
  2975. 2534 3848 2534 3812 Dl
  2976. 2534 3920 2534 3884 Dl
  2977. 2534 3992 2534 3956 Dl
  2978. 2534 4064 2534 4028 Dl
  2979. 2534 4136 2534 4100 Dl
  2980. 2534 4208 2534 4172 Dl
  2981. 2534 4280 2534 4244 Dl
  2982. 2534 4352 2534 4316 Dl
  2983. 2534 4424 2534 4388 Dl
  2984. 2534 4496 2534 4460 Dl
  2985. 2534 4568 2534 4532 Dl
  2986. 10 B f
  2987. (10. Macros)1 496 1 720 4886 t
  2988. 10 I f
  2989. (Pic)970 5042 w
  2990. 10 R f
  2991. ( the simplest form,)3 750( In)1 133(provides a basic macro facility.)4 1250 3 1128 5042 t
  2992. 9 CW f
  2993. (define)1008 5212 w
  2994. 9 I f
  2995. (name)1440 5212 w
  2996. 9 CW f
  2997. ({)1743 5212 w
  2998. 9 I f
  2999. (replacement text)1 598 1 1851 5212 t
  3000. 9 CW f
  3001. (})2503 5212 w
  3002. 10 R f
  3003. (defines)720 5392 w
  3004. 10 I f
  3005. (name)1033 5392 w
  3006. 10 R f
  3007. (to be the)2 344 1 1274 5392 t
  3008. 10 I f
  3009. (replacement text)1 662 1 1643 5392 t
  3010. 10 R f
  3011. ( subsequent occurrence of)3 1038(. Any)1 247 2 2305 5392 t
  3012. 10 I f
  3013. (name)3615 5392 w
  3014. 10 R f
  3015. (will be replaced by)3 762 1 3856 5392 t
  3016. 10 I f
  3017. (replacement text)1 662 1 4643 5392 t
  3018. 10 R f
  3019. (.)5305 5392 w
  3020. ( definition contains occurrences of)4 1416( the replacement text of a macro)6 1333( If)1 124(Macros may have arguments.)3 1199 4 970 5548 t
  3021. 10 CW f
  3022. ($1)5076 5548 w
  3023. 10 R f
  3024. (,)5196 5548 w
  3025. 10 CW f
  3026. ($2)5255 5548 w
  3027. 10 R f
  3028. (,)5375 5548 w
  3029. ( invocation for a)3 666( The)1 208( arguments when the macro is invoked.)6 1585(etc., these will be replaced by the corresponding actual)8 2221 4 720 5668 t
  3030. (macro with arguments is)3 985 1 720 5788 t
  3031. 9 CW f
  3032. (name\(arg1, arg2, ...\))2 1134 1 1008 5958 t
  3033. 10 R f
  3034. ( definitions last from picture to picture; a macro defini-)9 2250( Macro)1 315( by null strings.)3 638(Non-existent arguments are replaced)3 1477 4 720 6138 t
  3035. (tion can be removed by)4 937 1 720 6258 t
  3036. 9 CW f
  3037. (undef)1008 6428 w
  3038. 9 I f
  3039. (macro-name)1332 6428 w
  3040. 10 R f
  3041. (As an example, one might define a)6 1389 1 970 6644 t
  3042. 10 CW f
  3043. (square)2384 6644 w
  3044. 10 R f
  3045. (by)2769 6644 w
  3046. 9 CW f
  3047. ( })1 108( $2)1 216(define square { box ht $1 wid $1)7 1728 3 1008 6814 t
  3048. 10 R f
  3049. (and use it as)3 491 1 720 6994 t
  3050. cleartomark
  3051. showpage
  3052. saveobj restore
  3053. %%EndPage: 14 16
  3054. %%Page: 15 17
  3055. /saveobj save def
  3056. mark
  3057. 17 pagesetup
  3058. 10 R f
  3059. (- 15 -)2 216 1 2952 480 t
  3060. 9 CW f
  3061. (square\(1, "one" "inch"\))2 1242 1 1008 830 t
  3062. (square\(0.5\))1008 940 w
  3063. (square\(0.25, "\\s-4tiny\\s+4" dashed\))2 1890 1 1008 1050 t
  3064. 10 R f
  3065. 2430 1272 2430 1992 Dl
  3066. 3150 1272 2430 1272 Dl
  3067. 3150 1992 3150 1272 Dl
  3068. 2430 1992 3150 1992 Dl
  3069. (one)2718 1592 w
  3070. (inch)2704 1712 w
  3071. 3150 1452 3150 1812 Dl
  3072. 3510 1452 3150 1452 Dl
  3073. 3510 1812 3510 1452 Dl
  3074. 3150 1812 3510 1812 Dl
  3075. 3546 1722 3510 1722 Dl
  3076. 3618 1722 3582 1722 Dl
  3077. 3690 1722 3654 1722 Dl
  3078. 3690 1686 3690 1722 Dl
  3079. 3690 1614 3690 1650 Dl
  3080. 3690 1542 3690 1578 Dl
  3081. 3654 1542 3690 1542 Dl
  3082. 3582 1542 3618 1542 Dl
  3083. 3510 1542 3546 1542 Dl
  3084. 3510 1578 3510 1542 Dl
  3085. 3510 1650 3510 1614 Dl
  3086. 3510 1722 3510 1686 Dl
  3087. 6 R f
  3088. (tiny)3553 1652 w
  3089. 10 R f
  3090. (Notice how the second argument may be used to pass in arbitrary contents.)12 2992 1 720 2190 t
  3091. (Coordinates like)1 658 1 970 2346 t
  3092. 10 I f
  3093. (x,y)1653 2346 w
  3094. 10 R f
  3095. (may be enclosed in parentheses, as in \()7 1552 1 1791 2346 t
  3096. 10 I f
  3097. (x,y)3343 2346 w
  3098. 10 R f
  3099. (\), so they can be included in a macro argument.)9 1893 1 3456 2346 t
  3100. 10 B f
  3101. ( Copy)1 253(11. File)1 336 2 720 2586 t
  3102. 10 R f
  3103. (The statement)1 563 1 970 2742 t
  3104. 9 CW f
  3105. (copy ")1 324 1 1008 2912 t
  3106. 9 I f
  3107. (filename)1332 2912 w
  3108. 9 CW f
  3109. (")1642 2912 w
  3110. 10 R f
  3111. ( Any)1 224(inserts the contents of the named file at that point in the input.)12 2503 2 720 3092 t
  3112. 10 CW f
  3113. (.PS)3474 3092 w
  3114. 10 R f
  3115. (or)3681 3092 w
  3116. 10 CW f
  3117. (.PE)3791 3092 w
  3118. 10 R f
  3119. (lines within the file are ignored, so)6 1402 1 3998 3092 t
  3120. (previously prepared pictures can be used as parts of larger ones without editing.)12 3185 1 720 3212 t
  3121. 10 I f
  3122. (Pic)970 3368 w
  3123. 10 R f
  3124. (also provides the)2 677 1 1128 3368 t
  3125. 10 CW f
  3126. (copy thru)1 505 1 1830 3368 t
  3127. 10 R f
  3128. (mechanism found in)2 816 1 2360 3368 t
  3129. 10 I f
  3130. (grap)3201 3368 w
  3131. 10 R f
  3132. (:)3390 3368 w
  3133. 9 CW f
  3134. (copy ")1 324 1 1008 3538 t
  3135. 9 I f
  3136. (file)1332 3538 w
  3137. 9 CW f
  3138. (" thru)1 324 1 1447 3538 t
  3139. 9 I f
  3140. (macro-name)1825 3538 w
  3141. 10 R f
  3142. (copies)720 3718 w
  3143. 10 I f
  3144. (file)1005 3718 w
  3145. 10 R f
  3146. ( literal macro)2 544( A)1 128(, treating each line as an invocation of the named macro \(each field being an argument\).)15 3595 3 1133 3718 t
  3147. (may be used instead of a name:)6 1253 1 720 3838 t
  3148. 9 CW f
  3149. (copy ")1 324 1 1008 4008 t
  3150. 9 I f
  3151. (file)1332 4008 w
  3152. 9 CW f
  3153. (" thru {)2 432 1 1447 4008 t
  3154. 9 I f
  3155. (macro replacement text)2 851 1 1933 4008 t
  3156. 9 CW f
  3157. (})2838 4008 w
  3158. 10 R f
  3159. (and if no file name is given, the remainder of the input until the next)14 2733 1 720 4188 t
  3160. 10 CW f
  3161. (.PE)3479 4188 w
  3162. 10 R f
  3163. ( to plot a set of circles at points)8 1257( So)1 157(is used.)1 301 3 3685 4188 t
  3164. (whose coordinates and radii are included in-line:)6 1946 1 720 4308 t
  3165. 9 CW f
  3166. (copy thru { circle rad $3 at $1,$2 })8 1944 1 1008 4478 t
  3167. (0 0 .05)2 378 1 1008 4588 t
  3168. (1 1 .1)2 324 1 1008 4698 t
  3169. (...)1008 4808 w
  3170. 10 R f
  3171. 2646 5822 72 72 De
  3172. 3330 5102 144 144 De
  3173. 2804 5606 43 43 De
  3174. 2934 5318 72 72 De
  3175. 2682 5246 144 144 De
  3176. 2955 5174 28 28 De
  3177. 3078 5462 216 216 De
  3178. 3373 5534 57 57 De
  3179. 3204 5822 108 108 De
  3180. 3020 5642 43 43 De
  3181. (The)970 6110 w
  3182. 10 CW f
  3183. (sh)1150 6110 w
  3184. 10 R f
  3185. (command executes an arbitrary commandline:)4 1846 1 1295 6110 t
  3186. 9 CW f
  3187. (sh {)1 216 1 1008 6280 t
  3188. 9 I f
  3189. (anything)1278 6280 w
  3190. 9 CW f
  3191. (})1647 6280 w
  3192. 10 R f
  3193. (Macros within)1 580 1 720 6460 t
  3194. 10 I f
  3195. (anything)1325 6460 w
  3196. 10 R f
  3197. (are expanded first.)2 739 1 1700 6460 t
  3198. 10 B f
  3199. ( and Conditionals)2 758(12. Loops)1 437 2 720 6700 t
  3200. 10 I f
  3201. (Pic)970 6856 w
  3202. 10 R f
  3203. (provides an)1 463 1 1128 6856 t
  3204. 10 CW f
  3205. (if)1616 6856 w
  3206. 10 R f
  3207. (statement and a)2 621 1 1761 6856 t
  3208. 10 CW f
  3209. (for)2407 6856 w
  3210. 10 R f
  3211. (loop.)2612 6856 w
  3212. cleartomark
  3213. showpage
  3214. saveobj restore
  3215. %%EndPage: 15 17
  3216. %%Page: 16 18
  3217. /saveobj save def
  3218. mark
  3219. 18 pagesetup
  3220. 10 R f
  3221. (- 16 -)2 216 1 2952 480 t
  3222. 9 CW f
  3223. (pi = atan2\(0,-1\))2 864 1 1008 830 t
  3224. (for i = 0 to 2 * pi by 0.1 do {)11 1674 1 1008 940 t
  3225. ("\261" at i/2, 0)3 702 1 1440 1050 t
  3226. ("s" at i/2, sin\(i\)/2)3 1080 1 1440 1160 t
  3227. ("c" at i/2, cos\(i\)/2)3 1080 1 1440 1270 t
  3228. (})1008 1380 w
  3229. 8 R f
  3230. (\261 s)1 36 1 1924 1978 t
  3231. (c)1927 1618 w
  3232. (\261)1960 1978 w
  3233. (s)1965 1942 w
  3234. (c)1963 1619 w
  3235. (\261)1996 1978 w
  3236. (s)2001 1906 w
  3237. (c)1999 1625 w
  3238. (\261)2032 1978 w
  3239. (s)2037 1871 w
  3240. (c)2035 1633 w
  3241. (\261)2068 1978 w
  3242. (s)2073 1837 w
  3243. (c)2071 1646 w
  3244. (\261)2104 1978 w
  3245. (s)2109 1805 w
  3246. (c)2107 1661 w
  3247. (\261)2140 1978 w
  3248. (s)2145 1774 w
  3249. (c)2143 1680 w
  3250. (\261)2176 1978 w
  3251. (s)2181 1746 w
  3252. (c)2179 1702 w
  3253. (\261)2212 1978 w
  3254. (s)2217 1719 w
  3255. (c)2215 1727 w
  3256. (\261)2248 1978 w
  3257. (s)2253 1695 w
  3258. (c)2251 1754 w
  3259. (\261)2284 1978 w
  3260. (s)2289 1674 w
  3261. (c)2287 1783 w
  3262. (\261)2320 1978 w
  3263. (s)2325 1656 w
  3264. (c)2323 1814 w
  3265. (\261)2356 1978 w
  3266. (s)2361 1642 w
  3267. (c)2359 1847 w
  3268. (\261)2392 1978 w
  3269. (s)2397 1630 w
  3270. (c)2395 1881 w
  3271. (\261)2428 1978 w
  3272. (s)2433 1623 w
  3273. (c)2431 1916 w
  3274. (\261)2464 1978 w
  3275. (s)2469 1618 w
  3276. (c)2467 1952 w
  3277. (\261)2500 1978 w
  3278. (s)2505 1618 w
  3279. (c)2503 1988 w
  3280. (\261)2536 1978 w
  3281. (s)2541 1620 w
  3282. (c)2539 2024 w
  3283. (\261)2572 1978 w
  3284. (s)2577 1627 w
  3285. (c)2575 2060 w
  3286. (\261)2608 1978 w
  3287. (s)2613 1637 w
  3288. (c)2611 2094 w
  3289. (\261)2644 1978 w
  3290. (s)2649 1650 w
  3291. (c)2647 2127 w
  3292. (\261)2680 1978 w
  3293. (s)2685 1666 w
  3294. (c)2683 2159 w
  3295. (\261)2716 1978 w
  3296. (s)2721 1687 w
  3297. (c)2719 2189 w
  3298. (\261)2752 1978 w
  3299. (s)2757 1709 w
  3300. (c)2755 2217 w
  3301. (\261)2788 1978 w
  3302. (s)2793 1734 w
  3303. (c)2791 2243 w
  3304. (\261)2824 1978 w
  3305. (s)2829 1762 w
  3306. (c)2827 2266 w
  3307. (\261)2860 1978 w
  3308. (s)2865 1792 w
  3309. (c)2863 2286 w
  3310. (\261)2896 1978 w
  3311. (s)2901 1823 w
  3312. (c)2899 2303 w
  3313. (\261)2932 1978 w
  3314. (s)2937 1857 w
  3315. (c)2935 2317 w
  3316. (\261)2968 1978 w
  3317. (s)2973 1891 w
  3318. (c)2971 2327 w
  3319. (\261)3004 1978 w
  3320. (s)3009 1926 w
  3321. (c)3007 2334 w
  3322. (\261)3040 1978 w
  3323. (s)3045 1962 w
  3324. (c)3043 2338 w
  3325. (\261)3076 1978 w
  3326. (s)3081 1998 w
  3327. (c)3079 2337 w
  3328. (\261)3112 1978 w
  3329. (s)3117 2034 w
  3330. (c)3115 2333 w
  3331. (\261)3148 1978 w
  3332. (s)3153 2070 w
  3333. (c)3151 2325 w
  3334. (\261)3184 1978 w
  3335. (s)3189 2104 w
  3336. (c)3187 2314 w
  3337. (\261)3220 1978 w
  3338. (s)3225 2137 w
  3339. (c)3223 2300 w
  3340. (\261)3256 1978 w
  3341. (s)3261 2168 w
  3342. (c)3259 2283 w
  3343. (\261)3292 1978 w
  3344. (s)3297 2198 w
  3345. (c)3295 2262 w
  3346. (\261)3328 1978 w
  3347. (s)3333 2225 w
  3348. (c)3331 2239 w
  3349. (\261)3364 1978 w
  3350. (s)3369 2250 w
  3351. (c)3367 2213 w
  3352. (\261)3400 1978 w
  3353. (s)3405 2272 w
  3354. (c)3403 2184 w
  3355. (\261)3436 1978 w
  3356. (s)3441 2291 w
  3357. (c)3439 2154 w
  3358. (\261)3472 1978 w
  3359. (s)3477 2307 w
  3360. (c)3475 2122 w
  3361. (\261)3508 1978 w
  3362. (s)3513 2320 w
  3363. (c)3511 2088 w
  3364. (\261)3544 1978 w
  3365. (s)3549 2330 w
  3366. (c)3547 2053 w
  3367. (\261)3580 1978 w
  3368. (s)3585 2335 w
  3369. (c)3583 2018 w
  3370. (\261)3616 1978 w
  3371. (s)3621 2338 w
  3372. (c)3619 1982 w
  3373. (\261)3652 1978 w
  3374. (s)3657 2336 w
  3375. (c)3655 1946 w
  3376. (\261)3688 1978 w
  3377. (s)3693 2331 w
  3378. (c)3691 1911 w
  3379. (\261)3724 1978 w
  3380. (s)3729 2322 w
  3381. (c)3727 1875 w
  3382. (\261)3760 1978 w
  3383. (s)3765 2311 w
  3384. (c)3763 1841 w
  3385. (\261)3796 1978 w
  3386. (s)3801 2296 w
  3387. (c)3799 1809 w
  3388. (\261)3832 1978 w
  3389. (s)3837 2277 w
  3390. (c)3835 1778 w
  3391. (\261)3868 1978 w
  3392. (s)3873 2255 w
  3393. (c)3871 1749 w
  3394. (\261)3904 1978 w
  3395. (s)3909 2232 w
  3396. (c)3907 1723 w
  3397. (\261)3940 1978 w
  3398. (s)3945 2205 w
  3399. (c)3943 1698 w
  3400. (\261)3976 1978 w
  3401. (s)3981 2176 w
  3402. (c)3979 1677 w
  3403. (\261)4012 1978 w
  3404. (s)4017 2145 w
  3405. (c)4015 1659 w
  3406. (\261)4048 1978 w
  3407. (s)4053 2112 w
  3408. (c)4051 1643 w
  3409. (\261)4084 1978 w
  3410. (s)4089 2078 w
  3411. (c)4087 1632 w
  3412. (\261)4120 1978 w
  3413. (s)4125 2043 w
  3414. (c)4123 1623 w
  3415. (\261)4156 1978 w
  3416. (s)4161 2008 w
  3417. (c)4159 1619 w
  3418. 10 R f
  3419. (The)720 2520 w
  3420. 10 CW f
  3421. (by)902 2520 w
  3422. 10 R f
  3423. (clause is optional; if the value is preceded by a)9 1884 1 1049 2520 t
  3424. 10 CW f
  3425. (*)2960 2520 w
  3426. 10 R f
  3427. ( the)1 150( body of)2 337( The)1 207(, the steps are multiplicative, not additive.)6 1686 4 3020 2520 t
  3428. (loop is delimited by braces, which are also used for definitions,)10 2530 1 720 2640 t
  3429. 10 CW f
  3430. (copy)3275 2640 w
  3431. 10 R f
  3432. (,)3515 2640 w
  3433. 10 CW f
  3434. (sh)3565 2640 w
  3435. 10 R f
  3436. (and)3710 2640 w
  3437. 10 CW f
  3438. (if)3879 2640 w
  3439. 10 R f
  3440. (statements.)4024 2640 w
  3441. (The)970 2796 w
  3442. 10 CW f
  3443. (if)1150 2796 w
  3444. 10 R f
  3445. (statement is)1 475 1 1295 2796 t
  3446. 9 CW f
  3447. (if)1008 2966 w
  3448. 9 I f
  3449. (expression)1170 2966 w
  3450. 9 CW f
  3451. (then {)1 324 1 1609 2966 t
  3452. 9 I f
  3453. (anything)1987 2966 w
  3454. 9 CW f
  3455. (} else {)2 432 1 2356 2966 t
  3456. 9 I f
  3457. (anything)2842 2966 w
  3458. 9 CW f
  3459. (})3211 2966 w
  3460. 10 R f
  3461. (where the)1 398 1 720 3146 t
  3462. 10 CW f
  3463. (else)1151 3146 w
  3464. 10 R f
  3465. ( The)1 213(clause is optional.)2 735 2 1424 3146 t
  3466. 10 I f
  3467. (expression)2405 3146 w
  3468. 10 R f
  3469. ( relational operators:)2 844(may use the usual)3 737 2 2865 3146 t
  3470. 10 CW f
  3471. (==)4480 3146 w
  3472. 10 R f
  3473. (,)4600 3146 w
  3474. 10 CW f
  3475. (!=)4659 3146 w
  3476. 10 R f
  3477. (,)4779 3146 w
  3478. 10 CW f
  3479. (>)4838 3146 w
  3480. 10 R f
  3481. (,)4898 3146 w
  3482. 10 CW f
  3483. (>=)4957 3146 w
  3484. 10 R f
  3485. (,)5077 3146 w
  3486. 10 CW f
  3487. (<)5136 3146 w
  3488. 10 R f
  3489. (,)5196 3146 w
  3490. 10 CW f
  3491. (<=)5255 3146 w
  3492. 10 R f
  3493. (,)5375 3146 w
  3494. 10 CW f
  3495. (&&)720 3266 w
  3496. 10 R f
  3497. (, and)1 194 1 840 3266 t
  3498. 10 CW f
  3499. (||)1059 3266 w
  3500. 10 R f
  3501. (.)1179 3266 w
  3502. 9 CW f
  3503. (pi = atan2\(0,-1\))2 864 1 1008 3436 t
  3504. (for i = 0 to pi by 0.1 do {)9 1458 1 1008 3546 t
  3505. (if \(s = sin\(i\)\) > 0.8 then { s = 0.8 })11 2052 1 1440 3656 t
  3506. ("x" at i/2, s/2)3 810 1 1440 3766 t
  3507. (})1008 3876 w
  3508. 8 R f
  3509. (x)2482 4402 w
  3510. (x)2518 4366 w
  3511. (x)2554 4330 w
  3512. (x)2590 4295 w
  3513. (x)2626 4261 w
  3514. (x)2662 4229 w
  3515. (x)2698 4198 w
  3516. (x)2734 4170 w
  3517. (x)2770 4143 w
  3518. (x)2806 4119 w
  3519. (x x x x x x x x x x x x x)12 472 1 2842 4114 t
  3520. (x)3310 4133 w
  3521. (x)3346 4158 w
  3522. (x)3382 4186 w
  3523. (x)3418 4216 w
  3524. (x)3454 4247 w
  3525. (x)3490 4281 w
  3526. (x)3526 4315 w
  3527. (x)3562 4350 w
  3528. (x)3598 4386 w
  3529. 10 R f
  3530. (A string comparison using)3 1058 1 720 4584 t
  3531. 10 CW f
  3532. (==)1803 4584 w
  3533. 10 R f
  3534. (or)1948 4584 w
  3535. 10 CW f
  3536. (!=)2056 4584 w
  3537. 10 R f
  3538. (is also permitted, to compare quoted strings:)6 1774 1 2201 4584 t
  3539. 9 CW f
  3540. (if ")1 216 1 1008 4754 t
  3541. 9 I f
  3542. (string1)1224 4754 w
  3543. 9 CW f
  3544. (" == ")2 324 1 1479 4754 t
  3545. 9 I f
  3546. (string2)1803 4754 w
  3547. 9 CW f
  3548. (" then ...)2 540 1 2058 4754 t
  3549. 10 B f
  3550. (13.)720 5054 w
  3551. 10 I f
  3552. (Troff)895 5054 w
  3553. 10 B f
  3554. (Interface)1121 5054 w
  3555. 10 I f
  3556. (Pic)970 5210 w
  3557. 10 R f
  3558. (is usually run as a)4 716 1 1128 5210 t
  3559. 10 I f
  3560. (troff)1869 5210 w
  3561. 10 R f
  3562. (preprocessor:)2067 5210 w
  3563. 9 CW f
  3564. (pic file | troff -ms)4 1080 1 1008 5380 t
  3565. 10 R f
  3566. (Run it before)2 527 1 720 5560 t
  3567. 10 I f
  3568. (eqn)1272 5560 w
  3569. 10 R f
  3570. (if it is also present.)4 758 1 1441 5560 t
  3571. (If the)1 213 1 970 5716 t
  3572. 10 CW f
  3573. (.PS)1208 5716 w
  3574. 10 R f
  3575. (line looks like)2 567 1 1413 5716 t
  3576. 9 CW f
  3577. (.PS <file)1 486 1 1008 5886 t
  3578. 10 R f
  3579. (then the contents of)3 794 1 720 6066 t
  3580. 10 CW f
  3581. (file)1542 6066 w
  3582. 10 R f
  3583. (are inserted in place of the)5 1070 1 1810 6066 t
  3584. 10 CW f
  3585. (.PS)2908 6066 w
  3586. 10 R f
  3587. ( contains)1 362(line, whether or not the file)5 1102 2 3116 6066 t
  3588. 10 CW f
  3589. (.PS)4609 6066 w
  3590. 10 R f
  3591. (or)4818 6066 w
  3592. 10 CW f
  3593. (.PE)4930 6066 w
  3594. 10 R f
  3595. (. \(This)1 290 1 5110 6066 t
  3596. (feature is deprecated in favor of the)6 1417 1 720 6186 t
  3597. 10 CW f
  3598. (copy)2162 6186 w
  3599. 10 R f
  3600. (statement.\))2427 6186 w
  3601. 10 I f
  3602. (Pic)970 6342 w
  3603. 10 R f
  3604. (copies the)1 406 1 1132 6342 t
  3605. 10 CW f
  3606. (.PS)1567 6342 w
  3607. 10 R f
  3608. (and)1776 6342 w
  3609. 10 CW f
  3610. (.PE)1949 6342 w
  3611. 10 R f
  3612. (lines from input to output intact, except that it adds two things on the same line)15 3241 1 2159 6342 t
  3613. (as the)1 230 1 720 6462 t
  3614. 10 CW f
  3615. (.PS)975 6462 w
  3616. 10 R f
  3617. (:)1155 6462 w
  3618. 9 CW f
  3619. (.PS h w)2 378 1 1008 6632 t
  3620. 10 CW f
  3621. (h)720 6812 w
  3622. 10 R f
  3623. (and)813 6812 w
  3624. 10 CW f
  3625. (w)990 6812 w
  3626. 10 R f
  3627. ( The)1 214( picture height and width in units.)6 1401(are the)1 276 3 1083 6812 t
  3628. 10 CW f
  3629. (-ms)3008 6812 w
  3630. 10 R f
  3631. (macro package has definitions for)4 1388 1 3222 6812 t
  3632. 10 CW f
  3633. (.PS)4644 6812 w
  3634. 10 R f
  3635. (and)4858 6812 w
  3636. 10 CW f
  3637. (.PE)5036 6812 w
  3638. 10 R f
  3639. (that)5250 6812 w
  3640. ( the appendix.\))2 596( \(See)1 227(cause pictures to be centered and offset a bit from surrounding text.)11 2694 3 720 6932 t
  3641. (If ``)1 169 1 970 7088 t
  3642. 10 CW f
  3643. (.PF)1139 7088 w
  3644. 10 R f
  3645. ('' is used instead of)4 830 1 1319 7088 t
  3646. 10 CW f
  3647. (.PE)2186 7088 w
  3648. 10 R f
  3649. ( after printing is restored to where it was before the picture)11 2490(, the position)2 544 2 2366 7088 t
  3650. ( \(``)1 149(started, instead of being at the bottom.)6 1532 2 720 7208 t
  3651. 10 CW f
  3652. (F)2401 7208 w
  3653. 10 R f
  3654. ('' is for ``flyback.''\))3 813 1 2461 7208 t
  3655. cleartomark
  3656. showpage
  3657. saveobj restore
  3658. %%EndPage: 16 18
  3659. %%Page: 17 19
  3660. /saveobj save def
  3661. mark
  3662. 19 pagesetup
  3663. 10 R f
  3664. (- 17 -)2 216 1 2952 480 t
  3665. (Any input line that begins with a period is assumed to be a)12 2379 1 970 840 t
  3666. 10 I f
  3667. (troff)3377 840 w
  3668. 10 R f
  3669. ( that point; it is)4 623(command that makes sense at)4 1199 2 3578 840 t
  3670. ( is asking for trouble to add vertical space or in any way fiddle)13 2537( It)1 114( document.)1 447(copied to the output at that point in the)8 1582 4 720 960 t
  3671. (with the line spacing here, but point size and font changes are generally harmless:)13 3266 1 720 1080 t
  3672. 9 CW f
  3673. (.ps 24)1 324 1 1008 1250 t
  3674. (circle radius .4 at 0,0)4 1242 1 1008 1360 t
  3675. (.ps 12)1 324 1 1008 1470 t
  3676. (circle radius .2 at 0,0)4 1242 1 1008 1580 t
  3677. (.ps 8)1 270 1 1008 1690 t
  3678. (circle radius .1 at 0,0)4 1242 1 1008 1800 t
  3679. (.ps 6)1 270 1 1008 1910 t
  3680. (circle radius .05 at 0,0)4 1296 1 1008 2020 t
  3681. ( don't forget to restore size)5 1566( \\")1 216(.ps 10)1 324 3 1008 2130 t
  3682. 24 R f
  3683. 2772 2640 576 576 De
  3684. 12 R f
  3685. 2916 2640 288 288 De
  3686. 8 R f
  3687. 2988 2640 144 144 De
  3688. 6 R f
  3689. 3024 2640 72 72 De
  3690. 10 I f
  3691. (Pic)720 3126 w
  3692. 10 R f
  3693. (does preserve the state of)4 1008 1 878 3126 t
  3694. 10 I f
  3695. (troff)1911 3126 w
  3696. 10 R f
  3697. ('s fill mode across pictures.)4 1101 1 2084 3126 t
  3698. ( in)1 132( also safe to include sizes, fonts and local motions within quoted strings \)..."")13 3135(It is)1 156 3 970 3282 t
  3699. 10 I f
  3700. (pic)4422 3282 w
  3701. 10 R f
  3702. (, so long as whatever)4 856 1 4544 3282 t
  3703. ( example, to print text in Helvetica Bold 2 points larger:)10 2240( For)1 189(changes are made are unmade before exiting the string.)8 2202 3 720 3402 t
  3704. 9 CW f
  3705. (ellipse "\\s+2\\f\(HBSmile!\\fP\\s-2")1 1728 1 1008 3572 t
  3706. 10 R f
  3707. 2790 3974 540 360 De
  3708. 12 HB f
  3709. (Smile!)2879 3994 w
  3710. 10 R f
  3711. (This is essentially the same rule as applies in)8 1793 1 720 4352 t
  3712. 10 I f
  3713. (eqn)2538 4352 w
  3714. 10 R f
  3715. (.)2682 4352 w
  3716. (There is a subtle problem with complicated equations inside)8 2411 1 970 4508 t
  3717. 10 I f
  3718. (pic)3407 4508 w
  3719. 10 R f
  3720. ( they come out wrong if)5 967(pictures \320)1 442 2 3555 4508 t
  3721. 10 I f
  3722. (eqn)4991 4508 w
  3723. 10 R f
  3724. (has to)1 238 1 5162 4508 t
  3725. ( your equation involves more than subscripts and superscripts, you)9 2781( If)1 129(leave extra vertical space for the equation.)6 1770 3 720 4628 t
  3726. (must add to the beginning of each equation the extra information)10 2591 1 720 4748 t
  3727. 10 CW f
  3728. (space 0)1 420 1 3336 4748 t
  3729. 10 R f
  3730. (:)3756 4748 w
  3731. 9 CW f
  3732. (arrow)1008 4918 w
  3733. (box "$space 0 {H\( omega \)} over {1 - H\( omega \)}$")11 2700 1 1008 5028 t
  3734. (arrow)1008 5138 w
  3735. 10 R f
  3736. 2790 5540 2430 5540 Dl
  3737. 2790 5540 2718 5558 Dl
  3738. 2790 5540 2718 5522 Dl
  3739. 2790 5360 2790 5720 Dl
  3740. 3330 5360 2790 5360 Dl
  3741. 3330 5720 3330 5360 Dl
  3742. 2790 5720 3330 5720 Dl
  3743. (1)2876 5630 w
  3744. 10 S f
  3745. (-)2942 5630 w
  3746. 10 I f
  3747. (H)3013 5630 w
  3748. 10 R f
  3749. (\()3093 5630 w
  3750. 10 S f
  3751. (w)3134 5630 w
  3752. 10 R f
  3753. (\))3211 5630 w
  3754. 10 I f
  3755. (H)2945 5500 w
  3756. 10 R f
  3757. (\()3025 5500 w
  3758. 10 S f
  3759. (w)3066 5500 w
  3760. 10 R f
  3761. (\))3143 5500 w
  3762. 10 S1 f
  3763. (________)2862 5530 w
  3764. 3690 5540 3330 5540 Dl
  3765. 3690 5540 3618 5558 Dl
  3766. 3690 5540 3618 5522 Dl
  3767. 10 B f
  3768. ( Examples)1 442(14. Some)1 408 2 720 6038 t
  3769. 10 R f
  3770. (Here are a handful of larger examples:)6 1533 1 970 6194 t
  3771. cleartomark
  3772. showpage
  3773. saveobj restore
  3774. %%EndPage: 17 19
  3775. %%Page: 18 20
  3776. /saveobj save def
  3777. mark
  3778. 20 pagesetup
  3779. 10 R f
  3780. (- 18 -)2 216 1 2952 480 t
  3781. 8 CW f
  3782. 2016 1170 2016 1314 Dl
  3783. 2232 1170 2016 1170 Dl
  3784. 2232 1314 2232 1170 Dl
  3785. 2016 1314 2232 1314 Dl
  3786. 2016 1314 2016 1458 Dl
  3787. 2232 1314 2016 1314 Dl
  3788. 2232 1458 2232 1314 Dl
  3789. 2016 1458 2232 1458 Dl
  3790. 2016 1458 2016 1602 Dl
  3791. 2232 1458 2016 1458 Dl
  3792. 2232 1602 2232 1458 Dl
  3793. 2016 1602 2232 1602 Dl
  3794. 2016 1602 2016 2034 Dl
  3795. 2232 1602 2016 1602 Dl
  3796. 2232 2034 2232 1602 Dl
  3797. 2016 2034 2232 2034 Dl
  3798. (.)2100 1714 w
  3799. (.)2100 1834 w
  3800. (.)2100 1954 w
  3801. 2016 2034 2016 2178 Dl
  3802. 2232 2034 2016 2034 Dl
  3803. 2232 2178 2232 2034 Dl
  3804. 2016 2178 2232 2178 Dl
  3805. 2016 2178 2016 2322 Dl
  3806. 2232 2178 2016 2178 Dl
  3807. 2232 2322 2232 2178 Dl
  3808. 2016 2322 2232 2322 Dl
  3809. (hashtab:)1608 1258 w
  3810. 2520 882 2520 1026 Dl
  3811. 2880 882 2520 882 Dl
  3812. 2880 1026 2880 882 Dl
  3813. 2520 1026 2880 1026 Dl
  3814. (...)2628 970 w
  3815. 2880 882 2880 1026 Dl
  3816. 3024 882 2880 882 Dl
  3817. 3024 1026 3024 882 Dl
  3818. 2880 1026 3024 1026 Dl
  3819. (n1)2904 970 w
  3820. 3024 882 3024 1026 Dl
  3821. 3240 882 3024 882 Dl
  3822. 3240 1026 3240 882 Dl
  3823. 3024 1026 3240 1026 Dl
  3824. (d1)3084 970 w
  3825. 3240 882 3240 1026 Dl
  3826. 3528 882 3240 882 Dl
  3827. 3528 1026 3528 882 Dl
  3828. 3240 1026 3528 1026 Dl
  3829. (n3)3336 970 w
  3830. 3528 882 3528 1026 Dl
  3831. 3744 882 3528 882 Dl
  3832. 3744 1026 3744 882 Dl
  3833. 3528 1026 3744 1026 Dl
  3834. (d3)3588 970 w
  3835. 3744 882 3744 1026 Dl
  3836. 4032 882 3744 882 Dl
  3837. 4032 1026 4032 882 Dl
  3838. 3744 1026 4032 1026 Dl
  3839. (...)3816 970 w
  3840. 4032 882 4032 1026 Dl
  3841. 4392 882 4032 882 Dl
  3842. 4392 1026 4392 882 Dl
  3843. 4032 1026 4392 1026 Dl
  3844. (n2)4164 970 w
  3845. 4392 882 4392 1026 Dl
  3846. 4536 882 4392 882 Dl
  3847. 4536 1026 4536 882 Dl
  3848. 4392 1026 4536 1026 Dl
  3849. (d2)4416 970 w
  3850. 2484 1386 2124 1386 Dl
  3851. 2484 1386 2412 1404 Dl
  3852. 2484 1386 2412 1368 Dl
  3853. 2484 1350 2484 1422 Dl
  3854. 2592 1350 2484 1350 Dl
  3855. 2592 1422 2592 1350 Dl
  3856. 2484 1422 2592 1422 Dl
  3857. 2484 1422 2484 1494 Dl
  3858. 2592 1422 2484 1422 Dl
  3859. 2592 1494 2592 1422 Dl
  3860. 2484 1494 2592 1494 Dl
  3861. 2484 1494 2484 1566 Dl
  3862. 2592 1494 2484 1494 Dl
  3863. 2592 1566 2592 1494 Dl
  3864. 2484 1566 2592 1566 Dl
  3865. 2538 1386 2538 1386 2682 1386 Ds
  3866. 2538 1386 2682 1386 2916 1026 Ds
  3867. 2682 1386 2916 1026 2916 1026 Ds
  3868. 2915 1026 2891 1095 Dl
  3869. 2916 1026 2862 1076 Dl
  3870. 2538 1458 2538 1458 2754 1458 Ds
  3871. 2538 1458 2754 1458 3060 1026 Ds
  3872. 2754 1458 3060 1026 3060 1026 Ds
  3873. 3059 1026 3033 1095 Dl
  3874. 3059 1026 3003 1074 Dl
  3875. 2898 1530 2538 1530 Dl
  3876. 2898 1530 2826 1548 Dl
  3877. 2898 1530 2826 1512 Dl
  3878. 2898 1494 2898 1566 Dl
  3879. 3006 1494 2898 1494 Dl
  3880. 3006 1566 3006 1494 Dl
  3881. 2898 1566 3006 1566 Dl
  3882. 2898 1566 2898 1638 Dl
  3883. 3006 1566 2898 1566 Dl
  3884. 3006 1638 3006 1566 Dl
  3885. 2898 1638 3006 1638 Dl
  3886. 2898 1638 2898 1710 Dl
  3887. 3006 1638 2898 1638 Dl
  3888. 3006 1710 3006 1638 Dl
  3889. 2898 1710 3006 1710 Dl
  3890. 2952 1530 2952 1530 3096 1530 Ds
  3891. 2952 1530 3096 1530 3996 1170 Ds
  3892. 3096 1530 3996 1170 4068 1026 Ds
  3893. 3996 1170 4068 1026 4068 1026 Ds
  3894. 4067 1026 4052 1098 Dl
  3895. 4067 1026 4019 1082 Dl
  3896. 2952 1602 2952 1602 3168 1602 Ds
  3897. 2952 1602 3168 1602 4356 1170 Ds
  3898. 3168 1602 4356 1170 4428 1026 Ds
  3899. 4356 1170 4428 1026 4428 1026 Ds
  3900. 4427 1026 4412 1098 Dl
  3901. 4427 1026 4379 1082 Dl
  3902. 2844 2106 2124 2106 Dl
  3903. 2844 2106 2772 2124 Dl
  3904. 2844 2106 2772 2088 Dl
  3905. 2844 2070 2844 2142 Dl
  3906. 2952 2070 2844 2070 Dl
  3907. 2952 2142 2952 2070 Dl
  3908. 2844 2142 2952 2142 Dl
  3909. 2844 2142 2844 2214 Dl
  3910. 2952 2142 2844 2142 Dl
  3911. 2952 2214 2952 2142 Dl
  3912. 2844 2214 2952 2214 Dl
  3913. 2844 2214 2844 2286 Dl
  3914. 2952 2214 2844 2214 Dl
  3915. 2952 2286 2952 2214 Dl
  3916. 2844 2286 2952 2286 Dl
  3917. 2898 2106 2898 2106 3042 2106 Ds
  3918. 2898 2106 3042 2106 3276 1026 Ds
  3919. 3042 2106 3276 1026 3276 1026 Ds
  3920. 3276 1026 3278 1100 Dl
  3921. 3275 1026 3242 1092 Dl
  3922. 2898 2178 2898 2178 3114 2178 Ds
  3923. 2898 2178 3114 2178 3564 1026 Ds
  3924. 3114 2178 3564 1026 3564 1026 Ds
  3925. 3563 1026 3554 1099 Dl
  3926. 3563 1026 3520 1086 Dl
  3927. (ndblock)3648 2122 w
  3928. 3565 2113 3600 2106 Dl
  3929. 3489 2128 3524 2121 Dl
  3930. 3413 2143 3448 2136 Dl
  3931. 3337 2159 3372 2152 Dl
  3932. 3261 2174 3296 2167 Dl
  3933. 3185 2190 3220 2183 Dl
  3934. 3109 2206 3144 2199 Dl
  3935. 3110 2206 3176 2174 Dl
  3936. 3109 2207 3183 2209 Dl
  3937. (ndtable:)2112 970 w
  3938. 9 CW f
  3939. (define ndblock {)2 864 1 1008 2680 t
  3940. (box wid boxwid/2 ht boxht/2)4 1458 1 1440 2780 t
  3941. ( same)1 270( box)1 324( same with .t at bottom of last box;)8 1944(down; box)1 540 4 1440 2880 t
  3942. (})1008 2980 w
  3943. (boxht = .2; boxwid = .3; circlerad = .3; dx = 0.05)11 2700 1 1008 3080 t
  3944. (down; box; box; box; box ht 3*boxht "." "." ".")9 2538 1 1008 3180 t
  3945. (L: box; box; box invis wid 2*boxwid "hashtab:" with .e at 1st box .w)13 3672 1 1008 3280 t
  3946. (right)1008 3380 w
  3947. (Start: box wid .5 with .sw at 1st box.ne + \(.4,.2\) "...")11 3024 1 1008 3480 t
  3948. ( box wid .3 "d1")4 864( D1:)1 270(N1: box wid .2 "n1";)4 1080 3 1008 3580 t
  3949. ( box wid .3 "d3")4 864( D3:)1 270(N3: box wid .4 "n3";)4 1080 3 1008 3680 t
  3950. (box wid .4 "...")3 864 1 1008 3780 t
  3951. ( box wid .2 "d2")4 864( D2:)1 270(N2: box wid .5 "n2";)4 1080 3 1008 3880 t
  3952. (arrow right from 2nd box)4 1296 1 1008 3980 t
  3953. (ndblock)1008 4080 w
  3954. (spline -> right .2 from 3rd last box then to N1.sw + \(dx,0\))12 3186 1 1008 4180 t
  3955. (spline -> right .3 from 2nd last box then to D1.sw + \(dx,0\))12 3186 1 1008 4280 t
  3956. (arrow right from last box)4 1350 1 1008 4380 t
  3957. (ndblock)1008 4480 w
  3958. (spline -> right .2 from 3rd last box to N2.sw-\(dx,.2\) to N2.sw+\(dx,0\))11 3726 1 1008 4580 t
  3959. (spline -> right .3 from 2nd last box to D2.sw-\(dx,.2\) to D2.sw+\(dx,0\))11 3726 1 1008 4680 t
  3960. (arrow right 2*linewid from L)4 1512 1 1008 4780 t
  3961. (ndblock)1008 4880 w
  3962. (spline -> right .2 from 3rd last box to N3.sw + \(dx,0\))11 2916 1 1008 4980 t
  3963. (spline -> right .3 from 2nd last box to D3.sw + \(dx,0\))11 2916 1 1008 5080 t
  3964. (circlerad = .3)2 756 1 1008 5180 t
  3965. ( last box.e + \(1.2,.2\))4 1188( at)1 216(circle invis "ndblock")2 1188 3 1008 5280 t
  3966. (arrow dashed from last circle.w to last box chop 0 chop .3)11 3132 1 1008 5380 t
  3967. (box invis wid 2*boxwid "ndtable:" with .e at Start.w)8 2808 1 1008 5480 t
  3968. cleartomark
  3969. showpage
  3970. saveobj restore
  3971. %%EndPage: 18 20
  3972. %%Page: 19 21
  3973. /saveobj save def
  3974. mark
  3975. 21 pagesetup
  3976. 10 R f
  3977. (- 19 -)2 216 1 2952 480 t
  3978. 8 R f
  3979. 1683 2787 1260 2787 Dl
  3980. 1683 2788 1599 2808 Dl
  3981. 1683 2786 1599 2766 Dl
  3982. (source)1368 2743 w
  3983. (code)1396 2863 w
  3984. 1683 2576 1683 2999 Dl
  3985. 2318 2576 1683 2576 Dl
  3986. 2319 2999 2319 2576 Dl
  3987. 1684 2999 2319 2999 Dl
  3988. (lexical)1895 2743 w
  3989. (analyzer)1866 2863 w
  3990. 2742 2787 2319 2787 Dl
  3991. 2741 2788 2657 2808 Dl
  3992. 2741 2786 2657 2766 Dl
  3993. (tokens)2426 2743 w
  3994. 2742 2576 2742 2999 Dl
  3995. 3377 2576 2742 2576 Dl
  3996. 3377 2999 3377 2576 Dl
  3997. 2742 2999 3377 2999 Dl
  3998. (parser)2964 2803 w
  3999. 3800 2787 3377 2787 Dl
  4000. 3800 2788 3716 2808 Dl
  4001. 3800 2786 3716 2766 Dl
  4002. (intermediate)3391 2743 w
  4003. (code)3514 2863 w
  4004. 3800 2576 3800 2999 Dl
  4005. 4435 2576 3800 2576 Dl
  4006. 4436 2999 4436 2576 Dl
  4007. 3801 2999 4436 2999 Dl
  4008. (semantic)3978 2743 w
  4009. (checker)3996 2863 w
  4010. 4859 2787 4436 2787 Dl
  4011. 4859 2788 4775 2808 Dl
  4012. 4859 2786 4775 2766 Dl
  4013. 2000 2575 1980 2491 Dl
  4014. 2002 2575 2022 2491 Dl
  4015. 2000 2153 2000 2576 Dl
  4016. 2002 2153 2022 2237 Dl
  4017. 2000 2153 1980 2237 Dl
  4018. 1683 1729 1683 2152 Dl
  4019. 2318 1728 1683 1728 Dl
  4020. 2319 2151 2319 1728 Dl
  4021. 1684 2152 2319 2152 Dl
  4022. (lexical)1895 1897 w
  4023. (corrector)1858 2017 w
  4024. 3059 2575 3039 2491 Dl
  4025. 3060 2575 3080 2491 Dl
  4026. 3060 2153 3060 2576 Dl
  4027. 3060 2153 3080 2237 Dl
  4028. 3059 2153 3039 2237 Dl
  4029. 2742 1729 2742 2152 Dl
  4030. 3377 1728 2742 1728 Dl
  4031. 3377 2151 3377 1728 Dl
  4032. 2742 2152 3377 2152 Dl
  4033. (syntactic)2919 1897 w
  4034. (corrector)2918 2017 w
  4035. 3060 1305 3060 1728 Dl
  4036. 3060 1306 3080 1390 Dl
  4037. 3059 1306 3039 1390 Dl
  4038. 2742 882 2742 1305 Dl
  4039. 3377 882 2742 882 Dl
  4040. 3377 1305 3377 882 Dl
  4041. 2742 1305 3377 1305 Dl
  4042. (diagnostic)2897 989 w
  4043. (message)2926 1109 w
  4044. (printer)2955 1229 w
  4045. 3378 1092 3462 1072 Dl
  4046. 3378 1095 3462 1115 Dl
  4047. 3800 1093 3377 1093 Dl
  4048. 3800 1095 3716 1115 Dl
  4049. 3800 1092 3716 1072 Dl
  4050. 3800 882 3800 1305 Dl
  4051. 4435 882 3800 882 Dl
  4052. 4436 1305 4436 882 Dl
  4053. 3801 1305 4436 1305 Dl
  4054. (symbol)4002 1049 w
  4055. (table)4042 1169 w
  4056. 2742 1305 2319 1728 Dl
  4057. 2741 1306 2697 1380 Dl
  4058. 2741 1306 2667 1350 Dl
  4059. 3377 1306 3800 2576 Dl
  4060. 3378 1306 3424 1379 Dl
  4061. 3378 1305 3384 1392 Dl
  4062. 4117 2575 4097 2491 Dl
  4063. 4120 2575 4140 2491 Dl
  4064. 4119 1306 4119 2576 Dl
  4065. 4120 1306 4140 1390 Dl
  4066. 4117 1306 4097 1390 Dl
  4067. 9 CW f
  4068. (.PS 5)1 270 1 1008 3283 t
  4069. (.ps 8)1 270 1 1008 3393 t
  4070. (arrow "source" "code")2 1134 1 1440 3503 t
  4071. ( "lexical" "analyzer")2 1134(LA: box)1 594 2 1008 3613 t
  4072. (arrow "tokens" above)2 1080 1 1440 3723 t
  4073. ( "parser")1 486(P: box)1 594 2 1008 3833 t
  4074. (arrow "intermediate" "code")2 1458 1 1440 3943 t
  4075. ( "semantic" "checker")2 1134(Sem: box)1 594 2 1008 4053 t
  4076. (arrow)1440 4163 w
  4077. (arrow <-> up from top of LA)6 1458 1 1440 4383 t
  4078. ( "lexical" "corrector")2 1188(LC: box)1 594 2 1008 4493 t
  4079. (arrow <-> up from top of P)6 1404 1 1440 4603 t
  4080. ( "syntactic" "corrector")2 1296(Syn: box)1 594 2 1008 4713 t
  4081. (arrow up)1 432 1 1440 4823 t
  4082. ( "diagnostic" "message" "printer")3 1782(DMP: box)1 594 2 1008 4933 t
  4083. ( right of DMP)3 702( from)1 324(arrow <-> right)2 810 3 1440 5043 t
  4084. ( "symbol" "table")2 918(ST: box)1 594 2 1008 5153 t
  4085. (arrow from LC.ne to DMP.sw)4 1404 1 1440 5263 t
  4086. (arrow from Sem.nw to DMP.se)4 1458 1 1440 5373 t
  4087. (arrow <-> from Sem.top to ST.bot)5 1728 1 1440 5483 t
  4088. (.PE)1008 5593 w
  4089. 10 R f
  4090. (There are eighteen objects \(boxes and arrows\) in the picture, and one line of)13 3049 1 970 5809 t
  4091. 10 I f
  4092. (pic)4045 5809 w
  4093. 10 R f
  4094. (input for each; this seems like)5 1206 1 4194 5809 t
  4095. (an acceptable level of verbosity.)4 1288 1 720 5929 t
  4096. cleartomark
  4097. showpage
  4098. saveobj restore
  4099. %%EndPage: 19 21
  4100. %%Page: 20 22
  4101. /saveobj save def
  4102. mark
  4103. 22 pagesetup
  4104. 10 R f
  4105. (- 20 -)2 216 1 2952 480 t
  4106. 8 R f
  4107. 1834 1422 360 360 De
  4108. (DISK)1921 1438 w
  4109. 2554 1422 2194 1422 Dl
  4110. 2554 1422 2482 1440 Dl
  4111. 2554 1422 2482 1404 Dl
  4112. (character)2230 1378 w
  4113. (defns)2288 1498 w
  4114. 2554 1242 2554 1602 Dl
  4115. 3094 1242 2554 1242 Dl
  4116. 3094 1602 3094 1242 Dl
  4117. 2554 1602 3094 1602 Dl
  4118. (CPU)2746 1378 w
  4119. (\(16-bit mini\))1 408 1 2620 1498 t
  4120. 2824 1242 2806 1170 Dl
  4121. 2824 1242 2842 1170 Dl
  4122. 2824 882 2824 1242 Dl
  4123. (input)2640 1078 w
  4124. 3454 1422 3094 1422 Dl
  4125. 3454 1422 3382 1440 Dl
  4126. 3454 1422 3382 1404 Dl
  4127. (CRT)3514 1438 w
  4128. 3454 1368 3454 1476 Dl
  4129. 3814 1368 3454 1368 Dl
  4130. 4174 1188 3814 1368 Dl
  4131. 4174 1656 4174 1188 Dl
  4132. 3814 1476 4174 1656 Dl
  4133. 3454 1476 3814 1476 Dl
  4134. 4210 882 4228 954 Dl
  4135. 4210 882 4192 954 Dl
  4136. 4210 1962 4210 882 Dl
  4137. (... paper)1 276 1 4230 1798 t
  4138. 4134 1062 72 72 De
  4139. 4213 1062 72 72 De
  4140. (rollers)4342 1078 w
  4141. 10 R f
  4142. (Basic Digital Typesetter)2 971 1 2574 2160 t
  4143. 9 CW f
  4144. (.PS)1008 2476 w
  4145. (.ps -2)1 324 1 1008 2576 t
  4146. (circle "DISK")1 702 1 1440 2676 t
  4147. (arrow "character" "defns")2 1350 1 1440 2776 t
  4148. ( "CPU" "\(16-bit mini\)")3 1188(CPU: box)1 594 2 1008 2876 t
  4149. ({ arrow <- from top of CPU up "input " rjust })11 2484 1 1440 2976 t
  4150. (arrow)1440 3076 w
  4151. ( ljust)1 324( CRT")1 378(CRT: ")1 486 3 1008 3176 t
  4152. (line from CRT - 0,0.075 up 0.15 \\)7 1782 1 1440 3276 t
  4153. (then right 0.5 \\)3 864 1 1872 3376 t
  4154. (then right 0.5 up 0.25 \\)5 1296 1 1872 3476 t
  4155. (then down 0.5+0.15 \\)3 1080 1 1872 3576 t
  4156. (then left 0.5 up 0.25 \\)5 1242 1 1872 3676 t
  4157. (then left 0.5)2 702 1 1872 3776 t
  4158. ( + 1.05,0.75)2 648(Paper: CRT)1 594 2 1008 3876 t
  4159. (arrow <- from Paper down 1.5)5 1512 1 1440 3976 t
  4160. ( ljust at end of last arrow + 0, 0.25)9 1998( paper")1 432(" ...)1 270 3 1440 4076 t
  4161. (circle rad 0.05 at Paper + \(-0.055, -0.25\))7 2268 1 1440 4176 t
  4162. (circle rad 0.05 at Paper + \(0.055, -0.25\))7 2214 1 1440 4276 t
  4163. ( ljust at Paper + \(0.1, -0.25\))6 1620(" rollers")1 648 2 1440 4376 t
  4164. (.ps +2)1 324 1 1008 4476 t
  4165. (.PE)1008 4576 w
  4166. (.ce)1008 4676 w
  4167. (Basic Digital Typesetter)2 1296 1 1008 4776 t
  4168. 10 B f
  4169. (Acknowledgements)720 5076 w
  4170. 10 R f
  4171. ( versions of)2 486(I am indebted to Chris Van Wyk for ideas from several)10 2291 2 970 5232 t
  4172. 10 I f
  4173. (ideal)3782 5232 w
  4174. 10 R f
  4175. ( and Doug McIlroy have also)5 1217(. He)1 201 2 3982 5232 t
  4176. ( for line and circle drawing, and made useful suggestions on the design of)13 2984(contributed algorithms)1 912 2 720 5352 t
  4177. 10 I f
  4178. (pic)4644 5352 w
  4179. 10 R f
  4180. ( Pavlidis)1 351(. Theo)1 283 2 4766 5352 t
  4181. ( Charles)1 362( of an arc.)3 419(contributed the basic spline algorithm; Eric Grosse provided code to compute the bounding box)13 3899 3 720 5472 t
  4182. ( of the language and)4 809(Wetherell pointed out reference [2] to me, and made several valuable criticisms on an early draft)15 3871 2 720 5592 t
  4183. ( improved by suggestions from Jim Blinn and Mark Miller.)9 2417( exposition in this manual has been greatly)7 1735(manual. The)1 528 3 720 5712 t
  4184. ( cheer-)1 274(I am grateful to my early users \320 Brenda Baker, Dottie Luciani, and Paul Tukey \320 for their suggestions and)19 4406 2 720 5832 t
  4185. (ful use of an often shaky and clumsy system.)8 1795 1 720 5952 t
  4186. (More recent versions of)3 959 1 970 6108 t
  4187. 10 I f
  4188. (pic)1957 6108 w
  4189. 10 R f
  4190. ( Jon Bentley and Ravi Sethi; their)6 1374(have benefited greatly from adventurous use by)6 1919 2 2107 6108 t
  4191. (comments on the manual are also much appreciated.)7 2090 1 720 6228 t
  4192. 10 B f
  4193. (References)720 6468 w
  4194. 10 R f
  4195. ( Laboratories internal memorandum, May 1979.)5 1922( Bell)1 217( \320 A viewgraph generating language.)5 1524( V)1 122(1. Anon.)1 347 5 820 6660 t
  4196. ( Livermore)1 456( Lawrence)1 451( \320 A picture-drawing language for the Trix/Red Report Editor.)9 2621( PICTURE)1 476( J.C.)1 190(2. Beatty,)1 386 6 820 6816 t
  4197. (Laboratory Report UCID-30156, April 1977.)4 1803 1 920 6936 t
  4198. ( Language for Typesetting Graphs.)4 1394( GRAP\320A)1 489(3. Bentley, J.L. and Kernighan, B.W.)5 1487 3 820 7092 t
  4199. 10 I f
  4200. (CACM 29)1 403 1 4240 7092 t
  4201. 10 R f
  4202. ( \(August, 1986\),)2 657(, 8)1 100 2 4643 7092 t
  4203. (782-792.)920 7212 w
  4204. cleartomark
  4205. showpage
  4206. saveobj restore
  4207. %%EndPage: 20 22
  4208. %%Page: 21 23
  4209. /saveobj save def
  4210. mark
  4211. 23 pagesetup
  4212. 10 R f
  4213. (- 21 -)2 216 1 2952 480 t
  4214. ( In)1 136( \320 A Program to Format Tables.)6 1342( Tbl)1 192( L.L. and Lesk, M.E.)4 847(4. Cherry,)1 402 5 820 840 t
  4215. 10 I f
  4216. ( Manual, Tenth Edi-)3 823(Unix Programmer's)1 810 2 3767 840 t
  4217. (tion)920 960 w
  4218. 10 R f
  4219. (, AT&T Bell Laboratories, 1989.)4 1318 1 1076 960 t
  4220. ( Laboratories)1 545( Bell)1 233( for Typesetting \(Revised User Manual\).)5 1699( \320 A Graphics Language)4 1085( PIC)1 221( B.W.)1 251(5. Kernighan,)1 546 7 820 1116 t
  4221. (Comp. Sci. Tech. Rep. No. 116, December 1984.)7 1964 1 920 1236 t
  4222. ( language for typesetting graphics.)4 1378( PIC\320a)1 350(6. Kernighan, B.W.)2 782 3 820 1392 t
  4223. 10 I f
  4224. (Software Practice & Experience 12)4 1420 1 3380 1392 t
  4225. 10 R f
  4226. (\(1982\), 1-20.)1 524 1 4825 1392 t
  4227. ( In)1 134( Mathematics \320 User's Guide.)4 1249( Typesetting)1 523( and Cherry, L.L.)3 696(7. Kernighan, B.W.)2 782 5 820 1548 t
  4228. 10 I f
  4229. (Unix Programmer's Manual,)2 1170 1 4230 1548 t
  4230. (Tenth Edition)1 548 1 920 1668 t
  4231. 10 R f
  4232. (, AT&T Bell Laboratories, 1989.)4 1318 1 1468 1668 t
  4233. ( In)1 152( User's Manual.)2 678( Troff)1 279( B.W. and Ossanna, J.F.)4 1039(8. Kernighan,)1 546 5 820 1824 t
  4234. 10 I f
  4235. (Unix Programmer's Manual, Tenth Edition)4 1817 1 3558 1824 t
  4236. 10 R f
  4237. (,)5375 1824 w
  4238. (AT&T Bell Laboratories, 1989.)3 1268 1 920 1944 t
  4239. ( high-level language for specifying pictures.)5 1823( A)1 134( Wyk, C.J.)2 449(9. Van)1 266 4 820 2100 t
  4240. 10 I f
  4241. (ACM Transactions on Graphics 1)4 1404 1 3554 2100 t
  4242. 10 R f
  4243. (, 2 \(1982\),)2 442 1 4958 2100 t
  4244. (163-182.)920 2220 w
  4245. 10 B f
  4246. (Appendix A:)1 548 1 720 2460 t
  4247. 10 I f
  4248. (Pic)1318 2460 w
  4249. 10 B f
  4250. (Reference Manual)1 784 1 1476 2460 t
  4251. (Pictures)720 2700 w
  4252. 10 R f
  4253. (The top-level object in)3 907 1 970 2856 t
  4254. 10 I f
  4255. (pic)1902 2856 w
  4256. 10 R f
  4257. (is the ``picture'':)2 676 1 2049 2856 t
  4258. 9 I f
  4259. (picture)1008 3026 w
  4260. 9 CW f
  4261. (:)1263 3026 w
  4262. (.PS)1440 3136 w
  4263. 9 I f
  4264. (optional-width optional-height)1 1139 1 1656 3136 t
  4265. (element-list)1440 3246 w
  4266. 9 CW f
  4267. (.PE)1440 3356 w
  4268. 10 R f
  4269. (If)720 3536 w
  4270. 10 I f
  4271. (optional-width)811 3536 w
  4272. 10 R f
  4273. ( picture is made that many inches wide, regardless of any dimensions used internally.)13 3422(is present, the)2 552 2 1426 3536 t
  4274. (The height is scaled in the same proportion unless)8 1998 1 720 3656 t
  4275. 10 I f
  4276. (optional-height)2743 3656 w
  4277. 10 R f
  4278. ( instead the line is)4 722( If)1 116(is present.)1 405 3 3385 3656 t
  4279. 9 CW f
  4280. (.PS <f)1 324 1 1008 3826 t
  4281. 10 R f
  4282. (the file)1 281 1 720 4006 t
  4283. 10 CW f
  4284. (f)1027 4006 w
  4285. 10 R f
  4286. (is inserted in place of the)5 1006 1 1113 4006 t
  4287. 10 CW f
  4288. (.PS)2145 4006 w
  4289. 10 R f
  4290. (line. If)1 292 1 2351 4006 t
  4291. 10 CW f
  4292. (.PF)2669 4006 w
  4293. 10 R f
  4294. (is used instead of)3 694 1 2875 4006 t
  4295. 10 CW f
  4296. (.PE)3596 4006 w
  4297. 10 R f
  4298. (, the position after printing is restored to)7 1624 1 3776 4006 t
  4299. (what it was upon entry.)4 935 1 720 4126 t
  4300. (In no case will the picture be larger than)8 1607 1 970 4282 t
  4301. 10 CW f
  4302. (maxpsht)2602 4282 w
  4303. 10 S f
  4304. (\264)3047 4282 w
  4305. 10 CW f
  4306. (maxpswid)3127 4282 w
  4307. 10 R f
  4308. (.)3607 4282 w
  4309. 10 B f
  4310. (Elements)720 4522 w
  4311. 10 R f
  4312. (An)970 4678 w
  4313. 10 I f
  4314. (element-list)1117 4678 w
  4315. 10 R f
  4316. (is a list of elements \(what else?\); the elements are)9 1982 1 1608 4678 t
  4317. 9 I f
  4318. (element)1008 4848 w
  4319. 9 CW f
  4320. (:)1288 4848 w
  4321. 9 I f
  4322. (primitive attribute-list)1 821 1 1440 4958 t
  4323. (placename)1440 5068 w
  4324. 9 CW f
  4325. (:)1884 5068 w
  4326. 9 I f
  4327. (element)1992 5068 w
  4328. (placename)1440 5178 w
  4329. 9 CW f
  4330. (:)1884 5178 w
  4331. 9 I f
  4332. (position)1992 5178 w
  4333. (var)1440 5288 w
  4334. 9 CW f
  4335. (=)1614 5288 w
  4336. 9 I f
  4337. (expr)1722 5288 w
  4338. (direction)1440 5398 w
  4339. 9 CW f
  4340. ({)1440 5508 w
  4341. 9 I f
  4342. (element-list)1548 5508 w
  4343. 9 CW f
  4344. (})2022 5508 w
  4345. ([)1440 5618 w
  4346. 9 I f
  4347. (element-list)1548 5618 w
  4348. 9 CW f
  4349. (])2022 5618 w
  4350. (for)1440 5728 w
  4351. 9 I f
  4352. (var)1656 5728 w
  4353. 9 CW f
  4354. (=)1830 5728 w
  4355. 9 I f
  4356. (expr)1938 5728 w
  4357. 9 CW f
  4358. (to)2152 5728 w
  4359. 9 I f
  4360. (expr)2314 5728 w
  4361. 9 CW f
  4362. (by)2528 5728 w
  4363. 9 I f
  4364. (expr)2690 5728 w
  4365. 9 CW f
  4366. (do {)1 216 1 2904 5728 t
  4367. 9 I f
  4368. (anything)3174 5728 w
  4369. 9 CW f
  4370. (})3543 5728 w
  4371. (if)1440 5838 w
  4372. 9 I f
  4373. (expr)1602 5838 w
  4374. 9 CW f
  4375. (then {)1 324 1 1816 5838 t
  4376. 9 I f
  4377. (anything)2194 5838 w
  4378. 9 CW f
  4379. (} else {)2 432 1 2563 5838 t
  4380. 9 I f
  4381. (anything)3049 5838 w
  4382. 9 CW f
  4383. (})3418 5838 w
  4384. (copy)1440 5948 w
  4385. 9 I f
  4386. (file)1710 5948 w
  4387. 9 CW f
  4388. (copy thru)1 486 1 1440 6058 t
  4389. 9 I f
  4390. (macro)1980 6058 w
  4391. 9 CW f
  4392. (copy)1440 6168 w
  4393. 9 I f
  4394. (file)1710 6168 w
  4395. 9 CW f
  4396. (thru)1879 6168 w
  4397. 9 I f
  4398. (macro)2149 6168 w
  4399. 9 CW f
  4400. (sh {)1 216 1 1440 6278 t
  4401. 9 I f
  4402. (commandline)1710 6278 w
  4403. 9 CW f
  4404. (})2249 6278 w
  4405. (print)1440 6388 w
  4406. 9 I f
  4407. (expr)1764 6388 w
  4408. 9 CW f
  4409. (reset)1440 6498 w
  4410. 9 I f
  4411. (optional var-list)1 583 1 1764 6498 t
  4412. (troff-command)1440 6608 w
  4413. 10 R f
  4414. ( semicolons; a long element may be continued by ending the line with a)13 2893(Elements are separated by newlines or)5 1537 2 970 6824 t
  4415. ( are introduced by a)4 792(backslash. Comments)1 897 2 720 6944 t
  4416. 10 CW f
  4417. (#)2434 6944 w
  4418. 10 R f
  4419. (and terminated by a newline.)4 1156 1 2519 6944 t
  4420. ( and variable names)3 810( Place)1 271( with a lower case letter; place names begin with upper case.)11 2471(Variable names begin)2 878 4 970 7100 t
  4421. (retain their values from one picture to the next.)8 1877 1 720 7220 t
  4422. cleartomark
  4423. showpage
  4424. saveobj restore
  4425. %%EndPage: 21 23
  4426. %%Page: 22 24
  4427. /saveobj save def
  4428. mark
  4429. 24 pagesetup
  4430. 10 R f
  4431. (- 22 -)2 216 1 2952 480 t
  4432. (The current position and direction of motion are saved upon entry to a)12 2801 1 970 840 t
  4433. 10 CW f
  4434. ({...})3796 840 w
  4435. 10 R f
  4436. (block and restored upon exit.)4 1162 1 4121 840 t
  4437. ( enclosed in)2 511(Elements within a block)3 1017 2 970 996 t
  4438. 10 CW f
  4439. ([...])2540 996 w
  4440. 10 R f
  4441. (are treated as a unit; the dimensions are determined by the)10 2493 1 2907 996 t
  4442. ( a block are local to that)6 995( variables, and direction of motion within)6 1699( Names,)1 359(extreme points of the contained objects.)5 1627 4 720 1116 t
  4443. (block.)720 1236 w
  4444. 10 I f
  4445. (troff-command)970 1392 w
  4446. 10 R f
  4447. ( to make sense in the context)6 1238( a line is assumed)4 757( Such)1 263(is any line that begins with a period.)7 1540 4 1602 1392 t
  4448. (where it appears; accordingly, if it doesn't work, don't call.)9 2373 1 720 1512 t
  4449. 10 B f
  4450. (Primitives)720 1752 w
  4451. 10 R f
  4452. (The primitive objects are)3 1001 1 970 1908 t
  4453. 9 I f
  4454. (primitive)1008 2078 w
  4455. 9 CW f
  4456. (:)1333 2078 w
  4457. (box)1440 2188 w
  4458. (circle)1440 2298 w
  4459. (ellipse)1440 2408 w
  4460. (arc)1440 2518 w
  4461. (line)1440 2628 w
  4462. (arrow)1440 2738 w
  4463. (spline)1440 2848 w
  4464. (move)1440 2958 w
  4465. 9 I f
  4466. (text-list)1440 3068 w
  4467. 10 CW f
  4468. (arrow)720 3248 w
  4469. 10 R f
  4470. (is a synonym for)3 669 1 1045 3248 t
  4471. 10 CW f
  4472. (line ->)1 385 1 1739 3248 t
  4473. 10 R f
  4474. (.)2124 3248 w
  4475. 10 B f
  4476. (Attributes)720 3488 w
  4477. 10 R f
  4478. (An)970 3644 w
  4479. 10 I f
  4480. (attribute-list)1127 3644 w
  4481. 10 R f
  4482. ( attribute consists of a keyword, perhaps fol-)7 1857(is a sequence of zero or more attributes; each)8 1880 2 1663 3644 t
  4483. (lowed by a value.)3 704 1 720 3764 t
  4484. 9 I f
  4485. (attribute)1008 3934 w
  4486. 9 CW f
  4487. (:)1318 3934 w
  4488. (h\(eigh\)t)1368 4044 w
  4489. 9 I f
  4490. (expr)1854 4044 w
  4491. 9 CW f
  4492. (wid\(th\))2808 4044 w
  4493. 9 I f
  4494. (expr)3240 4044 w
  4495. 9 CW f
  4496. (rad\(ius\))1368 4154 w
  4497. 9 I f
  4498. (expr)1854 4154 w
  4499. 9 CW f
  4500. (diam\(eter\))2808 4154 w
  4501. 9 I f
  4502. (expr)3402 4154 w
  4503. 9 CW f
  4504. (up)1368 4264 w
  4505. 9 I f
  4506. (opt-expr)1530 4264 w
  4507. 9 CW f
  4508. (down)2808 4264 w
  4509. 9 I f
  4510. (opt-expr)3078 4264 w
  4511. 9 CW f
  4512. (right)1368 4374 w
  4513. 9 I f
  4514. (opt-expr)1692 4374 w
  4515. 9 CW f
  4516. (left)2808 4374 w
  4517. 9 I f
  4518. (opt-expr)3078 4374 w
  4519. 9 CW f
  4520. (from)1368 4484 w
  4521. 9 I f
  4522. (position)1638 4484 w
  4523. 9 CW f
  4524. (to)2808 4484 w
  4525. 9 I f
  4526. (position)2970 4484 w
  4527. 9 CW f
  4528. (at)1368 4594 w
  4529. 9 I f
  4530. (position)1530 4594 w
  4531. 9 CW f
  4532. (with)2808 4594 w
  4533. 9 I f
  4534. (corner)3078 4594 w
  4535. 9 CW f
  4536. (by)1368 4704 w
  4537. 9 I f
  4538. (expr, expr)1 366 1 1530 4704 t
  4539. 9 CW f
  4540. (then)2808 4704 w
  4541. (dotted)1368 4814 w
  4542. 9 I f
  4543. (opt-expr)1746 4814 w
  4544. 9 CW f
  4545. (dashed)2808 4814 w
  4546. 9 I f
  4547. (opt-expr)3186 4814 w
  4548. 9 CW f
  4549. (chop)1368 4924 w
  4550. 9 I f
  4551. (opt-expr)1638 4924 w
  4552. 9 CW f
  4553. (-> <- <->)2 594 1 2808 4924 t
  4554. (invis solid)1 1710 1 1368 5034 t
  4555. (fill)1368 5144 w
  4556. 9 I f
  4557. (opt-expr)1638 5144 w
  4558. 9 CW f
  4559. (same)2808 5144 w
  4560. 9 I f
  4561. (text-list expr)1 1600 1 1368 5254 t
  4562. 10 R f
  4563. ( all primitives; irrelevant)3 1012( all attributes make sense for)5 1175( Not)1 206(Missing attributes and values are filled in from defaults.)8 2287 4 720 5434 t
  4564. ( attribute)1 372( The)1 219(ones are silently ignored.)3 1046 3 720 5554 t
  4565. 10 CW f
  4566. (at)2396 5554 w
  4567. 10 R f
  4568. (causes the geometrical center to be put at the specified place;)10 2568 1 2554 5554 t
  4569. 10 CW f
  4570. (with)5160 5554 w
  4571. 10 R f
  4572. ( lines, splines and arcs,)4 949( For)1 196( the specified place.)3 813(causes the position on the object to be put at)9 1822 4 720 5674 t
  4573. 10 CW f
  4574. (height)4532 5674 w
  4575. 10 R f
  4576. (and)4924 5674 w
  4577. 10 CW f
  4578. (width)5100 5674 w
  4579. 10 R f
  4580. ( bare)1 196( A)1 122(refer to arrowhead size.)3 940 3 720 5794 t
  4581. 10 I f
  4582. (expr)2003 5794 w
  4583. 10 R f
  4584. (implies motion in the current direction.)5 1566 1 2205 5794 t
  4585. 10 B f
  4586. (Text)720 6034 w
  4587. 10 R f
  4588. ( it is placed at the geometrical center of the object.)10 2065(Text is normally an attribute of some primitive; by default)9 2365 2 970 6190 t
  4589. ( A)1 124(Stand-alone text is also permitted.)4 1371 2 720 6310 t
  4590. 10 I f
  4591. (text-list)2242 6310 w
  4592. 10 R f
  4593. ( string optionally followed)3 1067(is a list of text items; a text item is a quoted)11 1764 2 2569 6310 t
  4594. (by positioning requests:)2 956 1 720 6430 t
  4595. 9 I f
  4596. (text-item)1008 6600 w
  4597. 9 CW f
  4598. (:)1323 6600 w
  4599. ("...")1440 6710 w
  4600. 9 I f
  4601. (positioning ...)1 497 1 1764 6710 t
  4602. 9 CW f
  4603. (sprintf\(")1440 6820 w
  4604. 9 I f
  4605. (format)1926 6820 w
  4606. 9 CW f
  4607. (",)2166 6820 w
  4608. 9 I f
  4609. (expr)2328 6820 w
  4610. 9 CW f
  4611. (,)2488 6820 w
  4612. 9 I f
  4613. (...)2596 6820 w
  4614. 9 CW f
  4615. (\))2665 6820 w
  4616. 9 I f
  4617. (positioning ...)1 497 1 2773 6820 t
  4618. (positioning)1008 6930 w
  4619. 9 CW f
  4620. (:)1413 6930 w
  4621. (center ljust rjust above below)4 1836 1 1440 7040 t
  4622. 10 R f
  4623. ( Positioning)1 524( centered vertically except as qualified.)5 1647(If there are multiple text items for some primitive, they are)10 2509 3 720 7220 t
  4624. cleartomark
  4625. showpage
  4626. saveobj restore
  4627. %%EndPage: 22 24
  4628. %%Page: 23 25
  4629. /saveobj save def
  4630. mark
  4631. 25 pagesetup
  4632. 10 R f
  4633. (- 23 -)2 216 1 2952 480 t
  4634. (requests apply to each item independently.)5 1703 1 720 840 t
  4635. (Text items can contain)3 913 1 970 996 t
  4636. 10 I f
  4637. (troff)1910 996 w
  4638. 10 R f
  4639. ( and font changes, local motions, etc., but make sure that these)11 2532(commands for size)2 758 2 2110 996 t
  4640. (are balanced so that the entering state is restored before exiting.)10 2541 1 720 1116 t
  4641. 10 B f
  4642. (Positions and places)2 857 1 720 1356 t
  4643. 10 R f
  4644. (A position is ultimately an)4 1062 1 970 1512 t
  4645. 10 I f
  4646. (x,y)2057 1512 w
  4647. 10 R f
  4648. (coordinate pair, but it may be specified in other ways.)9 2149 1 2195 1512 t
  4649. 9 I f
  4650. (position)1008 1682 w
  4651. 9 CW f
  4652. (:)1298 1682 w
  4653. 9 I f
  4654. (expr, expr)1 366 1 1440 1792 t
  4655. (place)1440 1902 w
  4656. 9 S f
  4657. (\261)1689 1902 w
  4658. 9 I f
  4659. (expr, expr)1 366 1 1793 1902 t
  4660. (place)1440 2012 w
  4661. 9 S f
  4662. (\261)1689 2012 w
  4663. 9 CW f
  4664. (\()1793 2012 w
  4665. 9 I f
  4666. (expr, expr)1 366 1 1901 2012 t
  4667. 9 CW f
  4668. (\))2321 2012 w
  4669. (\()1440 2122 w
  4670. 9 I f
  4671. (position)1548 2122 w
  4672. 9 CW f
  4673. (,)1838 2122 w
  4674. 9 I f
  4675. (position)1915 2122 w
  4676. 9 CW f
  4677. (\))2259 2122 w
  4678. 9 I f
  4679. (expr [)1 249 1 1440 2232 t
  4680. 9 CW f
  4681. (of the way)2 540 1 1689 2232 t
  4682. 9 I f
  4683. (])2229 2232 w
  4684. 9 CW f
  4685. (between)2318 2232 w
  4686. 9 I f
  4687. (position)2750 2232 w
  4688. 9 CW f
  4689. (and)3094 2232 w
  4690. 9 I f
  4691. (position)3310 2232 w
  4692. (expr)1440 2342 w
  4693. 9 CW f
  4694. (<)1654 2342 w
  4695. 9 I f
  4696. (position)1762 2342 w
  4697. 9 CW f
  4698. (,)2106 2342 w
  4699. 9 I f
  4700. (position)2214 2342 w
  4701. 9 CW f
  4702. (>)2558 2342 w
  4703. (\()1440 2452 w
  4704. 9 I f
  4705. (position)1548 2452 w
  4706. 9 CW f
  4707. (\))1892 2452 w
  4708. 9 I f
  4709. (place)1008 2617 w
  4710. 9 CW f
  4711. (:)1203 2617 w
  4712. 9 I f
  4713. (placename optional-corner)1 1014 1 1440 2727 t
  4714. (corner)1440 2837 w
  4715. 9 CW f
  4716. (of)1734 2837 w
  4717. 9 I f
  4718. (placename)1896 2837 w
  4719. (nth primitive optional-corner)2 1118 1 1440 2947 t
  4720. (corner)1440 3057 w
  4721. 9 CW f
  4722. (of)1734 3057 w
  4723. 9 I f
  4724. (nth primitive)1 494 1 1896 3057 t
  4725. 9 CW f
  4726. (Here)1440 3167 w
  4727. 10 R f
  4728. (An)720 3347 w
  4729. 10 I f
  4730. (optional-corner)867 3347 w
  4731. 10 R f
  4732. (is one of the eight compass points or the center or the start or end of a primitive.)17 3201 1 1525 3347 t
  4733. 9 I f
  4734. (optional-corner)1008 3517 w
  4735. 9 CW f
  4736. (:)1578 3517 w
  4737. (.n .e .w .s .ne .se .nw .sw .c .start .end)10 2808 1 1440 3627 t
  4738. 9 I f
  4739. (corner)1008 3737 w
  4740. 9 CW f
  4741. (:)1248 3737 w
  4742. (top bot left right start end)5 1782 1 1440 3847 t
  4743. 10 R f
  4744. (Each object in a picture has an ordinal number;)8 1885 1 720 4027 t
  4745. 10 I f
  4746. (nth)2630 4027 w
  4747. 10 R f
  4748. (refers to this.)2 524 1 2783 4027 t
  4749. 9 I f
  4750. (nth)1008 4197 w
  4751. 9 CW f
  4752. (:)1123 4197 w
  4753. 9 I f
  4754. (n)1440 4307 w
  4755. 9 CW f
  4756. (th)1485 4307 w
  4757. 9 I f
  4758. (n)1440 4417 w
  4759. 9 CW f
  4760. (th last)1 378 1 1485 4417 t
  4761. 10 R f
  4762. (Since barbarisms like)2 860 1 720 4597 t
  4763. 10 CW f
  4764. (1th)1605 4597 w
  4765. 10 R f
  4766. (and)1810 4597 w
  4767. 10 CW f
  4768. (3th)1979 4597 w
  4769. 10 R f
  4770. (are barbaric, synonyms like)3 1103 1 2184 4597 t
  4771. 10 CW f
  4772. (1st)3312 4597 w
  4773. 10 R f
  4774. (and)3517 4597 w
  4775. 10 CW f
  4776. (3rd)3686 4597 w
  4777. 10 R f
  4778. (are accepted as well.)3 824 1 3891 4597 t
  4779. 10 B f
  4780. (Variables)720 4837 w
  4781. 10 R f
  4782. (The built-in variables and their default values are:)7 1993 1 970 4993 t
  4783. 9 CW f
  4784. ( 0.5)1 216( boxht)1 1116(boxwid 0.75)1 594 3 1368 5163 t
  4785. ( 0.25)1 270( arcrad)1 1008(circlerad 0.25)1 756 3 1368 5273 t
  4786. ( 0.5)1 216( ellipseht)1 1116(ellipsewid 0.75)1 810 3 1368 5383 t
  4787. ( 0.5)1 216( lineht)1 1170(linewid 0.5)1 594 3 1368 5493 t
  4788. ( 0.5)1 216( moveht)1 1170(movewid 0.5)1 594 3 1368 5603 t
  4789. ( 0)1 108( textht)1 1278(textwid 0)1 486 3 1368 5713 t
  4790. ( 0.1)1 216( arrowht)1 1116(arrowwid 0.05)1 702 3 1368 5823 t
  4791. ( 2)1 108( arrowhead)1 1332(dashwid 0.1)1 594 3 1368 5933 t
  4792. ( 11)1 162( maxpswid)1 1278(maxpsht 8.5)1 594 3 1368 6043 t
  4793. ( .3)1 162( fillval)1 1440(scale 1)1 378 3 1368 6153 t
  4794. 10 R f
  4795. ( new values remain in force from picture to picture until changed again or)13 2959(These may be changed at any time, and the)8 1721 2 720 6333 t
  4796. (reset by a)2 402 1 720 6453 t
  4797. 10 CW f
  4798. (reset)1157 6453 w
  4799. 10 R f
  4800. ( changed within)2 658(statement. Variables)1 850 2 1492 6453 t
  4801. 10 CW f
  4802. ([)3035 6453 w
  4803. 10 R f
  4804. (and)3130 6453 w
  4805. 10 CW f
  4806. (])3309 6453 w
  4807. 10 R f
  4808. ( exit from the)3 568(revert to their previous value upon)5 1428 2 3404 6453 t
  4809. ( are divided by)3 596(block. Dimensions)1 775 2 720 6573 t
  4810. 10 CW f
  4811. (scale)2116 6573 w
  4812. 10 R f
  4813. (during output.)1 567 1 2441 6573 t
  4814. 10 B f
  4815. (Expressions)720 6813 w
  4816. 10 R f
  4817. (Expressions in)1 597 1 970 6969 t
  4818. 10 I f
  4819. (pic)1604 6969 w
  4820. 10 R f
  4821. ( numbers representing dimensions are taken to be in)8 2176( All)1 190(are evaluated in floating point.)4 1271 3 1763 6969 t
  4822. (inches.)720 7089 w
  4823. cleartomark
  4824. showpage
  4825. saveobj restore
  4826. %%EndPage: 23 25
  4827. %%Page: 24 26
  4828. /saveobj save def
  4829. mark
  4830. 26 pagesetup
  4831. 10 R f
  4832. (- 24 -)2 216 1 2952 480 t
  4833. 9 I f
  4834. (expr)1008 830 w
  4835. 9 CW f
  4836. (:)1168 830 w
  4837. 9 I f
  4838. (expr op expr)2 518 1 1440 940 t
  4839. 9 CW f
  4840. (-)1440 1050 w
  4841. 9 I f
  4842. (expr)1548 1050 w
  4843. 9 CW f
  4844. (!)1440 1160 w
  4845. 9 I f
  4846. (expr)1548 1160 w
  4847. 9 CW f
  4848. (\()1440 1270 w
  4849. 9 I f
  4850. (expr)1548 1270 w
  4851. 9 CW f
  4852. (\))1762 1270 w
  4853. (variable)1440 1380 w
  4854. (number)1440 1490 w
  4855. 9 I f
  4856. (place)1440 1600 w
  4857. 9 CW f
  4858. (.x)1689 1600 w
  4859. 9 I f
  4860. (place)1440 1710 w
  4861. 9 CW f
  4862. (.y)1689 1710 w
  4863. 9 I f
  4864. (place)1440 1820 w
  4865. 9 CW f
  4866. (.ht)1689 1820 w
  4867. 9 I f
  4868. (place)1440 1930 w
  4869. 9 CW f
  4870. (.wid)1689 1930 w
  4871. 9 I f
  4872. (place)1440 2040 w
  4873. 9 CW f
  4874. (.rad)1689 2040 w
  4875. (sin\()1440 2150 w
  4876. 9 I f
  4877. (expr)1656 2150 w
  4878. 9 CW f
  4879. (\) cos\()1 378 1 1816 2150 t
  4880. 9 I f
  4881. (expr)2194 2150 w
  4882. 9 CW f
  4883. (\) atan2\()1 486 1 2354 2150 t
  4884. 9 I f
  4885. (expr)2840 2150 w
  4886. 9 R f
  4887. (,)3007 2150 w
  4888. 9 I f
  4889. (expr)3037 2150 w
  4890. 9 CW f
  4891. (\) log\()1 378 1 3197 2150 t
  4892. 9 I f
  4893. (expr)3575 2150 w
  4894. 9 CW f
  4895. (\) exp\()1 378 1 3735 2150 t
  4896. 9 I f
  4897. (expr)4113 2150 w
  4898. 9 CW f
  4899. (\))4273 2150 w
  4900. (sqrt\()1440 2260 w
  4901. 9 I f
  4902. (expr)1710 2260 w
  4903. 9 CW f
  4904. (\) max\()1 378 1 1870 2260 t
  4905. 9 I f
  4906. (expr)2248 2260 w
  4907. 9 R f
  4908. (,)2415 2260 w
  4909. 9 I f
  4910. (expr)2445 2260 w
  4911. 9 CW f
  4912. (\) min\()1 378 1 2605 2260 t
  4913. 9 I f
  4914. (expr)2983 2260 w
  4915. 9 R f
  4916. (,)3150 2260 w
  4917. 9 I f
  4918. (expr)3180 2260 w
  4919. 9 CW f
  4920. (\) int\()1 378 1 3340 2260 t
  4921. 9 I f
  4922. (expr)3718 2260 w
  4923. 9 CW f
  4924. (\) rand\(\))1 486 1 3878 2260 t
  4925. 9 I f
  4926. (op)1008 2370 w
  4927. 9 CW f
  4928. (:)1098 2370 w
  4929. ( % \303)2 432( /)1 162( *)1 216(+ -)1 216 4 1440 2480 t
  4930. (< <= > >= == != && ||)7 1512 1 1440 2590 t
  4931. 10 B f
  4932. (Definitions)720 2890 w
  4933. 10 R f
  4934. (The)970 3046 w
  4935. 10 CW f
  4936. (define)1150 3046 w
  4937. 10 R f
  4938. (and)1535 3046 w
  4939. 10 CW f
  4940. (undef)1704 3046 w
  4941. 10 R f
  4942. (statements are not part of the grammar.)6 1566 1 2029 3046 t
  4943. 9 I f
  4944. (define)1008 3216 w
  4945. 9 CW f
  4946. (:)1228 3216 w
  4947. (define)1440 3326 w
  4948. 9 I f
  4949. (name)1818 3326 w
  4950. 9 CW f
  4951. ({)2067 3326 w
  4952. 9 I f
  4953. (replacement text)1 598 1 2175 3326 t
  4954. 9 CW f
  4955. (})2827 3326 w
  4956. 9 I f
  4957. (undef)1008 3436 w
  4958. 9 CW f
  4959. (:)1208 3436 w
  4960. (undef)1440 3546 w
  4961. 9 I f
  4962. (name)1764 3546 w
  4963. 10 R f
  4964. (Occurrences of)1 617 1 720 3726 t
  4965. 10 CW f
  4966. ($1)1374 3726 w
  4967. 10 R f
  4968. (,)1494 3726 w
  4969. 10 CW f
  4970. ($2)1556 3726 w
  4971. 10 R f
  4972. (, etc., in the replacement text will be replaced by the corresponding arguments if)13 3366 1 1676 3726 t
  4973. 10 I f
  4974. (name)5079 3726 w
  4975. 10 R f
  4976. (is)5333 3726 w
  4977. (invoked as)1 430 1 720 3846 t
  4978. 9 I f
  4979. (name)1008 4016 w
  4980. 9 CW f
  4981. (\()1203 4016 w
  4982. 9 I f
  4983. (arg1)1257 4016 w
  4984. 9 CW f
  4985. (,)1427 4016 w
  4986. 9 I f
  4987. (arg2)1535 4016 w
  4988. 9 CW f
  4989. (, ...\))1 324 1 1705 4016 t
  4990. 10 R f
  4991. ( replaced by null strings.)4 1033(Non-existent arguments are)2 1125 2 720 4196 t
  4992. 10 I f
  4993. (Replacement text)1 696 1 2940 4196 t
  4994. 10 R f
  4995. ( The)1 217(may contain newlines.)2 920 2 3673 4196 t
  4996. 10 CW f
  4997. (undef)4847 4196 w
  4998. 10 R f
  4999. (state-)5184 4196 w
  5000. (ment removes the definition of a macro.)6 1600 1 720 4316 t
  5001. 10 B f
  5002. (The .PS and .PE Macros)4 1045 1 720 4556 t
  5003. 10 R f
  5004. (This is the default definition of the)6 1388 1 970 4712 t
  5005. 10 CW f
  5006. (.PS)2383 4712 w
  5007. 10 R f
  5008. (and)2588 4712 w
  5009. 10 CW f
  5010. (.PE)2757 4712 w
  5011. 10 R f
  5012. (macros:)2962 4712 w
  5013. 9 CW f
  5014. (.de PS \\" start picture; $1 is height, $2 is width, in inches)12 3294 1 1062 4882 t
  5015. (.sp .3)1 324 1 1062 4992 t
  5016. (.in \(\\\\n\(.lu-\\\\$2\)/2u)1 1134 1 1062 5102 t
  5017. (.ne \\\\$1)1 432 1 1062 5212 t
  5018. (..)1062 5322 w
  5019. (.de PE \\" end of picture)5 1296 1 1062 5432 t
  5020. (.in)1062 5542 w
  5021. (.sp .6)1 324 1 1062 5652 t
  5022. (..)1062 5762 w
  5023. 10 B f
  5024. (Summary of Features Added Since Original Version)6 2233 1 720 6062 t
  5025. 10 R f
  5026. (The built-in functions)2 872 1 970 6218 t
  5027. 10 CW f
  5028. (sin)1867 6218 w
  5029. 10 R f
  5030. (,)2047 6218 w
  5031. 10 CW f
  5032. (cos)2097 6218 w
  5033. 10 R f
  5034. (,)2277 6218 w
  5035. 10 CW f
  5036. (atan2)2327 6218 w
  5037. 10 R f
  5038. (,)2627 6218 w
  5039. 10 CW f
  5040. (log)2677 6218 w
  5041. 10 R f
  5042. (,)2857 6218 w
  5043. 10 CW f
  5044. (exp)2907 6218 w
  5045. 10 R f
  5046. (,)3087 6218 w
  5047. 10 CW f
  5048. (sqrt)3137 6218 w
  5049. 10 R f
  5050. (,)3377 6218 w
  5051. 10 CW f
  5052. (max)3427 6218 w
  5053. 10 R f
  5054. (,)3607 6218 w
  5055. 10 CW f
  5056. (min)3657 6218 w
  5057. 10 R f
  5058. (,)3837 6218 w
  5059. 10 CW f
  5060. (int)3887 6218 w
  5061. 10 R f
  5062. (, and)1 194 1 4067 6218 t
  5063. 10 CW f
  5064. (rand)4286 6218 w
  5065. 10 R f
  5066. (are available.)1 531 1 4551 6218 t
  5067. (The)970 6374 w
  5068. 10 CW f
  5069. (copy)1150 6374 w
  5070. 10 R f
  5071. (statement includes data from a file or that follows immediately:)9 2539 1 1415 6374 t
  5072. 9 CW f
  5073. (copy ")1 324 1 1008 6544 t
  5074. 9 I f
  5075. (filename)1332 6544 w
  5076. 9 CW f
  5077. (")1642 6544 w
  5078. (copy thru)1 486 1 1008 6654 t
  5079. 9 I f
  5080. (macro)1548 6654 w
  5081. 9 CW f
  5082. (copy ")1 324 1 1008 6764 t
  5083. 9 I f
  5084. (filename)1332 6764 w
  5085. 9 CW f
  5086. (" thru)1 324 1 1642 6764 t
  5087. 9 I f
  5088. (macro)2020 6764 w
  5089. 10 R f
  5090. (The)720 6944 w
  5091. 10 I f
  5092. (macro)903 6944 w
  5093. 10 R f
  5094. ( is)1 96( no filename)2 505( If)1 119(may be either the name of a defined macro, or the body of a macro enclosed in braces.)17 3494 4 1186 6944 t
  5095. (given,)720 7064 w
  5096. 10 CW f
  5097. (copy)992 7064 w
  5098. 10 R f
  5099. (copies the input until the next)5 1186 1 1257 7064 t
  5100. 10 CW f
  5101. (.PE)2468 7064 w
  5102. 10 R f
  5103. (.)2648 7064 w
  5104. (The)970 7220 w
  5105. 10 CW f
  5106. (for)1150 7220 w
  5107. 10 R f
  5108. (and)1355 7220 w
  5109. 10 CW f
  5110. (if)1524 7220 w
  5111. 10 R f
  5112. (statements provide loops and decision-making:)4 1882 1 1669 7220 t
  5113. cleartomark
  5114. showpage
  5115. saveobj restore
  5116. %%EndPage: 24 26
  5117. %%Page: 25 27
  5118. /saveobj save def
  5119. mark
  5120. 27 pagesetup
  5121. 10 R f
  5122. (- 25 -)2 216 1 2952 480 t
  5123. 9 CW f
  5124. (for)1008 830 w
  5125. 9 I f
  5126. (var)1224 830 w
  5127. 9 CW f
  5128. (=)1344 830 w
  5129. 9 I f
  5130. (expr)1398 830 w
  5131. 9 CW f
  5132. (to)1612 830 w
  5133. 9 I f
  5134. (expr)1774 830 w
  5135. 9 CW f
  5136. (by)1988 830 w
  5137. 9 I f
  5138. (expr)2150 830 w
  5139. 9 CW f
  5140. (do {)1 216 1 2364 830 t
  5141. 9 I f
  5142. (anything)2634 830 w
  5143. 9 CW f
  5144. (})3003 830 w
  5145. (if)1008 940 w
  5146. 9 I f
  5147. (expr)1170 940 w
  5148. 9 CW f
  5149. (then {)1 324 1 1384 940 t
  5150. 9 I f
  5151. (anything)1762 940 w
  5152. 9 CW f
  5153. (} else {)2 432 1 2131 940 t
  5154. 9 I f
  5155. (anything)2617 940 w
  5156. 9 CW f
  5157. (})2986 940 w
  5158. 10 R f
  5159. (The)720 1120 w
  5160. 10 CW f
  5161. (by)900 1120 w
  5162. 10 R f
  5163. (and)1045 1120 w
  5164. 10 CW f
  5165. (else)1214 1120 w
  5166. 10 R f
  5167. ( The)1 205(clauses are optional.)2 812 2 1479 1120 t
  5168. 10 I f
  5169. (expr)2522 1120 w
  5170. 10 R f
  5171. (in an)1 198 1 2725 1120 t
  5172. 10 CW f
  5173. (if)2949 1120 w
  5174. 10 R f
  5175. (may use the usual relational operators or the tests)8 1977 1 3095 1120 t
  5176. 10 I f
  5177. (str1)5098 1120 w
  5178. 10 CW f
  5179. (==)5280 1120 w
  5180. 10 R f
  5181. (\(or)720 1240 w
  5182. 10 CW f
  5183. (!=)861 1240 w
  5184. 10 R f
  5185. (\))981 1240 w
  5186. 10 I f
  5187. (str2)1039 1240 w
  5188. 10 R f
  5189. (for two quoted strings.)3 905 1 1220 1240 t
  5190. (The)970 1396 w
  5191. 10 CW f
  5192. (sh)1150 1396 w
  5193. 10 R f
  5194. (command executes any sequence of commands, after expanding any defined names:)10 3361 1 1295 1396 t
  5195. 9 CW f
  5196. (sh {)1 216 1 1008 1566 t
  5197. 9 I f
  5198. (anything)1278 1566 w
  5199. 9 CW f
  5200. (})1647 1566 w
  5201. 10 R f
  5202. ( used to enclose a body,)5 994(In all of the above, any single character that does not occur within the body may be)16 3436 2 970 1782 t
  5203. (instead of braces, as in)4 906 1 720 1902 t
  5204. 9 CW f
  5205. (define name X replacement text X)5 1728 1 1008 2072 t
  5206. 10 R f
  5207. ( as an invisi-)3 511(Text strings are first-class citizens: a statement beginning with a sequence of text strings is treated)15 3919 2 970 2288 t
  5208. ( variable)1 353( The)1 212(ble box with the strings positioned at its center.)8 1947 3 720 2408 t
  5209. 10 CW f
  5210. (textht)3264 2408 w
  5211. 10 R f
  5212. (and)3656 2408 w
  5213. 10 CW f
  5214. (textwid)3831 2408 w
  5215. 10 R f
  5216. (may be set to any values to)6 1118 1 4282 2408 t
  5217. ( height of)2 383( The)1 205(control positioning.)1 784 3 720 2528 t
  5218. 10 I f
  5219. (n)2117 2528 w
  5220. 10 R f
  5221. (such strings is)2 567 1 2192 2528 t
  5222. 10 I f
  5223. (n)2784 2528 w
  5224. 10 S f
  5225. (\264)2859 2528 w
  5226. 10 CW f
  5227. (textht)2939 2528 w
  5228. 10 R f
  5229. (.)3299 2528 w
  5230. (It is possible to convert expressions to formatted strings:)8 2260 1 970 2684 t
  5231. 9 CW f
  5232. (sprintf\(")1008 2854 w
  5233. 9 I f
  5234. (format)1494 2854 w
  5235. 9 CW f
  5236. (",)1734 2854 w
  5237. 9 I f
  5238. (expr)1896 2854 w
  5239. 9 CW f
  5240. (,)2056 2854 w
  5241. 9 I f
  5242. (expr)2164 2854 w
  5243. 9 CW f
  5244. (, ...\))1 324 1 2324 2854 t
  5245. 10 R f
  5246. ( of)1 108( Variants)1 388(is equivalent to a quoted string in any context.)8 1846 3 720 3034 t
  5247. 10 CW f
  5248. (%f)3087 3034 w
  5249. 10 R f
  5250. (and)3232 3034 w
  5251. 10 CW f
  5252. (%g)3401 3034 w
  5253. 10 R f
  5254. (are the only sensible format conversions.)5 1636 1 3546 3034 t
  5255. (Built-in variables may be reset to default values with)8 2114 1 970 3190 t
  5256. 10 CW f
  5257. (reset)3109 3190 w
  5258. 10 R f
  5259. (.)3409 3190 w
  5260. (The)970 3346 w
  5261. 10 CW f
  5262. (undef)1150 3346 w
  5263. 10 R f
  5264. (statement removes a macro definition.)4 1528 1 1475 3346 t
  5265. (Arrowheads may be filled with the)5 1389 1 970 3502 t
  5266. 10 CW f
  5267. (arrowhead)2384 3502 w
  5268. 10 R f
  5269. (variable; their positioning is improved on arcs.)6 1868 1 2949 3502 t
  5270. ( may be set independently from the)6 1487(The width and height of the generated picture)7 1905 2 970 3658 t
  5271. 10 CW f
  5272. (.PS)4400 3658 w
  5273. 10 R f
  5274. (line; the maximum)2 782 1 4618 3658 t
  5275. (height and width are set from)5 1173 1 720 3778 t
  5276. 10 CW f
  5277. (maxpsht)1918 3778 w
  5278. 10 R f
  5279. (and)2363 3778 w
  5280. 10 CW f
  5281. (maxpswid)2532 3778 w
  5282. 10 R f
  5283. (.)3012 3778 w
  5284. (The state of)2 471 1 970 3934 t
  5285. 10 I f
  5286. (troff)1466 3934 w
  5287. 10 R f
  5288. ('s fill or no-fill mode is preserved around a picture.)9 2046 1 1639 3934 t
  5289. (Input numbers may be expressed in)5 1417 1 970 4090 t
  5290. 10 CW f
  5291. (E)2412 4090 w
  5292. 10 R f
  5293. (notation.)2497 4090 w
  5294. ( number of objects, text strings, etc., may be used;)9 2069( Any)1 229( well.)1 229(Numerous internal changes have been made as)6 1903 4 970 4246 t
  5295. ( inches instead of units for a particular typeset-)8 1906( is now produced in)4 808( Output)1 333(the only limit is total available memory.)6 1633 4 720 4366 t
  5296. (ter, so the)2 391 1 720 4486 t
  5297. 10 CW f
  5298. (-T)1136 4486 w
  5299. 10 R f
  5300. (option has gone away.)3 893 1 1281 4486 t
  5301. cleartomark
  5302. showpage
  5303. saveobj restore
  5304. %%EndPage: 25 27
  5305. %%Trailer
  5306. done
  5307. %%Pages: 27
  5308. %%DocumentFonts: Courier Times-Bold Times-Italic Times-Roman Times-Roman Symbol Helvetica-Bold