home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / textutil / tex / source / latex_2e_1 / ltcounts.dtx < prev    next >
LaTeX Document  |  1994-06-10  |  11.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX 2e document text default
99% file LaTeX document text default
98% file LaTeX document, ASCII text default
100% TrID LaTeX 2e document (with rem) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/280 LaTeX (Master document) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/x-matlab default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 5c 69 66 66 61 6c | 73 65 20 6d 65 74 61 2d |% \iffal|se meta-|
|00000010| 63 6f 6d 6d 65 6e 74 0a | 25 0a 25 20 43 6f 70 79 |comment.|%.% Copy|
|00000020| 72 69 67 68 74 20 31 39 | 39 34 20 74 68 65 20 4c |right 19|94 the L|
|00000030| 61 54 65 58 33 20 70 72 | 6f 6a 65 63 74 20 61 6e |aTeX3 pr|oject an|
|00000040| 64 20 74 68 65 20 69 6e | 64 69 76 69 64 75 61 6c |d the in|dividual|
|00000050| 20 61 75 74 68 6f 72 73 | 2e 0a 25 20 41 6c 6c 20 | authors|..% All |
|00000060| 72 69 67 68 74 73 20 72 | 65 73 65 72 76 65 64 2e |rights r|eserved.|
|00000070| 20 46 6f 72 20 66 75 72 | 74 68 65 72 20 63 6f 70 | For fur|ther cop|
|00000080| 79 72 69 67 68 74 20 69 | 6e 66 6f 72 6d 61 74 69 |yright i|nformati|
|00000090| 6f 6e 20 73 65 65 20 74 | 68 65 20 66 69 6c 65 0a |on see t|he file.|
|000000a0| 25 20 6c 65 67 61 6c 2e | 74 78 74 2c 20 61 6e 64 |% legal.|txt, and|
|000000b0| 20 61 6e 79 20 6f 74 68 | 65 72 20 63 6f 70 79 72 | any oth|er copyr|
|000000c0| 69 67 68 74 20 69 6e 64 | 69 63 61 74 65 64 20 69 |ight ind|icated i|
|000000d0| 6e 20 74 68 69 73 20 66 | 69 6c 65 2e 0a 25 20 0a |n this f|ile..% .|
|000000e0| 25 20 54 68 69 73 20 66 | 69 6c 65 20 69 73 20 70 |% This f|ile is p|
|000000f0| 61 72 74 20 6f 66 20 74 | 68 65 20 4c 61 54 65 58 |art of t|he LaTeX|
|00000100| 32 65 20 73 79 73 74 65 | 6d 2e 0a 25 20 2d 2d 2d |2e syste|m..% ---|
|00000110| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000120| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000130| 2d 2d 2d 2d 2d 0a 25 20 | 0a 25 20 20 54 68 69 73 |-----.% |.% This|
|00000140| 20 73 79 73 74 65 6d 20 | 69 73 20 64 69 73 74 72 | system |is distr|
|00000150| 69 62 75 74 65 64 20 69 | 6e 20 74 68 65 20 68 6f |ibuted i|n the ho|
|00000160| 70 65 20 74 68 61 74 20 | 69 74 20 77 69 6c 6c 20 |pe that |it will |
|00000170| 62 65 20 75 73 65 66 75 | 6c 2c 0a 25 20 20 62 75 |be usefu|l,.% bu|
|00000180| 74 20 57 49 54 48 4f 55 | 54 20 41 4e 59 20 57 41 |t WITHOU|T ANY WA|
|00000190| 52 52 41 4e 54 59 3b 20 | 77 69 74 68 6f 75 74 20 |RRANTY; |without |
|000001a0| 65 76 65 6e 20 74 68 65 | 20 69 6d 70 6c 69 65 64 |even the| implied|
|000001b0| 20 77 61 72 72 61 6e 74 | 79 20 6f 66 0a 25 20 20 | warrant|y of.% |
|000001c0| 4d 45 52 43 48 41 4e 54 | 41 42 49 4c 49 54 59 20 |MERCHANT|ABILITY |
|000001d0| 6f 72 20 46 49 54 4e 45 | 53 53 20 46 4f 52 20 41 |or FITNE|SS FOR A|
|000001e0| 20 50 41 52 54 49 43 55 | 4c 41 52 20 50 55 52 50 | PARTICU|LAR PURP|
|000001f0| 4f 53 45 2e 0a 25 20 0a | 25 20 0a 25 20 49 4d 50 |OSE..% .|% .% IMP|
|00000200| 4f 52 54 41 4e 54 20 4e | 4f 54 49 43 45 3a 0a 25 |ORTANT N|OTICE:.%|
|00000210| 20 0a 25 20 46 6f 72 20 | 65 72 72 6f 72 20 72 65 | .% For |error re|
|00000220| 70 6f 72 74 73 20 69 6e | 20 63 61 73 65 20 6f 66 |ports in| case of|
|00000230| 20 55 4e 43 48 41 4e 47 | 45 44 20 76 65 72 73 69 | UNCHANG|ED versi|
|00000240| 6f 6e 73 20 73 65 65 20 | 62 75 67 73 2e 74 78 74 |ons see |bugs.txt|
|00000250| 2e 0a 25 20 0a 25 20 50 | 6c 65 61 73 65 20 64 6f |..% .% P|lease do|
|00000260| 20 6e 6f 74 20 72 65 71 | 75 65 73 74 20 75 70 64 | not req|uest upd|
|00000270| 61 74 65 73 20 66 72 6f | 6d 20 75 73 20 64 69 72 |ates fro|m us dir|
|00000280| 65 63 74 6c 79 2e 20 20 | 44 69 73 74 72 69 62 75 |ectly. |Distribu|
|00000290| 74 69 6f 6e 20 69 73 0a | 25 20 64 6f 6e 65 20 74 |tion is.|% done t|
|000002a0| 68 72 6f 75 67 68 20 4d | 61 69 6c 2d 53 65 72 76 |hrough M|ail-Serv|
|000002b0| 65 72 73 20 61 6e 64 20 | 54 65 58 20 6f 72 67 61 |ers and |TeX orga|
|000002c0| 6e 69 7a 61 74 69 6f 6e | 73 2e 0a 25 20 0a 25 20 |nization|s..% .% |
|000002d0| 59 6f 75 20 61 72 65 20 | 6e 6f 74 20 61 6c 6c 6f |You are |not allo|
|000002e0| 77 65 64 20 74 6f 20 63 | 68 61 6e 67 65 20 74 68 |wed to c|hange th|
|000002f0| 69 73 20 66 69 6c 65 2e | 0a 25 20 0a 25 20 59 6f |is file.|.% .% Yo|
|00000300| 75 20 61 72 65 20 61 6c | 6c 6f 77 65 64 20 74 6f |u are al|lowed to|
|00000310| 20 64 69 73 74 72 69 62 | 75 74 65 20 74 68 69 73 | distrib|ute this|
|00000320| 20 66 69 6c 65 20 75 6e | 64 65 72 20 74 68 65 20 | file un|der the |
|00000330| 63 6f 6e 64 69 74 69 6f | 6e 20 74 68 61 74 0a 25 |conditio|n that.%|
|00000340| 20 69 74 20 69 73 20 64 | 69 73 74 72 69 62 75 74 | it is d|istribut|
|00000350| 65 64 20 74 6f 67 65 74 | 68 65 72 20 77 69 74 68 |ed toget|her with|
|00000360| 20 61 6c 6c 20 66 69 6c | 65 73 20 6d 65 6e 74 69 | all fil|es menti|
|00000370| 6f 6e 65 64 20 69 6e 20 | 6d 61 6e 69 66 65 73 74 |oned in |manifest|
|00000380| 2e 74 78 74 2e 0a 25 20 | 0a 25 20 49 66 20 79 6f |.txt..% |.% If yo|
|00000390| 75 20 72 65 63 65 69 76 | 65 20 6f 6e 6c 79 20 73 |u receiv|e only s|
|000003a0| 6f 6d 65 20 6f 66 20 74 | 68 65 73 65 20 66 69 6c |ome of t|hese fil|
|000003b0| 65 73 20 66 72 6f 6d 20 | 73 6f 6d 65 6f 6e 65 2c |es from |someone,|
|000003c0| 20 63 6f 6d 70 6c 61 69 | 6e 21 0a 25 20 0a 25 20 | complai|n!.% .% |
|000003d0| 59 6f 75 20 61 72 65 20 | 4e 4f 54 20 41 4c 4c 4f |You are |NOT ALLO|
|000003e0| 57 45 44 20 74 6f 20 64 | 69 73 74 72 69 62 75 74 |WED to d|istribut|
|000003f0| 65 20 74 68 69 73 20 66 | 69 6c 65 20 61 6c 6f 6e |e this f|ile alon|
|00000400| 65 2e 20 20 59 6f 75 20 | 61 72 65 20 4e 4f 54 0a |e. You |are NOT.|
|00000410| 25 20 41 4c 4c 4f 57 45 | 44 20 74 6f 20 74 61 6b |% ALLOWE|D to tak|
|00000420| 65 20 6d 6f 6e 65 79 20 | 66 6f 72 20 74 68 65 20 |e money |for the |
|00000430| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 20 6f 72 20 |distribu|tion or |
|00000440| 75 73 65 20 6f 66 20 65 | 69 74 68 65 72 20 74 68 |use of e|ither th|
|00000450| 69 73 0a 25 20 66 69 6c | 65 20 6f 72 20 61 20 63 |is.% fil|e or a c|
|00000460| 68 61 6e 67 65 64 20 76 | 65 72 73 69 6f 6e 2c 20 |hanged v|ersion, |
|00000470| 65 78 63 65 70 74 20 66 | 6f 72 20 61 20 6e 6f 6d |except f|or a nom|
|00000480| 69 6e 61 6c 20 63 68 61 | 72 67 65 20 66 6f 72 20 |inal cha|rge for |
|00000490| 63 6f 70 79 69 6e 67 0a | 25 20 65 74 63 2e 0a 25 |copying.|% etc..%|
|000004a0| 20 5c 66 69 0a 25 0a 25 | 20 5c 69 66 66 61 6c 73 | \fi.%.%| \iffals|
|000004b0| 65 0a 25 25 25 20 46 69 | 6c 65 3a 20 6c 74 63 6f |e.%%% Fi|le: ltco|
|000004c0| 75 6e 74 73 0a 25 0a 25 | 3c 2a 64 72 69 76 65 72 |unts.%.%|<*driver|
|000004d0| 3e 0a 25 20 5c 66 69 0a | 5c 50 72 6f 76 69 64 65 |>.% \fi.|\Provide|
|000004e0| 73 46 69 6c 65 7b 6c 74 | 63 6f 75 6e 74 73 2e 64 |sFile{lt|counts.d|
|000004f0| 74 78 7d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |tx}. | |
|00000500| 20 5b 31 39 39 34 2f 30 | 35 2f 31 39 20 76 31 2e | [1994/0|5/19 v1.|
|00000510| 31 61 20 4c 61 54 65 58 | 20 4b 65 72 6e 65 6c 20 |1a LaTeX| Kernel |
|00000520| 28 43 6f 75 6e 74 65 72 | 73 29 5d 0a 25 20 5c 69 |(Counter|s)].% \i|
|00000530| 66 66 61 6c 73 65 0a 5c | 64 6f 63 75 6d 65 6e 74 |ffalse.\|document|
|00000540| 63 6c 61 73 73 7b 6c 74 | 78 64 6f 63 7d 0a 5c 47 |class{lt|xdoc}.\G|
|00000550| 65 74 46 69 6c 65 49 6e | 66 6f 7b 6c 74 63 6f 75 |etFileIn|fo{ltcou|
|00000560| 6e 74 73 2e 64 74 78 7d | 0a 5c 74 69 74 6c 65 7b |nts.dtx}|.\title{|
|00000570| 5c 66 69 6c 65 6e 61 6d | 65 7d 0a 5c 64 61 74 65 |\filenam|e}.\date|
|00000580| 7b 5c 66 69 6c 65 64 61 | 74 65 7d 0a 20 5c 61 75 |{\fileda|te}. \au|
|00000590| 74 68 6f 72 7b 25 0a 20 | 20 4a 6f 68 61 6e 6e 65 |thor{%. | Johanne|
|000005a0| 73 20 42 72 61 61 6d 73 | 5c 61 6e 64 0a 20 20 44 |s Braams|\and. D|
|000005b0| 61 76 69 64 20 43 61 72 | 6c 69 73 6c 65 5c 61 6e |avid Car|lisle\an|
|000005c0| 64 0a 20 20 41 6c 61 6e | 20 4a 65 66 66 72 65 79 |d. Alan| Jeffrey|
|000005d0| 5c 61 6e 64 0a 20 20 4c | 65 73 6c 69 65 20 4c 61 |\and. L|eslie La|
|000005e0| 6d 70 6f 72 74 5c 61 6e | 64 0a 20 20 46 72 61 6e |mport\an|d. Fran|
|000005f0| 6b 20 4d 69 74 74 65 6c | 62 61 63 68 5c 61 6e 64 |k Mittel|bach\and|
|00000600| 0a 20 20 43 68 72 69 73 | 20 52 6f 77 6c 65 79 5c |. Chris| Rowley\|
|00000610| 61 6e 64 0a 20 20 52 61 | 69 6e 65 72 20 53 63 68 |and. Ra|iner Sch|
|00000620| 5c 22 6f 70 66 7d 0a 0a | 5c 62 65 67 69 6e 7b 64 |\"opf}..|\begin{d|
|00000630| 6f 63 75 6d 65 6e 74 7d | 0a 5c 6d 61 6b 65 74 69 |ocument}|.\maketi|
|00000640| 74 6c 65 0a 20 5c 44 6f | 63 49 6e 70 75 74 7b 5c |tle. \Do|cInput{\|
|00000650| 66 69 6c 65 6e 61 6d 65 | 7d 0a 5c 65 6e 64 7b 64 |filename|}.\end{d|
|00000660| 6f 63 75 6d 65 6e 74 7d | 0a 25 3c 2f 64 72 69 76 |ocument}|.%</driv|
|00000670| 65 72 3e 0a 25 20 5c 66 | 69 0a 25 0a 25 20 5c 43 |er>.% \f|i.%.% \C|
|00000680| 68 65 63 6b 53 75 6d 7b | 32 31 34 7d 0a 25 0a 25 |heckSum{|214}.%.%|
|00000690| 20 5c 63 68 61 6e 67 65 | 73 7b 76 31 2e 30 63 7d | \change|s{v1.0c}|
|000006a0| 7b 31 39 39 34 2f 30 33 | 2f 32 39 7d 0a 25 20 20 |{1994/03|/29}.% |
|000006b0| 20 20 20 7b 43 72 65 61 | 74 65 20 66 69 6c 65 20 | {Crea|te file |
|000006c0| 66 72 6f 6d 20 70 61 72 | 74 73 20 6f 66 20 6c 74 |from par|ts of lt|
|000006d0| 6d 69 73 63 65 6e 20 61 | 6e 64 20 6c 74 68 65 72 |miscen a|nd lther|
|000006e0| 65 73 74 2e 7d 0a 25 20 | 5c 63 68 61 6e 67 65 73 |est.}.% |\changes|
|000006f0| 7b 76 31 2e 31 61 7d 7b | 31 39 39 34 2f 30 35 2f |{v1.1a}{|1994/05/|
|00000700| 31 39 7d 7b 45 78 74 72 | 61 63 74 65 64 20 66 69 |19}{Extr|acted fi|
|00000710| 6c 65 20 66 72 6f 6d 20 | 6c 74 63 6e 74 6c 65 6e |le from |ltcntlen|
|00000720| 2e 7d 0a 25 0a 25 20 5c | 73 65 63 74 69 6f 6e 7b |.}.%.% \|section{|
|00000730| 43 6f 75 6e 74 65 72 73 | 20 61 6e 64 20 4c 65 6e |Counters| and Len|
|00000740| 67 74 68 73 7d 0a 25 20 | 43 6f 6d 6d 61 6e 64 73 |gths}.% |Commands|
|00000750| 20 66 6f 72 20 64 65 66 | 69 6e 69 6e 67 20 61 6e | for def|ining an|
|00000760| 64 20 75 73 69 6e 67 20 | 63 6f 75 6e 74 65 72 73 |d using |counters|
|00000770| 2e 20 54 68 69 73 20 66 | 69 6c 65 20 64 65 66 69 |. This f|ile defi|
|00000780| 6e 65 73 3a 0a 25 0a 25 | 20 5c 44 65 73 63 72 69 |nes:.%.%| \Descri|
|00000790| 62 65 4d 61 63 72 6f 7b | 5c 6e 65 77 63 6f 75 6e |beMacro{|\newcoun|
|000007a0| 74 65 72 7d 0a 25 20 54 | 6f 20 64 65 66 69 6e 65 |ter}.% T|o define|
|000007b0| 20 61 20 6e 65 77 20 63 | 6f 75 6e 74 65 72 2e 0a | a new c|ounter..|
|000007c0| 25 0a 25 20 5c 44 65 73 | 63 72 69 62 65 4d 61 63 |%.% \Des|cribeMac|
|000007d0| 72 6f 7b 5c 73 65 74 63 | 6f 75 6e 74 65 72 7d 20 |ro{\setc|ounter} |
|000007e0| 0a 25 20 54 6f 20 73 65 | 74 20 74 68 65 20 76 61 |.% To se|t the va|
|000007f0| 6c 75 65 20 6f 66 20 63 | 6f 75 6e 74 65 72 73 2e |lue of c|ounters.|
|00000800| 0a 25 0a 25 20 5c 44 65 | 73 63 72 69 62 65 4d 61 |.%.% \De|scribeMa|
|00000810| 63 72 6f 7b 5c 61 64 64 | 74 6f 74 63 6f 75 6e 74 |cro{\add|totcount|
|00000820| 65 72 7d 0a 25 20 49 6e | 63 72 65 61 73 65 20 74 |er}.% In|crease t|
|00000830| 68 65 20 63 6f 75 6e 74 | 65 72 20 7c 23 31 7c 20 |he count|er |#1| |
|00000840| 62 79 20 74 68 65 20 6e | 75 6d 62 65 72 20 7c 23 |by the n|umber |#|
|00000850| 32 7c 2e 0a 25 0a 25 20 | 5c 44 65 73 63 72 69 62 |2|..%.% |\Describ|
|00000860| 65 4d 61 63 72 6f 7b 5c | 73 74 65 70 74 63 6f 75 |eMacro{\|steptcou|
|00000870| 6e 74 65 72 7d 0a 25 20 | 49 6e 63 72 65 61 73 65 |nter}.% |Increase|
|00000880| 20 61 20 63 6f 75 6e 74 | 65 72 20 62 79 20 6f 6e | a count|er by on|
|00000890| 65 2e 0a 25 0a 25 20 5c | 44 65 73 63 72 69 62 65 |e..%.% \|Describe|
|000008a0| 4d 61 63 72 6f 7b 5c 72 | 65 66 73 74 65 70 74 63 |Macro{\r|efsteptc|
|000008b0| 6f 75 6e 74 65 72 7d 0a | 25 20 49 6e 63 72 65 61 |ounter}.|% Increa|
|000008c0| 73 65 20 61 20 63 6f 75 | 6e 74 65 72 20 62 79 20 |se a cou|nter by |
|000008d0| 6f 6e 65 2c 20 61 6c 73 | 6f 20 73 65 74 74 69 6e |one, als|o settin|
|000008e0| 67 20 74 68 65 20 76 61 | 6c 75 65 20 75 73 65 64 |g the va|lue used|
|000008f0| 20 62 79 20 7c 5c 6c 61 | 62 65 6c 7c 2e 0a 25 0a | by |\la|bel|..%.|
|00000900| 25 0a 25 20 5c 44 65 73 | 63 72 69 62 65 4d 61 63 |%.% \Des|cribeMac|
|00000910| 72 6f 7b 5c 76 61 6c 75 | 65 7d 0a 25 20 46 6f 72 |ro{\valu|e}.% For|
|00000920| 20 61 63 63 65 73 73 69 | 6e 67 20 74 68 65 20 76 | accessi|ng the v|
|00000930| 61 6c 75 65 20 6f 66 20 | 74 68 65 20 63 6f 75 6e |alue of |the coun|
|00000940| 74 65 72 20 61 73 20 61 | 20 5c 54 65 58 5c 20 6e |ter as a| \TeX\ n|
|00000950| 75 6d 62 65 72 20 28 61 | 73 20 6f 70 70 6f 73 65 |umber (a|s oppose|
|00000960| 64 0a 25 20 74 6f 20 7c | 5c 74 68 65 7c 5c 6d 65 |d.% to ||\the|\me|
|00000970| 74 61 7b 63 6f 75 6e 74 | 65 72 7d 20 77 68 69 63 |ta{count|er} whic|
|00000980| 68 20 65 78 70 61 6e 64 | 73 20 74 6f 20 74 68 65 |h expand|s to the|
|00000990| 20 5c 65 6d 70 68 7b 70 | 72 69 6e 74 65 64 7d 0a | \emph{p|rinted}.|
|000009a0| 25 20 72 65 70 72 65 73 | 65 6e 74 61 74 69 6f 6e |% repres|entation|
|000009b0| 20 6f 66 20 5c 6d 65 74 | 61 7b 63 6f 75 6e 74 65 | of \met|a{counte|
|000009c0| 72 7d 29 0a 25 0a 25 20 | 5c 44 65 73 63 72 69 62 |r}).%.% |\Describ|
|000009d0| 65 4d 61 63 72 6f 5c 61 | 72 61 62 69 63 0a 25 20 |eMacro\a|rabic.% |
|000009e0| 7c 5c 61 72 61 62 69 63 | 7c 5c 6d 61 72 67 7b 63 ||\arabic||\marg{c|
|000009f0| 6f 75 6e 74 65 72 7d 3a | 20 31 2c 20 32 2c 20 33 |ounter}:| 1, 2, 3|
|00000a00| 2c 20 5c 6c 64 6f 74 73 | 0a 25 0a 25 20 5c 44 65 |, \ldots|.%.% \De|
|00000a10| 73 63 72 69 62 65 4d 61 | 63 72 6f 5c 72 6f 6d 61 |scribeMa|cro\roma|
|00000a20| 6e 0a 25 20 7c 5c 72 6f | 6d 61 6e 7c 5c 6d 61 72 |n.% |\ro|man|\mar|
|00000a30| 67 7b 63 6f 75 6e 74 65 | 72 7d 3a 20 69 2c 20 69 |g{counte|r}: i, i|
|00000a40| 69 2c 20 69 69 2c 20 5c | 6c 64 6f 74 73 0a 25 0a |i, ii, \|ldots.%.|
|00000a50| 25 20 5c 44 65 73 63 72 | 69 62 65 4d 61 63 72 6f |% \Descr|ibeMacro|
|00000a60| 5c 52 6f 6d 61 6e 0a 25 | 20 7c 5c 52 6f 6d 61 6e |\Roman.%| |\Roman|
|00000a70| 7c 5c 6d 61 72 67 7b 63 | 6f 75 6e 74 65 72 7d 3a ||\marg{c|ounter}:|
|00000a80| 20 49 2c 20 49 49 2c 20 | 49 49 2c 20 5c 6c 64 6f | I, II, |II, \ldo|
|00000a90| 74 73 0a 25 0a 25 20 5c | 44 65 73 63 72 69 62 65 |ts.%.% \|Describe|
|00000aa0| 4d 61 63 72 6f 5c 61 6c | 70 68 0a 25 20 7c 5c 61 |Macro\al|ph.% |\a|
|00000ab0| 6c 70 68 7c 5c 6d 61 72 | 67 7b 63 6f 75 6e 74 65 |lph|\mar|g{counte|
|00000ac0| 72 7d 3a 20 61 2c 20 62 | 2c 20 63 2c 20 5c 6c 64 |r}: a, b|, c, \ld|
|00000ad0| 6f 74 73 0a 25 0a 25 20 | 5c 44 65 73 63 72 69 62 |ots.%.% |\Describ|
|00000ae0| 65 4d 61 63 72 6f 5c 41 | 6c 70 68 0a 25 20 7c 5c |eMacro\A|lph.% |\|
|00000af0| 41 6c 70 68 7c 5c 6d 61 | 72 67 7b 63 6f 75 6e 74 |Alph|\ma|rg{count|
|00000b00| 65 72 7d 3a 20 41 2c 20 | 42 2c 20 43 2c 20 5c 6c |er}: A, |B, C, \l|
|00000b10| 64 6f 74 73 0a 25 0a 25 | 20 5c 44 65 73 63 72 69 |dots.%.%| \Descri|
|00000b20| 62 65 4d 61 63 72 6f 5c | 66 6e 73 79 6d 62 6f 6c |beMacro\|fnsymbol|
|00000b30| 0a 25 20 7c 5c 66 6e 73 | 79 6d 62 6f 6c 7c 5c 6d |.% |\fns|ymbol|\m|
|00000b40| 61 72 67 7b 63 6f 75 6e | 74 65 72 7d 3a 20 20 24 |arg{coun|ter}: $|
|00000b50| 2a 24 2c 20 24 5c 64 61 | 67 67 65 72 24 2c 20 24 |*$, $\da|gger$, $|
|00000b60| 5c 64 64 61 67 67 65 72 | 24 2c 20 5c 6c 64 6f 74 |\ddagger|$, \ldot|
|00000b70| 73 0a 25 0a 25 0a 25 20 | 5c 53 74 6f 70 45 76 65 |s.%.%.% |\StopEve|
|00000b80| 6e 74 75 61 6c 6c 79 7b | 7d 0a 25 0a 25 20 5c 62 |ntually{|}.%.% \b|
|00000b90| 65 67 69 6e 7b 6f 6c 64 | 63 6f 6d 6d 65 6e 74 73 |egin{old|comments|
|00000ba0| 7d 0a 25 20 20 20 20 5c | 62 65 67 69 6e 7b 6d 61 |}.% \|begin{ma|
|00000bb0| 63 72 6f 63 6f 64 65 7d | 0a 25 3c 2a 32 65 6b 65 |crocode}|.%<*2eke|
|00000bc0| 72 6e 65 6c 3e 0a 5c 6d | 65 73 73 61 67 65 7b 65 |rnel>.\m|essage{e|
|00000bd0| 6e 76 2e 20 63 6f 75 6e | 74 65 72 73 2c 7d 0a 25 |nv. coun|ters,}.%|
|00000be0| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|00000bf0| 64 65 7d 0a 25 0a 25 20 | 5c 73 75 62 73 65 63 74 |de}.%.% |\subsect|
|00000c00| 69 6f 6e 7b 45 6e 76 69 | 72 6f 6e 6d 65 6e 74 20 |ion{Envi|ronment |
|00000c10| 43 6f 75 6e 74 65 72 20 | 4d 61 63 72 6f 73 7d 0a |Counter |Macros}.|
|00000c20| 25 0a 25 20 20 41 6e 20 | 65 6e 76 69 72 6f 6e 6d |%.% An |environm|
|00000c30| 65 6e 74 20 20 66 6f 6f | 20 20 68 61 73 20 61 6e |ent foo| has an|
|00000c40| 20 61 73 73 6f 63 69 61 | 74 65 64 20 63 6f 75 6e | associa|ted coun|
|00000c50| 74 65 72 20 64 65 66 69 | 6e 65 64 20 62 79 20 74 |ter defi|ned by t|
|00000c60| 68 65 0a 25 20 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |he.% fo|llowing |
|00000c70| 63 6f 6e 74 72 6f 6c 20 | 73 65 71 75 65 6e 63 65 |control |sequence|
|00000c80| 73 3a 0a 25 20 20 20 20 | 5c 63 40 66 6f 6f 20 20 |s:.% |\c@foo |
|00000c90| 3a 20 20 43 6f 6e 74 61 | 69 6e 73 20 74 68 65 20 |: Conta|ins the |
|00000ca0| 63 6f 75 6e 74 65 72 27 | 73 20 6e 75 6d 65 72 69 |counter'|s numeri|
|00000cb0| 63 61 6c 20 76 61 6c 75 | 65 2e 0a 25 20 20 20 20 |cal valu|e..% |
|00000cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 49 74 20 69 | | It i|
|00000cd0| 73 20 64 65 66 69 6e 65 | 64 20 62 79 20 20 5c 6e |s define|d by \n|
|00000ce0| 65 77 63 6f 75 6e 74 5c | 66 6f 6f 63 6f 75 6e 74 |ewcount\|foocount|
|00000cf0| 65 72 2e 0a 25 20 20 20 | 20 5c 74 68 65 66 6f 6f |er..% | \thefoo|
|00000d00| 20 3a 20 4d 61 63 72 6f | 20 74 68 61 74 20 65 78 | : Macro| that ex|
|00000d10| 70 61 6e 64 73 20 74 6f | 20 74 68 65 20 70 72 69 |pands to| the pri|
|00000d20| 6e 74 65 64 20 76 61 6c | 75 65 20 6f 66 20 5c 66 |nted val|ue of \f|
|00000d30| 6f 6f 63 6f 75 6e 74 65 | 72 2e 0a 25 20 20 20 20 |oocounte|r..% |
|00000d40| 20 20 20 20 20 20 20 20 | 20 20 46 6f 72 20 65 78 | | For ex|
|00000d50| 61 6d 70 6c 65 2c 20 69 | 66 20 73 65 63 74 69 6f |ample, i|f sectio|
|00000d60| 6e 73 20 61 72 65 20 6e | 75 6d 62 65 72 65 64 20 |ns are n|umbered |
|00000d70| 77 69 74 68 69 6e 20 63 | 68 61 70 74 65 72 73 2c |within c|hapters,|
|00000d80| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|00000d90| 61 6e 64 20 73 65 63 74 | 69 6f 6e 20 68 65 61 64 |and sect|ion head|
|00000da0| 69 6e 67 73 20 6c 6f 6f | 6b 20 6c 69 6b 65 0a 25 |ings loo|k like.%|
|00000db0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000dc0| 20 20 53 65 63 74 69 6f | 6e 20 49 49 2d 33 2e 20 | Sectio|n II-3. |
|00000dd0| 20 54 68 65 20 4e 61 74 | 75 72 65 20 6f 66 20 43 | The Nat|ure of C|
|00000de0| 6f 75 6e 74 65 72 73 0a | 25 20 20 20 20 20 20 20 |ounters.|% |
|00000df0| 20 20 20 20 20 20 20 74 | 68 65 6e 20 5c 74 68 65 | t|hen \the|
|00000e00| 73 65 63 74 69 6f 6e 20 | 6d 69 67 68 74 20 62 65 |section |might be|
|00000e10| 20 64 65 66 69 6e 65 64 | 20 62 79 3a 0a 25 20 20 | defined| by:.% |
|00000e20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 5c | | \|
|00000e30| 64 65 66 5c 74 68 65 73 | 65 63 74 69 6f 6e 0a 25 |def\thes|ection.%|
|00000e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e50| 20 20 20 20 7b 5c 40 52 | 6f 6d 61 6e 7b 5c 63 40 | {\@R|oman{\c@|
|00000e60| 63 68 61 70 74 65 72 7d | 2d 5c 40 61 72 61 62 69 |chapter}|-\@arabi|
|00000e70| 63 7b 5c 63 40 73 65 63 | 74 69 6f 6e 7d 7d 0a 25 |c{\c@sec|tion}}.%|
|00000e80| 0a 25 20 20 20 20 5c 70 | 40 66 6f 6f 20 20 3a 20 |.% \p|@foo : |
|00000e90| 4d 61 63 72 6f 20 74 68 | 61 74 20 65 78 70 61 6e |Macro th|at expan|
|00000ea0| 64 73 20 74 6f 20 61 20 | 70 72 69 6e 74 65 64 20 |ds to a |printed |
|00000eb0| 27 72 65 66 65 72 65 6e | 63 65 20 70 72 65 66 69 |'referen|ce prefi|
|00000ec0| 78 27 20 6f 66 0a 25 20 | 20 20 20 20 20 20 20 20 |x' of.% | |
|00000ed0| 20 20 20 20 20 63 6f 75 | 6e 74 65 72 20 66 6f 6f | cou|nter foo|
|00000ee0| 2e 20 20 41 6e 79 20 5c | 72 65 66 20 74 6f 20 61 |. Any \|ref to a|
|00000ef0| 20 76 61 6c 75 65 20 63 | 72 65 61 74 65 64 20 62 | value c|reated b|
|00000f00| 79 20 63 6f 75 6e 74 65 | 72 0a 25 20 20 20 20 20 |y counte|r.% |
|00000f10| 20 20 20 20 20 20 20 20 | 20 66 6f 6f 20 77 69 6c | | foo wil|
|00000f20| 6c 20 70 72 6f 64 75 63 | 65 20 74 68 65 20 65 78 |l produc|e the ex|
|00000f30| 70 61 6e 73 69 6f 6e 20 | 6f 66 20 5c 70 40 66 6f |pansion |of \p@fo|
|00000f40| 6f 5c 74 68 65 66 6f 6f | 20 20 77 68 65 6e 20 74 |o\thefoo| when t|
|00000f50| 68 65 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 |he.% | |
|00000f60| 20 20 74 68 65 20 5c 6c | 61 62 65 6c 20 63 6f 6d | the \l|abel com|
|00000f70| 6d 61 6e 64 20 69 73 20 | 65 78 65 63 75 74 65 64 |mand is |executed|
|00000f80| 2e 0a 25 0a 25 20 4e 4f | 54 45 3a 20 5c 74 68 65 |..%.% NO|TE: \the|
|00000f90| 66 6f 6f 20 61 6e 64 20 | 5c 70 40 66 6f 6f 20 4d |foo and |\p@foo M|
|00000fa0| 55 53 54 20 42 45 20 44 | 45 46 49 4e 45 44 20 49 |UST BE D|EFINED I|
|00000fb0| 4e 20 53 55 43 48 20 41 | 20 57 41 59 20 54 48 41 |N SUCH A| WAY THA|
|00000fc0| 54 0a 25 20 5c 65 64 65 | 66 5c 62 61 72 7b 5c 74 |T.% \ede|f\bar{\t|
|00000fd0| 68 65 66 6f 6f 7d 20 4f | 52 20 5c 65 64 65 66 5c |hefoo} O|R \edef\|
|00000fe0| 62 61 72 7b 5c 70 40 66 | 6f 6f 7d 0a 25 20 44 45 |bar{\p@f|oo}.% DE|
|00000ff0| 46 49 4e 45 53 20 5c 62 | 61 72 20 53 4f 20 54 48 |FINES \b|ar SO TH|
|00001000| 41 54 20 49 54 20 57 49 | 4c 4c 20 45 56 41 4c 55 |AT IT WI|LL EVALU|
|00001010| 41 54 45 20 54 4f 20 54 | 48 45 20 43 4f 55 4e 54 |ATE TO T|HE COUNT|
|00001020| 45 52 20 56 41 4c 55 45 | 20 41 54 20 54 48 45 20 |ER VALUE| AT THE |
|00001030| 54 49 4d 45 0a 25 20 4f | 46 20 54 48 45 20 5c 65 |TIME.% O|F THE \e|
|00001040| 64 65 66 2c 20 45 56 45 | 4e 20 41 46 54 45 52 20 |def, EVE|N AFTER |
|00001050| 5c 66 6f 6f 63 6f 75 6e | 74 65 72 20 41 4e 44 20 |\foocoun|ter AND |
|00001060| 41 4e 59 20 4f 54 48 45 | 52 20 43 4f 55 4e 54 45 |ANY OTHE|R COUNTE|
|00001070| 52 53 20 48 41 56 45 20 | 42 45 45 4e 0a 25 20 43 |RS HAVE |BEEN.% C|
|00001080| 48 41 4e 47 45 44 2e 20 | 20 54 48 49 53 20 57 49 |HANGED. | THIS WI|
|00001090| 4c 4c 20 48 41 50 50 45 | 4e 20 49 46 20 59 4f 55 |LL HAPPE|N IF YOU|
|000010a0| 20 55 53 45 20 54 48 45 | 20 53 54 41 4e 44 41 52 | USE THE| STANDAR|
|000010b0| 44 20 43 4f 4d 4d 41 4e | 44 53 20 5c 40 61 72 61 |D COMMAN|DS \@ara|
|000010c0| 62 69 63 2c 0a 25 20 5c | 40 52 6f 6d 61 6e 2c 20 |bic,.% \|@Roman, |
|000010d0| 45 54 43 2e 0a 25 0a 25 | 20 20 20 20 5c 63 6c 40 |ETC..%.%| \cl@|
|000010e0| 66 6f 6f 20 3a 20 4c 69 | 73 74 20 6f 66 20 63 6f |foo : Li|st of co|
|000010f0| 75 6e 74 65 72 73 20 74 | 6f 20 62 65 20 72 65 73 |unters t|o be res|
|00001100| 65 74 20 77 68 65 6e 20 | 66 6f 6f 20 73 74 65 70 |et when |foo step|
|00001110| 70 65 64 2e 0a 25 20 20 | 20 20 20 20 20 20 20 20 |ped..% | |
|00001120| 20 20 20 20 48 61 73 20 | 66 6f 72 6d 61 74 0a 25 | Has |format.%|
|00001130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001140| 20 20 5c 40 65 6c 74 7b | 63 6f 75 6e 74 65 72 61 | \@elt{|countera|
|00001150| 7d 5c 40 65 6c 74 7b 63 | 6f 75 6e 74 65 72 62 7d |}\@elt{c|ounterb}|
|00001160| 5c 40 65 6c 74 7b 63 6f | 75 6e 74 65 72 63 7d 2e |\@elt{co|unterc}.|
|00001170| 0a 25 0a 25 20 20 54 68 | 65 20 66 6f 6c 6c 6f 77 |.%.% Th|e follow|
|00001180| 69 6e 67 20 63 6f 6d 6d | 61 6e 64 73 20 61 72 65 |ing comm|ands are|
|00001190| 20 75 73 65 64 20 74 6f | 20 64 65 66 69 6e 65 20 | used to| define |
|000011a0| 61 6e 64 20 6d 6f 64 69 | 66 79 20 63 6f 75 6e 74 |and modi|fy count|
|000011b0| 65 72 73 2e 0a 25 20 20 | 20 20 5c 73 65 74 63 6f |ers..% | \setco|
|000011c0| 75 6e 74 65 72 7b 46 4f | 4f 7d 7b 56 41 4c 7d 20 |unter{FO|O}{VAL} |
|000011d0| 20 3a 20 47 6c 6f 62 61 | 6c 6c 79 20 73 65 74 73 | : Globa|lly sets|
|000011e0| 20 5c 66 6f 6f 63 6f 75 | 6e 74 65 72 20 65 71 75 | \foocou|nter equ|
|000011f0| 61 6c 20 74 6f 20 56 41 | 4c 2e 0a 25 20 20 20 20 |al to VA|L..% |
|00001200| 5c 61 64 64 74 6f 63 6f | 75 6e 74 65 72 7b 46 4f |\addtoco|unter{FO|
|00001210| 4f 7d 7b 56 41 4c 7d 3a | 20 47 6c 6f 62 61 6c 6c |O}{VAL}:| Globall|
|00001220| 79 20 69 6e 63 72 65 6d | 65 6e 74 73 20 5c 66 6f |y increm|ents \fo|
|00001230| 6f 63 6f 75 6e 74 65 72 | 20 62 79 20 56 41 4c 2e |ocounter| by VAL.|
|00001240| 0a 25 20 20 20 20 5c 6e | 65 77 63 6f 75 6e 74 65 |.% \n|ewcounte|
|00001250| 72 7b 4e 45 57 43 54 52 | 7d 5b 4f 4c 44 43 54 52 |r{NEWCTR|}[OLDCTR|
|00001260| 5d 20 3a 20 0a 25 20 20 | 20 20 20 20 20 20 20 20 |] : .% | |
|00001270| 20 44 65 66 69 6e 65 73 | 20 4e 45 57 43 54 52 20 | Defines| NEWCTR |
|00001280| 74 6f 20 62 65 20 61 20 | 63 6f 75 6e 74 65 72 2c |to be a |counter,|
|00001290| 20 77 68 69 63 68 20 69 | 73 20 72 65 73 65 74 20 | which i|s reset |
|000012a0| 77 68 65 6e 20 63 6f 75 | 6e 74 65 72 0a 25 20 20 |when cou|nter.% |
|000012b0| 20 20 20 20 20 20 20 20 | 20 4f 4c 44 43 54 52 20 | | OLDCTR |
|000012c0| 69 73 20 73 74 65 70 70 | 65 64 2e 20 20 49 66 20 |is stepp|ed. If |
|000012d0| 4e 45 57 43 54 52 20 61 | 6c 72 65 61 64 79 20 64 |NEWCTR a|lready d|
|000012e0| 65 66 69 6e 65 64 20 70 | 72 6f 64 75 63 65 73 0a |efined p|roduces.|
|000012f0| 25 20 20 20 20 20 20 20 | 20 20 20 20 27 63 40 4e |% | 'c@N|
|00001300| 45 57 43 54 52 20 20 61 | 6c 72 65 61 64 79 20 64 |EWCTR a|lready d|
|00001310| 65 66 69 6e 65 64 27 20 | 65 72 72 6f 72 2e 0a 25 |efined' |error..%|
|00001320| 20 20 20 20 5c 76 61 6c | 75 65 7b 43 54 52 7d 20 | \val|ue{CTR} |
|00001330| 3a 20 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 70 |: .% | p|
|00001340| 72 6f 64 75 63 65 73 20 | 74 68 65 20 76 61 6c 75 |roduces |the valu|
|00001350| 65 20 6f 66 20 63 6f 75 | 6e 74 65 72 20 43 54 52 |e of cou|nter CTR|
|00001360| 2c 20 66 6f 72 20 75 73 | 65 20 77 69 74 68 0a 25 |, for us|e with.%|
|00001370| 20 20 20 20 20 20 20 20 | 20 20 20 61 20 5c 73 65 | | a \se|
|00001380| 74 63 6f 75 6e 74 65 72 | 20 6f 72 20 5c 61 64 64 |tcounter| or \add|
|00001390| 74 6f 63 6f 75 6e 74 65 | 72 20 63 6f 6d 6d 61 6e |tocounte|r comman|
|000013a0| 64 2e 0a 25 20 20 20 20 | 5c 73 74 65 70 63 6f 75 |d..% |\stepcou|
|000013b0| 6e 74 65 72 7b 46 4f 4f | 7d 20 20 20 20 20 3a 20 |nter{FOO|} : |
|000013c0| 47 6c 6f 62 61 6c 6c 79 | 20 69 6e 63 72 65 6d 65 |Globally| increme|
|000013d0| 6e 74 73 20 63 6f 75 6e | 74 65 72 20 5c 63 40 46 |nts coun|ter \c@F|
|000013e0| 4f 4f 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 |OO.% | |
|000013f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001400| 20 61 6e 64 20 72 65 73 | 65 74 73 20 61 6c 6c 20 | and res|ets all |
|00001410| 73 75 62 73 69 64 69 61 | 72 79 20 63 6f 75 6e 74 |subsidia|ry count|
|00001420| 65 72 73 2e 0a 25 20 20 | 20 20 5c 72 65 66 73 74 |ers..% | \refst|
|00001430| 65 70 63 6f 75 6e 74 65 | 72 7b 46 4f 4f 7d 20 20 |epcounte|r{FOO} |
|00001440| 3a 20 53 61 6d 65 20 61 | 20 5c 73 74 65 70 63 6f |: Same a| \stepco|
|00001450| 75 6e 74 65 72 2c 20 62 | 75 74 20 69 74 20 61 6c |unter, b|ut it al|
|00001460| 73 6f 20 64 65 66 69 6e | 65 73 0a 25 20 20 20 20 |so defin|es.% |
|00001470| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001480| 20 20 20 20 20 20 20 20 | 20 5c 40 63 75 72 72 65 | | \@curre|
|00001490| 6e 74 72 65 66 65 72 65 | 6e 63 65 20 73 6f 20 74 |ntrefere|nce so t|
|000014a0| 68 61 74 20 61 20 73 75 | 62 73 65 71 75 65 6e 74 |hat a su|bsequent|
|000014b0| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|000014c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 5c | | \|
|000014d0| 6c 61 62 65 6c 7b 62 61 | 72 7d 20 63 6f 6d 6d 61 |label{ba|r} comma|
|000014e0| 6e 64 20 63 61 75 73 65 | 73 20 5c 72 65 66 7b 62 |nd cause|s \ref{b|
|000014f0| 61 72 7d 20 74 6f 0a 25 | 20 20 20 20 20 20 20 20 |ar} to.%| |
|00001500| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001510| 20 20 20 20 20 67 65 6e | 65 72 61 74 65 20 74 68 | gen|erate th|
|00001520| 65 20 63 75 72 72 65 6e | 74 20 76 61 6c 75 65 20 |e curren|t value |
|00001530| 6f 66 20 63 6f 75 6e 74 | 65 72 20 66 6f 6f 2e 0a |of count|er foo..|
|00001540| 25 20 20 20 20 5c 40 64 | 65 66 69 6e 65 63 6f 75 |% \@d|efinecou|
|00001550| 6e 74 65 72 7b 46 4f 4f | 7d 20 20 20 3a 20 0a 25 |nter{FOO|} : .%|
|00001560| 20 20 20 20 20 20 20 20 | 20 20 49 6e 69 74 69 61 | | Initia|
|00001570| 6c 69 7a 65 73 20 63 6f | 75 6e 74 65 72 20 46 4f |lizes co|unter FO|
|00001580| 4f 20 28 77 69 74 68 20 | 65 6d 70 74 79 20 72 65 |O (with |empty re|
|00001590| 73 65 74 20 6c 69 73 74 | 29 2c 20 64 65 66 69 6e |set list|), defin|
|000015a0| 65 73 0a 25 20 20 20 20 | 20 20 20 20 20 20 5c 70 |es.% | \p|
|000015b0| 40 46 4f 4f 20 61 6e 64 | 20 5c 74 68 65 46 4f 4f |@FOO and| \theFOO|
|000015c0| 20 74 6f 20 62 65 20 6e | 75 6c 6c 2e 20 41 6c 73 | to be n|ull. Als|
|000015d0| 6f 20 61 64 64 73 20 46 | 4f 4f 20 74 6f 20 5c 63 |o adds F|OO to \c|
|000015e0| 6c 40 40 63 6b 70 74 20 | 2d 2d 0a 25 20 20 20 20 |l@@ckpt |--.% |
|000015f0| 20 20 20 20 20 20 74 68 | 65 20 72 65 73 65 74 20 | th|e reset |
|00001600| 6c 69 73 74 20 6f 66 20 | 61 20 64 75 6d 6d 79 20 |list of |a dummy |
|00001610| 63 6f 75 6e 74 65 72 20 | 40 63 6b 70 74 20 75 73 |counter |@ckpt us|
|00001620| 65 64 20 66 6f 72 20 74 | 61 6b 69 6e 67 0a 25 20 |ed for t|aking.% |
|00001630| 20 20 20 20 20 20 20 20 | 20 63 68 65 63 6b 70 6f | | checkpo|
|00001640| 69 6e 74 73 2e 20 20 0a | 25 20 20 20 20 5c 40 61 |ints. .|% \@a|
|00001650| 64 64 74 6f 72 65 73 65 | 74 7b 46 4f 4f 7d 7b 42 |ddtorese|t{FOO}{B|
|00001660| 41 52 7d 20 3a 20 0a 25 | 20 20 20 20 20 20 20 20 |AR} : .%| |
|00001670| 20 20 41 64 64 73 20 63 | 6f 75 6e 74 65 72 20 46 | Adds c|ounter F|
|00001680| 4f 4f 20 74 6f 20 74 68 | 65 20 6c 69 73 74 20 6f |OO to th|e list o|
|00001690| 66 20 63 6f 75 6e 74 65 | 72 73 20 5c 63 6c 40 42 |f counte|rs \cl@B|
|000016a0| 41 52 20 74 6f 20 62 65 | 20 72 65 73 65 74 0a 25 |AR to be| reset.%|
|000016b0| 20 20 20 20 20 20 20 20 | 20 20 77 68 65 6e 20 63 | | when c|
|000016c0| 6f 75 6e 74 65 72 20 62 | 61 72 20 69 73 20 73 74 |ounter b|ar is st|
|000016d0| 65 70 70 65 64 2e 0a 25 | 0a 25 20 20 20 4e 55 4d |epped..%|.% NUM|
|000016e0| 42 45 52 49 4e 47 20 4d | 41 43 52 4f 53 3a 0a 25 |BERING M|ACROS:.%|
|000016f0| 20 20 20 20 20 5c 61 72 | 61 62 69 63 7b 43 4f 55 | \ar|abic{COU|
|00001700| 4e 54 45 52 7d 20 3a 20 | 0a 25 20 20 20 20 20 20 |NTER} : |.% |
|00001710| 20 20 20 20 52 65 70 72 | 65 73 65 6e 74 61 74 69 | Repr|esentati|
|00001720| 6f 6e 20 6f 66 20 43 4f | 55 4e 54 45 52 20 61 73 |on of CO|UNTER as|
|00001730| 20 61 72 61 62 69 63 20 | 6e 75 6d 65 72 61 6c 73 | arabic |numerals|
|00001740| 2e 0a 25 20 20 20 20 20 | 20 20 20 20 20 43 68 61 |..% | Cha|
|00001750| 6e 67 65 64 20 32 39 20 | 41 70 72 20 38 36 20 74 |nged 29 |Apr 86 t|
|00001760| 6f 20 6d 61 6b 65 20 69 | 74 20 70 72 69 6e 74 20 |o make i|t print |
|00001770| 74 68 65 20 6f 62 76 69 | 6f 75 73 20 74 68 69 6e |the obvi|ous thin|
|00001780| 67 0a 25 20 20 20 20 20 | 20 20 20 20 20 69 74 20 |g.% | it |
|00001790| 43 4f 55 4e 54 45 52 20 | 6e 6f 74 20 70 6f 73 69 |COUNTER |not posi|
|000017a0| 74 69 76 65 2e 0a 25 0a | 25 20 20 20 20 20 5c 72 |tive..%.|% \r|
|000017b0| 6f 6d 61 6e 7b 43 4f 55 | 4e 54 45 52 7d 20 20 3a |oman{COU|NTER} :|
|000017c0| 20 52 65 70 72 65 73 65 | 6e 74 61 74 69 6f 6e 20 | Represe|ntation |
|000017d0| 6f 66 20 43 4f 55 4e 54 | 45 52 20 61 73 20 6c 6f |of COUNT|ER as lo|
|000017e0| 77 65 72 2d 63 61 73 65 | 0a 25 20 20 20 20 20 20 |wer-case|.% |
|000017f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001800| 20 20 20 20 20 52 6f 6d | 61 6e 20 6e 75 6d 65 72 | Rom|an numer|
|00001810| 61 6c 73 2e 0a 25 20 20 | 20 20 20 5c 52 6f 6d 61 |als..% | \Roma|
|00001820| 6e 7b 43 4f 55 4e 54 45 | 52 7d 20 20 3a 20 52 65 |n{COUNTE|R} : Re|
|00001830| 70 72 65 73 65 6e 74 61 | 74 69 6f 6e 20 6f 66 20 |presenta|tion of |
|00001840| 43 4f 55 4e 54 45 52 20 | 61 73 20 75 70 70 65 72 |COUNTER |as upper|
|00001850| 2d 63 61 73 65 0a 25 20 | 20 20 20 20 20 20 20 20 |-case.% | |
|00001860| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001870| 20 20 52 6f 6d 61 6e 20 | 6e 75 6d 65 72 61 6c 73 | Roman |numerals|
|00001880| 2e 0a 25 20 20 20 20 20 | 5c 61 6c 70 68 7b 43 4f |..% |\alph{CO|
|00001890| 55 4e 54 45 52 7d 20 20 | 20 3a 20 52 65 70 72 65 |UNTER} | : Repre|
|000018a0| 73 65 6e 74 61 74 69 6f | 6e 20 6f 66 20 43 4f 55 |sentatio|n of COU|
|000018b0| 4e 54 45 52 20 61 73 20 | 61 20 6c 6f 77 65 72 2d |NTER as |a lower-|
|000018c0| 63 61 73 65 0a 25 20 20 | 20 20 20 20 20 20 20 20 |case.% | |
|000018d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000018e0| 20 6c 65 74 74 65 72 3a | 20 31 20 3d 20 61 2c 20 | letter:| 1 = a, |
|000018f0| 32 20 3d 20 62 2c 20 65 | 74 63 2e 0a 25 20 20 20 |2 = b, e|tc..% |
|00001900| 20 20 5c 41 6c 70 68 7b | 43 4f 55 4e 54 45 52 7d | \Alph{|COUNTER}|
|00001910| 20 20 20 3a 20 52 65 70 | 72 65 73 65 6e 74 61 74 | : Rep|resentat|
|00001920| 69 6f 6e 20 6f 66 20 43 | 4f 55 4e 54 45 52 20 61 |ion of C|OUNTER a|
|00001930| 73 20 61 6e 20 75 70 70 | 65 72 2d 63 61 73 65 0a |s an upp|er-case.|
|00001940| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |% | |
|00001950| 20 20 20 20 20 20 20 20 | 20 20 20 20 6c 65 74 74 | | lett|
|00001960| 65 72 3a 20 31 20 3d 20 | 41 2c 20 32 20 3d 20 42 |er: 1 = |A, 2 = B|
|00001970| 2c 20 65 74 63 2e 0a 25 | 20 20 20 20 20 5c 66 6e |, etc..%| \fn|
|00001980| 73 79 6d 62 6f 6c 7b 43 | 4f 55 4e 54 45 52 7d 20 |symbol{C|OUNTER} |
|00001990| 3a 20 52 65 70 72 65 73 | 65 6e 74 61 74 69 6f 6e |: Repres|entation|
|000019a0| 20 6f 66 20 43 4f 55 4e | 54 45 52 20 61 73 20 61 | of COUN|TER as a|
|000019b0| 20 66 6f 6f 74 6e 6f 74 | 65 0a 25 20 20 20 20 20 | footnot|e.% |
|000019c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000019d0| 20 20 20 20 20 20 73 79 | 6d 62 6f 6c 3a 20 31 20 | sy|mbol: 1 |
|000019e0| 3d 20 2a 2c 20 32 20 3d | 20 5c 64 61 67 67 65 72 |= *, 2 =| \dagger|
|000019f0| 2c 20 65 74 63 2e 20 20 | 43 61 6e 20 62 65 0a 25 |, etc. |Can be.%|
|00001a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a10| 20 20 20 20 20 20 20 20 | 20 20 20 75 73 65 64 20 | | used |
|00001a20| 6f 6e 6c 79 20 69 6e 20 | 6d 61 74 68 20 6d 6f 64 |only in |math mod|
|00001a30| 65 2e 0a 25 0a 25 20 20 | 54 48 45 20 41 42 4f 56 |e..%.% |THE ABOV|
|00001a40| 45 20 41 52 45 20 49 4d | 50 4c 45 4d 45 4e 54 45 |E ARE IM|PLEMENTE|
|00001a50| 44 20 49 4e 20 54 45 52 | 4d 53 20 4f 46 20 54 48 |D IN TER|MS OF TH|
|00001a60| 45 20 46 4f 4c 4c 4f 57 | 49 4e 47 3a 0a 25 20 20 |E FOLLOW|ING:.% |
|00001a70| 20 20 20 5c 40 61 72 61 | 62 69 63 5c 46 4f 4f 63 | \@ara|bic\FOOc|
|00001a80| 6f 75 6e 74 65 72 20 3a | 20 0a 25 20 20 20 20 20 |ounter :| .% |
|00001a90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 52 | | R|
|00001aa0| 65 70 72 65 73 65 6e 74 | 61 74 69 6f 6e 20 6f 66 |epresent|ation of|
|00001ab0| 20 5c 46 4f 4f 63 6f 75 | 6e 74 65 72 20 61 73 20 | \FOOcou|nter as |
|00001ac0| 61 72 61 62 69 63 20 6e | 75 6d 65 72 61 6c 73 2e |arabic n|umerals.|
|00001ad0| 0a 25 20 20 20 20 20 5c | 40 72 6f 6d 61 6e 5c 46 |.% \|@roman\F|
|00001ae0| 4f 4f 63 6f 75 6e 74 65 | 72 20 20 3a 20 0a 25 20 |OOcounte|r : .% |
|00001af0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b00| 20 20 20 52 65 70 72 65 | 73 65 6e 74 61 74 69 6f | Repre|sentatio|
|00001b10| 6e 20 6f 66 20 5c 46 4f | 4f 63 6f 75 6e 74 65 72 |n of \FO|Ocounter|
|00001b20| 20 61 73 20 6c 6f 77 65 | 72 2d 63 61 73 65 0a 25 | as lowe|r-case.%|
|00001b30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b40| 20 20 20 20 20 20 20 20 | 20 20 20 52 6f 6d 61 6e | | Roman|
|00001b50| 20 6e 75 6d 65 72 61 6c | 73 2e 0a 25 20 20 20 20 | numeral|s..% |
|00001b60| 20 5c 40 52 6f 6d 61 6e | 5c 46 4f 4f 63 6f 75 6e | \@Roman|\FOOcoun|
|00001b70| 74 65 72 20 20 3a 20 0a | 25 20 20 20 20 20 20 20 |ter : .|% |
|00001b80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 52 65 70 | | Rep|
|00001b90| 72 65 73 65 6e 74 61 74 | 69 6f 6e 20 6f 66 20 5c |resentat|ion of \|
|00001ba0| 46 4f 4f 63 6f 75 6e 74 | 65 72 20 61 73 20 75 70 |FOOcount|er as up|
|00001bb0| 70 65 72 2d 63 61 73 65 | 0a 25 20 20 20 20 20 20 |per-case|.% |
|00001bc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 52 6f | | Ro|
|00001bd0| 6d 61 6e 20 6e 75 6d 65 | 72 61 6c 73 2e 0a 25 20 |man nume|rals..% |
|00001be0| 20 20 20 20 5c 40 61 6c | 70 68 5c 46 4f 4f 63 6f | \@al|ph\FOOco|
|00001bf0| 75 6e 74 65 72 20 20 20 | 3a 20 0a 25 20 20 20 20 |unter |: .% |
|00001c00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c10| 52 65 70 72 65 73 65 6e | 74 61 74 69 6f 6e 20 6f |Represen|tation o|
|00001c20| 66 20 5c 46 4f 4f 63 6f | 75 6e 74 65 72 20 61 73 |f \FOOco|unter as|
|00001c30| 20 61 20 6c 6f 77 65 72 | 2d 63 61 73 65 0a 25 20 | a lower|-case.% |
|00001c40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c50| 20 20 20 6c 65 74 74 65 | 72 3a 20 31 20 3d 20 61 | lette|r: 1 = a|
|00001c60| 2c 20 32 20 3d 20 62 2c | 20 65 74 63 2e 0a 25 20 |, 2 = b,| etc..% |
|00001c70| 20 20 20 20 5c 40 41 6c | 70 68 5c 46 4f 4f 63 6f | \@Al|ph\FOOco|
|00001c80| 75 6e 74 65 72 20 20 20 | 3a 20 0a 25 20 20 20 20 |unter |: .% |
|00001c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ca0| 52 65 70 72 65 73 65 6e | 74 61 74 69 6f 6e 20 6f |Represen|tation o|
|00001cb0| 66 20 5c 46 4f 4f 63 6f | 75 6e 74 65 72 20 61 73 |f \FOOco|unter as|
|00001cc0| 20 61 6e 20 75 70 70 65 | 72 2d 63 61 73 65 0a 25 | an uppe|r-case.%|
|00001cd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ce0| 20 20 20 20 6c 65 74 74 | 65 72 3a 20 31 20 3d 20 | lett|er: 1 = |
|00001cf0| 41 2c 20 32 20 3d 20 42 | 2c 20 65 74 63 2e 0a 25 |A, 2 = B|, etc..%|
|00001d00| 20 20 20 20 20 5c 40 66 | 6e 73 79 6d 62 6f 6c 5c | \@f|nsymbol\|
|00001d10| 46 4f 4f 63 6f 75 6e 74 | 65 72 20 3a 20 0a 25 20 |FOOcount|er : .% |
|00001d20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d30| 20 20 20 52 65 70 72 65 | 73 65 6e 74 61 74 69 6f | Repre|sentatio|
|00001d40| 6e 20 6f 66 20 5c 46 4f | 4f 63 6f 75 6e 74 65 72 |n of \FO|Ocounter|
|00001d50| 20 61 73 20 61 20 66 6f | 6f 74 6e 6f 74 65 0a 25 | as a fo|otnote.%|
|00001d60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d70| 20 20 20 20 73 79 6d 62 | 6f 6c 2e 20 20 43 61 6e | symb|ol. Can|
|00001d80| 20 62 65 20 75 73 65 64 | 20 6f 6e 6c 79 20 69 6e | be used| only in|
|00001d90| 20 6d 61 74 68 20 6d 6f | 64 65 2e 0a 25 0a 25 20 | math mo|de..%.% |
|00001da0| 5c 65 6e 64 7b 6f 6c 64 | 63 6f 6d 6d 65 6e 74 73 |\end{old|comments|
|00001db0| 7d 0a 25 0a 25 20 5c 63 | 68 61 6e 67 65 73 7b 76 |}.%.% \c|hanges{v|
|00001dc0| 31 2e 30 64 7d 7b 31 39 | 39 34 2f 30 34 2f 30 39 |1.0d}{19|94/04/09|
|00001dd0| 7d 0a 25 20 20 20 20 20 | 7b 5c 63 73 7b 40 6e 6f |}.% |{\cs{@no|
|00001de0| 63 6e 74 65 72 72 7d 20 | 6e 6f 77 20 68 61 73 20 |cnterr} |now has |
|00001df0| 63 6f 75 6e 74 65 72 20 | 6e 61 6d 65 20 61 72 67 |counter |name arg|
|00001e00| 75 6d 65 6e 74 7d 0a 25 | 20 5c 63 68 61 6e 67 65 |ument}.%| \change|
|00001e10| 73 7b 76 31 2e 30 65 7d | 7b 31 39 39 34 2f 30 34 |s{v1.0e}|{1994/04|
|00001e20| 2f 31 37 7d 0a 25 20 20 | 20 20 20 7b 55 73 65 20 |/17}.% | {Use |
|00001e30| 5c 63 73 7b 40 6e 6f 63 | 6f 75 6e 74 65 72 72 7d |\cs{@noc|ounterr}|
|00001e40| 20 69 6e 73 74 65 61 64 | 20 6f 66 20 5c 63 73 7b | instead| of \cs{|
|00001e50| 40 6e 6f 63 6e 74 65 72 | 72 7d 7d 0a 25 20 20 20 |@nocnter|r}}.% |
|00001e60| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 63 6f 64 | \begin{|macrocod|
|00001e70| 65 7d 0a 5c 64 65 66 5c | 73 65 74 63 6f 75 6e 74 |e}.\def\|setcount|
|00001e80| 65 72 23 31 23 32 7b 5c | 40 69 66 75 6e 64 65 66 |er#1#2{\|@ifundef|
|00001e90| 69 6e 65 64 7b 63 40 23 | 31 7d 7b 5c 40 6e 6f 63 |ined{c@#|1}{\@noc|
|00001ea0| 6f 75 6e 74 65 72 72 7b | 23 31 7d 7d 25 0a 7b 5c |ounterr{|#1}}%.{\|
|00001eb0| 67 6c 6f 62 61 6c 5c 63 | 73 6e 61 6d 65 20 63 40 |global\c|sname c@|
|00001ec0| 23 31 5c 65 6e 64 63 73 | 6e 61 6d 65 23 32 5c 72 |#1\endcs|name#2\r|
|00001ed0| 65 6c 61 78 7d 7d 0a 25 | 20 20 20 20 5c 65 6e 64 |elax}}.%| \end|
|00001ee0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 0a 25 20 |{macroco|de}.%.% |
|00001ef0| 5c 63 68 61 6e 67 65 73 | 7b 76 31 2e 30 64 7d 7b |\changes|{v1.0d}{|
|00001f00| 31 39 39 34 2f 30 34 2f | 30 39 7d 0a 25 20 20 20 |1994/04/|09}.% |
|00001f10| 20 20 7b 5c 63 73 7b 40 | 6e 6f 63 6e 74 65 72 72 | {\cs{@|nocnterr|
|00001f20| 7d 20 6e 6f 77 20 68 61 | 73 20 63 6f 75 6e 74 65 |} now ha|s counte|
|00001f30| 72 20 6e 61 6d 65 20 61 | 72 67 75 6d 65 6e 74 7d |r name a|rgument}|
|00001f40| 0a 25 20 5c 63 68 61 6e | 67 65 73 7b 76 31 2e 30 |.% \chan|ges{v1.0|
|00001f50| 65 7d 7b 31 39 39 34 2f | 30 34 2f 31 37 7d 0a 25 |e}{1994/|04/17}.%|
|00001f60| 20 20 20 20 20 7b 55 73 | 65 20 5c 63 73 7b 40 6e | {Us|e \cs{@n|
|00001f70| 6f 63 6f 75 6e 74 65 72 | 72 7d 20 69 6e 73 74 65 |ocounter|r} inste|
|00001f80| 61 64 20 6f 66 20 5c 63 | 73 7b 40 6e 6f 63 6e 74 |ad of \c|s{@nocnt|
|00001f90| 65 72 72 7d 7d 0a 25 20 | 20 20 20 5c 62 65 67 69 |err}}.% | \begi|
|00001fa0| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 64 65 |n{macroc|ode}.\de|
|00001fb0| 66 5c 61 64 64 74 6f 63 | 6f 75 6e 74 65 72 23 31 |f\addtoc|ounter#1|
|00001fc0| 23 32 7b 5c 40 69 66 75 | 6e 64 65 66 69 6e 65 64 |#2{\@ifu|ndefined|
|00001fd0| 7b 63 40 23 31 7d 7b 5c | 40 6e 6f 63 6f 75 6e 74 |{c@#1}{\|@nocount|
|00001fe0| 65 72 72 7b 23 31 7d 7d | 25 0a 7b 5c 67 6c 6f 62 |err{#1}}|%.{\glob|
|00001ff0| 61 6c 5c 61 64 76 61 6e | 63 65 5c 63 73 6e 61 6d |al\advan|ce\csnam|
|00002000| 65 20 63 40 23 31 5c 65 | 6e 64 63 73 6e 61 6d 65 |e c@#1\e|ndcsname|
|00002010| 20 23 32 5c 72 65 6c 61 | 78 7d 7d 0a 25 20 20 20 | #2\rela|x}}.% |
|00002020| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00002030| 0a 25 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d |.%.% |\begin{m|
|00002040| 61 63 72 6f 63 6f 64 65 | 7d 0a 5c 64 65 66 5c 6e |acrocode|}.\def\n|
|00002050| 65 77 63 6f 75 6e 74 65 | 72 23 31 7b 5c 65 78 70 |ewcounte|r#1{\exp|
|00002060| 61 6e 64 61 66 74 65 72 | 5c 40 69 66 64 65 66 69 |andafter|\@ifdefi|
|00002070| 6e 61 62 6c 65 20 5c 63 | 73 6e 61 6d 65 20 63 40 |nable \c|sname c@|
|00002080| 23 31 5c 65 6e 64 63 73 | 6e 61 6d 65 0a 20 20 20 |#1\endcs|name. |
|00002090| 20 7b 5c 40 64 65 66 69 | 6e 65 63 6f 75 6e 74 65 | {\@defi|necounte|
|000020a0| 72 7b 23 31 7d 7d 5c 40 | 69 66 6e 65 78 74 63 68 |r{#1}}\@|ifnextch|
|000020b0| 61 72 5b 7b 5c 40 6e 65 | 77 63 74 72 7b 23 31 7d |ar[{\@ne|wctr{#1}|
|000020c0| 7d 7b 7d 7d 0a 25 20 20 | 20 20 5c 65 6e 64 7b 6d |}{}}.% | \end{m|
|000020d0| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 0a 25 20 20 20 |acrocode|}.%.% |
|000020e0| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 63 6f 64 | \begin{|macrocod|
|000020f0| 65 7d 0a 5c 64 65 66 5c | 76 61 6c 75 65 23 31 7b |e}.\def\|value#1{|
|00002100| 5c 63 73 6e 61 6d 65 20 | 63 40 23 31 5c 65 6e 64 |\csname |c@#1\end|
|00002110| 63 73 6e 61 6d 65 7d 0a | 25 20 20 20 20 5c 65 6e |csname}.|% \en|
|00002120| 64 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 25 0a 25 |d{macroc|ode}.%.%|
|00002130| 20 5c 63 68 61 6e 67 65 | 73 7b 76 31 2e 30 64 7d | \change|s{v1.0d}|
|00002140| 7b 31 39 39 34 2f 30 34 | 2f 30 39 7d 0a 25 20 20 |{1994/04|/09}.% |
|00002150| 20 20 20 7b 5c 63 73 7b | 40 6e 6f 63 6e 74 65 72 | {\cs{|@nocnter|
|00002160| 72 7d 20 6e 6f 77 20 68 | 61 73 20 63 6f 75 6e 74 |r} now h|as count|
|00002170| 65 72 20 6e 61 6d 65 20 | 61 72 67 75 6d 65 6e 74 |er name |argument|
|00002180| 7d 0a 25 20 5c 63 68 61 | 6e 67 65 73 7b 76 31 2e |}.% \cha|nges{v1.|
|00002190| 30 65 7d 7b 31 39 39 34 | 2f 30 34 2f 31 37 7d 0a |0e}{1994|/04/17}.|
|000021a0| 25 20 20 20 20 20 7b 55 | 73 65 20 5c 63 73 7b 40 |% {U|se \cs{@|
|000021b0| 6e 6f 63 6f 75 6e 74 65 | 72 72 7d 20 69 6e 73 74 |nocounte|rr} inst|
|000021c0| 65 61 64 20 6f 66 20 5c | 63 73 7b 40 6e 6f 63 6e |ead of \|cs{@nocn|
|000021d0| 74 65 72 72 7d 7d 0a 25 | 20 20 20 20 5c 62 65 67 |terr}}.%| \beg|
|000021e0| 69 6e 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 5c 64 |in{macro|code}.\d|
|000021f0| 65 66 5c 40 6e 65 77 63 | 74 72 23 31 5b 23 32 5d |ef\@newc|tr#1[#2]|
|00002200| 7b 25 0a 20 20 5c 40 69 | 66 75 6e 64 65 66 69 6e |{%. \@i|fundefin|
|00002210| 65 64 7b 63 40 23 32 7d | 7b 5c 40 6e 6f 63 6f 75 |ed{c@#2}|{\@nocou|
|00002220| 6e 74 65 72 72 7b 23 32 | 7d 7d 7b 5c 40 61 64 64 |nterr{#2|}}{\@add|
|00002230| 74 6f 72 65 73 65 74 7b | 23 31 7d 7b 23 32 7d 7d |toreset{|#1}{#2}}|
|00002240| 7d 0a 25 20 20 20 20 5c | 65 6e 64 7b 6d 61 63 72 |}.% \|end{macr|
|00002250| 6f 63 6f 64 65 7d 0a 25 | 0a 25 20 5c 63 68 61 6e |ocode}.%|.% \chan|
|00002260| 67 65 73 7b 4c 61 54 65 | 58 32 30 39 7d 7b 31 39 |ges{LaTe|X209}{19|
|00002270| 39 32 2f 31 31 2f 32 33 | 7d 7b 52 65 70 6c 61 63 |92/11/23|}{Replac|
|00002280| 65 64 20 5c 7b 5c 7d 20 | 69 6e 20 5c 63 73 7b 73 |ed \{\} |in \cs{s|
|00002290| 74 65 70 63 6f 75 6e 74 | 65 72 7d 20 62 79 0a 25 |tepcount|er} by.%|
|000022a0| 20 20 20 20 20 20 20 5c | 63 73 7b 62 65 67 69 6e | \|cs{begin|
|000022b0| 67 72 6f 75 70 7d 20 5c | 63 73 7b 65 6e 64 67 72 |group} \|cs{endgr|
|000022c0| 6f 75 70 7d 20 74 6f 20 | 61 76 6f 69 64 20 61 64 |oup} to |avoid ad|
|000022d0| 64 69 6e 67 20 61 6e 20 | 65 6d 70 74 79 20 6f 72 |ding an |empty or|
|000022e0| 64 20 69 6e 0a 25 20 20 | 20 20 20 20 20 6d 61 74 |d in.% | mat|
|000022f0| 68 20 6d 6f 64 65 7d 0a | 25 20 5c 63 68 61 6e 67 |h mode}.|% \chang|
|00002300| 65 73 7b 76 31 2e 30 64 | 7d 7b 31 39 39 34 2f 30 |es{v1.0d|}{1994/0|
|00002310| 34 2f 30 39 7d 0a 25 20 | 20 20 20 20 7b 55 73 65 |4/09}.% | {Use|
|00002320| 20 5c 63 73 7b 61 64 64 | 74 6f 63 6f 75 6e 74 65 | \cs{add|tocounte|
|00002330| 72 7d 20 74 6f 20 68 61 | 76 65 20 6e 61 6d 65 20 |r} to ha|ve name |
|00002340| 63 68 65 63 6b 65 64 7d | 0a 25 20 20 20 20 5c 62 |checked}|.% \b|
|00002350| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|00002360| 5c 64 65 66 5c 73 74 65 | 70 63 6f 75 6e 74 65 72 |\def\ste|pcounter|
|00002370| 23 31 7b 5c 61 64 64 74 | 6f 63 6f 75 6e 74 65 72 |#1{\addt|ocounter|
|00002380| 7b 23 31 7d 5c 40 6e 65 | 0a 20 20 20 20 5c 62 65 |{#1}\@ne|. \be|
|00002390| 67 69 6e 67 72 6f 75 70 | 5c 6c 65 74 5c 40 65 6c |gingroup|\let\@el|
|000023a0| 74 5c 40 73 74 70 65 6c | 74 20 5c 63 73 6e 61 6d |t\@stpel|t \csnam|
|000023b0| 65 20 63 6c 40 23 31 5c | 65 6e 64 63 73 6e 61 6d |e cl@#1\|endcsnam|
|000023c0| 65 5c 65 6e 64 67 72 6f | 75 70 7d 0a 25 20 20 20 |e\endgro|up}.% |
|000023d0| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|000023e0| 0a 25 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d |.%.% |\begin{m|
|000023f0| 61 63 72 6f 63 6f 64 65 | 7d 0a 5c 64 65 66 5c 40 |acrocode|}.\def\@|
|00002400| 73 74 70 65 6c 74 23 31 | 7b 5c 67 6c 6f 62 61 6c |stpelt#1|{\global|
|00002410| 5c 63 73 6e 61 6d 65 20 | 63 40 23 31 5c 65 6e 64 |\csname |c@#1\end|
|00002420| 63 73 6e 61 6d 65 20 5c | 7a 40 7d 0a 25 20 20 20 |csname \|z@}.% |
|00002430| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00002440| 0a 25 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d |.%.% |\begin{m|
|00002450| 61 63 72 6f 63 6f 64 65 | 7d 0a 5c 64 65 66 5c 63 |acrocode|}.\def\c|
|00002460| 6c 40 40 63 6b 70 74 7b | 5c 40 65 6c 74 7b 70 61 |l@@ckpt{|\@elt{pa|
|00002470| 67 65 7d 7d 0a 25 20 20 | 20 20 5c 65 6e 64 7b 6d |ge}}.% | \end{m|
|00002480| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 0a 25 20 20 20 |acrocode|}.%.% |
|00002490| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 63 6f 64 | \begin{|macrocod|
|000024a0| 65 7d 0a 5c 64 65 66 5c | 40 64 65 66 69 6e 65 63 |e}.\def\|@definec|
|000024b0| 6f 75 6e 74 65 72 23 31 | 7b 5c 65 78 70 61 6e 64 |ounter#1|{\expand|
|000024c0| 61 66 74 65 72 5c 6e 65 | 77 63 6f 75 6e 74 5c 63 |after\ne|wcount\c|
|000024d0| 73 6e 61 6d 65 20 63 40 | 23 31 5c 65 6e 64 63 73 |sname c@|#1\endcs|
|000024e0| 6e 61 6d 65 0a 20 20 20 | 20 20 5c 73 65 74 63 6f |name. | \setco|
|000024f0| 75 6e 74 65 72 7b 23 31 | 7d 30 20 5c 65 78 70 61 |unter{#1|}0 \expa|
|00002500| 6e 64 61 66 74 65 72 5c | 67 64 65 66 5c 63 73 6e |ndafter\|gdef\csn|
|00002510| 61 6d 65 20 63 6c 40 23 | 31 5c 65 6e 64 63 73 6e |ame cl@#|1\endcsn|
|00002520| 61 6d 65 7b 7d 25 0a 20 | 20 20 20 20 5c 40 61 64 |ame{}%. | \@ad|
|00002530| 64 74 6f 72 65 73 65 74 | 0a 20 20 20 20 20 7b 23 |dtoreset|. {#|
|00002540| 31 7d 7b 40 63 6b 70 74 | 7d 5c 65 78 70 61 6e 64 |1}{@ckpt|}\expand|
|00002550| 61 66 74 65 72 5c 67 64 | 65 66 5c 63 73 6e 61 6d |after\gd|ef\csnam|
|00002560| 65 20 70 40 23 31 5c 65 | 6e 64 63 73 6e 61 6d 65 |e p@#1\e|ndcsname|
|00002570| 7b 7d 5c 65 78 70 61 6e | 64 61 66 74 65 72 0a 20 |{}\expan|dafter. |
|00002580| 20 20 20 20 5c 67 64 65 | 66 5c 63 73 6e 61 6d 65 | \gde|f\csname|
|00002590| 20 74 68 65 23 31 5c 65 | 6e 64 63 73 6e 61 6d 65 | the#1\e|ndcsname|
|000025a0| 7b 5c 61 72 61 62 69 63 | 7b 23 31 7d 7d 7d 0a 25 |{\arabic|{#1}}}.%|
|000025b0| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|000025c0| 64 65 7d 0a 25 0a 25 20 | 20 20 20 5c 62 65 67 69 |de}.%.% | \begi|
|000025d0| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 64 65 |n{macroc|ode}.\de|
|000025e0| 66 5c 40 61 64 64 74 6f | 72 65 73 65 74 23 31 23 |f\@addto|reset#1#|
|000025f0| 32 7b 5c 65 78 70 61 6e | 64 61 66 74 65 72 5c 40 |2{\expan|dafter\@|
|00002600| 63 6f 6e 73 5c 63 73 6e | 61 6d 65 20 63 6c 40 23 |cons\csn|ame cl@#|
|00002610| 32 5c 65 6e 64 63 73 6e | 61 6d 65 20 7b 7b 23 31 |2\endcsn|ame {{#1|
|00002620| 7d 7d 7d 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |}}}.% | \end{ma|
|00002630| 63 72 6f 63 6f 64 65 7d | 0a 25 0a 25 20 4e 75 6d |crocode}|.%.% Num|
|00002640| 62 65 72 69 6e 67 20 63 | 6f 6d 6d 61 6e 64 73 20 |bering c|ommands |
|00002650| 66 6f 72 20 64 65 66 69 | 6e 69 74 69 6f 6e 73 20 |for defi|nitions |
|00002660| 6f 66 20 7c 5c 74 68 65 | 43 4f 55 4e 54 45 52 7c |of |\the|COUNTER||
|00002670| 20 61 6e 64 20 7c 5c 6c | 69 73 74 7c 0a 25 20 61 | and |\l|ist|.% a|
|00002680| 72 67 75 6d 65 6e 74 73 | 2e 0a 25 0a 25 20 7c 5c |rguments|..%.% |\|
|00002690| 66 6e 73 79 6d 62 6f 6c | 7c 20 70 72 6f 64 75 63 |fnsymbol|| produc|
|000026a0| 65 73 20 74 68 65 20 73 | 74 61 6e 64 61 72 64 20 |es the s|tandard |
|000026b0| 66 6f 6f 74 6e 6f 74 69 | 6e 67 20 73 79 6d 62 6f |footnoti|ng symbo|
|000026c0| 6c 73 3a 20 61 73 74 65 | 72 69 73 6b 2c 0a 25 20 |ls: aste|risk,.% |
|000026d0| 64 61 67 67 65 72 2c 20 | 65 74 63 2e 20 54 68 65 |dagger, |etc. The|
|000026e0| 79 20 63 61 6e 20 62 65 | 20 75 73 65 64 20 6f 6e |y can be| used on|
|000026f0| 6c 79 20 69 6e 20 6d 61 | 74 68 20 6d 6f 64 65 2e |ly in ma|th mode.|
|00002700| 0a 25 20 20 20 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |.% \b|egin{mac|
|00002710| 72 6f 63 6f 64 65 7d 0a | 5c 64 65 66 5c 61 72 61 |rocode}.|\def\ara|
|00002720| 62 69 63 23 31 7b 5c 40 | 61 72 61 62 69 63 7b 5c |bic#1{\@|arabic{\|
|00002730| 63 73 6e 61 6d 65 20 63 | 40 23 31 5c 65 6e 64 63 |csname c|@#1\endc|
|00002740| 73 6e 61 6d 65 7d 7d 0a | 5c 64 65 66 5c 72 6f 6d |sname}}.|\def\rom|
|00002750| 61 6e 23 31 7b 5c 40 72 | 6f 6d 61 6e 7b 5c 63 73 |an#1{\@r|oman{\cs|
|00002760| 6e 61 6d 65 20 63 40 23 | 31 5c 65 6e 64 63 73 6e |name c@#|1\endcsn|
|00002770| 61 6d 65 7d 7d 0a 5c 64 | 65 66 5c 52 6f 6d 61 6e |ame}}.\d|ef\Roman|
|00002780| 23 31 7b 5c 40 52 6f 6d | 61 6e 7b 5c 63 73 6e 61 |#1{\@Rom|an{\csna|
|00002790| 6d 65 20 63 40 23 31 5c | 65 6e 64 63 73 6e 61 6d |me c@#1\|endcsnam|
|000027a0| 65 7d 7d 0a 5c 64 65 66 | 5c 61 6c 70 68 23 31 7b |e}}.\def|\alph#1{|
|000027b0| 5c 40 61 6c 70 68 7b 5c | 63 73 6e 61 6d 65 20 63 |\@alph{\|csname c|
|000027c0| 40 23 31 5c 65 6e 64 63 | 73 6e 61 6d 65 7d 7d 0a |@#1\endc|sname}}.|
|000027d0| 5c 64 65 66 5c 41 6c 70 | 68 23 31 7b 5c 40 41 6c |\def\Alp|h#1{\@Al|
|000027e0| 70 68 7b 5c 63 73 6e 61 | 6d 65 20 63 40 23 31 5c |ph{\csna|me c@#1\|
|000027f0| 65 6e 64 63 73 6e 61 6d | 65 7d 7d 0a 5c 64 65 66 |endcsnam|e}}.\def|
|00002800| 5c 66 6e 73 79 6d 62 6f | 6c 23 31 7b 5c 40 66 6e |\fnsymbo|l#1{\@fn|
|00002810| 73 79 6d 62 6f 6c 7b 5c | 63 73 6e 61 6d 65 20 63 |symbol{\|csname c|
|00002820| 40 23 31 5c 65 6e 64 63 | 73 6e 61 6d 65 7d 7d 0a |@#1\endc|sname}}.|
|00002830| 25 20 20 20 20 5c 65 6e | 64 7b 6d 61 63 72 6f 63 |% \en|d{macroc|
|00002840| 6f 64 65 7d 0a 25 20 5c | 63 68 61 6e 67 65 73 7b |ode}.% \|changes{|
|00002850| 76 31 2e 30 66 7d 7b 31 | 39 39 34 2f 30 35 2f 31 |v1.0f}{1|994/05/1|
|00002860| 33 7d 7b 52 65 6d 6f 76 | 65 64 20 5c 63 6d 64 5c |3}{Remov|ed \cmd\|
|00002870| 40 69 61 6c 70 68 7d 0a | 25 20 5c 63 68 61 6e 67 |@ialph}.|% \chang|
|00002880| 65 73 7b 76 31 2e 30 66 | 7d 7b 31 39 39 34 2f 30 |es{v1.0f|}{1994/0|
|00002890| 35 2f 31 33 7d 7b 52 65 | 6d 6f 76 65 64 20 5c 63 |5/13}{Re|moved \c|
|000028a0| 6d 64 5c 40 49 61 6c 70 | 68 7d 0a 25 20 20 20 20 |md\@Ialp|h}.% |
|000028b0| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|000028c0| 7d 0a 5c 64 65 66 5c 40 | 61 72 61 62 69 63 23 31 |}.\def\@|arabic#1|
|000028d0| 7b 5c 6e 75 6d 62 65 72 | 20 23 31 7d 20 20 25 25 |{\number| #1} %%|
|000028e0| 20 63 68 61 6e 67 65 64 | 20 32 39 20 41 70 72 20 | changed| 29 Apr |
|000028f0| 38 36 0a 5c 64 65 66 5c | 40 72 6f 6d 61 6e 23 31 |86.\def\|@roman#1|
|00002900| 7b 5c 72 6f 6d 61 6e 6e | 75 6d 65 72 61 6c 20 23 |{\romann|umeral #|
|00002910| 31 7d 0a 5c 64 65 66 5c | 40 52 6f 6d 61 6e 23 31 |1}.\def\|@Roman#1|
|00002920| 7b 5c 65 78 70 61 6e 64 | 61 66 74 65 72 5c 75 70 |{\expand|after\up|
|00002930| 70 65 72 63 61 73 65 5c | 65 78 70 61 6e 64 61 66 |percase\|expandaf|
|00002940| 74 65 72 7b 5c 72 6f 6d | 61 6e 6e 75 6d 65 72 61 |ter{\rom|annumera|
|00002950| 6c 20 23 31 7d 7d 0a 5c | 64 65 66 5c 40 61 6c 70 |l #1}}.\|def\@alp|
|00002960| 68 23 31 7b 25 0a 20 20 | 5c 69 66 63 61 73 65 23 |h#1{%. |\ifcase#|
|00002970| 31 5c 6f 72 20 61 5c 6f | 72 20 62 5c 6f 72 20 63 |1\or a\o|r b\or c|
|00002980| 5c 6f 72 20 64 5c 6f 72 | 20 65 5c 6f 72 20 66 5c |\or d\or| e\or f\|
|00002990| 6f 72 20 67 5c 6f 72 20 | 68 5c 6f 72 20 69 5c 6f |or g\or |h\or i\o|
|000029a0| 72 20 6a 5c 6f 72 0a 20 | 20 20 6b 5c 6f 72 20 6c |r j\or. | k\or l|
|000029b0| 5c 6f 72 20 6d 5c 6f 72 | 20 6e 5c 6f 72 20 6f 5c |\or m\or| n\or o\|
|000029c0| 6f 72 20 70 5c 6f 72 20 | 71 5c 6f 72 20 72 5c 6f |or p\or |q\or r\o|
|000029d0| 72 20 73 5c 6f 72 20 74 | 5c 6f 72 20 75 5c 6f 72 |r s\or t|\or u\or|
|000029e0| 20 76 5c 6f 72 20 77 5c | 6f 72 20 78 5c 6f 72 0a | v\or w\|or x\or.|
|000029f0| 20 20 20 20 79 5c 6f 72 | 20 7a 5c 65 6c 73 65 5c | y\or| z\else\|
|00002a00| 40 63 74 72 65 72 72 5c | 66 69 7d 0a 5c 64 65 66 |@ctrerr\|fi}.\def|
|00002a10| 5c 40 41 6c 70 68 23 31 | 7b 25 0a 20 20 5c 69 66 |\@Alph#1|{%. \if|
|00002a20| 63 61 73 65 23 31 5c 6f | 72 20 41 5c 6f 72 20 42 |case#1\o|r A\or B|
|00002a30| 5c 6f 72 20 43 5c 6f 72 | 20 44 5c 6f 72 20 45 5c |\or C\or| D\or E\|
|00002a40| 6f 72 20 46 5c 6f 72 20 | 47 5c 6f 72 20 48 5c 6f |or F\or |G\or H\o|
|00002a50| 72 20 49 5c 6f 72 20 4a | 5c 6f 72 0a 20 20 20 4b |r I\or J|\or. K|
|00002a60| 5c 6f 72 20 4c 5c 6f 72 | 20 4d 5c 6f 72 20 4e 5c |\or L\or| M\or N\|
|00002a70| 6f 72 20 4f 5c 6f 72 20 | 50 5c 6f 72 20 51 5c 6f |or O\or |P\or Q\o|
|00002a80| 72 20 52 5c 6f 72 20 53 | 5c 6f 72 20 54 5c 6f 72 |r R\or S|\or T\or|
|00002a90| 20 55 5c 6f 72 20 56 5c | 6f 72 20 57 5c 6f 72 20 | U\or V\|or W\or |
|00002aa0| 58 5c 6f 72 0a 20 20 20 | 20 59 5c 6f 72 20 5a 5c |X\or. | Y\or Z\|
|00002ab0| 65 6c 73 65 5c 40 63 74 | 72 65 72 72 5c 66 69 7d |else\@ct|rerr\fi}|
|00002ac0| 0a 5c 64 65 66 5c 40 66 | 6e 73 79 6d 62 6f 6c 23 |.\def\@f|nsymbol#|
|00002ad0| 31 7b 5c 69 66 63 61 73 | 65 23 31 5c 6f 72 20 2a |1{\ifcas|e#1\or *|
|00002ae0| 5c 6f 72 20 5c 64 61 67 | 67 65 72 5c 6f 72 20 5c |\or \dag|ger\or \|
|00002af0| 64 64 61 67 67 65 72 5c | 6f 72 0a 20 20 20 5c 6d |ddagger\|or. \m|
|00002b00| 61 74 68 63 68 61 72 20 | 22 32 37 38 5c 6f 72 20 |athchar |"278\or |
|00002b10| 5c 6d 61 74 68 63 68 61 | 72 20 22 32 37 42 5c 6f |\mathcha|r "27B\o|
|00002b20| 72 20 5c 7c 5c 6f 72 20 | 2a 2a 5c 6f 72 20 5c 64 |r \|\or |**\or \d|
|00002b30| 61 67 67 65 72 5c 64 61 | 67 67 65 72 0a 20 20 20 |agger\da|gger. |
|00002b40| 5c 6f 72 20 5c 64 64 61 | 67 67 65 72 5c 64 64 61 |\or \dda|gger\dda|
|00002b50| 67 67 65 72 20 5c 65 6c | 73 65 5c 40 63 74 72 65 |gger \el|se\@ctre|
|00002b60| 72 72 5c 66 69 5c 72 65 | 6c 61 78 7d 0a 25 20 20 |rr\fi\re|lax}.% |
|00002b70| 20 20 5c 65 6e 64 7b 6d | 61 63 72 6f 63 6f 64 65 | \end{m|acrocode|
|00002b80| 7d 0a 25 0a 25 0a 25 20 | 20 20 20 5c 62 65 67 69 |}.%.%.% | \begi|
|00002b90| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 25 3c 2f |n{macroc|ode}.%</|
|00002ba0| 32 65 6b 65 72 6e 65 6c | 3e 0a 25 20 20 20 20 5c |2ekernel|>.% \|
|00002bb0| 65 6e 64 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |end{macr|ocode}.%|
|00002bc0| 0a 25 20 5c 46 69 6e 61 | 6c 65 0a 25 0a |.% \Fina|le.%. |
+--------+-------------------------+-------------------------+--------+--------+