÷ƒ’À;è TeX output 1997.02.17:1403‹ÿÿÿÿ ª� ýs o� ý´�‘XóKñ`y cmr10²This–'† le“is“built“for�“L�Ÿýó5�‘üffóÙ“ Rcmr7±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿó  b> cmmi10µ"ŽŽ‘({0²,‘0°so“wš¸ãe“mak˜e“sure“an“error“is“generated“when“it“isŽ© �‘Iused–UUwith“another“formatޤ��‘Lüs±1Ž‘Sª®ó©±�Ê cmsy9¾h�óo´‹Ç cmr9º+óÒoÇw cmss9Àpack�¾9ageŽ‘%øÑ¾ióߤN cmtt9¹\NeedsTeXFormat{LaTeX2e}ŽŸ�‘X²Noš¸ãw–UUannounce“the“pac˜k‘ÿqÇage“name“and“its“v˜ersion:Ž¡��‘Lüs±2Ž‘Sª®¾h�ÀdtxŽ‘½¾iޤ ��‘Lüs±3Ž‘Sª®¹\ProvidesFile{changebar.dtx}Ž¡��‘Lüs±4Ž‘Sª®¾h�ó5ùž" cmmi9¼=ÀdtxŽ‘½¾iŽ¡��‘Lüs±5Ž‘Sª®¾h�º+Àpack�¾9ageŽ‘%øÑ¾i¹\ProvidesPackage{changebar}Ž¡��‘Lüs±6Ž’‡¤ ¹[1996/03/26–¹–v3.2c“Indicate“changes“with“marginal“bars]ŽŸ!Ä��‘IóÂÖN ff cmbx12Ä1Ž‘aLËA–ffdrivšŒÌer“for“this“do�s3cumen˜tŽŸç�‘I²The–�ºnext“bit“of“cošGde“con�¸ãtains“the“do˜cumenš¸ãtation“driv˜er“ le“for“T�‘þU>Ÿ'EŽ‘ãxX,–›Ói.e.,“the‘�º leަ�‘Ithat–V’will“prošGduce“the“do˜cumenš¸ãtation“y˜ou“are“curren˜tly“reading.‘ÜIt“will“b�Ge“extractedަ�‘Ifrom–UUthis“ le“b�¸ãy“the“óŒ-ø cmcsc10Ådocstrip“²program.ŽŸ��‘Lüs±7Ž‘Sª®¾h�ÀdriverŽ‘o¾iŽ¡��‘Lüs±8Ž‘Sª®¹\documentclass{ltxdoc}ŽŸ�‘I²W‘ÿ*ªe–UUdo“w•¸ãan“t–UUan“index,“using“linen•¸ãum“b�GersŽ©��‘Lüs±9Ž‘Sª®¹\EnableCrossrefsŽ¡��‘I±10Ž‘Sª®¹\CodelineIndexŽŸ�‘I²This–UUdo�Gcumenš¸ãt“uses“some“extra“óßêÆIt“realizes“this“b˜yŽ¡�‘bmaking–T’use“of“the“¹\special“ºcommands“supp�AÇorted“bš¾9y“`dvi“driv˜ers'.‘Ü/Curren˜tlyŽ¡�‘bfour–Tdi erenš¾9t“driv˜ers“are“suppšAÇorted.‘pMore“can“easily“b˜e“added.ŽŸ!Ä��‘IÄ2Ž‘aLËIn�ŒÌtro�s3ductionŽŸç�‘I²IMPOR–ÿ*ªT“ANT‘–^NOTE:––oJust“as“with“cross“references“and“lab�Gels,‘¦µy�¸ãou“usually“needޤ �‘Ito–Q,prošGcess“the“do˜cumenš¸ãt“t˜wice“(and“sometimes“three“times)“to“ensure“that“theŽ¡�‘Icš¸ãhangebars–�5come“out“correctly‘ÿ*ª.‘"gHo˜w˜ev˜er,‘žía“w˜arning“will“b�Ge“giv˜en“if“another“passŽ¡�‘Iis‘UUrequired.Ž¡�‘XFEA‘ÿ*ªTURES:Ž‘IŸff‰ff�ÿrŸ @���‘ ÷ˆŸý-:óq¡% cmsy6¿ŽŽ‘LÜó%|{Ycmr8ÐThis–ÕX le“has“všÃŽersion“n˜um˜b�Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘q«ñ²as–XGargumenš¸ãt.‘zžsp�Gecify“the“driv˜er“that“will“b�Ge“used“to“prin˜t“the“do�Gcumen˜tŽ¡�‘Ican–UUb�Ge“indicated.‘qÇThe“drivš¸ãer“ma˜y“b�Ge“one“of:ަ����‘X¸ŽŽŽ‘b²D�¸ãVItoLN03ަ����‘X¸ŽŽŽ‘b²D�¸ãVItoPSަ����‘X¸ŽŽŽ‘b²D�¸ãVIpsަ����‘X¸ŽŽŽ‘b²emT�‘þU>Ÿ'EŽ‘ãxXަ�‘IThe–Ëdrivš¸ãers“are“represen˜ted“in“the“normal“t˜ypšGewriter“metho˜d“of“t�¸ãyping“theseŽ¡�‘Inames,–UUor“bš¸ãy“the“same“en˜tirely“in“lo˜w˜er“case.Ž¡�‘XThe–_ŒpšGosition“of“the“bars“ma�¸ãy“either“b˜e“on“the“inner“edge“of“the“page“(the“leftŽ¡�‘Icolumn–šVon“a“recto“or“single-sided“page,‘«–the“righš¸ãt“column“of“a“v˜erso“page)“b˜y“useŽ¡�‘Iof–f“the“ó$m#½R cmss10Ïinnerbaš¸ãrs“²pac˜k‘ÿqÇage“option“(the“default),‘jãor“on“the“outer“edge“of“the“page“b˜yŽ¡�‘Iuse–UUof“the“the“Ïouterbaš¸ãrs“²pac˜k‘ÿqÇage“option.Ž¡�‘XThe–éxpacš¸ãk‘ÿqÇage“also“implemen˜ts“tracing“for“its“o˜wn“debugging.‘ .0The“pac˜k‘ÿqÇageŽ¡�‘Ioptions–UUÏtraceon“²and“Ïtraceo ‘²con�¸ãtrol“tracing.ŽŸþ6��‘IØ3.2Ž‘gÀMacros–€de ned“bš y“the“pac˜k‘ÿ@ageŽŸuT�‘I²All–f›material“b�Get•¸ãw“een–f›the“macros“Æ\cbstart“²and“Æ\cbend“²is“barred.‘¥™The“nesting“ofŽ����‘3P¹\cbstartŽŽŽŽ��¡��‘!¦|\cbendŽŽŽŽ¡�‘I²m•¸ãultiple›§c“hangebars˜is˜allo“w“ed.‘gThe˜macro˜Æ\cbstart˜²has˜an˜optional˜parameterŽ¡�‘Ithat–‚îsp�Geci es“the“width“of“the“bar.›ú‘The“syn�¸ãtax“is“Æ\cbstart[�¸hó.ý': cmti10Ùdimension‘Äc¸iŽ‘5èÆ]².˜If“noŽ¡�‘Iwidth–±is“sp�Geci ed,‘Þthe“curren�¸ãt“v‘ÿqÇalue“of“the“parameter“Æ\changebarwidth“²is“used.Ž¡�‘INote–Ÿithat“Æ\cbstart“²and“Æ\cbend“²can“b�Ge“used“anš¸ãywhere“but“m˜ust“b�Ge“correctlyŽ¡�‘Inested–Frwith“ oats“and“fo�Gotnotes.‘EThat“is,‘‚¹one“cannot“ha•¸ãv“e–Frone“end“of“the“barŽ¡�‘Iinside–-Ra“ oating“insertion“and“the“other“outside,‘5Rbut“that“w�¸ãould“b�Ge“a“meaninglessŽ¡�‘Ithing–UUto“do“an•¸ãyho“w.Ž¡�‘XApart––from“the“macros“Æ\cbstart“²and“Æ\cbend“²a“prop�Ger“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“en•¸ãvironmen“t‘–isŽ����‘yº¹changebarŽŽŽŽŽŸ�’ø²3ŽŽŒ‹Ø ª� ýs o� ý´�‘I²de ned.‘^‡The––adv‘ÿqÇanš¸ãtage“of“using“the“en˜vironmen˜t“whenev˜er“p�Gossible“is“that“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxXޤ �‘Iwill–UUdo“all“the“wš¸ãork“of“c˜hec˜king“the“correct“nesting“of“di eren˜t“en˜vironmen˜ts.Ž¡�‘XThe–‹|macro“Æ\cbdelete“²puts“a“square“bar“in“the“margin“to“indicate“that“someŽ����‘yº¹\cbdeleteŽŽŽŽ¡�‘I²text– wš¸ãas“remo˜v˜ed“from“the“do�Gcumen˜t.‘zãThe“macro“has“an“optional“argumen˜t“toŽ¡�‘IspšGecify–tothe“width“of“the“bar.‘ÏWhen“no“argumen�¸ãt“is“sp˜eci ed“the“curren�¸ãt“v‘ÿqÇalue“ofŽ¡�‘Ithe–UUparameter“Æ\deletebarwidth“²will“b�Ge“used.Ž¡�‘XThe–UUmacro“Æ\nochangebars“²disables“the“c�¸ãhangebar“commands.Ž����‘“b¹\nochangebarsŽŽŽŽŸþ6��‘IØ3.3Ž‘gÀChangebar‘€parametersŽŸuT�‘I²The–¦Øwidth“of“the“cš¸ãhangebars“is“con˜trolled“with“the“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“length“parameterŽ����‘÷ 6¹\changebarwidthŽŽŽŽ¡�‘IÆ\changebarwidth².‘ ®Its–á¢v‘ÿqÇalue“can“b�Ge“c�¸ãhanged“with“the“Æ\setlength“²command.Ž¡�‘IChanging–-Õthe“v‘ÿqÇalue“of“Æ\changebarwidth“²a ects“all“subsequenš¸ãt“c˜hangebars“sub-Ž¡�‘Iject–UUto“the“scoping“rules“of“Æ\setlength².Ž¡�‘XThe–ª¹width“of“the“deletebars“is“con�¸ãtrolled“with“the“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“length“parameterŽ����‘÷ 6¹\deletebarwidthŽŽŽŽ¡�‘IÆ\deletebarwidth².‘ ®Its–á¢v‘ÿqÇalue“can“b�Ge“c�¸ãhanged“with“the“Æ\setlength“²command.Ž¡�‘IChanging–0þthe“v‘ÿqÇalue“of“Æ\changebarwidth“²a ects“all“subsequen�¸ãt“deletebars“sub‘Ž8jectŽ¡�‘Ito–UUthe“scoping“rules“of“Æ\setlength².Ž¡�‘XThe–†�separation“b�Get•¸ãw“een–†�the“text“and“the“cš¸ãhangebars“is“determined“b˜y“the“v‘ÿqÇalueŽ����‘“b¹\changebarsepŽŽŽŽ¡�‘I²of–UUthe“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“length“parameter“Æ\changebarsep².Ž¡�‘XWhen–²[one“of“the“supp�Gorted“dvi“to“Pš¸ãostScript“translators“is“used“the“`blac˜kness'Ž����‘“b¹changebargreyŽŽŽŽ¡�‘I²of–fíthe“bars“can“b�Ge“conš¸ãtrolled.‘¦�The“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“coun˜ter“Æchangebargrey“²is“used“for“thisŽ¡�‘IpurpšGose.‘qÇIts–UUv‘ÿqÇalue“can“b˜e“cš¸ãhanged“with“a“command“lik˜e:ŽŸ�‘[æX¹\setcounter{changebargrey}{85}ŽŸ ©�‘I²The–USv‘ÿqÇalue“of“the“counš¸ãter“is“a“p�Gercen˜tage,“where“the“v‘ÿqÇalue“0“yields“blac˜k“bars,“theŽ¡�‘Iv‘ÿqÇalue–UU100“yields“white“bars.Ž¡�‘XThe–Zgcš¸ãhangebars“will“b�Ge“prin˜ted“in“the“`inside'“margin“of“y˜our“do�Gcumen˜t.‘€üThisŽ����‘yº¹outerbarsŽŽŽŽ¡�‘I²means–(Íthey“app�Gear“on“the“left“side“of“the“page.‘bïWhen“Ït•¸ãw“oside–(Ͳis“in“e ect“the“barsŽ¡�‘Iwill–Hb�Ge“prinš¸ãted“on“the“righ˜t“side“of“ev˜en“pages.‘^This“b�Geha˜viour“can“b�Ge“c˜hanged“b˜yŽ¡�‘Iincluding–UUthe“command“Æ\outerbarstrue“²in“yš¸ãour“do�Gcumen˜t.ŽŸ!Ä��‘IÄ4Ž‘aLËDe ciencies–ffand“bugsŽŸç����‘X¸ŽŽŽ‘b²The–8ãmacros“blindly“use“spšGecials“p˜oin�¸ãts“Æ\cb@minpoint“²through“Æ\cb@maxpoint².Ž¡�‘bIf–ß4this“con icts“with“another“set“of“macros,‘öÔthe“results“will“b�Ge“unpredictable.Ž¡�‘b(What–½#is“really“needed“is“a“Æ\newspecialpoint²,‘analogous“to“Æ\newcountŽ¡�‘b²etc.–UU|“it's“not“pro�¸ãvided“bšGecause“the“use“of“the“p˜oin�¸ãts“is“rather“rare.)ަ����‘X¸ŽŽŽ‘b²There–¬Åis“a“limit“of“(�Æ\cb@maxpointŽ‘?瞸�‘çÂÆ\cb@minpointŽ‘@Ï`²+‘çÂ1)µ=²2“bars“p�Ger“page“(t•¸ãw“oŽ¡�‘bsp•Gecial›·p“oin�¸ãts˜p“er˜bar).‘—Using˜more˜than˜this˜n•¸ãum“b�Ger˜y“eilds˜unpredictableŽ¡�‘bresults–(but“that“could“b�Ge“called“a“feature“for“a“page“with“so“man�¸ãy“bars).Ž¡�‘bThis–UUlimitation“could“b�Ge“increased“if“desired.ަ����‘X¸ŽŽŽ‘b²Inš¸ãternal–«Jmacro“names“are“all“of“the“form“Æ\cb@xxxx².‘9No“c˜hec˜king“for“con ictsŽ¡�‘bwith–UUother“macros“is“done.ަ����‘X¸ŽŽŽ‘b²This–UUimplemenš¸ãtation“do�Ges“not“w˜ork“with“t˜w˜o“(or“more)“column“prin˜ting.ŽŽŸ�’ø4ŽŽŒ‹$r ª� ýs o� ý´����‘X¸ŽŽŽ‘b²The–É6algorithms“maš¸ãy“fail“if“a“ oating“insertion“is“split“o˜v˜er“m˜ultiple“pages.‘CInޤ �‘bL�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX–œí oats“are“not“split“but“fošGotnotes“ma�¸ãy“b˜e.‘H�The“simplest“ x“to“this“isŽ¡�‘bto›áprev•¸ãen“t˜fo•Gotnotes˜from˜b“eing˜split˜but˜this˜ma•¸ãy˜mak“e˜T�‘þU>Ÿ'EŽ‘ãxX˜v“ery˜unhapp“y‘ÿ*ª.ŽŸ����‘X¸ŽŽŽ‘b²The–¢]Æ\cbend“²normally“gets“\attacš¸ãhed"“to“the“tok˜en“after“it“rather“than“theŽ¡�‘bone–Þòb�Gefore“it.‘�This“maš¸ãy“lead“to“a“longer“bar“than“in˜tended.‘�F‘ÿ*ªor“example,Ž¡�‘bconsider–µTthe“sequence“`wš¸ãord1“Æ\cbend“²w˜ord2'.‘Ÿ'EŽ‘ãxX“prošGcesses“ahead“of“the“page“break“b˜efore“in•¸ãv“oking–Š©the“output“rou-ޤ �‘Itine,‘ˆ¬it–K4is“pšGossible“that“the“Æ\cbend“²is“pro˜cessed,›ˆ¬and“the“ ag“unset,˜b�Gefore“theŽ¡�‘Ioutput–GAroutine“is“called.‘mIf“this“happ•Gens,‘Jsp“ecial–GAaction“is“required“to“generate“anŽ¡�‘Iarti cial–adend“and“bšGegin“to“b˜e“added“to“page“µn“²and“µn–@ê²+“1–adresp˜ectiv�¸ãely‘ÿ*ª,‘dgas“it“is“notŽ¡�‘Ip�Gossible–ýto“use“a“ ag“to“signal“the“output“routine“that“a“bar“crosses“a“page“break.Ž¡�‘XThe–]ÛmethošGd“used“b�¸ãy“these“macros“is“to“create“a“list“of“the“b˜eginning“and“endŽ¡�‘Ip�Goinš¸ãts–,nof“eac˜h“bar“in“the“do�Gcumen˜t“together“with“the“page“n˜um˜bšGer“corresp˜ondingŽ¡�‘Ito–þÿeacš¸ãh“p�Goin˜t.‘UThen,›Das“a“page“is“completed,˜a“mo�Gdi ed“output“routine“c•¸ãhec“ks‘þÿtheŽ¡�‘Ilist–›kto“determine“if“an�¸ãy“bars“bšGegun“on“or“b˜efore“the“curren�¸ãt“page“are“terminatedŽ¡�‘Ion–© subsequen�¸ãt“pages,‘ýøand“handles“those“bars“appropriately–ÿ*ª.‘lêT“o–© build“the“list,Ž¡�‘Iinformation–»ab�Gout“eacš¸ãh“c˜hangebar“is“written“to“the“Æ.aux“² le“as“bars“are“pro�Gcessed.Ž¡�‘IThis–âýinformation“is“re-read“when“the“došGcumen�¸ãt“is“next“pro˜cessed.‘KªTh�¸ãus,‘ùÛto“ensureŽŽŸ�’ø5ŽŽŒ‹3b ª� ýs o� ý´�‘I²that–?×cš¸ãhangebars“are“correct,‘D$the“do�Gcumen˜t“m˜ust“bšGe“pro˜cessed“t•¸ãwice.‘j�Luc“kily‘ÿ*ª,‘D$thisޤ �‘Iis–UUgenerally“required“for“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“an•¸ãyw“a“y‘ÿ*ª.Ž¡�‘XThis–´†approacš¸ãh“is“sucien˜tly“general“to“allo˜w“nested“bars,‘ÌRbars“in“ oating“in-Ž¡�‘Isertions,‘cgand–`—bars“around“ oating“insertions.‘“ŒBars“inside“ oats“and“fo�Gotnotes“areŽ¡�‘Ihandled–ÝSin“the“same“w•¸ãa“y–ÝSas“bars“in“regular“text.‘ ÀBars“that“encompass“ oats“orŽ¡�‘Ifo�Gotnotes–»Öare“handled“b�¸ãy“creating“an“additional“bar“that“ oats“with“the“ oatingŽ¡�‘Imaterial.‘ž_Mo�Gdi cations–d2to“the“appropriate“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“macros“c•¸ãhec“k–d2for“this“conditionŽ¡�‘Iand–UUadd“the“extra“bar.ŽŸ!Ä��‘IÄ6Ž‘aLËThe‘ffimplemen�ŒÌtationŽŸç�‘I²W‘ÿ*ªe– b�Gegin“bš¸ãy“iden˜tifying“ourselv˜es“b˜y“writing“a“message“in“the“transcript“of“theŽ¡�‘Isession.ŽŸþ6��‘IØ6.1Ž‘gÀDeclarations–€And“InitializationsŽŸuT����‘“b¹\cb@maxpointŽŽŽ‘I²The–4ôoriginal“v�¸ãersion“of‘üÆchangebar.sty“²only“suppšGorted“the“ÆDVItoLN03“²sp˜ecials.Ž¡�‘IThe–â ÆLN03“²prinš¸ãter“has“a“maxim˜um“n˜um˜bšGer“of“p˜oin�¸ãts“that“can“b˜e“de ned“on“a“page.Ž¡�‘IAlso–óôfor“some“Pš¸ãostScript“prin˜ters“the“n˜um˜bšGer“of“p˜oin�¸ãts“that“can“b˜e“de ned“canŽ¡�‘Ib�Ge–3¢limited“bš¸ãy“the“amoun˜t“of“memory“used.‘f‹Therefore,‘:_the“consecutiv˜e“n˜um˜b�GeringŽ¡�‘Iof–ÌopšGoin�¸ãts“has“to“b˜e“reset“when“the“maximš¸ãum“is“reac˜hed.‘×This“maxim˜um“can“b�GeŽ¡�‘Iadapted–UUto“the“prin�¸ãters“needs.Ž©��‘I±34Ž‘Sª®¾h�Àpack�¾9ageŽ‘#g ¾iŽŸ ��‘I±35Ž‘Sª®¹\def\cb@maxpoint{80}ŽŸ����‘“b\cb@minpointŽŽŽ‘I²When–cPresetting“the“p�Goinš¸ãt“n˜um˜b�Ger“w˜e“need“to“kno˜w“what“to“reset“it“to,‘¦Îthis“isŽ¡�‘Iminim•¸ãum›ÙÓn“um“b�Ger˜is˜stored˜in˜Æ\cb@minpoint².‘ÿBÕThis›m²n•®9um“b•QÇer˜has˜to˜b“e˜ODDŽ¡�‘I²bšGecause–úfthe“algorithm“that“decides“whether“a“bar“has“to“b˜e“con•¸ãtin“ued–úfon“the“nextŽ¡�‘Ipage–UUdep�Gends“on“this.ަ��‘I±36Ž‘Sª®¹\def\cb@minpoint{1}ŽŸ����‘3P\cb@nilŽŽŽ‘I²Sometimes–n›a“vš¸ãoid“v‘ÿqÇalue“for“a“p�Goin˜t“has“to“b�Ge“returned“b˜y“one“of“the“macros.‘½šF‘ÿ*ªorŽ¡�‘Ithis–UUpurp�Gose“Æ\cb@nil“²is“used.ަ��‘I±37Ž‘Sª®¹\def\cb@nil{0}ŽŸ����‘ÙÌ\cb@nextpointŽŽ���¡�‘ó­ \cb@currentpointŽŽŽŽŽ‘I²The›e3n•¸ãum“b•Ger˜of˜the˜next˜sp“ecial˜p“oin•¸ãt˜is˜stored˜in˜the˜coun“t˜register˜Æ\cb@nextpointŽ¡�‘I²and–Ì1initially“equal“to“Æ\cb@minpoint².‘ÖZThe“n•¸ãum“bšGer–Ì1of“the“curren�¸ãt“p˜oin�¸ãt“is“storedŽ¡�‘Iin‘UUÆ\cb@currentpoint².ަ��‘I±38Ž‘Sª®¹\newcount\cb@nextpointޤ ��‘I±39Ž‘Sª®¹\cb@nextpoint=\cb@minpointŽ¡��‘I±40Ž‘Sª®¹\newcount\cb@currentpointŽŸ����‘yº\cb@pageŽŽ���Ÿ �‘ÙÌ\cb@pagecountŽŽŽŽŽ‘I²The–AØmacros“need“to“kš¸ãeep“trac˜k“of“the“n˜um˜b�Ger“of“pages“output“so“far.‘kHT‘ÿ*ªo“this“endޤ �‘Ithe–ý~counš¸ãter“Æ\cb@pagecount“²is“used.‘TWhen“a“pagen˜um˜b�Ger“is“read“from“the“historyŽ¡�‘Ilist,‘Åit–®«is“stored“in“the“counš¸ãter“Æ\cb@page².‘}ÉThe“coun˜ter“Æcb@pagecount“²is“initiallyŽ¡�‘I0;–UUit“gets“incremen�¸ãted“during“the“call“to“Æ\@makebox“²(see“section“6.5).ަ��‘I±41Ž‘Sª®¹\newcount\cb@pageޤ ��‘I±42Ž‘Sª®¹\newcount\cb@pagecountŽ¡��‘I±43Ž‘Sª®¹\cb@pagecount=0ŽŽŸ�’ø²6ŽŽŒ‹B¡ ª� ýs o� ý´����‘À$¹outerbarsŽŽŽ‘I²A–UUswitcš¸ãh“is“pro˜vided“to“con˜trol“where“the“c˜hangebars“will“b�Ge“prin˜ted.ޤ��‘I±44Ž‘Sª®¹\newif\ifouterbarsŽ©����‘À$@cb@traceŽŽŽ‘I²A–UUswitcš¸ãh“to“enable“tracing“of“the“actions“of“this“pac˜k‘ÿqÇageŽ¡��‘I±45Ž‘Sª®¹\newif\if@cb@traceަ����‘ÙÌ\cb@positionsŽŽŽ‘I²This–¸Hmacro“calculates“the“(horizonš¸ãtal)“p�Gositions“of“the“c˜hangebars.‘š¡The“calcula-ޤ �‘Itions–ÍÓtakš¸ãe“Ït˜w˜oside“²in˜to“accoun˜t.‘DœAlso“the“setting“of“the“switc˜h“Ïouterba˜rs“²is“c˜hec˜k˜ed.Ž¡�‘XBecause–DZthe“margins“can“di er“for“ev�¸ãen“and“ošGdd“pages“and“b˜ecause“c�¸ãhangebarsŽ¡�‘Iare–wsometimes“on“di erenš¸ãt“sides“of“the“pap�Ger“w˜e“need“t˜w˜o“dimensions“to“store“theŽ¡�‘Iresult.Ž¡�‘XSince–|àthe“cš¸ãhangebars“are“dra˜wn“with“the“ÅPostScript“²command“Ælineto“²andŽ¡�‘Inot–ÿsas“T�‘þU>Ÿ'EŽ‘ãxX-likš¸ãe“rules“the“reference“p�Goin˜ts“lie“on“the“cen˜ter“of“the“c˜hangebar,Ž¡�‘Itherefore–!¦the“calculation“has“to“add“or“subtract“half“of“the“width“of“the“bar“toŽ¡�‘Ikš¸ãeep–UUÆ\changebarsep“²whitespace“b�Get˜w˜een“the“bar“and“the“b•Go“dy‘UUtext.Ž©��‘I±46Ž‘Sª®¹\newdimen\cb@oddŽŸ ��‘I±47Ž‘Sª®¹\newdimen\cb@evenŽŸ�‘I²First–�±the“pšGosition“for“o˜dd“pages“is“calculated.‘JÚIn“this“case“the“use“of“the“Ït•¸ãw“osideŽ¡�‘I²option–UUdošGes“not“e ect“the“p˜ositioning“of“the“c�¸ãhangebars.ަ��‘I±48Ž‘Sª®¹\def\cb@positions{%ޤ ��‘I±49Ž‘]Ú¹\global\cb@odd‘¹–=\hoffsetŽ¡��‘I±50Ž‘]Ú¹\global\advance\cb@odd–¹–by“\oddsidemarginŽ¡��‘I±51Ž‘]Ú¹\ifouterbarsŽ¡��‘I±52Ž‘f‘¹\global\advance\cb@odd–¹–by“\textwidthŽ¡��‘I±53Ž‘f‘¹\global\advance\cb@odd–¹–by“\changebarsepŽ¡��‘I±54Ž‘f‘¹\global\advance\cb@odd–¹–by“0.5\changebarwidthŽ¡��‘I±55Ž‘]Ú¹\elseŽ¡��‘I±56Ž‘f‘¹\global\advance\cb@odd–¹–by“-\changebarsepŽ¡��‘I±57Ž‘f‘¹\global\advance\cb@odd–¹–by“-0.5\changebarwidthŽ¡��‘I±58Ž‘]Ú¹\fiŽŸ�‘I²On–evš¸ãen“pages“the“use“of“the“Ït˜w˜oside“²option“results“in“a“di eren˜t“placemen˜t“of“theŽŸ �‘Ibars.ަ��‘I±59Ž‘]Ú¹\global\cb@even‘¹–=\hoffsetŽ¡��‘I±60Ž‘]Ú¹\global\advance\cb@even–¹–by“\evensidemarginŽ¡��‘I±61Ž‘]Ú¹\if@twosideŽ¡��‘I±62Ž‘f‘¹\ifouterbarsŽ¡��‘I±63Ž‘p2¹\global\advance\cb@even–¹–by“-\changebarsepŽ¡��‘I±64Ž‘p2¹\global\advance\cb@even–¹–by“-0.5\changebarwidthŽ¡��‘I±65Ž‘f‘¹\elseŽ¡��‘I±66Ž‘p2¹\global\advance\cb@even–¹–by“\textwidthŽ¡��‘I±67Ž‘p2¹\global\advance\cb@even–¹–by“\changebarsepŽ¡��‘I±68Ž‘p2¹\global\advance\cb@even–¹–by“0.5\changebarwidthŽ¡��‘I±69Ž‘f‘¹\fiŽ¡��‘I±70Ž‘]Ú¹\elseŽ¡��‘I±71Ž‘f‘¹\ifouterbarsŽ¡��‘I±72Ž‘p2¹\global\advance\cb@even–¹–by“\textwidthŽ¡��‘I±73Ž‘p2¹\global\advance\cb@even–¹–by“\changebarsepŽ¡��‘I±74Ž‘p2¹\global\advance\cb@even–¹–by“0.5\changebarwidthŽ¡��‘I±75Ž‘f‘¹\elseŽ¡��‘I±76Ž‘p2¹\global\advance\cb@even–¹–by“-\changebarsepŽ¡��‘I±77Ž‘p2¹\global\advance\cb@even–¹–by“-0.5\changebarwidthŽŽŸ�’ø²7ŽŽŒ‹O  ª� ýs o� ý´��‘I±78Ž‘f‘¹\fiŽ© ��‘I±79Ž‘]Ú¹\fi}ŽŸ�„����‘ÙÌ\cb@removedimŽŽŽ‘I²In–CËP�¸ãostScript“cošGde“length“sp˜eci cations“are“without“dimensions.‘šTherefore“w�¸ãe“needޤ �‘Ia›éãw•¸ãa“y˜to˜remo“v“e˜the˜letters˜`pt'˜from˜the˜result˜of˜the˜op�Geration˜Æ\the\�¸hÙdimen‘Äc¸iŽ‘#`².Ž¡�‘IThis–UUcan“b�Ge“done“bš¸ãy“de ning“a“command“that“has“a“delimited“argumen˜t“lik˜e:ŽŸ³­�‘[æX¹\def\cb@removedim#1pt{#1}ަŸ³­�‘I²W‘ÿ*ªe–ßÕencoun�¸ãter“one“problem“though,‘÷Uthe“category“co�Gde“of“the“letters“`pt'“is“12“whenŽ¡�‘Ipro�Gduced–‰Óas“the“output“from“Æ\the\�¸hÙdimen‘Äc¸iŽ‘#`².‘@Thš¸ãus“the“c˜haracters“that“delimitŽ¡�‘Ithe–Nþargumenš¸ãt“of“Æ\cb@removedim“²also“ha˜v˜e“to“ha˜v˜e“category“co�Gde“12.‘oªT‘ÿ*ªo“k˜eep“theŽ¡�‘Ic�¸ãhanges–UUlo�Gcal“the“macro“Æ\cb@removedim“²is“de ned“in“a“group.ŽŸ Ù×��‘I±80Ž‘Sª®¹{\catcode`\p=12\catcode`\t=12‘¹–\gdef\cb@removedim#1pt{#1}}ŽŸÝZ��‘IØ6.2Ž‘gÀOption‘€Pro�`cessingŽŸuT�‘I²The–é�user“should“select“the“spšGecials“that“should“b˜e“used“b�¸ãy“sp˜ecifying“the“driv�¸ãerŽ¡�‘Iname–UUas“an“option“to“the“Æ\usepackage“²call.‘qÇPš¸ãossible“c˜hoices“are:Ž©g[����‘X¸ŽŽŽ‘b²D�¸ãVItoLN03ޤ³®����‘X¸ŽŽŽ‘b²D�¸ãVItoPSŽ¡����‘X¸ŽŽŽ‘b²D�¸ãVIpsŽ¡����‘X¸ŽŽŽ‘b²emT�‘þU>Ÿ'EŽ‘ãxXަ�‘XThe–uÔamš¸ãbition“is“that“the“driv˜er“names“should“b�Ge“case-insensitiv˜e,‘}ôbut“the“fol-ޤ �‘Ilo�¸ãwing–TÀcošGde“do˜esn't“ac•¸ãhiev“e–TÀthis:‘q|it“only“p˜ermits“the“forms“giv�¸ãen“ab˜o•¸ãv“e–TÀand“theirŽ¡�‘Ilo•¸ãw“er-case‘UUequiv‘ÿqÇalen“ts.ŽŸ Ù×��‘I±81Ž‘Sª®¹\DeclareOption{DVItoLN03}{\global\chardef\cb@driver@setup=0\relax}ޤ ��‘I±82Ž‘Sª®¹\DeclareOption{dvitoln03}{\global\chardef\cb@driver@setup=0\relax}Ž¡��‘I±83Ž‘Sª®¹\DeclareOption{DVItoPS}{\global\chardef\cb@driver@setup=1\relax}Ž¡��‘I±84Ž‘Sª®¹\DeclareOption{dvitops}{\global\chardef\cb@driver@setup=1\relax}Ž¡��‘I±85Ž‘Sª®¹\DeclareOption{DVIps}{\global\chardef\cb@driver@setup=2\relax}Ž¡��‘I±86Ž‘Sª®¹\DeclareOption{dvips}{\global\chardef\cb@driver@setup=2\relax}Ž¡��‘I±87Ž‘Sª®¹\DeclareOption{emTeX}{\global\chardef\cb@driver@setup=3\relax}Ž¡��‘I±88Ž‘Sª®¹\DeclareOption{emtex}{\global\chardef\cb@driver@setup=3\relax}ŽŸÙ×�‘X²The–$new“features“of�“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘/Sò²makš¸ãe“it“p�Gossible“to“implemen˜t“the“Ïouterba˜rsŽ© �‘I²option.ŽŸ³­��‘I±89Ž‘Sª®¹\DeclareOption{outerbars}{\outerbarstrue}Ž¡��‘I±90Ž‘Sª®¹\DeclareOption{innerbars}{\outerbarsfalse}ŽŸ³­�‘X²It–G½is“also“pšGossible“to“sp˜ecify“that“the“c�¸ãhange“bars“should“Ùalways‘Þ²b˜e“prin�¸ãted“onަ�‘Ieither–·²the“left“or“the“righš¸ãt“side“of“the“text.‘˜ÞF‘ÿ*ªor“this“w˜e“ha˜v˜e“the“options“Ïleftba˜rsަ�‘I²and–­Ïrightbaš¸ãrs².‘sÏSp�Gecifying“Ùeither‘:²of“these“options“will“o˜v˜errule“a“p�Gossible“Ït˜w˜osideަ�‘I²option–UUat“the“do�Gcumenš¸ãt“lev˜el.ŽŸ Ù×��‘I±91Ž‘Sª®¹\DeclareOption{leftbars}{%Ž¡��‘I±92Ž‘]Ú¹\def\cb@positions{%Ž¡��‘I±93Ž‘f‘¹\global\cb@odd\hoffsetŽ¡��‘I±94Ž‘f‘¹\global\advance\cb@odd–¹–by“\oddsidemarginŽ¡��‘I±95Ž‘f‘¹\global\advance\cb@odd–¹–by“-\changebarsepŽŽŸ�’ø²8ŽŽŒ‹ [F ª� ýs o� ý´��‘I±96Ž‘f‘¹\global\advance\cb@odd–¹–by“-0.5\changebarwidthޤ ��‘I±97Ž‘f‘¹\global\cb@even\hoffsetŽ¡��‘I±98Ž‘f‘¹\global\advance\cb@even–¹–by“\evensidemarginŽ¡��‘I±99Ž‘f‘¹\global\advance\cb@even–¹–by“-\changebarsepŽ¡��‘E�±100Ž‘f‘¹\global\advance\cb@even–¹–by“-0.5\changebarwidthŽ¡��‘E�±101Ž‘f‘¹}}Ž¡��‘E�±102Ž‘Sª®¹\DeclareOption{rightbars}{%Ž¡��‘E�±103Ž‘]Ú¹\def\cb@positions{%Ž¡��‘E�±104Ž‘f‘¹\global\cb@odd‘¹–=\hoffsetŽ¡��‘E�±105Ž‘f‘¹\global\advance\cb@odd–¹–by“\oddsidemarginŽ¡��‘E�±106Ž‘f‘¹\global\advance\cb@odd–¹–by“\textwidthŽ¡��‘E�±107Ž‘f‘¹\global\advance\cb@odd–¹–by“\changebarsepŽ¡��‘E�±108Ž‘f‘¹\global\advance\cb@odd–¹–by“0.5\changebarwidthŽ¡��‘E�±109Ž‘f‘¹\global\cb@even\hoffsetŽ¡��‘E�±110Ž‘f‘¹\global\advance\cb@even–¹–by“\evensidemarginŽ¡��‘E�±111Ž‘f‘¹\global\advance\cb@even–¹–by“\textwidthŽ¡��‘E�±112Ž‘f‘¹\global\advance\cb@even–¹–by“\changebarsepŽ¡��‘E�±113Ž‘f‘¹\global\advance\cb@even–¹–by“0.5\changebarwidthŽ¡��‘E�±114Ž‘f‘¹}}ŽŸ��‘E�±115Ž‘Sª®¹\DeclareOption{traceon}{\@cb@tracetrue}Ž¡��‘E�±116Ž‘Sª®¹\DeclareOption{traceoff}{\@cb@tracefalse}ŽŸ�‘I²Signal–UUan“error“if“an“unknoš¸ãwn“option“w˜as“sp�Geci ed.Ž©��‘E�±117Ž‘Sª®¹\DeclareOption*{\OptionNotUsed\PackageErrorŽ¡��‘E�±118Ž‘p2¹{Unrecognised–¹–option“`\CurrentOption'}%Ž¡��‘E�±119Ž‘p2¹{known–¹–options“are“dvitoln03,“dvitops,“dvipsŽ¡��‘E�±120Ž‘yw^¹and‘¹–emtex,\MessageBreakŽ¡��‘E�±121Ž‘yw^¹outerbars,–¹–innerbars,“leftbars“and“rightbars.}}ŽŸ�‘X²The–¿'default“is“to“ha•¸ãv“e–¿'the“c�¸ãhange“bars“on“the“left“side“of“the“text“on“o�Gdd“pages.ަ��‘E�±122Ž‘Sª®¹\ExecuteOptions{innerbars,traceoff,dvips}ŽŸ��‘E�±123Ž‘Sª®¹\ProcessOptions\relaxŽŸþ6��‘IØ6.3Ž‘gÀUser–€Levš el“Commands“And“P˜arametersŽŸuT����‘3P¹\driverŽŽŽ‘I²The–Íuser“can“select“the“spšGecials“that“should“b˜e“used“b�¸ãy“calling“the“commandŽ© �‘IÆ\driver{�¸hÙdrivername‘À[¸iŽ‘9ÙàÆ}².‘qÇP•¸ãossible›UUc“hoices˜are:ޤ����‘X¸ŽŽŽ‘b²D�¸ãVItoLN03Ž¡����‘X¸ŽŽŽ‘b²D�¸ãVItoPSŽ¡����‘X¸ŽŽŽ‘b²D�¸ãVIpsŽ¡����‘X¸ŽŽŽ‘b²emT�‘þU>Ÿ'EŽ‘ãxXŽ¡�‘IThis–UUcommand“can“only“bšGe“used“in“the“pream�¸ãble“of“the“do˜cumen�¸ãt.ަ�‘XThe–~.argumenš¸ãt“should“b�Ge“case-insensitiv˜e,‘©6so“it“is“turned“in˜to“a“string“con˜tainingަ�‘Iall–Ô2upp�Gercase“cš¸ãharacters.‘F¼T‘ÿ*ªo“k˜eep“some“de nitions“lo�Gcal,‘îev˜erything“is“done“withinަ�‘Ia‘UUgroup.ŽŸ��‘E�±124Ž‘Sª®¹\if@compatibilityޤ ��‘E�±125Ž‘]Ú¹\def\driver#1{%Ž¡��‘E�±126Ž‘f‘¹\bgroup\edef\next{\def\noexpand\tempa{#1}}%Ž¡��‘E�±127Ž‘p2¹\uppercase\expandafter{\next}%ŽŽŸ�’ø²9ŽŽŒ‹ g¤ ª� ýs o� ý´��‘E�±128Ž‘p2¹\def\LN{DVITOLN03}%ޤ ��‘E�±129Ž‘p2¹\def\DVItoPS{DVITOPS}%Ž¡��‘E�±130Ž‘p2¹\def\DVIPS{DVIPS}%Ž¡��‘E�±131Ž‘p2¹\def\emTeX{EMTEX}%Ž©�‘I²The–Ÿ'EŽ‘ãxX“en•¸ãvironmen“t–UUis“not“p˜ossible.ަ��‘E�±219Ž‘Sª®¹\newcommand\cbend{\cb@end}ŽŸ����‘À$\cbdeleteŽŽŽ‘I²The–†macro“Æ\cbdelete“²inserts“a“`deletebar'“in“the“margin.‘ðYIt“to�Go“has“an“optionalŽ¡�‘Iargumen�¸ãt–cto“determine“the“width“of“the“bar.‘_vThe“default“width“(and“length)“of“itŽ¡�‘Iare–UUstored“in“Æ\deletebarwidth².ަ��‘E�±220Ž‘Sª®¹\newcommand\cbdelete{\@ifnextchar‘¹–[{\cb@delete}ŽŸ ��‘E�±221Ž’ù 0¹{\cb@delete[\deletebarwidth]}}ŽŽŸ�’õÿ²12ŽŽŒ‹ Œ„ ª� ýs o� ý´����‘޹\cb@deleteŽŽŽ‘I²Deletebars–šgare“implemenš¸ãted“as“a“sp�Gecial“`c˜hange“bar'.‘@ýThe“bar“is“started“andޤ �‘Iimmediately–UUended.‘qÇIt“is“as“long“as“it“is“wide.Ž©��‘E�±222Ž‘Sª®¹\def\cb@delete[#1]{\vbox–¹–to“\z@{\vss\cb@start[#1]\vskip“#1\cb@end}}ŽŸ����‘Ž\changebarŽŽ���¡�‘ÙÌ\endchangebarŽŽŽŽŽ‘I²The–Ñmacros“Æ\changebar“²and“Æ\endchangebar“²ha•¸ãv“e–Ñthe“same“function“as“Æ\cbstartŽ¡�‘I²and–üÆÆ\cbend“²but“they“can“b�Ge“used“as“a“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“en•¸ãvironmen“t–üÆto“enforce“correctŽ¡�‘Inesting.‘qÇThey–UUcan“Ùnot‘H-²b�Ge“used“in“the“Ïtabula�¸ãr›xâ²and“Ïtabbing˜²en•¸ãvironmen“ts.ަ��‘E�±223Ž‘Sª®¹\newenvironment{changebar}%ޤ ��‘E�±224Ž’šŠx¹{\@ifnextchar‘¹–[{\cb@start}%Ž¡��‘E�±225Ž’ájB¹{\cb@start[\changebarwidth]}}%Ž¡��‘E�±226Ž’šŠx¹{\cb@end}ŽŸ����‘ÙÌ\nochangebarsŽŽŽ‘I²T‘ÿ*ªo–þ±disable“cš¸ãhangebars“altogether“without“ha˜ving“to“remo˜v˜e“them“from“the“do�Gc-ޤ �‘Iumenš¸ãt–the“macro“Æ\nochangebars“²is“pro˜vided.‘}ùIt“mak˜es“no�Gops“from“a“couple“ofŽ¡�‘Iin�¸ãternal‘UUmacros.ަ��‘E�±227Ž‘Sª®¹\newcommand\nochangebars{%ޤ ��‘E�±228Ž‘]Ú¹\def\cb@start[##1]{}%Ž¡��‘E�±229Ž‘]Ú¹\def\cb@delete[##1]{}%Ž¡��‘E�±230Ž‘]Ú¹\let\cb@end\relax}ŽŸ����‘øf \changebarwidthŽŽŽ‘I²The–8ãdefault“width“of“the“c�¸ãhangebars“is“stored“in“the“dimen“register“Æ\changebarwidth².ަ��‘E�±231Ž‘Sª®¹\newlength{\changebarwidth}Ž¡��‘E�±232Ž‘Sª®¹\setlength{\changebarwidth}{2pt}ŽŸ����‘øf \deletebarwidthŽŽŽ‘I²The–8ãdefault“width“of“the“deletebars“is“stored“in“the“dimen“register“Æ\deletebarwidth².ަ��‘E�±233Ž‘Sª®¹\newlength{\deletebarwidth}Ž¡��‘E�±234Ž‘Sª®¹\setlength{\deletebarwidth}{4pt}ŽŸ����‘ÙÌ\changebarsepŽŽŽ‘I²The–‘Ädefault“separation“b�Get•¸ãw“een–‘Äall“bars“and“the“text“is“stored“in“the“dimen“registerŽŸ �‘IÆ\changebarsep².ަ��‘E�±235Ž‘Sª®¹\newlength{\changebarsep}Ž¡��‘E�±236Ž‘Sª®¹\setlength{\changebarsep}{30pt}ŽŸ����‘ÙÌchangebargreyŽŽŽ‘I²When– the“do�Gcumenš¸ãt“is“prin˜ted“using“one“of“the“P˜ostScript“driv˜ers“the“bars“do“notޤ �‘Ineed–V/to“b�Ge“blacš¸ãk;‘V�with“P˜ostScript“is“p�Gossible“to“ha˜v˜e“grey“bars.‘tVThe“p�Gecen˜tage“ofŽ¡�‘Igreyness–Ëbof“the“bar“is“stored“in“the“counš¸ãt“register“Æ\changebargrey².‘ÓíIt“can“ha˜v˜eŽ¡�‘Iv‘ÿqÇalues›UUb�Get•¸ãw“een˜0˜(meaning˜white)˜and˜100˜(meaning˜blac“k).Ž©��‘E�±237Ž‘Sª®¹\newcounter{changebargrey}ŽŸ ��‘E�±238Ž‘Sª®¹\setcounter{changebargrey}{65}ŽŸþ6��‘IØ6.4Ž‘gÀMacros–€for“b�`eginning“and“ending“barsŽŸuT����‘À$¹\cb@startŽŽŽ‘I²This–ª=macro“starts“a“cš¸ãhange“bar.‘pIt“assigns“a“new“v‘ÿqÇalue“to“the“curren˜t“p�Goin˜t“andŽ¡�‘Iadv‘ÿqÇances–Ôothe“counš¸ãter“for“the“next“p�Goin˜t“to“b�Ge“assigned.‘ïIt“pushes“this“info“on˜toŽ¡�‘IÆ\cb@currentlist–¢)²and“then“sets“the“p�Goinš¸ãt“b˜y“calling“Æ\cb@setBeginPoint“²with“theŽ¡�‘IpšGoin•¸ãt‘UUn“um“b˜er.‘qÇFinally‘ÿ*ª,–UUit“writes“the“aux“ le.ަ��‘E�±239Ž‘Sª®¹\def\cb@start[#1]{%ŽŸ ��‘E�±240Ž‘]Ú¹\cb@currentpoint=\cb@nextpointŽŽŸ�’õÿ²13ŽŽŒ‹˜x ª� ýs o� ý´�‘IÆ\cb@push–UU²expšGects“the“width“of“the“bar“to“b˜e“stored“in“Æ\@tempdima².Ž©��‘E�±241Ž‘]Ú¹\@tempdima#1\relaxޤ ��‘E�±242Ž‘]Ú¹\cb@push\cb@currentlistŽ¡��‘E�±243Ž‘]Ú¹\ifvmodeŽ¡��‘E�±244Ž‘f‘¹\cb@setBeginPoint\cb@currentpointŽ¡��‘E�±245Ž‘]Ú¹\elseŽ¡��‘E�±246Ž‘a×p¹\vbox–¹–to“\z@{%ŽŸ�‘I²When–éÒwš¸ãe“are“in“horizon˜tal“mo�Gde“w˜e“jump“up“a“line“to“set“the“starting“p�Goin˜t“of“theŽŸ �‘Ic�¸ãhangebar.ަ��‘E�±247Ž‘kJœ¹\vskip‘¹–-\ht\strutboxŽ¡��‘E�±248Ž‘kJœ¹\cb@setBeginPoint\cb@currentpointŽ¡��‘E�±249Ž‘kJœ¹\vskip‘¹–\ht\strutbox}\fiŽ¡��‘E�±250Ž‘]Ú¹\cb@writeAux\cb@advancePoint}ŽŸ����‘ó­ \cb@advancePointŽŽŽ‘I²The–n”macro“Æ\cb@advancePoint“²adv‘ÿqÇances“the“coun�¸ãt“register“Æ\cb@nextpoint².‘$ÝWhenŽŸ �‘Ithe–UUmaximš¸ãum“n˜um˜b�Ger“is“reac˜hed,“the“n˜um˜b�Gering“is“reset.ަ��‘E�±251Ž‘Sª®¹\def\cb@advancePoint{%Ž¡��‘E�±252Ž‘]Ú¹\global\advance\cb@nextpoint–¹–by“2\relaxŽ¡��‘E�±253Ž‘]Ú¹\ifnum\cb@nextpoint>\cb@maxpointŽ¡��‘E�±254Ž‘f‘¹\global\cb@nextpoint=\cb@minpoint\relaxŽ¡��‘E�±255Ž‘]Ú¹\fi}Ž©����‘3P\cb@endŽŽŽ‘I²This– :macro“ends“a“cš¸ãhangebar.‘RvIt“p�Gops“the“curren˜t“p�Goin˜t“and“nesting“lev˜el“o ޤ �‘IÆ\cb@currentlist–„²and“sets“the“end“p�Goinš¸ãt“b˜y“calling“Æ\cb@setEndPoint“²with“theŽ¡�‘Iparameter–P„correspšGonding“to“the“Õb�QÇeginning‘yh²p˜oinš¸ãt“n˜um˜b�Ger.‘p,It“writes“the“Æ.aux“² leŽ¡�‘Iand–UUjoins“the“p�Goin�¸ãts.ŽŸ��‘E�±256Ž‘Sª®¹\def\cb@end{%ޤ ��‘E�±257Ž‘]Ú¹\cb@pop\cb@currentlistŽ¡��‘E�±258Ž‘]Ú¹\ifnum\cb@currentpoint=\cb@nilŽ¡��‘E�±259Ž‘f‘¹\PackageWarning{Changebar}%Ž¡��‘E�±260Ž‘p2¹{Badly–¹–nested“changebars;“Expect“erroneous“results}%Ž¡��‘E�±261Ž‘]Ú¹\elseŽ¡��‘E�±262Ž‘f‘¹\cb@setEndPoint\cb@currentpointŽ¡��‘E�±263Ž‘f‘¹\global\advance\cb@currentpoint‘¹–by1\cb@writeAuxŽ¡��‘E�±264Ž‘]Ú¹\fi}ަ����‘îót\cb@setBeginPointŽŽŽ‘I²The–XŸmacro“Æ\cb@setBeginPoint“²assigns“a“pšGosition“to“p˜oinš¸ãt“n˜um˜b�Ger“#1.‘{¥It“deter-ޤ �‘Imines–ýwš¸ãether“the“p�Goin˜t“is“on“an“ev˜en“or“an“o�Gdd“page“and“uses“the“righ˜t“dimensionŽ¡�‘Ito–ŒäpšGosition“the“p˜oin�¸ãt.‘sKeep“in“mind“that“the“v‘ÿqÇalue“of“Æ\cb@pagecount“²is“one“lessŽ¡�‘Ithan–UUthe“v‘ÿqÇalue“of“Æ\c@page“²unless“the“latter“has“b�Geen“reset“b�¸ãy“the“user.ŽŸ��‘E�±265Ž‘Sª®¹\def\cb@setBeginPoint#1{%ޤ ��‘E�±266Ž‘]Ú¹\ifodd\cb@pagecountŽ¡��‘E�±267Ž‘f‘¹\cb@defpoint{#1}{\cb@even}%Ž¡��‘E�±268Ž‘]Ú¹\elseŽ¡��‘E�±269Ž‘f‘¹\cb@defpoint{#1}{\cb@odd}%Ž¡��‘E�±270Ž‘]Ú¹\fi}ަ����‘øf \cb@setEndPointŽŽŽ‘I²The–÷’macro“Æ\cb@setEndPoint“²assigns“a“pšGosition“to“p˜oin�¸ãt“#1–}[+“1.‘R†It–÷’then“instructsޤ �‘Ithe–Pgdrivš¸ãer“to“connect“p�Goin˜ts“#1“and“#1–/+“1–Pgwith“a“bar.‘p"The“macro“assumes“thatŽ¡�‘Ithe–UUwidth“of“bar“is“stored“in“Æ\@tempdima².ŽŸ��‘E�±271Ž‘Sª®¹\def\cb@setEndPoint#1{%ŽŽŸ�’õÿ²14ŽŽŒ‹¤� ª� ýs o� ý´��‘E�±272Ž‘]Ú¹\@tempcnta=#1\advance\@tempcnta‘¹–by1\relaxޤ ��‘E�±273Ž‘]Ú¹\ifodd\cb@pagecountŽ¡��‘E�±274Ž‘f‘¹\cb@defpoint{\@tempcnta}{\cb@even}%Ž¡��‘E�±275Ž‘]Ú¹\elseŽ¡��‘E�±276Ž‘f‘¹\cb@defpoint{\@tempcnta}{\cb@odd}%Ž¡��‘E�±277Ž‘]Ú¹\fiŽ¡��‘E�±278Ž‘]Ú¹\cb@connect{#1}{\@tempcnta}{\@tempdima}}%ŽŸ����‘“b\cb@writeAuxŽŽŽ‘I²The–äÙmacro“Æ\cb@writeAux“²writes“information“abšGout“a“c�¸ãhangebar“p˜oin�¸ãt“to“the“aux-ޤ �‘Iiliary–e le.‘["The“n•¸ãum“bšGer–eof“the“p˜oinš¸ãt,‘üthe“pagen˜um˜b�Ger“and“the“width“of“the“bar“areŽ¡�‘Iwritten–³kout“as“argumen�¸ãts“to“Æ\cb@barpoint².‘Œ This“latter“macro“will“b�Ge“expandedŽ¡�‘Iwhen–$Íthe“auxiliary“ le“is“read“in.‘à/The“macro“assumes“that“the“width“of“bar“isŽ¡�‘Istored–UUin“Æ\@tempdima².Ž¡�‘XThe–16co�Gde“is“only“executed“when“auxiliary“ les“are“enabled,‘8oas“there's“no“senseŽ¡�‘Iin–UUtrying“to“write“to“an“unop�Gened“ le.Ž©��‘E�±279Ž‘Sª®¹\def\cb@writeAux{%ޤ ��‘E�±280Ž‘]Ú¹\if@fileswŽ¡��‘E�±281Ž‘f‘¹\begingroupŽ¡��‘E�±282Ž‘p2¹\edef\point{\the\cb@currentpoint}%Ž¡��‘E�±283Ž‘p2¹\edef\level{\the\@tempdima}%Ž¡��‘E�±284Ž‘p2¹\let\the=0%Ž¡��‘E�±285Ž‘p2¹\edef\cb@temp{\write\@auxoutŽ¡��‘E�±286Ž‘yw^¹{\string\cb@barpoint{\point}{\the\cb@pagecount}{\level}}}%Ž¡��‘E�±287Ž‘p2¹\cb@tempŽ¡��‘E�±288Ž‘f‘¹\endgroupŽ¡��‘E�±289Ž‘]Ú¹\fi}ŽŸþ6��‘IØ6.5Ž‘gÀMacros–€for“Making“It“W‘þàork“Across“P� age“BreaksŽŸuT����‘À$¹\@makecolŽŽ���Ÿ �‘yº\@vtryfcŽŽŽŽŽ‘I²Mo�Gdi es–÷Áthe“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“macros“to“end“the“cš¸ãhangebars“spanning“the“curren˜t“page“(ifޤ �‘Ianš¸ãy)–wand“restart“them“on“the“next“page.‘×Do�Ges“the“follo˜wing:‘µQIt“resets“sp�GecialŽ¡�‘IpšGoin�¸ãts–,=for“this“page.‘ö~Adds“b˜egin“bars“to“top“of“b˜oš¸ãx255.‘ö~The“bars“carried“o˜v˜erŽ¡�‘Ifrom–ŠJthe“previous“page,›—‡and“hence“to“b�Ge“restarted“on“this“page,˜ha•¸ãv“e–ŠJb�Geen“sa•¸ãv“edŽ¡�‘Iin–°Æ\cb@beginSaves²,‘àand“are“then“executed.‘@æThen“it“builds“the“list“Æ\cb@spanlist²,Ž¡�‘Ithen–¯calls“Æ\cb@processActive“²to“pro�Gcess“the“elemen�¸ãts“on“the“list,‘ÐGthen“it“executesŽ¡�‘Ithe–UUoriginal“Æ\@makecol“²(sa•¸ãv“ed–UUas“Æ\cb@makecol²).ŽŸ��‘E�±290Ž‘Sª®¹\let\cb@makecol\@makecolޤ ��‘E�±291Ž‘Sª®¹\def\@makecol{%Ž¡��‘E�±292Ž‘]Ú¹\setbox\@cclv‘¹–\vbox{%Ž¡��‘E�±293Ž‘f‘¹\cb@resetpointsŽ¡��‘E�±294Ž‘f‘¹\cb@beginSavesŽ¡��‘E�±295Ž‘f‘¹\unvbox\@cclvŽ¡��‘E�±296Ž‘f‘¹\boxmaxdepth\maxdepth}%Ž¡��‘E�±297Ž‘]Ú¹\gdef\cb@beginSaves{}Ž¡��‘E�±298Ž‘]Ú¹\global\advance\cb@pagecount–¹–by“1\relaxŽ¡��‘E�±299Ž‘]Ú¹\cb@buildActive\cb@processActiveŽ¡��‘E�±300Ž‘]Ú¹\cb@makecol}ŽŸ�‘I²When–*ºL�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxXmak�¸ães“a“page“with“only“ oats“it“do�Gesn't“use“Æ\@makecol²;‘•linstead“itŽŸ �‘Icalls–UUÆ\@vtryfc²,“so“wš¸ãe“ha˜v˜e“to“mo�Gdify“this“macro“as“w˜ell.ަ��‘E�±301Ž‘Sª®¹\let\cb@vtryfc\@vtryfcŽ¡��‘E�±302Ž‘Sª®¹\def\@vtryfc{%ŽŽŸ�’õÿ²15ŽŽŒ‹¯ß ª� ýs o� ý´��‘E�±303Ž‘]Ú¹\setbox\@outputbox‘¹–\vbox{%ޤ ��‘E�±304Ž‘f‘¹\cb@resetpointsŽ¡��‘E�±305Ž‘f‘¹\cb@beginSavesŽ¡��‘E�±306Ž‘f‘¹\unvbox\@cclvŽ¡��‘E�±307Ž‘f‘¹\boxmaxdepth\maxdepth}%Ž¡��‘E�±308Ž‘]Ú¹\gdef\cb@beginSaves{}Ž¡��‘E�±309Ž‘]Ú¹\global\advance\cb@pagecount–¹–by“1\relaxŽ¡��‘E�±310Ž‘]Ú¹\cb@buildActive\cb@processActiveŽ¡��‘E�±311Ž‘]Ú¹\cb@vtryfc}ŽŸâý����‘îót\cb@processActiveŽŽŽ‘I²Pro�Gcesses–ÑÅeacš¸ãh“elemen˜t“on“span“list.‘çEac˜h“elemen˜t“represen˜ts“a“bar“that“crossesŽŸ �‘Ithe–»Npage“break.›>pThere“could“b�Ge“more“than“one“if“bars“are“nested.˜W‘ÿ*ªorks“as“folo�¸ãws:Ž©âý�‘j¹pop–¹–top“element“of“span“listŽ¡�‘jif–¹–point“null“(i.e.,“list“empty)“then“doneŽ¡�‘jelseŽ¡�‘|ùrdo–¹–an“end“bar“on“box255Ž¡�‘|ùrsave–¹–start“for“new“bar“at“top“of“next“page“in“\cb@startSavesŽ¡�‘|ùrpush–¹–active“point“back“onto“history“list“(need“to“reprocessŽ¡�’�ßÊon–¹–next“page).Ž¡¦��‘E�±312Ž‘Sª®¹\def\cb@processActive{%Ž¡��‘E�±313Ž‘]Ú¹\cb@pop\cb@spanlistŽ¡��‘E�±314Ž‘]Ú¹\ifnum\cb@currentpoint=\cb@nilŽ¡��‘E�±315Ž‘]Ú¹\elseŽ¡��‘E�±316Ž‘f‘¹\setbox\@cclv\vbox{%Ž¡��‘E�±317Ž‘p2¹\unvbox\@cclvŽ¡��‘E�±318Ž‘p2¹\boxmaxdepth\maxdepthŽ¡��‘E�±319Ž‘p2¹\advance\cb@pagecount–¹–by“-1\relaxŽ¡��‘E�±320Ž‘p2¹\cb@setEndPoint\cb@currentpoint}%Ž¡��‘E�±321Ž‘f‘¹\cb@saveBeginPoint\cb@currentpointŽ¡��‘E�±322Ž‘f‘¹\cb@push\cb@historyŽ¡��‘E�±323Ž‘f‘¹\cb@processActiveŽ¡��‘E�±324Ž‘]Ú¹\fi}ŽŸâý����‘ê9Þ\cb@saveBeginPointŽŽŽ‘I²Sa•¸ãv“es–žþa“Æ\special“²to“bšGegin“a“p˜oin�¸ãt“in“expanded“macro“Æ\cb@beginSaves².‘NÃThis“isޤ �‘Ithen–yAused“to“start“all“spanning“bars“at“the“top“of“the“next“page.‘Ý‹It“is“almost“theŽ¡�‘Isame–UUas“Æ\cb@setBeginPoint².Ž©ì¨��‘E�±325Ž‘Sª®¹\def\cb@saveBeginPoint#1{%ޤ ��‘E�±326Ž‘]Ú¹\ifodd\cb@pagecountŽ¡��‘E�±327Ž‘f‘¹\xdef\cb@beginSaves{\cb@defpoint{#1}{\cb@even}\cb@beginSaves}%Ž¡��‘E�±328Ž‘]Ú¹\elseŽ¡��‘E�±329Ž‘f‘¹\xdef\cb@beginSaves{\cb@defpoint{#1}{\cb@odd}\cb@beginSaves}%Ž¡��‘E�±330Ž‘]Ú¹\fi}ަ��‘E�±331Ž‘Sª®¹\def\cb@beginSaves{}‘K™`%–¹–initially“emptyޤâý����‘øf \cb@buildActiveŽŽŽ‘I²Initializes–UUthe“spanlist“to“n�¸ãull.ަ��‘E�±332Ž‘Sª®¹\def\cb@buildActive{\cb@initlist\cb@spanlist\cb@pushNextActive}Ž¡����‘ê9Þ\cb@pushNextActiveŽŽŽ‘I²Pš¸ãops–£top“of“history“list.‘v²If“p�Goin˜t“is“on“future“page,‘,·push“bac˜k“on˜to“history“list.ޤ �‘IIf–fp�Goinš¸ãt“on“curren˜t“or“previous“page“and“ošGdd,‘j\cb@pagecountŽ¡��‘E�±338Ž‘p2¹\cb@push\cb@historyŽ¡��‘E�±339Ž‘f‘¹\elseŽ¡��‘E�±340Ž‘p2¹\ifodd\cb@currentpointŽ¡��‘E�±341Ž‘yw^¹\cb@push\cb@spanlistŽ¡��‘E�±342Ž‘p2¹\elseŽ¡��‘E�±343Ž‘yw^¹\cb@pop\cb@spanlistŽ¡��‘E�±344Ž‘p2¹\fiŽ¡��‘E�±345Ž‘p2¹\cb@pushNextActiveŽ¡��‘E�±346Ž‘f‘¹\fiŽ¡��‘E�±347Ž‘]Ú¹\fi}ŽŸþ6��‘IØ6.6Ž‘gÀMacros–€F‘þàor“Managing“The“Lists“of“Bar“p�`oin� tsŽŸuT�‘I²The–4macros“mak�¸ãe“use“of“three“lists“correspšGonding“to“Æ\special“²defp˜oin•¸ãts.‘ŠcEac“hޤ �‘Ilist–UUtak�¸ães“the“form“Æ‘?ý...‘ úŽ¡�‘X²Eac•¸ãh›M"elemen“t˜is˜of˜the˜form˜Æxxxnyyypzzzl˜²where˜Æxxx˜²is˜the˜n“um“b�Ger˜of˜theŽ¡�‘Isp•Gecial›-7p“oin•¸ãt,‘5=Æyyy˜²is˜the˜page˜on˜whic“h˜this˜p�Goin“t˜is˜set,‘5=and˜Æzzz˜²is˜the˜dimensionŽ¡�‘Iused–UUwhen“connecting“this“p�Goin�¸ãt.Ž¡�‘XThe–Žlist“Æ\cb@history“²is“built“from“the“log“information“and“initially“lists“allŽ¡�‘Ithe–UUpšGoin�¸ãts.‘qÇAs“pages“are“pro˜cessed,“p˜oin�¸ãts“are“p˜opp˜ed“o “the“list“and“discarded.Ž¡�‘XThe–•ílist“Æ\cb@spanlist“²is“a“temp�Gorary“list“used“b�¸ãy“the“output“routine“andŽ¡�‘Iconš¸ãtains–åqthe“list“of“all“bars“crossing“the“curren˜t“page“(there“ma˜y“b�Ge“more“than“oneŽ¡�‘Iwith–UUnested“bars).‘qÇIt“is“built“bš¸ãy“p�Gopping“elemen˜ts“o “the“history“list.Ž¡�‘XThe–Fálist“Æ\cb@currentlist“²conš¸ãtains“all“the“curren˜t“bars.‘löA‘FÞÆ\cb@start“²pushesŽ¡�‘Ian–å§elemenš¸ãt“on˜to“this“list.‘"½A‘傯\cb@end“²p�Gops“the“top“elemen˜t“o “the“list“and“usesŽ¡�‘Ithe–UUinfo“to“terminate“the“bar.Ž¡�‘XF‘ÿ*ªor–ÿüp�Gerformance“and“memory“reasons,›j¦the“history“list,˜whicš¸ãh“can“b�Ge“v˜eryŽ¡�‘Ilong,‘%/is–û�sp�Gecial“cased“and“a“ le“is“used“to“store“this“list“rather“than“an“in�¸ãternalŽ¡�‘Imacro.‘BáThe–È£\external"“inš¸ãterface“to“this“list“is“iden˜tical“to“what“is“describšGed“ab˜o•¸ãv“e.Ž¡�‘IHo•¸ãw“ev“er,›ªŠwhen–fLthe“history“list“is“p•Gopp“ed,˜a–fLline“from“the“ le“is“ rst“read“andŽ¡�‘Iapp�Gended–UUto“the“macro“Æ\cb@history².ޤ����‘“b¹\cb@initlistŽŽŽ‘I²A–UUmacro“to“(globally)“initialize“a“list.Ž©��‘E�±348Ž‘Sª®¹\def\cb@initlist#1{\xdef#1{}}Ž¡����‘ Lø\cb@historyŽŽ���Ÿ �‘À$\cb@writeŽŽŽŽ���¤ ¡�‘yº\cb@readŽŽŽŽŽ‘I²W‘ÿ*ªe–UUneed“to“initialise“a“list“to“store“the“en�¸ãtries“read“from“the“external“history“ le.ަ��‘E�±349Ž‘Sª®¹\cb@initlist\cb@historyޤ�‘I²W‘ÿ*ªe–UUalso“need“to“allo�Gcate“a“read“and“a“write“stream“for“the“history“ le.ަ��‘E�±350Ž‘Sª®¹\newwrite\cb@writeŽŸ ��‘E�±351Ž‘Sª®¹\newread\cb@readŽ¡�‘I²And–UUwš¸ãe“op�Gen“the“histro˜y“ le“for“writing.ަ��‘E�±352Ž‘Sª®¹\immediate\openout\cb@write=\jobname.cb\relaxŽŸ����‘“b\cb@spanlistŽŽŽ‘I²Allo�Gcate–UUa“list“for“the“bars“that“span“the“curren�¸ãt“page.ަ��‘E�±353Ž‘Sª®¹\cb@initlist\cb@spanlistŽŽŸ�’õÿ²17ŽŽŒ‹Å´ ª� ýs o� ý´����‘øf ¹\cb@currentlistŽŽŽ‘I²And–+3wš¸ãe“allo�Gcate“an“extra“list“that“is“needed“to“implemen˜t“nesting“without“ha˜vingޤ �‘Ito–UUrely“on“T�‘þU>Ÿ'EŽ‘ãxX's“grouping“mec�¸ãhanism.ŽŸ Ð>��‘E�±354Ž‘Sª®¹\cb@initlist\cb@currentlistŽ©pº����‘3P\cb@popŽŽŽ‘I²This–\opšGops“the“top“elemen�¸ãt“o “the“named“list“and“puts“the“p˜oinš¸ãt“v‘ÿqÇalue“in˜toŽ¡�‘IÆ\cb@currentpoint²,‘_ïthe–‘page“v‘ÿqÇalue“inš¸ãto“Æ\cb@page“²and“the“bar“width“in˜toŽ¡�‘IÆ\@tempdima².‘÷If–8ãthe“list“is“emptš¸ãy‘ÿ*ª,‘qÇreturns“a“v˜oid“v‘ÿqÇalue“(Æ\cb@nil²)“in“Æ\cb@currentpointŽ¡�‘I²and–UUsets“Æ\cb@page=0².ŽŸ |��‘E�±355Ž‘Sª®¹\def\cb@pop#1{%ޤ ��‘E�±356Ž‘]Ú¹\ifx‘¹–#1\cb@historyŽ¡��‘E�±357Ž‘f‘¹\ifeof\cb@readŽ¡��‘E�±358Ž‘f‘¹\elseŽ¡��‘E�±359Ž‘p2¹{\endlinechar=-1\read\cb@read‘¹–to\@tempŽ¡��‘E�±360Ž‘t½È¹\xdef\cb@history{\cb@history\@temp}%Ž¡��‘E�±361Ž‘p2¹}%Ž¡��‘E�±362Ž‘f‘¹\fiŽ¡��‘E�±363Ž‘]Ú¹\fiŽ¡��‘E�±364Ž‘]Ú¹\ifx#1\@emptyŽ¡��‘E�±365Ž‘f‘¹\cb@currentpoint=\cb@nil\cb@page=0\relaxŽ¡��‘E�±366Ž‘]Ú¹\elseŽ¡��‘E�±367Ž‘f‘¹\expandafter\cb@carcdr#1e#1%Ž¡��‘E�±368Ž‘]Ú¹\fi}ަ����‘Ž\cb@carcdrŽŽŽ‘I²Used–UUto“`deco�Gde'“a“list“en�¸ãtry‘ÿ*ª.ŽŸ Ð>��‘E�±369Ž‘Sª®¹\def\cb@carcdr#1n#2p#3l#4e#5{%Ž¡��‘E�±370Ž‘]Ú¹\cb@currentpoint=#1\cb@page=#2\relax\@tempdima=#3\xdef#5{#4}}ަ����‘yº\cb@pushŽŽŽ‘I²Pushes–äåÆ\cb@currentpoint²,‘ûbÆ\cb@page“²and“Æ\@tempdima“²on�¸ãto“the“top“of“the“namedŽŸ �‘Ilist.ŽŸ |��‘E�±371Ž‘Sª®¹\def\cb@push#1{%Ž¡��‘E�±372Ž‘]Ú¹\xdef#1{\the\cb@currentpoint–¹–n\the\cb@page“p\the\@tempdima“l#1}}ަ����‘“b\cb@barpointŽŽŽ‘I²F›ÿ*ªor–›þp�Gopulating“the“history“ le.‘EÂW˜rites“one“line“to“Æ.cb“² le“whicš¸ãh“is“equiv‘ÿqÇalen˜t“toޤ �‘Ione�‘UU¸hÙelement‘òظiŽ‘0Þà²describ•Ged‘UUab“o•¸ãv“e.Ž© Ð>��‘E�±373Ž‘Sª®¹\def\cb@barpoint#1#2#3{\immediate\write\cb@write{#1n#2p#3l}}ŽŸÕ��‘IØ6.7Ž‘gÀMacros–€F‘þàor“Chec� king“That“The“Ô.aux“ØFile“Is“StableŽŸuT����‘ó­ ¹\AtBeginDocumentŽŽŽ‘I²While–òíreading“the“Æ.aux²- le“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“has“created“the“history“list“in“a“separate“ le.Ž¡�‘IW‘ÿ*ªe–×Õneed“to“close“that“ le“and“op�Gen“it“for“reading.‘ùGAlso“the“`initialistion'“of“theŽ¡�‘IÆ\special–¿k²commands“has“to“takš¸ãe“place.‘?ÏWhile“w˜e“are“mo�Gdifying“the“macro“w˜e“alsoŽ¡�‘Iinclude–UUthe“computation“of“the“pšGossible“p˜ositions“of“the“c�¸ãhangebarsŽ¡�‘XF‘ÿ*ªor–UUthese“actions“wš¸ãe“need“to“add“to“the“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“b•Gegin-do“cumen˜t‘UUho“ok.ަ��‘E�±374Ž‘Sª®¹\AtBeginDocument{%ޤ ��‘E�±375Ž‘]Ú¹\cb@setup@specialsŽ¡��‘E�±376Ž‘]Ú¹\cb@positionsŽ¡��‘E�±377Ž‘]Ú¹\immediate\closeout\cb@writeŽ¡��‘E�±378Ž‘]Ú¹\immediate\openin\cb@read=\jobname.cb}ŽŸpº����‘ý 6\AtEndDocumentŽŽŽ‘I²DošGes–¬a“Æ\clearpage“²to“ ush“rest“of“do˜cumen�¸ãt.‘uË(Note“that“I‘«ëb˜eliev�¸ãe“there“is“con-ޤ �‘Itenš¸ãtion–Ýin“this“area:‘U are“there“in“fact“situations“in“whic˜h“the“end-do�Gcumen˜t“ho�GoksŽ¡�‘Ineed–ÚJto“bšGe“called“Ùb–ÿ}'efor“e‘š¥²the–ÚJ nal“Æ\clearpage²?‘¦|“the“do˜cumen�¸ãtation“of“LaT‘ÿ*ªeXŽŽŸ�’õÿ18ŽŽŒ‹Ñ� ª� ýs o� ý´�‘I²itself–TÚimplies“that“there“are.)‘pVThen“closes“Æ.cb“² le“and“reop�Gens“it“for“c•¸ãhec“king.ޤ �‘IInits– Nhistory“list“(to“b�Ge“read“from“ le).‘–²Lets“Æ\cb@barpoint=\cb@checkhistoryŽ¡�‘I²for‘UUc•¸ãhec“king.Ž©��‘E�±379Ž‘Sª®¹\AtEndDocument{%ޤ ��‘E�±380Ž‘]Ú¹\clearpageŽ¡��‘E�±381Ž‘]Ú¹\cb@initlist\cb@historyŽ¡��‘E�±382Ž‘]Ú¹\immediate\closein\cb@readŽ¡��‘E�±383Ž‘]Ú¹\immediate\openin\cb@read=\jobname.cb%Ž¡��‘E�±384Ž‘]Ú¹\let\cb@barpoint=\cb@checkHistory}ŽŸ����‘ó­ \cb@checkHistoryŽŽŽ‘I²Pš¸ãops–\rthe“top“of“the“history“list“(Æ\jobname.cb²)“and“c˜hec˜ks“to“see“if“the“p�Goin˜t“andޤ �‘Ipage›ìn•¸ãum“b�Gers˜are˜the˜same˜as˜the˜argumen“ts˜#1˜and˜#2˜resp�Gectiv“ely‘ÿ*ª.‘6Prin“ts˜aŽ¡�‘Iwš¸ãarning–UUmessage“if“di eren˜t.ަ��‘E�±385Ž‘Sª®¹\def\cb@checkHistory#1#2#3{%ޤ ��‘E�±386Ž‘]Ú¹\cb@pop\cb@historyŽ¡��‘E�±387Ž‘]Ú¹\ifnum‘¹–#1=\cb@currentpoint\relaxŽ¡��‘E�±388Ž‘f‘¹\ifnum‘¹–#2=\cb@page\relaxŽŸ�‘I²Both–UUpage“and“p�Goinš¸ãt“n˜um˜b�Gers“are“equal;“do“nothing,ޤ��‘E�±389Ž‘f‘¹\elseŽ©�‘I²but–UUgenerate“a“wš¸ãarning“when“page“n˜um˜b�Gers“don't“mac˜h,“orŽ¡��‘E�±390Ž‘p2¹\cb@errorޤ ��‘E�±391Ž‘f‘¹\fiŽ¡��‘E�±392Ž‘]Ú¹\elseަ�‘I²when–UUp�Goinš¸ãt“n˜um˜b�Gers“don't“mac˜h.Ž©��‘E�±393Ž‘f‘¹\cb@errorŽ¡��‘E�±394Ž‘]Ú¹\fi}ŽŸ����‘À$\cb@errorŽŽŽ‘I²When–áÃa“mismatcš¸ãh“b�Get˜w˜een“the“c˜hangebar“information“in“the“auxiliary“ le“and“theŽŸ �‘Ihistory–UUlist“is“detected“a“wš¸ãarning“is“issued;“further“c˜hec˜king“is“disabled.ަ��‘E�±395Ž‘Sª®¹\def\cb@error{%Ž¡��‘E�±396Ž‘]Ú¹\PackageWarning{Changebar}%Ž¡��‘E�±397Ž‘f‘¹{Changebar–¹–info“has“changed.\MessageBreakŽ¡��‘E�±398Ž‘kJœ¹Rerun–¹–to“get“the“bars“right}Ž¡��‘E�±399Ž‘]Ú¹\gdef\cb@checkHistory##1##2##3{}%Ž¡��‘E�±400Ž‘]Ú¹\let\cb@barpoint=\cb@checkHistory}ŽŸþ6��‘IØ6.8Ž‘gÀMacros–F›þàor“Making“It“W˜ork“With“Nested“Floats/F˜o�`otnotesŽŸuT����‘޹\end@floatŽŽŽ‘I²This–�ois“a“replacemenš¸ãt“for“the“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX-macro“of“the“same“name.‘+%All“it“do�Ges“is“c˜hec˜k“toޤ �‘Isee–]zif“cš¸ãhangebars“are“activ˜e“and,›� if“so,˜it“puts“cš¸ãhangebars“around“the“b�Go˜x“con˜tainingŽ¡�‘Ithe–UU oat.‘qÇThen“it“calls“the“original“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“Æ\end@float².ޤ��‘E�±401Ž‘Sª®¹\let\cb@endfloat=\end@floatŽ¡��‘E�±402Ž‘Sª®¹\def\end@float{%ޤ ��‘E�±403Ž‘]Ú¹\cb@pop\cb@currentlistŽ¡��‘E�±404Ž‘]Ú¹\ifnum\cb@currentpoint=\cb@nilŽ¡��‘E�±405Ž‘]Ú¹\elseŽ¡��‘E�±406Ž‘f‘¹\cb@push\cb@currentlistŽ¡��‘E�±407Ž‘f‘¹\global\@tempdima=\@tempdimaŽ¡��‘E�±408Ž‘f‘¹\egroupŽŽŸ�’õÿ²19ŽŽŒ‹ݽ ª� ýs o� ý´��‘E�±409Ž‘f‘¹\global\setbox\@currbox=%ޤ ��‘E�±410Ž‘yw^¹\vbox\bgroup\cb@start[\@tempdima]\unvbox\@currbox\cb@endŽ¡��‘E�±411Ž‘]Ú¹\fiŽ¡��‘E�±412Ž‘]Ú¹\cb@endfloat}ŽŸ�‘I²This–'Øonly“wš¸ãorks“if“this“new“v˜ersion“of“Æ\end@float“²is“really“used.‘b�With“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX2.09Ž© �‘Ithe›UUdo�Gcumen•¸ãtst“yles˜used˜to˜con“tain:ŽŸ�‘[æX¹\let\endfigure\end@floatŽ¡Ÿ�‘I²In–Exthat“case“this“binding“has“to“bšGe“rep˜eated“after“the“rede nition“of“Æ\end@float².ަ�‘IHo•¸ãw“ev“er,‘qùthe�‘9 L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX‘ü2�Ÿÿµ"ŽŽ‘-Ųclass–9 les“use“Æ\newenvironment“²to“de ne“the“Ï gure“²andަ�‘IÏtable›UU²en•¸ãvironmen“ts.‘qÇIn˜that˜case˜there˜is˜no˜need˜to˜rebind˜Æ\endfigure².ŽŸ����‘ý 6¹\@footnotetextŽŽŽ‘I²Replacemenš¸ãt–¿for“the“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“macro“of“the“same“name.‘¯Simply“c˜hec˜ks“to“see“ifަ�‘Icš¸ãhangebars–ª§are“activ˜e“and“if“so“wraps“the“macro“argumen˜t“(i.e.,‘¿üthe“fo�Gotnote)“inަ�‘Ic�¸ãhangebars.ޤ��‘E�±413Ž‘Sª®¹\let\cb@footnote=\@footnotetextŽ¡��‘E�±414Ž‘Sª®¹\long\def\@footnotetext#1{%ޤ ��‘E�±415Ž‘]Ú¹\cb@pop\cb@currentlistŽ¡��‘E�±416Ž‘]Ú¹\ifnum\cb@currentpoint=\cb@nilŽ¡��‘E�±417Ž‘f‘¹\cb@footnote{#1}%Ž¡��‘E�±418Ž‘]Ú¹\elseŽ¡��‘E�±419Ž‘f‘¹\cb@push\cb@currentlistŽ¡��‘E�±420Ž‘f‘¹\edef\cb@temp{\the\@tempdima}%Ž¡��‘E�±421Ž‘f‘¹\cb@footnote{\cb@start[\cb@temp]#1\cb@end}%Ž¡��‘E�±422Ž‘]Ú¹\fi}ŽŸ����‘ó­ \@mpfootnotetextŽŽŽ‘I²Replacemen�¸ãt–8ãfor“the“L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX“macro“of“the“same“name.‘÷Same“thing“as“Æ\@footnotetext².ޤ��‘E�±423Ž‘Sª®¹\let\cb@mpfootnote=\@mpfootnotetextŽ¡��‘E�±424Ž‘Sª®¹\long\def\@mpfootnotetext#1{%ޤ ��‘E�±425Ž‘]Ú¹\cb@pop\cb@currentlistŽ¡��‘E�±426Ž‘]Ú¹\ifnum\cb@currentpoint=\cb@nilŽ¡��‘E�±427Ž‘f‘¹\cb@mpfootnote{#1}%Ž¡��‘E�±428Ž‘]Ú¹\elseŽ¡��‘E�±429Ž‘f‘¹\cb@push\cb@currentlistŽ¡��‘E�±430Ž‘f‘¹\edef\cb@temp{\the\@tempdima}%Ž¡��‘E�±431Ž‘f‘¹\cb@mpfootnote{\cb@start[\cb@temp]#1\cb@end}%Ž¡��‘E�±432Ž‘]Ú¹\fi}Ž¡��‘E�±433Ž‘Sª®¾h�¼=Àpack�¾9ageŽ‘#g ¾iŽŸ!Ä�‘IÄIndexŽŸç�‘I²Num�¸ãbšGers–ûin“Ùitalics‘Í5²indicate“the“page“where“the“macro“is“describ˜ed,‘ "the“underlinedަ�‘In•¸ãum“bšGers–Øindicate“the“n•¸ãum“b˜er–Øof“the“line“of“co˜de“where“the“macro“is“de ned,‘øÀallަ�‘Iother›UUn•¸ãum“b�Gers˜indicate˜where˜a˜macro˜is˜used.ŽŸ:!��ŸÛøß�‘mmJ×Sym�´Cb�K¼olsŽ© ƒ‘�‘I¹\@SpecialMainIndex‘ÀT�‘}„º.ŽŽ¡�‘g�‘}„.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ (21,‘T23ަ�‘I¹\@auxout‘™À�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ýÐ285ŽŽ�ŸÛøß�’ª¬¹\@bsphack‘lø�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž‘ �¨12,–T15,“18ޤ `�’ª¬¹@cb@trace‘lø�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž��‘ °þ7Ž‘ °þŸ™”‰feŸþŽŽ¡�’ª¬¹\@cb@tracefalse‘Óz�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž‘ýÐ116Ž¡�’ª¬¹\@cb@tracetrue‘B�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ýÐ115ŽŽ�ŸÛøß�’º253,–T258,“314,Ž¡�’ZUX335,–ªµ337,“387,Ž¡�’ZUX388,–'%404,“416,“426Ž¡�’�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ �Î80Ž¡�‘I¹\PackageError‘- �‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ýÐ117Ž¡�‘I¹\PackageWarning‘Óz�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.ŽŽ¡�‘g�‘}„.Ž‘ 5t197,–T207,“259,“396Ž¡�‘I¹\point‘óP�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ ©ô282,‘T286Ž¡�‘I¹\PrintDescribeEnv‘yê�‘}„º.Ž‘ �Î13Ž¡�‘I¹\ProcessOptions‘Óz�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž‘ýÐ123Ž¡�‘I¹\ProvidesFile‘- �‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ °þ3Ž¡�‘I¹\ProvidesPackage‘¦²�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž‘ °þ5Ž¡�‘I¹\pstyle‘ƈ�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ �Î29ަ�‘|×Õ×RŽ¡�‘I¹\raggedleft‘†š�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ �Î13Ž¡�‘I¹\read‘ �‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ýÐ359Ž¡�‘I¹\relax‘óP�‘}„º.Ž‘ŒÎ�‘}„.Ž‘ ˜881{88,‘T123,Ž¡�‘g132,–ªµ176,“195,Ž¡�‘g205,–ªµ214,“216,Ž¡�‘g230,–ªµ241,“252,Ž¡�‘g254,–ªµ272,“298,ŽŽ� þ¥�’બ309,–ªµ319,“352,Ž© �’બ365,–'%370,“387,“388ŽŸ !�’÷Н×Sޤ Y �’ª¬¹\setbox‘&âº292,–Ñ303,“316,“409Ž¡�’ª¬¹\setcounter‘†š�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ýÐ238Ž¡�’ª¬¹\setlength‘ |¬º232,–T234,“236Ž¡�’ª¬¹\small‘óP�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ �Î28Ž¡�’ª¬¹\space‘óP�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ ¾˜157,‘T160,ަ�’બ164{166,‘ 8ú170{ަ�’બ173,‘G2180{183,ަ�’બ187{189,–3œ191,“192Ž¡�’ª¬¹\special‘™À�‘}„º.Ž‘ŒÎ�‘}„.Ž‘ ¾˜154,‘T157,ަ�’બ160,–ªµ163,“169,ަ�’બ179,–'%186,“200,“203Ž¡�’ª¬¹\SpecialMainIndex‘yê�‘}„º.ŽŽ¦�’બ�‘}„.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘$D21{23Ž¡�’ª¬¹\SpecialVarMainIndexަ�’બ�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ (15,‘T22Ž¡�’ª¬¹\SpecialVarUsageIndexަ�’બ�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ (14,‘T18Ž¡�’ª¬¹\string‘ƈ�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ýÐ286Ž¡�’ª¬¹\strutbox‘lø�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ ©ô247,‘T249ŽŸ !�’öËÀ×TŽ¡�’ª¬¹\t‘3>�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ �Î80Ž¡�’ª¬¹\tempa‘óP�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ Ðf126,‘T133{136Ž¡�’ª¬¹\textsf‘ƈ�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ ÐT25,‘T26Ž¡�’ª¬¹\textsl‘ƈ�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ ÐT28,‘T29Ž¡�’ª¬¹\texttt‘ƈ�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž‘ �¨16,–T19,“27Ž¡�’ª¬¹\textwidth‘@0�‘}„º.Ž–ŒÎ�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.Ž“�‘}„.ŽŽ¦�’ä952,–T66,“72,“106,“111ŽŽ� þ¥�’ cmmi10óKñ`y cmr10óÙ“ Rcmr7ùOìßßßß