÷ƒ’À;è TeX output 1996.03.06:1224‹ÿÿÿÿ ¨� ýF œ� ý¬�’·èÇóDÓítG®G®cmr17ºThe›7t\óÖÆG®G®cmss17»p•Œqrograms.st“yº"˜st“yle˜ le��Ÿùº¯ó!",š cmsy10ÀŽŽŽŸí¡�����’ô$ºóX«Q cmr12¼Miguel‘ê¨AlabauŽŽ¤��’Ê{óo´‹Ç cmr9ÇLaBRI,–TUniv�¾9ersit�¾ª‘û¡Xe“Bordeaux“I“(F‘ÿ:«rance)ŽŽ¡��’»¸éó¼j‘¹ cmti9Èe-mail‘ìpÇ:‘póߤN cmtt9ÉMiguel.Alabau@labri.u-bordeaux.frŽŽŽŽŽŸ5v+�’õri¼Marc�¬rh–ê¨6,“1996ŽŸ/5Ý�’¡Kót ‰: cmbx9ÊAbstractŽŸPï�’†ßüÇThis–stš¾9yle“ le“con˜tains“a“set“of“de nitions“that“allo˜w“a“fairly“easy“prett˜y-ޤ �‘yprinš¾9ting–m}of“programs.‘ä~In“particular,‘�text“alignemen˜t“is“obtained“b˜y“simply“t˜ypingŽ¡�‘yÉspace–V-Çcš¾9haracters.‘ܸEmphasized“c˜haracters,‘|imathematical“sym˜b�AÇols“and“commandsŽ¡�‘yare–Tdirectly“takš¾9en“in˜to“accoun˜t.Ž ±ˆï�� ÿeÿð�‘`ó!ÂÖN ff cmbx12ÌCon•ŒÌten“tsޤ€��‘`ó"2Ç@Écmbx8Í1Ž‘lÀ In�ºOtro�E±duction�‘iYp1ŽŽ¡��‘`2Ž‘lÀ User's‘DFMan�ºOual�‘aqv2ŽŽ¤ ��‘lÀ ó|{Ycmr8Á2.1Ž’€LìEn•ÃŽvironmen“ts– Ìfor“t�ÃŽyp�Ÿ'EŽ‘ãxX“óßêŸ'EŽ‘ãxX›À/pro“vides˜the˜¹tabbing˜²en“vi-Ž¡�‘`ronmenš¸ãt–%Ofor“freely“t˜yp�Gesetting“programs.Ž¡�‘`But–[>a“cum�¸ãbšGersome“asp˜ect“of“this“en�¸ãviron-Ž¡�‘`menš¸ãt–sŒis“the“w˜a˜y“tabs“are“sp�Geci ed:‘®5theirŽ¡�‘`presence–¡,mak�¸ães“the“text“to“b�Ge“obscured.Ž¡�‘`The–ÖS le“ó#ý': cmti10Îpr–ÿ}'o“gr“ams.sty‘¸Ð²pro•¸ãvides‘ÖSdi eren“tŽ¡�‘`en•¸ãvironmen“ts–uOand“commands“for“t�¸ãyp�Geset-Ž¡�‘`ting–>Íprograms.‘ .0Spaces“are“in�¸ãterpretedŽŽ� ÿe-š�’#as–èin“the“¹verbatim“²en•¸ãvironmen“t,‘=La“v“oid-ޤ �’#ing–Ž8the“user“to“tš¸ãyp�Ge“¹\=“²and“¹\>“²con˜trolŽ¡�’#c•¸ãharacters.‘uÍAccen“ts,‘Á­mathematical‘¬sym-Ž¡�’#bšGols,‘´ emphasized–¡+and“b˜oldface“fon�¸ãts“canŽ¡�’#b�Ge–¼oused.‘§Another“useful“feature“is“theŽ¡�’#capabilitš¸ãy–Zto“n˜um˜b�Ger“lines“and“to“put“la-Ž¡�’#b�Gels–æon“lines“(and,› Ÿ'EŽ‘ãxX“prede ned“fon�¸ãt“sizes:ŽŸ>®Þ���’×ÀŸÌL͉ff…Ü�¤fd��‘en•¸ãvironmen“tsŽ�‘\8ïsizesŽŽ©‰ff…Ü�Ÿ‰ff…Ü�¡��‘programŽ�‘L#–normalsizeŽŽ¤ ��‘programlŽ�‘L#–largeŽŽ¡��‘programLŽ�‘L#–LargeŽŽ¡��‘programsŽ�‘L#–smallŽŽ¡��‘programfŽ�‘L#–fo�GotnotesizeŽŽ¡��‘programscŽ�‘L#–scriptsizeŽŽ¡��‘program�¸ãtŽ�‘L#–tin�¸ãyŽŽ¦‰ff…Ü�ŽŽŽŸ>y‰�‘`These›rÒen•¸ãvironmen“ts˜are˜to˜b�Ge˜used˜lik“e˜the˜¹verbatim˜²en“vironmen“t.‘&FHo“w“ev“er˜they˜w“orkŽ¡�‘`di erenš¸ãtly‘ÿ*ª,‘y¿since–rwthe“usual“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“escap�Ges“are“allo˜w˜able“from“within“the“en˜vironmen˜t.Ž¡�‘`F‘ÿ*ªor–UUinstance,“math“mo�Gde“as“wš¸ãell“as“emphasized“c˜haracters“ma˜y“b�Ge“used.ަ�‘`By–¥|default,‘¹…lines“are“n•¸ãum“bšGered.‘b;If–¥|someone“w•¸ãan“ts–¥|to“t�¸ãyp˜e“an“unn•¸ãum“b˜ered–¥|text,‘¹…it“isŽ¡�‘`necessary–UUto“put“a“¹*“²just“after“the“b�Geginning“of“the“en•¸ãvironmen“t.‘qÇF‘ÿ*ªor‘UUinstance:ŽŸn)�‘d¹–É\begin{programL}*ޤ �‘wŸîŽ¡�‘d¹–\end{programL}Ž¡ŽŸ�’€²2ŽŽŒ‹³ ¨� ýF œ� ý‚�‘`²Program–‘†indenš¸ãtation“ob�Gey“to“the“v‘ÿqÇariable“¹\ProgramIndent“²(see“section“2.2).‘0ƒHo˜w˜ev˜er,ޤ �‘`it–Œ?is“p�Gossible,‘Ùùfor“one“givš¸ãen“en˜vironmen˜t,‘Ùùnot“to“ob�Gey“to“the“global“inden˜tation“ofŽ¡�‘`programs.‘p This–Qàis“done“bš¸ãy“indicating“another“inden˜tation“b�Get˜w˜een“square“braces“justŽ¡�‘`after–q.enš¸ãtering“the“en˜vironmen˜t.‘ÅSF‘ÿ*ªor“instance,‘x%an“unn˜um˜b�Gered“program“inden˜ted“2cmŽ¡�‘`from–UUthe“left“margin“of“the“text“is:ŽŸÇj�‘d¹–É\begin{programL}[2cm]*ޤ �‘wŸîŽ¡�‘d¹–\end{programL}Ž¡ŸÇj�‘`²There–$¾is“also“a“set“of“inclusion“commands“similar“to“the“¹\verbatimfile“²(v�¸ãerbatimޤ �‘`inclusion–›¹of“a“ le)“and“¹\verbatimlisting“²(vš¸ãerbatim“inclusion“of“a“ le,‘ÀÙwith“n˜um˜b�GeredŽ¡�‘`lines)–·commands“of“the“\Îverb‘ÿ}'atim les.sty‘â}²"“bš¸ãy“Chris“Ro˜wley‘ÿ*ª.‘W=Of“course,‘¤the“ les“inputŽ¡�‘`bš¸ãy–·these“commands“are“sub‘Ž8ject“to“the“same“p�Germisiv˜e“syn˜tax“as“for“the“en˜vironmen˜tsŽ¡�‘`ab�Go•¸ãv“e–UU(math“syn�¸ãtax,“emphasized“text,“Îetc.²).ŽŸG”6���’‘ðŸÆš‰ff!¤fd��‘H‡$program–UUinclusion“commandsŽŽ©‰ff!¡��‘unn•¸ãum“b�Gered‘UUprogramsŽ�‘t1Õn•¸ãum“b�Gered‘UUprogramsŽ�’ç\�sizesŽŽ¦‰ff!Ÿ‰ff!¡��‘¹\²fprogramŽ�‘t1Õ¹\²lprogramŽ�’×G6normalsizeŽŽ¤ ��‘¹\²fprogramlŽ�‘t1Õ¹\²lprogramlŽ�’×G6largeŽŽ¡��‘¹\²fprogramLŽ�‘t1Õ¹\²lProgramLŽ�’×G6LargeŽŽ¡��‘¹\²fprogramsŽ�‘t1Õ¹\²lprogramsŽ�’×G6smallŽŽ¡��‘¹\²fprogramfŽ�‘t1Õ¹\²lprogramfŽ�’×G6fo�GotnotesizeŽŽ¡��‘¹\²fprogramscŽ�‘t1Õ¹\²lprogramscŽ�’×G6scriptsizeŽŽ¡��‘¹\²fprogram�¸ãtŽ�‘t1Õ¹\²lprogram�¸ãtŽ�’×G6tin�¸ãyŽŽ¦‰ff!ŽŽŽŸGý�‘`W‘ÿ*ªe–UUdescrib�Ge“in“section“2.5“hoš¸ãw“to“de ne“new“program“en˜vironmen˜ts.ŽŸMÙ��‘`Ñ2.2Ž‘~ÀGlobal‘€commandsŽŸ��‘`²This–command“servš¸ães“to“con˜trol“the“default“inden˜tation“of“the“programs.‘V It“is“used“asŽ����‘ÙÌÉ\ProgramIndentŽŽŽŽ¡�‘`²describ•Ged‘UUb“elo�¸ãw:ŽŸ&.�‘ræXÉ\ProgramIndent{1cm}ŽŸ Ÿ&.�‘`²and–á¦has“the“e ect“to“makš¸ãe“all“the“programs“to“b�Ge“inden˜ted“b˜y“default“one“cen˜time-Ž¡�‘`ter–tfrom“the“left“margin,‘»Ëunless“this“v‘ÿqÇalue“is“cš¸ãhanged“b˜y“another“¹\ProgramIndentŽ¡�‘`²command.‘qÇDefault–UUis“no“inden�¸ãtation“at“all.Ž© ¡<�‘`This–Hómacro“rede nes“the“macro“¹\ProgramIndent².‘m¦It“is“presenš¸ãt“here“for“compatibilit˜yŽ����‘ÙÌÉ\programindentŽŽŽŽ¡�‘`²with–UUprevious“vš¸ãersions“of“the“Îpr–ÿ}'o“gr“ams.sty‘7Ò²st˜yle.ަ�‘`These–â‡four“commands“are“self-explanatory‘ÿ*ª.‘]They“allo�¸ãw“the“user“to“sp�Gecify“that“lineŽ����‘õÉ\LeftMarginNumberLineŽŽŽŽ��¡��‘õ\RightMarginNumberLineŽŽŽŽ��Ÿ��‘õ\BothMarginsNumberLineŽŽŽŽ��Ÿ$��‘õ\InBodyLeftNumberLineŽŽŽŽ¡�‘`²n•¸ãum“b�Gers›¶m“ust˜b�Ge˜put˜in˜either˜the˜left˜or˜the˜righ“t˜margin,–L or˜in˜b�Goth˜margins,“orŽ¡�‘`that–yFlines“m�¸ãust“appšGear“inside“the“b˜o˜dy“of“the“text“on“the“left“of“the“program.‘ÝšTheseŽ¡�‘`options–¿maš¸ãy“b�Ge“put“an˜ywhere“in“the“text,‘Din“the“pream˜ble“as“w˜ell“as“in“the“b•Go“dy‘ÿ*ª.‘WëTheŽ¡�‘`e ect–òof“one“of“these“commands“stands“unš¸ãtil“it“is“c˜hanged“b˜y“another“one“of“them.‘W¦OfŽ¡�‘`course,‘iddi erenš¸ãt–eacommands“ma˜y“b�Ge“put“in“sev˜eral“parts“of“the“text,‘idif“the“user“w˜an˜tsŽ¡�‘`its–a programs“to“bšGe“n•¸ãum“b˜ered›a di eren“tly‘ÿ*ª.‘”ãThe˜default˜is˜for˜the˜lines˜to˜app�Gear˜in˜theŽ¡�‘`left–UUmargin“of“the“text“(¹\LeftMarginNumberLine²).ަ�‘`This–âbmacro“rede nes“the“macro“¹\BothMarginsNumberLine².‘ ïIt“is“presen�¸ãt“here“forŽ����‘õÉ\BothMarginNumberLineŽŽŽŽ¡�‘`²compatibilitš¸ãy–UUwith“previous“v˜ersions“of“the“Îpr–ÿ}'o“gr“ams.sty‘7Ò²st˜yle.ަ�‘`T‘ÿ*ªext–ÕÖof“programs“are“usually“tš¸ãyp�Ged“with“a“telet˜yp�Ge“fon˜t“(lik˜e“in“the“¹verbatim“²en˜vi-Ž����‘%À$É\ttProgramŽŽŽŽ��¡��‘%À$\rmProgramŽŽŽŽ��Ÿ��‘%À$\emProgramŽŽŽŽ¡�‘`²ronmenš¸ãt).‘M\The–I1user“has“the“abilit˜y“to“c˜hange“this“default“fon˜t“to“one“of“the“threeŽ¡�‘`prede ned›UUfon•¸ãts:‘qÇtelet“yp�Ge,˜roman,˜italicized˜roman.ަ�‘`The–C>command“¹\ProgramDefaultFont“²servš¸ães“to“reset“the“prin˜ting“to“the“default“fon˜t.Ž����‘û9ÞÉ\ProgramDefaultFontŽŽŽŽŽŸ�’€²3ŽŽŒ‹#! ¨� ýF œ� ý‚��‘`Ñ2.3Ž‘~ÀCommands–€to“bš`e“used“b˜efore“a“program“en• vironmen“tŽŸuT�‘`²Programs–»are“usually“tš¸ãyp�Geset“as“they“are.‘£Ho˜w˜ev˜er“a“user“can“sp�Gecify“that“the“nextŽ����‘ f É\ProgramSurroundŽŽŽŽ¤ �‘`²program–×oto“bšGe“prin�¸ãted“will“b˜e“surrounded“bš¸ãy“t˜w˜o“horizon˜tal“lines,‘ð�as“long“as“the“widthŽ¡�‘`of–S%the“text.‘q This“is“done“b�¸ãy“putting“this“command“in“the“b•Go“dy–S%of“the“text“b�Gefore“theŽ¡�‘`program‘UUapp�Gears.Ž©�‘`This–DÓmacro“rede nes“the“macro“¹\ProgramSurround².‘ñIt“is“presenš¸ãt“here“for“compatibilit˜yŽ����‘ f É\programsurroundŽŽŽŽ¡�‘`²with–UUprevious“vš¸ãersions“of“the“Îpr–ÿ}'o“gr“ams.sty‘7Ò²st˜yle.ަ�‘`By–þddefault,‘Çprogram“lines“are“counš¸ãted“from“1.‘TÌIt“is“p�Gossible“to“c˜hange“the“v‘ÿqÇalue“of“theŽ�����ótÉ\SetProgramCounterŽŽŽŽ¡�‘`² rst– aline“n•¸ãum“b�Ger– aof“the“next“program“bš¸ãy“issuing“the“follo˜wing“command“b�Gefore“theŽ¡�‘`program–UUis“included:ŽŸ�‘wŸîÉ\SetProgramCounter{6}ŽŸ ¡�‘`²In–UUthis“example,“the“lines“of“the“next“program“will“start“from“6.ަ�‘`This–c�macro“rede nes“the“macro“¹\SetProgramCounter².‘œxIt“is“presen�¸ãt“here“for“compat-Ž�����ótÉ\setprogramcounterŽŽŽŽ¡�‘`²ibilitš¸ãy–UUwith“previous“v˜ersions“of“the“Îpr–ÿ}'o“gr“ams.sty‘7Ò²st˜yle.ަ�‘`If–ÿ'the“user“desires“that“the“n•¸ãum“b�Ger–ÿ'of“the“ rst“line“of“the“next“program“is“equal“toŽ����‘õÉ\NoResetProgramCounterŽŽŽŽ¡�‘`²the›Xn•¸ãum“b�Ger˜of˜the˜last˜line˜of˜the˜last˜previous˜program,‘XÑhe˜m“ust˜issue˜the˜commandŽ¡�‘`¹\NoResetProgramCounter–í¤²b�Gefore“the“next“program.‘:´This“command“has“no“e ect“ifŽ¡�‘`issued–UUb�Gefore“the“ rst“program.ަ�‘`This–âbmacro“rede nes“the“macro“¹\NoResetProgramCounter².‘ ïIt“is“presen�¸ãt“here“forŽ����‘õÉ\noresetprogramcounterŽŽŽŽ¡�‘`²compatibilitš¸ãy–UUwith“previous“v˜ersions“of“the“Îpr–ÿ}'o“gr“ams.sty‘7Ò²st˜yle.ŽŸþ6��‘`Ñ2.4Ž‘~ÀCommands–€to“b�`e“used“inside“a“program“en• vironmen“tŽŸuT�‘b«:²This–«:command“is“to“bšGe“used“only“Îwithin‘o�²programs.‘9It“m�¸ãust“app˜ear“at“the“end“of“a“lineŽ����‘%À$É\UnnumLineŽŽŽŽ¡�‘`²and–`Èhas“the“e ect“not“to“n•¸ãum“b�Ger–`Èthe“folloš¸ãwing“line.‘” It“serv˜es“when“the“user“w˜an˜ts“toŽ¡�‘`kš¸ãeep–L‘only“one“unique“line“n˜um˜b�Ger“for“long“statemen˜ts“that“span“accross“sev˜eral“lines.ަ�‘`This–!ámacro“rede nes“the“macro“¹\UnnumLine².‘`¡It“is“presenš¸ãt“here“for“compatibilit˜y“withŽ����‘%À$É\unnumlineŽŽŽŽ¡�‘`²previous–UUvš¸ãersions“of“the“Îpr–ÿ}'o“gr“ams.sty‘7Ò²st˜yle.ŽŸþ6��‘`Ñ2.5Ž‘~ÀMeta-Commands:‘ }�hoš w–¾Èto“de ne“new“program“en˜viron-ަ�‘~Àmen� tsŽŸuT�‘e)²The–)¹\NewProgram“²command“servš¸ães“to“de ne“a“new“program“en˜vironmen˜t.‘ ìÛTheŽ����‘!ŽÉ\NewProgramŽŽŽŽ��¡��‘“b\RenewProgramŽŽŽŽ¡�‘`¹\RenewProgram–bC²command“is“to“b�Ge“used“for“rede ning“already“de ned“program“en-Ž¡�‘`vironmenš¸ãts.‘qÇThese–UUcommands“m˜ust“bšGe“used“as“b˜elo�¸ãw:Ž©�‘y¹\NewProgram¸fÎname–À[¸gfÎfont�‘�‰ffŽ‘®name“¸gŽ¡�‘y¹\RenewProgram¸fÎname–À[¸gfÎfont�‘�‰ffŽ‘®name“¸gަ�‘`²The–¿hcommand“¹\NewProgram“²de nes“one“en•¸ãvironmen“t–¿hand“t•¸ãw“o–¿hcommands.‘°Let“usŽ¡�‘`assume–UUthat“the“user“issues“the“follo�¸ãwing“command:ŽŸ�‘wŸîÉ\NewProgram{LittleProg}{smallsize}ŽŸ ¡�‘`²then–h¹an“en•¸ãvironmen“t–h¹called“¹LittleProg“²will“bšGe“generated“for“direct“t�¸ãyp˜esetting“ofŽ¡�‘`programs,‘µ¾and›oCt•¸ãw“o˜commands˜will˜b�Ge˜created:‘¥£¹fLittleProg˜²and˜¹lLittleProg˜²forŽ¡�‘`inclusion–UUof“unn•¸ãum“bšGered‘UU(resp.‘qÇn“um“b˜ered)‘UUtext.ŽŸ�‘`These›ót•¸ãw“o˜macros˜are˜old˜names˜presen“t˜here˜for˜compatibilit“y˜with˜previous˜v“ersionsŽ����‘!ŽÉ\newprogramŽŽŽŽ��¡��‘“b\renewprogramŽŽŽŽ¡�‘`²of–¯óthe“Îpr–ÿ}'o“gr“ams.sty‘’p²st�¸ãyle.‘�¡¹\newprogram–¯ó²rede nes“¹\NewProgram²,‘Æšand“¹\renewprogramŽ¡�‘`²rede nes‘UU¹\RenewProgram².ŽŽŸ�’€4ŽŽŒ‹3™ ¨� ýF œ� ý‚��‘`Ñ2.6Ž‘~ÀThe–€Index“FileŽŸuT�‘`²In–÷order“for“the“prošGcessing“of“this“ le“to“b˜e“complete,‘) an“index“format“ le“is“required.ޤ �‘`Let–dåus“assume“that“it“is“named“¹programs.ist²,‘hÉthen“the“folloš¸ãwing“command“m˜ust“b�GeŽ¡�‘`run–UUand“then“another“compilation“of“the“curren�¸ãt“ le:Ž©��‘cüs±1Ž‘jª®ó(©±�Ê cmsy9Óh�ó)ÒoÇw cmss9ÔindexŽ‘#�Óiޤ ��‘cüs±2Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉ%%‘¹–-----------------------------------------------------------Ž¡��‘cüs±3Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉ%%–¹–Assuming“this“file“is“named“"programs.ist"“(after“beingŽ¡��‘cüs±4Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉ%%–¹–generated“from“"programs.dtx"“by“running“"latex“docstrip"),Ž¡��‘cüs±5Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉ%%–¹–the“following“command“will“produce“a“well“formated“index:Ž¡��‘cüs±6Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉ%%Ž¡��‘cüs±7Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉ%%‘U Œmakeindex–¹–-s“programs.ist“programs.idxŽ¡��‘cüs±8Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉ%%‘¹–-----------------------------------------------------------Ž¡��‘cüs±9Ž‘jª®Óh�ÔindexŽ‘#�ÓiŽŸ�‘`²Another–º­p�Gossibilitš¸ãy“is“to“set“the“en˜vironmen˜t“v‘ÿqÇariable“¹INDEXSTYLE‘º†²to“a“directory“nameŽŸ �‘`where–UUthe“\.ist"“ les“(index“format“ les)“ma�¸ãy“b�Ge“found.ŽŸ�‘`A–UUpšGossible“index“ le“is“giv�¸ãen“b˜elo�¸ãw��Ÿü^ÿ±1ŽŽ‘|s²:ަ��‘`±10Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉactual‘¹–'='Ž¡��‘`±11Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉquote‘¹–'!'Ž¡��‘`±12Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉlevel‘¹–'>'Ž¡��‘`±13Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉpreambleŽ¡��‘`±14Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉ"\n–¹–\\begin{theindex}“\n“\\makeatletter\\scan@allowedfalse\n"Ž¡��‘`±15Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉpostambleŽ¡��‘`±16Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉ"\n\n‘¹–\\end{theindex}\n"Ž¡��‘`±17Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉitem_x1‘,Â"\\efill–¹–\n“\\subitem“"Ž¡��‘`±18Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉitem_x2‘,Â"\\efill–¹–\n“\\subsubitem“"Ž¡��‘`±19Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉdelim_0‘,Â"\\pfill‘¹–"Ž¡��‘`±20Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉdelim_1‘,Â"\\pfill‘¹–"Ž¡��‘`±21Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉdelim_2‘,Â"\\pfill‘¹–"Ž¡��‘`±22Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉ%–¹–The“next“lines“will“produce“some“warnings“whenŽ¡��‘`±23Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉ%–¹–running“Makeindex“as“they“try“to“cover“two“differentŽ¡��‘`±24Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉ%–¹–versions“of“the“program:Ž¡��‘`±25Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉlethead_prefix‘,Â"{\\bf\\hfil‘¹–"Ž¡��‘`±26Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉlethead_suffix‘,Â"\\hfil}\\nopagebreak\n"Ž¡��‘`±27Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉlethead_flag‘!1Ž¡��‘`±28Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉheading_prefix‘,Â"{\\bf\\hfil‘¹–"Ž¡��‘`±29Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉheading_suffix‘,Â"\\hfil}\\nopagebreak\n"Ž¡��‘`±30Ž‘jª®Óh�ÔindexŽ‘#�ÓiÉheadings_flag‘!1ŽŸþ6��‘`Ñ2.7Ž‘~ÀThe–€Driv� er“FileŽŸuT�‘`²There–:Ûis“also“a“driv�¸ãer“ le,›@'called“Îpr–ÿ}'o“gr“ams.drv‘�²,˜that–:Ûis“included“in“the“distribution.‘hôItޤ �‘`is–”devš¸ãoted“to“con˜trol“the“latex“compilation“of“the“do�Gcumen˜tation.‘£…Its“co�Gde“is“giv˜enŽ¡�‘`b�Gelo�¸ãw.ަ��‘`±31Ž‘jª®Óh�ÔdriverŽ‘oÓiޤ ��‘`±32Ž‘jª®É\newif\ifnoprogsfileŽ¡��‘`±33Ž‘jª®É\openin1‘¹–programs.styŽ¡��‘`±34Ž‘jª®É\ifeof1‘¹–\noprogsfiletrue\else\noprogsfilefalse\fi\closein1Ž¡��‘`±35Ž‘jª®É\ifnoprogsfileŽ¡��‘`±36Ž‘}‘É\typeout{*******************************************************}Ž¡��‘`±37Ž‘}‘É\typeout{To–¹–get“a“more“complete“documentation,“you“should}Ž¡��‘`±38Ž‘}‘É\typeout{copy–¹–the“current“file“into“'programs.sty'}Ž¡��‘`±39Ž‘}‘É\typeout{*******************************************************}Ž‘`Ÿff‰ff”Ì8Ÿ J=����‘ "5Ÿý-:ó¹Aa¨cmr6Â1ŽŽŽ‘LÜÁIt–ÕXcan“b�Ÿ'EŽ‘ãxX“st�¸ãyle“ lesŽ¡�‘`directory‘ÿ*ª.‘qÇExtraction–UUis“p�Gerformed“bš¸ãy“t˜yping:Ž©�‘ræXÉlatex‘¹–docstripŽŸ Ÿ�‘`²This–ëis“an“in•¸ãteractiv“e–ëprogram,‘|and“the“dialogue“for“generating“the“st�¸ãyle“ le“shouldŽ¡�‘`b�Ge:ަ�‘ræXÉ**********************************************************ޤ �‘ræX*–¹–This“program“converts“documented“macro-files“into“fast“*Ž¡�‘ræX*–¹–loadable“files“by“stripping“off“(nearly)“all“comments!“*Ž¡�‘ræX**********************************************************Ž©�‘ræX****************************************************Ž¡�‘ræX*–¹–First“type“the“extension“of“your“input“file(s):‘ s,*Ž¡�‘ræX\infileext=docŽ¡�‘ræX****************************************************ަ�‘ræX****************************************************Ž¡�‘ræX*–¹–Now“type“the“extension“of“your“output“file(s)‘ s,:“*ŽŽŸ�’€²6ŽŽŒ‹QS ¨� ýF œ� ý‚�‘ræXÉ\outfileext=styޤ �‘ræX****************************************************Ž©�‘ræX****************************************************Ž¡�‘ræX*–¹–Now“type“the“name(s)“of“option(s)“to“include‘,Â:“*Ž¡�‘ræX\Options=styleŽ¡�‘ræX****************************************************ަ�‘ræX****************************************************Ž¡�‘ræX*–¹–Finally“give“the“list“of“input“file(s)“without‘,Â*Ž¡�‘ræX*–¹–extension“seperated“by“commas“if“necessary‘Ÿî:“*Ž¡�‘ræX\filelist=programsŽ¡�‘ræX****************************************************Ž¡Ÿ�‘`²F‘ÿ*ªor–å•generating“the“index“ le“it“suces“to“rerun“the“¹docstrip“²utilitš¸ãy“and“to“answ˜erޤ �‘`\ist/index"–~[instead“of“\st•¸ãy/st“yle"›~[in“t˜the˜ab�Go“v“e˜steps˜2˜and˜3,‘ˆœand˜in˜another˜run˜toŽ¡�‘`answ•¸ãer‘UU"drv/driv“er".Ž©�‘`The– Nthree“ les“ma�¸ãy“bšGe“pro˜duced“in“a“single“pass,‘ó b�¸ãy“simply“latexing“the“ le“Îpr‘ÿ}'o-Ž¡�‘`gr›ÿ}'ams.ins‘'v²whic�¸ãh–UUgo�Ges“along“with“the“ le“Îpr˜o˜gr˜ams.dtx‘4D².ަ�‘`Generation–UUof“the“došGcumen�¸ãtation“is“then“simply“p˜erformed“as“follo�¸ãws:ŽŸ�‘ræXÉlatex‘¹–programs.drvޤ �‘ræXlatex‘¹–programs.drvŽ¡�‘ræXlatex‘¹–programs.drvŽ¡�‘ræXmakeindex‘ s,-s–¹–programs.ist“programs.idxŽ¡�‘ræXlatex‘¹–programs.drvŽ¡Ÿ��‘`±69Ž‘jª®Óh�Ôst�¾9yleŽ‘Ö[ÓiŽŸ#Ä��‘`Ì3Ž‘xLËDescription–ffof“MacrosŽŸç����‘à&ÄÉ\AlreadyDefined@@ProgramsŽŽŽ‘`²This–YÄmacro“can“b�Ge“tested“bš¸ãy“an˜y“st˜yle“ le“to“kno˜w“if“the“ le“\ó,m#½R cmss10×p˜rograms.st˜y²"“has“b�Geenޤ �‘`input.‘iBut–Üàit“alloš¸ãws“a“mo�Gdular“programming“st˜yle“similar“to“the“one“used“with“theŽ¡�‘`C–…Žheader“ les.‘sHence,‘‘�the“ rst“time“the“\×p•¸ãrograms.st“y²"›…Žst“yle˜ le˜is˜included˜all˜of˜itsŽ¡�‘`b•Go“dy–UUwill“bšGe“included;“the“second“time,“the“b˜o˜dy“will“not“b˜e“included.Ž©��‘`±70Ž‘jª®É\expandafter\ifx\csname‘¹–AlreadyDefined@@Programs\endcsname\relax%ޤ ��‘`±71Ž‘jª®É\expandafter\def\csname‘¹–AlreadyDefined@@Programs\endcsname{}%Ž¡��‘`±72Ž‘jª®É\else\endinput\fiŽŸþ6��‘`Ñ3.1Ž‘~ÀConš trolling–€program“inden˜tationŽŸuT����‘ 6É\ProgramIndentŽŽ���Ÿ �‘ ­ \@@programindentŽŽŽŽŽ‘`¹\@@programindent–ð˜²is“the“amounš¸ãt“of“program“inden˜tation“for“the“left“margin“of“theŽŸ �‘`text.‘qÇInitially‘ÿ*ª,–UUit“is“set“to“¹\z@“²:ަ��‘`±73Ž‘jª®Óh�Ôst�¾9yleŽ‘6]Óió/ßêŸ'EŽ‘ãxX“to“switc˜h“to“the“default“fon˜t“for“t˜yping“pro-ޤ �‘`grams–º9(whicš¸ãh,‘qin“the“curren˜t“implemen˜tation“is“¹\tt“²in“order“to“ha˜v˜e“a“b�Geha˜viourŽ¡�‘`consistenš¸ãt–UUwith“the“¹verbatim“²en˜vironmen˜t).ަ��‘\�±225Ž‘jª®É\ProgramDefaultFontŽŽŸ�’ÿÿ²12ŽŽŒ‹ ŸÇ ¨� ýF œ� ý‚��‘`Ñ3.8Ž‘~ÀOld–€macro“names“presenš t“here“for“compatibilit˜y“reasonsŽŸuT����‘"LøÉ\newprogramŽŽ���Ÿ �‘ÙÌ\renewprogramŽŽŽŽ���¤ ¡�‘îS†\noresetprogramcounterŽŽŽŽ���¤ ¡¡�‘ 6\programindentŽŽŽŽ���¤ ¡¡¡�‘ ­ \programsurroundŽŽŽŽ���¤ ¡¡¡¡�‘9Þ\setprogramcounterŽŽŽŽ���¤ ¡¡¡¡¡�‘'Ž\unnumlineŽŽŽŽ���¤ ¡¡¡¡¡¡�‘ó \BothMarginNumberLineŽŽŽŽŽ‘`²These–-žmacro“names“are“simple“rede nitions“of“macros“de ned“elsewhere“in“this“do�Gcu-ޤ �‘`men•¸ãt›Œst“yle.‘_„They˜are˜presen“t˜here˜b•Gecause˜they˜had˜b“een˜de ned˜in˜previous˜v�¸ãersionsŽ¡�‘`of–UUthis“st�¸ãyle.ŽŸ��‘\�±226Ž‘jª®Óh�Ôst�¾9yleŽ‘6]ÓiÚ%%–¹—OLD“MACRO“NAMES“PRESENT“HERE“FOR“COMPATIBILITY“REASONSޤ ��‘\�±227Ž‘jª®É\let\newprogram=\NewProgram‘¹–\let\renewprogram=\RenewProgramŽ¡��‘\�±228Ž‘jª®É\let\noresetprogramcounter=\NoResetProgramCounterŽ¡��‘\�±229Ž‘jª®É\let\programindent=\ProgramIndentŽ¡��‘\�±230Ž‘jª®É\let\programsurround=\ProgramSurroundŽ¡��‘\�±231Ž‘jª®É\let\setprogramcounter=\SetProgramCounter‘¹–\let\unnumline=\UnnumLineŽ¡��‘\�±232Ž‘jª®É\let\BothMarginNumberLine=\BothMarginsNumberLineޤ��‘\�±233Ž‘jª®Óh�Ò=Ôst�¾9yleŽ‘Ö[ÓiŽŸ#Ä�‘`ÌReferencesŽŸç���‘`²[1]ŽŽ‘oŽ;ó1Œ-ø cmcsc10ÜD.E.‘=Knuth².‘½•Computers–Å¡&“T�¸ãypšGesetting“(The“T�‘þU>Ÿ'EŽ‘ãxXb˜o˜ok).‘½•Addison-W–ÿ*ªesley“,‘á´V“ol.Ž© �‘oŽ;A,‘UU1986.Ž¡���‘`[2]ŽŽ‘oŽ;ÜL.‘¯hLampor‘ÿUTt².‘¼¸ÎL�Ÿýé›�‘üQíó2t}\Êcmti7ÝAŽŽ‘ÙÎT�‘þKß'EŽ‘Í-X:‘a–ž×Do›ÿ}'cument“Pr˜ep˜ar˜ation“System².‘¼¸Addison-W‘ÿ*ªesley‘JôPublishingަ�‘oŽ;Compan�¸ãy‘ÿ*ª,‘UU1986.Ž¡���‘`[3]ŽŽ‘oŽ;ÜF.‘ÇMittelba�Çch².–nïThe›UU¹doc²-option.“ó3p®0J cmsl10ÞTUGb�Goat²,˜V‘ÿ*ªol.˜10(2),˜Îpp².˜245{273,˜July˜1989.Ž¡���‘`[4]ŽŽ‘oŽ;ÜF.–�oMittelba�Çch,‘š‘D.“Duchier“and“J.“Braams².–‚¹docstrip.dtx› P².“The˜ le˜is˜partަ�‘oŽ;of–UUthe“DOC“pac�¸ãk‘ÿqÇage.ŽŽŸ�’ÿÿ13ŽŽŒ‹«/ ¨� ýF œ� ý‚�‘`ÌIndexŽŸç�‘`ÎThe–k:italic“numb›ÿ}'ers“denote“the“p˜ages“wher˜e“the“c˜orr˜esp˜onding“entry“is“describ˜e˜d,‘s\num-ޤ �‘`b–ÿ}'ers›÷[underline“d˜p“oint˜to˜the˜de nition,‘8al‘‚Øl˜others˜indic“ate˜the˜plac“es˜wher“e˜it˜is˜use“dŽ¡�‘`(ie.‘™–the–“çline“numb›ÿ}'ers“wher˜e“it“app˜e˜ars).Ž +€�� þí�‘`ÇBothMarginNum�¾9b�AÇerLine=‘æXÉ\subitem–¹–*+\BothMarginNumberLine+,“\usage{3},“\main{226}ޤ �‘`ÇBothMarginsNum�¾9b�AÇerLine=‘æXÉ\subitem–¹–*+\BothMarginsNumberLine+,“\usage{3},“\main{93},“232Ž© �‘`ÇCo�AÇdelineIndex=‘æXÉ\subitem–¹–*+\CodelineIndex+,“63Ž¡�‘`Çcolumnsep=‘æXÉ\subitem–¹–*+\columnsep+,“57ަ�‘`ÇDo�AÇcInput=‘æXÉ\subitem–¹–*+\DocInput+,“66ަ�‘`ÇemProgram=‘æXÉ\subitem–¹–*+\emProgram+,“\usage{3},“\main{103}Ž¡�‘`ÇEnableCrossrefs=‘æXÉ\subitem–¹–*+\EnableCrossrefs+,“61ަ�‘`Çheadsep=‘æXÉ\subitem–¹–*+\headsep+,“56ަ�‘`Çifnoprogs le=‘æXÉ\subitem–¹–*+\ifnoprogsfile+,“32,“35,“41Ž¡�‘`ÇInBo•AÇdyLeftNum�¾9b“erLine=‘æXÉ\subitem–¹–*+\InBodyLeftNumberLine+,“\usage{3},“\main{93}ަ�‘`ÇLeftMarginNum�¾9b�AÇerLine=‘æXÉ\subitem–¹–*+\LeftMarginNumberLine+,“\usage{3},“\main{93}ަ�‘`ÇMak•¾9eP“ercen“tIgnore=‘æXÉ\subitem–¹–*+\MakePercentIgnore+,“47Ž¡�‘`Çmarginparwidth=‘æXÉ\subitem–¹–*+\marginparwidth+,“54ަ�‘`ÇNewProgram=‘æXÉ\subitem–¹–*+\NewProgram+,“\usage{4},“\main{138},“217--223,“227Ž¡�‘`Çnewprogram=‘æXÉ\subitem–¹–*+\newprogram+,“\usage{4},“\main{226}Ž¡�‘`Çnoprogs lefalse=‘æXÉ\subitem–¹–*+\noprogsfilefalse+,“34Ž¡�‘`Çnoprogs letrue=‘æXÉ\subitem–¹–*+\noprogsfiletrue+,“34Ž¡�‘`ÇNoResetProgramCoun�¾9ter=‘æXÉ\subitem–¹–*+\NoResetProgramCounter+,“\usage{4},“\main{88},“228Ž¡�‘`Çnoresetprogramcoun�¾9ter=‘æXÉ\subitem–¹–*+\noresetprogramcounter+,“\usage{4},“\main{226}ŽŽ� þí�’#Ço�AÇddsidemargin=‘æXÉ\subitem–¹–*+\oddsidemargin+,“53ޤ *«�’#ÇOldMak�¾9eindex=‘æXÉ\subitem–¹–*+\OldMakeindex+,“64Ž©€�’#Çpartopsep=‘æXÉ\subitem–¹–*+\partopsep+,“112Ž¡�’#ÇProgramDefaultF‘ÿ:«on�¾9t=‘æXÉ\subitem–¹–*+\ProgramDefaultFont+,“\usage{3},“\main{103},“159,��Ç215ŽŸ™”‰fe ßúŽŽ¡�’#ProgramInden�¾9t=‘æXÉ\subitem–¹–*+\ProgramIndent+,“\usage{3},“\main{73},“229Ž¡�’#Çprograminden�¾9t=‘æXÉ\subitem–¹–*+\programindent+,“\usage{3},“\main{226}Ž¡�’#ÇProgramSurround=‘æXÉ\subitem–¹–*+\ProgramSurround+,“\usage{4},“\main{77},“230Ž¡�’#Çprogramsurround=‘æXÉ\subitem–¹–*+\programsurround+,“\usage{4},“\main{226}ަ�’#ÇRecordChanges=‘æXÉ\subitem–¹–*+\RecordChanges+,“62Ž¡�’#ÇRenewProgram=‘æXÉ\subitem–¹–*+\RenewProgram+,“\usage{4},“\main{138},“227Ž¡�’#Çrenewprogram=‘æXÉ\subitem–¹–*+\renewprogram+,“\usage{4},“\main{226}Ž¡�’#ÇRigh•¾9tMarginNum“b�AÇerLine=‘æXÉ\subitem–¹–*+\RightMarginNumberLine+,“\usage{3},“\main{93}Ž¡�’#ÇrmProgram=‘æXÉ\subitem–¹–*+\rmProgram+,“\usage{3},“\main{103}ަ�’#ÇSetProgramCoun�¾9ter=‘æXÉ\subitem–¹–*+\SetProgramCounter+,“\usage{4},“\main{90},“231Ž¡�’#Çsetprogramcoun�¾9ter=‘æXÉ\subitem–¹–*+\setprogramcounter+,“\usage{4},“\main{226}ަ�’#Çtextheigh�¾9t=‘æXÉ\subitem–¹–*+\textheight+,“50Ž¡�’#Çtext�¾9width=‘æXÉ\subitem–¹–*+\textwidth+,“49Ž¡�’#ÇttProgram=‘æXÉ\subitem–¹–*+\ttProgram+,“\usage{3},“\main{103}ަ�’#ÇUnn�¾9umLine=‘æXÉ\subitem–¹–*+\UnnumLine+,“\usage{4},“\main{89},“231Ž¡�’#Çunn�¾9umline=‘æXÉ\subitem–¹–*+\unnumline+,“\usage{4},“\main{226}Ž¡�’#Çusepac�¾9k‘ÿ|rage=‘æXÉ\subitem–¹–*+\usepackage+,“45ŽŽŽŽŸ�’ÿÿ²14ŽŽŒø²¯ƒ’À;è¨Ôó3p®0J cmsl10ó2t}\Êcmti7ó1Œ-ø cmcsc10ó0ò"V cmbx10ó/ßê