home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 3 / Meeting_Pearls_III.iso / Pearls / texmf / inputs / latex / unpacked / ltoutput.dtx < prev    next >
LaTeX Document  |  1995-06-21  |  115.7 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, ASCII text default
100% TrID LaTeX 2e document (with rem) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) 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 33 2d 31 39 39 35 20 |right 19|93-1995 |
|00000030| 74 68 65 20 4c 61 54 65 | 58 33 20 70 72 6f 6a 65 |the LaTe|X3 proje|
|00000040| 63 74 20 61 6e 64 20 61 | 6e 79 20 69 6e 64 69 76 |ct and a|ny indiv|
|00000050| 69 64 75 61 6c 20 61 75 | 74 68 6f 72 73 0a 25 20 |idual au|thors.% |
|00000060| 6c 69 73 74 65 64 20 65 | 6c 73 65 77 68 65 72 65 |listed e|lsewhere|
|00000070| 20 69 6e 20 74 68 69 73 | 20 66 69 6c 65 2e 20 20 | in this| file. |
|00000080| 41 6c 6c 20 72 69 67 68 | 74 73 20 72 65 73 65 72 |All righ|ts reser|
|00000090| 76 65 64 2e 0a 25 20 0a | 25 20 46 6f 72 20 66 75 |ved..% .|% For fu|
|000000a0| 72 74 68 65 72 20 63 6f | 70 79 72 69 67 68 74 20 |rther co|pyright |
|000000b0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 73 65 65 20 |informat|ion see |
|000000c0| 74 68 65 20 66 69 6c 65 | 20 6c 65 67 61 6c 2e 74 |the file| legal.t|
|000000d0| 78 74 2c 20 61 6e 64 20 | 61 6e 79 0a 25 20 6f 74 |xt, and |any.% ot|
|000000e0| 68 65 72 20 63 6f 70 79 | 72 69 67 68 74 20 6e 6f |her copy|right no|
|000000f0| 74 69 63 65 73 20 69 6e | 20 74 68 69 73 20 66 69 |tices in| this fi|
|00000100| 6c 65 2e 0a 25 20 0a 25 | 20 54 68 69 73 20 66 69 |le..% .%| This fi|
|00000110| 6c 65 20 69 73 20 70 61 | 72 74 20 6f 66 20 74 68 |le is pa|rt of th|
|00000120| 65 20 4c 61 54 65 58 32 | 65 20 73 79 73 74 65 6d |e LaTeX2|e system|
|00000130| 2e 0a 25 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..% ----|--------|
|00000140| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000150| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 25 20 20 |--------|----.% |
|00000160| 20 54 68 69 73 20 73 79 | 73 74 65 6d 20 69 73 20 | This sy|stem is |
|00000170| 64 69 73 74 72 69 62 75 | 74 65 64 20 69 6e 20 74 |distribu|ted in t|
|00000180| 68 65 20 68 6f 70 65 20 | 74 68 61 74 20 69 74 20 |he hope |that it |
|00000190| 77 69 6c 6c 20 62 65 20 | 75 73 65 66 75 6c 2c 0a |will be |useful,.|
|000001a0| 25 20 20 20 62 75 74 20 | 57 49 54 48 4f 55 54 20 |% but |WITHOUT |
|000001b0| 41 4e 59 20 57 41 52 52 | 41 4e 54 59 3b 20 77 69 |ANY WARR|ANTY; wi|
|000001c0| 74 68 6f 75 74 20 65 76 | 65 6e 20 74 68 65 20 69 |thout ev|en the i|
|000001d0| 6d 70 6c 69 65 64 20 77 | 61 72 72 61 6e 74 79 20 |mplied w|arranty |
|000001e0| 6f 66 0a 25 20 20 20 4d | 45 52 43 48 41 4e 54 41 |of.% M|ERCHANTA|
|000001f0| 42 49 4c 49 54 59 20 6f | 72 20 46 49 54 4e 45 53 |BILITY o|r FITNES|
|00000200| 53 20 46 4f 52 20 41 20 | 50 41 52 54 49 43 55 4c |S FOR A |PARTICUL|
|00000210| 41 52 20 50 55 52 50 4f | 53 45 2e 0a 25 20 0a 25 |AR PURPO|SE..% .%|
|00000220| 20 20 20 46 6f 72 20 65 | 72 72 6f 72 20 72 65 70 | For e|rror rep|
|00000230| 6f 72 74 73 20 63 6f 6e | 63 65 72 6e 69 6e 67 20 |orts con|cerning |
|00000240| 55 4e 43 48 41 4e 47 45 | 44 20 76 65 72 73 69 6f |UNCHANGE|D versio|
|00000250| 6e 73 20 6f 66 20 74 68 | 69 73 20 66 69 6c 65 20 |ns of th|is file |
|00000260| 6e 6f 20 6d 6f 72 65 0a | 25 20 20 20 74 68 61 6e |no more.|% than|
|00000270| 20 6f 6e 65 20 79 65 61 | 72 20 6f 6c 64 2c 20 73 | one yea|r old, s|
|00000280| 65 65 20 62 75 67 73 2e | 74 78 74 2e 0a 25 20 0a |ee bugs.|txt..% .|
|00000290| 25 20 20 20 50 6c 65 61 | 73 65 20 64 6f 20 6e 6f |% Plea|se do no|
|000002a0| 74 20 72 65 71 75 65 73 | 74 20 75 70 64 61 74 65 |t reques|t update|
|000002b0| 73 20 66 72 6f 6d 20 75 | 73 20 64 69 72 65 63 74 |s from u|s direct|
|000002c0| 6c 79 2e 20 20 50 72 69 | 6d 61 72 79 0a 25 20 20 |ly. Pri|mary.% |
|000002d0| 20 64 69 73 74 72 69 62 | 75 74 69 6f 6e 20 69 73 | distrib|ution is|
|000002e0| 20 74 68 72 6f 75 67 68 | 20 74 68 65 20 43 54 41 | through| the CTA|
|000002f0| 4e 20 61 72 63 68 69 76 | 65 73 2e 0a 25 20 0a 25 |N archiv|es..% .%|
|00000300| 20 0a 25 20 49 4d 50 4f | 52 54 41 4e 54 20 43 4f | .% IMPO|RTANT CO|
|00000310| 50 59 52 49 47 48 54 20 | 4e 4f 54 49 43 45 3a 0a |PYRIGHT |NOTICE:.|
|00000320| 25 20 0a 25 20 59 6f 75 | 20 61 72 65 20 4e 4f 54 |% .% You| are NOT|
|00000330| 20 41 4c 4c 4f 57 45 44 | 20 74 6f 20 64 69 73 74 | ALLOWED| to dist|
|00000340| 72 69 62 75 74 65 20 74 | 68 69 73 20 66 69 6c 65 |ribute t|his file|
|00000350| 20 61 6c 6f 6e 65 2e 0a | 25 20 0a 25 20 59 6f 75 | alone..|% .% You|
|00000360| 20 61 72 65 20 61 6c 6c | 6f 77 65 64 20 74 6f 20 | are all|owed to |
|00000370| 64 69 73 74 72 69 62 75 | 74 65 20 74 68 69 73 20 |distribu|te this |
|00000380| 66 69 6c 65 20 75 6e 64 | 65 72 20 74 68 65 20 63 |file und|er the c|
|00000390| 6f 6e 64 69 74 69 6f 6e | 20 74 68 61 74 20 69 74 |ondition| that it|
|000003a0| 20 69 73 0a 25 20 64 69 | 73 74 72 69 62 75 74 65 | is.% di|stribute|
|000003b0| 64 20 74 6f 67 65 74 68 | 65 72 20 77 69 74 68 20 |d togeth|er with |
|000003c0| 61 6c 6c 20 74 68 65 20 | 66 69 6c 65 73 20 6c 69 |all the |files li|
|000003d0| 73 74 65 64 20 69 6e 20 | 6d 61 6e 69 66 65 73 74 |sted in |manifest|
|000003e0| 2e 74 78 74 2e 0a 25 20 | 0a 25 20 49 66 20 79 6f |.txt..% |.% If yo|
|000003f0| 75 20 72 65 63 65 69 76 | 65 20 6f 6e 6c 79 20 73 |u receiv|e only s|
|00000400| 6f 6d 65 20 6f 66 20 74 | 68 65 73 65 20 66 69 6c |ome of t|hese fil|
|00000410| 65 73 20 66 72 6f 6d 20 | 73 6f 6d 65 6f 6e 65 2c |es from |someone,|
|00000420| 20 63 6f 6d 70 6c 61 69 | 6e 21 0a 25 20 0a 25 20 | complai|n!.% .% |
|00000430| 50 65 72 6d 69 73 73 69 | 6f 6e 20 69 73 20 67 72 |Permissi|on is gr|
|00000440| 61 6e 74 65 64 20 74 6f | 20 63 6f 70 79 20 74 68 |anted to| copy th|
|00000450| 69 73 20 66 69 6c 65 20 | 74 6f 20 61 6e 6f 74 68 |is file |to anoth|
|00000460| 65 72 20 66 69 6c 65 20 | 77 69 74 68 20 61 20 63 |er file |with a c|
|00000470| 6c 65 61 72 6c 79 0a 25 | 20 64 69 66 66 65 72 65 |learly.%| differe|
|00000480| 6e 74 20 6e 61 6d 65 20 | 61 6e 64 20 74 6f 20 63 |nt name |and to c|
|00000490| 75 73 74 6f 6d 69 7a 65 | 20 74 68 65 20 64 65 63 |ustomize| the dec|
|000004a0| 6c 61 72 61 74 69 6f 6e | 73 20 69 6e 20 74 68 61 |laration|s in tha|
|000004b0| 74 20 63 6f 70 79 20 74 | 6f 20 73 65 72 76 65 0a |t copy t|o serve.|
|000004c0| 25 20 74 68 65 20 6e 65 | 65 64 73 20 6f 66 20 79 |% the ne|eds of y|
|000004d0| 6f 75 72 20 69 6e 73 74 | 61 6c 6c 61 74 69 6f 6e |our inst|allation|
|000004e0| 2c 20 70 72 6f 76 69 64 | 65 64 20 74 68 61 74 20 |, provid|ed that |
|000004f0| 79 6f 75 20 63 6f 6d 70 | 6c 79 20 77 69 74 68 0a |you comp|ly with.|
|00000500| 25 20 74 68 65 20 63 6f | 6e 64 69 74 69 6f 6e 73 |% the co|nditions|
|00000510| 20 69 6e 20 74 68 65 20 | 66 69 6c 65 20 6c 65 67 | in the |file leg|
|00000520| 61 6c 2e 74 78 74 2e 0a | 25 20 0a 25 20 48 6f 77 |al.txt..|% .% How|
|00000530| 65 76 65 72 2c 20 4e 4f | 20 50 45 52 4d 49 53 53 |ever, NO| PERMISS|
|00000540| 49 4f 4e 20 69 73 20 67 | 72 61 6e 74 65 64 20 74 |ION is g|ranted t|
|00000550| 6f 20 70 72 6f 64 75 63 | 65 20 6f 72 20 74 6f 20 |o produc|e or to |
|00000560| 64 69 73 74 72 69 62 75 | 74 65 20 61 0a 25 20 6d |distribu|te a.% m|
|00000570| 6f 64 69 66 69 65 64 20 | 76 65 72 73 69 6f 6e 20 |odified |version |
|00000580| 6f 66 20 74 68 69 73 20 | 66 69 6c 65 20 75 6e 64 |of this |file und|
|00000590| 65 72 20 69 74 73 20 6f | 72 69 67 69 6e 61 6c 20 |er its o|riginal |
|000005a0| 6e 61 6d 65 2e 0a 25 20 | 20 0a 25 20 59 6f 75 20 |name..% | .% You |
|000005b0| 61 72 65 20 4e 4f 54 20 | 41 4c 4c 4f 57 45 44 20 |are NOT |ALLOWED |
|000005c0| 74 6f 20 63 68 61 6e 67 | 65 20 74 68 69 73 20 66 |to chang|e this f|
|000005d0| 69 6c 65 2e 0a 25 20 0a | 25 20 0a 25 20 5c 66 69 |ile..% .|% .% \fi|
|000005e0| 0a 25 20 5c 69 66 66 61 | 6c 73 65 0a 25 25 25 20 |.% \iffa|lse.%%% |
|000005f0| 46 69 6c 65 3a 20 6c 74 | 6f 75 74 70 75 74 0a 25 |File: lt|output.%|
|00000600| 0a 25 3c 2a 64 72 69 76 | 65 72 3e 0a 25 20 5c 66 |.%<*driv|er>.% \f|
|00000610| 69 0a 5c 50 72 6f 76 69 | 64 65 73 46 69 6c 65 7b |i.\Provi|desFile{|
|00000620| 6c 74 6f 75 74 70 75 74 | 2e 64 74 78 7d 0a 20 20 |ltoutput|.dtx}. |
|00000630| 20 20 20 20 20 20 20 20 | 20 20 20 5b 31 39 39 35 | | [1995|
|00000640| 2f 30 35 2f 30 37 20 76 | 31 2e 31 6d 20 4c 61 54 |/05/07 v|1.1m LaT|
|00000650| 65 58 20 4b 65 72 6e 65 | 6c 20 28 4f 75 74 70 75 |eX Kerne|l (Outpu|
|00000660| 74 20 52 6f 75 74 69 6e | 65 29 5d 0a 25 20 5c 69 |t Routin|e)].% \i|
|00000670| 66 66 61 6c 73 65 0a 5c | 64 6f 63 75 6d 65 6e 74 |ffalse.\|document|
|00000680| 63 6c 61 73 73 7b 6c 74 | 78 64 6f 63 7d 0a 5c 47 |class{lt|xdoc}.\G|
|00000690| 65 74 46 69 6c 65 49 6e | 66 6f 7b 6c 74 6f 75 74 |etFileIn|fo{ltout|
|000006a0| 70 75 74 2e 64 74 78 7d | 0a 5c 74 69 74 6c 65 7b |put.dtx}|.\title{|
|000006b0| 5c 66 69 6c 65 6e 61 6d | 65 7d 0a 5c 64 61 74 65 |\filenam|e}.\date|
|000006c0| 7b 5c 66 69 6c 65 64 61 | 74 65 7d 0a 5c 61 75 74 |{\fileda|te}.\aut|
|000006d0| 68 6f 72 7b 4c 65 73 6c | 69 65 20 4c 61 6d 70 6f |hor{Lesl|ie Lampo|
|000006e0| 72 74 2c 20 46 72 61 6e | 6b 20 4d 69 74 74 65 6c |rt, Fran|k Mittel|
|000006f0| 62 61 63 68 2c 20 43 68 | 72 69 73 20 52 6f 77 6c |bach, Ch|ris Rowl|
|00000700| 65 79 7d 0a 5c 62 65 67 | 69 6e 7b 64 6f 63 75 6d |ey}.\beg|in{docum|
|00000710| 65 6e 74 7d 0a 5c 6d 61 | 6b 65 74 69 74 6c 65 0a |ent}.\ma|ketitle.|
|00000720| 5c 44 6f 63 49 6e 70 75 | 74 7b 5c 66 69 6c 65 6e |\DocInpu|t{\filen|
|00000730| 61 6d 65 7d 0a 5c 65 6e | 64 7b 64 6f 63 75 6d 65 |ame}.\en|d{docume|
|00000740| 6e 74 7d 0a 25 3c 2f 64 | 72 69 76 65 72 3e 0a 25 |nt}.%</d|river>.%|
|00000750| 20 5c 66 69 0a 25 0a 25 | 20 5c 43 68 65 63 6b 53 | \fi.%.%| \CheckS|
|00000760| 75 6d 7b 32 36 38 34 7d | 0a 25 0a 25 0a 25 20 5c |um{2684}|.%.%.% \|
|00000770| 69 66 66 61 6c 73 65 0a | 25 20 4c 41 54 45 58 20 |iffalse.|% LATEX |
|00000780| 56 45 52 53 49 4f 4e 20 | 32 65 0a 25 20 43 6f 70 |VERSION |2e.% Cop|
|00000790| 79 72 69 67 68 74 20 28 | 43 29 20 31 39 39 32 20 |yright (|C) 1992 |
|000007a0| 62 79 20 4c 65 73 6c 69 | 65 20 4c 61 6d 70 6f 72 |by Lesli|e Lampor|
|000007b0| 74 0a 25 20 43 6f 70 79 | 72 69 67 68 74 20 28 43 |t.% Copy|right (C|
|000007c0| 29 20 31 39 39 34 2d 39 | 35 20 62 79 20 4c 65 73 |) 1994-9|5 by Les|
|000007d0| 6c 69 65 20 4c 61 6d 70 | 6f 72 74 2c 20 4c 61 54 |lie Lamp|ort, LaT|
|000007e0| 65 58 33 20 70 72 6f 6a | 65 63 74 0a 25 0a 25 20 |eX3 proj|ect.%.% |
|000007f0| 4c 61 54 65 58 20 32 65 | 20 6b 65 72 6e 65 6c 20 |LaTeX 2e| kernel |
|00000800| 66 69 6c 65 20 66 6f 72 | 20 74 68 65 20 6f 75 74 |file for| the out|
|00000810| 70 75 74 20 72 6f 75 74 | 69 6e 65 2e 0a 25 0a 25 |put rout|ine..%.%|
|00000820| 20 50 61 72 74 20 6f 66 | 20 74 68 69 73 20 66 69 | Part of| this fi|
|00000830| 6c 65 20 69 73 20 74 68 | 65 20 6c 61 74 65 73 74 |le is th|e latest|
|00000840| 20 28 6e 6f 74 20 67 72 | 65 61 74 65 73 74 2c 20 | (not gr|eatest, |
|00000850| 69 74 20 73 74 69 6c 6c | 0a 25 20 64 65 73 65 72 |it still|.% deser|
|00000860| 76 65 73 20 69 74 73 20 | 6e 61 6d 65 29 20 76 65 |ves its |name) ve|
|00000870| 72 73 69 6f 6e 20 6f 66 | 20 6b 6c 75 64 67 65 2e |rsion of| kludge.|
|00000880| 73 74 79 2e 0a 25 0a 25 | 20 49 74 20 61 6c 73 6f |sty..%.%| It also|
|00000890| 20 63 6f 6e 74 61 69 6e | 73 20 61 20 66 65 77 20 | contain|s a few |
|000008a0| 65 6e 68 61 6e 63 65 6d | 65 6e 74 73 20 61 6e 64 |enhancem|ents and|
|000008b0| 20 6d 61 6e 79 20 63 68 | 61 6e 67 65 73 20 28 63 | many ch|anges (c|
|000008c0| 6f 72 72 65 63 74 69 6f | 6e 73 0a 25 20 61 6e 64 |orrectio|ns.% and|
|000008d0| 20 74 69 64 79 69 6e 67 | 73 29 20 74 6f 20 74 68 | tidying|s) to th|
|000008e0| 65 20 66 6c 6f 61 74 20 | 6d 65 63 68 61 6e 69 73 |e float |mechanis|
|000008f0| 6d 20 61 6e 64 20 6f 74 | 68 65 72 20 70 61 72 74 |m and ot|her part|
|00000900| 73 20 6f 66 20 74 68 65 | 20 6f 75 74 70 75 74 0a |s of the| output.|
|00000910| 25 20 72 6f 75 74 69 6e | 65 2e 0a 25 0a 25 20 54 |% routin|e..%.% T|
|00000920| 68 65 20 74 72 61 63 69 | 6e 67 20 69 6e 20 74 68 |he traci|ng in th|
|00000930| 65 20 66 69 6c 65 20 61 | 74 20 70 72 65 73 65 6e |e file a|t presen|
|00000940| 74 20 69 73 20 6d 61 69 | 6e 6c 79 20 74 6f 20 68 |t is mai|nly to h|
|00000950| 65 6c 70 20 69 6e 20 74 | 65 73 74 69 6e 67 20 74 |elp in t|esting t|
|00000960| 68 65 0a 25 20 63 6f 64 | 65 20 62 75 74 20 69 74 |he.% cod|e but it|
|00000970| 20 6d 61 79 20 77 65 6c | 6c 20 62 65 20 64 65 76 | may wel|l be dev|
|00000980| 65 6c 6f 70 65 64 20 69 | 6e 74 6f 20 61 20 66 75 |eloped i|nto a fu|
|00000990| 6c 6c 20 66 6c 6f 61 74 | 20 74 72 61 63 69 6e 67 |ll float| tracing|
|000009a0| 0a 25 20 70 61 63 6b 61 | 67 65 20 6f 6e 65 20 64 |.% packa|ge one d|
|000009b0| 61 79 2e 0a 25 20 0a 25 | 20 3d 3d 3d 3d 3d 3d 3d |ay..% .%| =======|
|000009c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000009d0| 3d 3d 3d 3d 3d 0a 25 20 | 5c 66 69 0a 25 0a 25 20 |=====.% |\fi.%.% |
|000009e0| 5c 74 61 73 6b 7b 43 41 | 52 7d 7b 55 70 64 61 74 |\task{CA|R}{Updat|
|000009f0| 65 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 7d |e docume|ntation}|
|00000a00| 0a 25 20 5c 63 68 61 6e | 67 65 73 7b 76 31 2e 30 |.% \chan|ges{v1.0|
|00000a10| 6b 7d 7b 31 39 39 34 2f | 30 32 2f 30 38 7d 7b 44 |k}{1994/|02/08}{D|
|00000a20| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 61 6e 64 |ocumenta|tion and|
|00000a30| 20 74 61 73 6b 73 20 74 | 69 64 69 65 64 7d 0a 25 | tasks t|idied}.%|
|00000a40| 20 5c 63 68 61 6e 67 65 | 73 7b 76 31 2e 30 6c 7d | \change|s{v1.0l}|
|00000a50| 7b 31 39 39 34 2f 30 33 | 2f 31 35 7d 7b 44 72 69 |{1994/03|/15}{Dri|
|00000a60| 76 65 72 20 61 64 64 65 | 64 20 61 6e 64 20 66 75 |ver adde|d and fu|
|00000a70| 72 74 68 65 72 20 74 69 | 64 79 69 6e 67 7d 0a 25 |rther ti|dying}.%|
|00000a80| 20 5c 63 68 61 6e 67 65 | 73 7b 76 31 2e 30 6c 7d | \change|s{v1.0l}|
|00000a90| 7b 31 39 39 34 2f 30 33 | 2f 31 35 7d 7b 53 6f 6d |{1994/03|/15}{Som|
|00000aa0| 65 20 62 6f 78 6d 61 64 | 65 70 74 68 20 73 65 74 |e boxmad|epth set|
|00000ab0| 74 69 6e 67 73 20 72 65 | 6d 6f 76 65 64 7d 0a 25 |tings re|moved}.%|
|00000ac0| 20 5c 63 68 61 6e 67 65 | 73 7b 76 31 2e 30 6c 7d | \change|s{v1.0l}|
|00000ad0| 7b 31 39 39 34 2f 30 33 | 2f 31 35 7d 7b 41 64 64 |{1994/03|/15}{Add|
|00000ae0| 65 64 20 73 6f 6d 65 20 | 77 61 72 6e 69 6e 67 73 |ed some |warnings|
|00000af0| 20 77 68 65 6e 20 70 61 | 67 65 20 67 65 74 73 20 | when pa|ge gets |
|00000b00| 66 75 6c 6c 20 6f 66 0a | 25 20 74 6f 70 20 66 6c |full of.|% top fl|
|00000b10| 6f 61 74 73 7d 0a 25 20 | 5c 63 68 61 6e 67 65 73 |oats}.% |\changes|
|00000b20| 7b 76 31 2e 30 6c 7d 7b | 31 39 39 34 2f 30 33 2f |{v1.0l}{|1994/03/|
|00000b30| 31 35 7d 7b 52 65 6d 6f | 76 65 64 20 64 75 70 6c |15}{Remo|ved dupl|
|00000b40| 69 63 61 74 65 64 20 63 | 6f 64 65 20 61 6e 64 20 |icated c|ode and |
|00000b50| 63 6f 72 72 65 63 74 65 | 64 0a 25 20 64 6f 63 73 |correcte|d.% docs|
|00000b60| 74 72 69 70 20 6f 70 74 | 69 6f 6e 73 7d 0a 25 20 |trip opt|ions}.% |
|00000b70| 5c 63 68 61 6e 67 65 73 | 7b 76 31 2e 30 6d 7d 7b |\changes|{v1.0m}{|
|00000b80| 31 39 39 34 2f 30 34 2f | 32 34 7d 7b 52 65 6d 6f |1994/04/|24}{Remo|
|00000b90| 76 65 64 20 73 6f 6d 65 | 20 6c 6f 6e 67 20 6c 69 |ved some| long li|
|00000ba0| 6e 65 73 20 61 6e 64 20 | 6f 74 68 65 72 0a 25 20 |nes and |other.% |
|00000bb0| 61 65 73 74 68 65 74 69 | 63 20 63 68 61 6e 67 65 |aestheti|c change|
|00000bc0| 73 7d 0a 25 20 5c 63 68 | 61 6e 67 65 73 7b 76 31 |s}.% \ch|anges{v1|
|00000bd0| 2e 30 6d 7d 7b 31 39 39 | 34 2f 30 34 2f 32 34 7d |.0m}{199|4/04/24}|
|00000be0| 7b 43 6f 72 72 65 63 74 | 65 64 20 75 6e 76 65 72 |{Correct|ed unver|
|00000bf0| 62 65 64 20 63 6f 6d 6d | 6e 61 64 73 20 69 6e 0a |bed comm|nads in.|
|00000c00| 25 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 7d |% docume|ntation}|
|00000c10| 0a 25 20 5c 63 68 61 6e | 67 65 73 7b 76 31 2e 30 |.% \chan|ges{v1.0|
|00000c20| 6d 7d 7b 31 39 39 34 2f | 30 34 2f 32 34 7d 7b 43 |m}{1994/|04/24}{C|
|00000c30| 68 61 6e 67 65 64 20 5c | 63 6d 64 7b 5c 40 6e 6f |hanged \|cmd{\@no|
|00000c40| 72 6d 61 6c 73 69 7a 65 | 7d 20 74 6f 0a 25 20 5c |rmalsize|} to.% \|
|00000c50| 63 6d 64 5c 6e 6f 72 6d | 61 6c 73 69 7a 65 7d 0a |cmd\norm|alsize}.|
|00000c60| 25 20 5c 63 68 61 6e 67 | 65 73 7b 76 31 2e 30 6d |% \chang|es{v1.0m|
|00000c70| 7d 7b 31 39 39 34 2f 30 | 34 2f 32 34 7d 7b 57 61 |}{1994/0|4/24}{Wa|
|00000c80| 72 6e 69 6e 67 20 6d 65 | 73 73 61 67 65 73 20 63 |rning me|ssages c|
|00000c90| 68 61 6e 67 65 64 2f 63 | 6f 72 72 65 63 74 65 64 |hanged/c|orrected|
|00000ca0| 7d 0a 25 20 5c 63 68 61 | 6e 67 65 73 7b 76 31 2e |}.% \cha|nges{v1.|
|00000cb0| 30 6e 7d 7b 31 39 39 34 | 2f 30 34 2f 33 30 7d 7b |0n}{1994|/04/30}{|
|00000cc0| 41 64 64 65 64 20 5c 63 | 6d 64 7b 5c 63 6f 6c 40 |Added \c|md{\col@|
|00000cd0| 6e 75 6d 62 65 72 7d 7d | 0a 25 20 5c 63 68 61 6e |number}}|.% \chan|
|00000ce0| 67 65 73 7b 76 31 2e 30 | 6e 7d 7b 31 39 39 34 2f |ges{v1.0|n}{1994/|
|00000cf0| 30 34 2f 33 30 7d 7b 46 | 69 78 65 64 20 62 75 67 |04/30}{F|ixed bug|
|00000d00| 20 66 72 6f 6d 20 5c 63 | 6d 64 5c 64 62 6c 66 69 | from \c|md\dblfi|
|00000d10| 67 72 75 6c 65 20 77 69 | 74 68 0a 25 20 5c 63 6d |grule wi|th.% \cm|
|00000d20| 64 7b 5c 40 74 6f 70 6e | 65 77 70 61 67 65 7d 7d |d{\@topn|ewpage}}|
|00000d30| 0a 25 20 5c 63 68 61 6e | 67 65 73 7b 76 31 2e 30 |.% \chan|ges{v1.0|
|00000d40| 6e 7d 7b 31 39 39 34 2f | 30 34 2f 33 30 7d 7b 44 |n}{1994/|04/30}{D|
|00000d50| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 74 69 64 |ocumenta|tion tid|
|00000d60| 69 65 64 7d 0a 25 20 5c | 63 68 61 6e 67 65 73 7b |ied}.% \|changes{|
|00000d70| 76 31 2e 30 6e 7d 7b 31 | 39 39 34 2f 30 34 2f 33 |v1.0n}{1|994/04/3|
|00000d80| 30 7d 7b 5c 63 6d 64 7b | 5c 40 61 63 74 69 76 65 |0}{\cmd{|\@active|
|00000d90| 63 68 61 72 40 77 61 72 | 6e 69 6e 67 7d 20 63 68 |char@war|ning} ch|
|00000da0| 61 6e 67 65 64 20 74 6f | 20 61 6e 0a 25 20 69 6e |anged to| an.% in|
|00000db0| 66 6f 20 6d 65 73 73 61 | 67 65 7d 0a 25 20 5c 63 |fo messa|ge}.% \c|
|00000dc0| 68 61 6e 67 65 73 7b 76 | 31 2e 30 6e 7d 7b 31 39 |hanges{v|1.0n}{19|
|00000dd0| 39 34 2f 30 34 2f 33 30 | 7d 7b 46 75 6c 6c 20 6f |94/04/30|}{Full o|
|00000de0| 66 20 66 6c 6f 61 74 73 | 20 61 63 74 69 6f 6e 20 |f floats| action |
|00000df0| 69 6d 70 72 6f 76 65 64 | 7d 0a 25 20 5c 63 68 61 |improved|}.% \cha|
|00000e00| 6e 67 65 73 7b 76 31 2e | 30 6e 7d 7b 31 39 39 34 |nges{v1.|0n}{1994|
|00000e10| 2f 30 34 2f 33 30 7d 7b | 45 6d 70 74 79 20 63 6f |/04/30}{|Empty co|
|00000e20| 6c 75 6d 6e 20 61 63 74 | 69 6f 6e 20 61 64 64 65 |lumn act|ion adde|
|00000e30| 64 7d 0a 25 20 5c 63 68 | 61 6e 67 65 73 7b 76 31 |d}.% \ch|anges{v1|
|00000e40| 2e 30 6f 7d 7b 31 39 39 | 34 2f 30 35 2f 30 32 7d |.0o}{199|4/05/02}|
|00000e50| 7b 43 6f 64 65 20 6f 66 | 20 5c 63 6d 64 7b 5c 40 |{Code of| \cmd{\@|
|00000e60| 72 65 73 65 74 68 66 70 | 73 7d 20 73 68 6f 72 74 |resethfp|s} short|
|00000e70| 65 6e 65 64 7d 0a 25 20 | 5c 63 68 61 6e 67 65 73 |ened}.% |\changes|
|00000e80| 7b 76 31 2e 30 70 7d 7b | 31 39 39 34 2f 30 35 2f |{v1.0p}{|1994/05/|
|00000e90| 31 32 7d 7b 5c 63 73 7b | 6e 6f 72 6d 61 6c 63 6f |12}{\cs{|normalco|
|00000ea0| 6c 6f 72 7d 61 64 64 65 | 64 20 69 6e 20 76 61 72 |lor}adde|d in var|
|00000eb0| 69 6f 75 73 0a 25 20 70 | 6c 61 63 65 73 20 28 44 |ious.% p|laces (D|
|00000ec0| 50 43 29 7d 0a 25 20 5c | 63 68 61 6e 67 65 73 7b |PC)}.% \|changes{|
|00000ed0| 76 31 2e 30 71 7d 7b 31 | 39 39 34 2f 30 35 2f 31 |v1.0q}{1|994/05/1|
|00000ee0| 36 7d 7b 43 68 61 6e 67 | 65 64 20 73 65 74 74 69 |6}{Chang|ed setti|
|00000ef0| 6e 67 20 6f 66 20 61 63 | 63 65 6e 74 73 20 28 46 |ng of ac|cents (F|
|00000f00| 4d 69 29 7d 0a 25 20 5c | 63 68 61 6e 67 65 73 7b |Mi)}.% \|changes{|
|00000f10| 76 31 2e 30 73 7d 7b 31 | 39 39 34 2f 30 35 2f 32 |v1.0s}{1|994/05/2|
|00000f20| 30 7d 7b 41 64 64 65 64 | 20 73 65 74 74 69 6e 67 |0}{Added| setting|
|00000f30| 20 6f 66 20 5c 63 73 7b | 70 72 6f 74 65 63 74 7d | of \cs{|protect}|
|00000f40| 0a 25 20 64 75 72 69 6e | 67 20 5c 63 73 7b 73 68 |.% durin|g \cs{sh|
|00000f50| 69 70 6f 75 74 7d 7d 0a | 25 20 5c 63 68 61 6e 67 |ipout}}.|% \chang|
|00000f60| 65 73 7b 76 31 2e 30 74 | 7d 7b 31 39 39 34 2f 30 |es{v1.0t|}{1994/0|
|00000f70| 35 2f 32 32 7d 7b 43 68 | 61 6e 67 65 64 20 77 61 |5/22}{Ch|anged wa|
|00000f80| 72 6e 69 6e 67 73 20 61 | 6e 64 20 69 6e 66 6f 73 |rnings a|nd infos|
|00000f90| 20 74 6f 0a 25 20 6e 65 | 77 20 63 6f 6d 6d 61 6e | to.% ne|w comman|
|00000fa0| 64 73 7d 0a 25 20 5c 63 | 68 61 6e 67 65 73 7b 76 |ds}.% \c|hanges{v|
|00000fb0| 31 2e 30 75 7d 7b 31 39 | 39 34 2f 30 35 2f 32 33 |1.0u}{19|94/05/23|
|00000fc0| 7d 7b 41 64 64 65 64 20 | 5c 63 73 7b 4d 65 73 73 |}{Added |\cs{Mess|
|00000fd0| 61 67 65 42 72 65 61 6b | 7d 7d 0a 25 20 5c 63 68 |ageBreak|}}.% \ch|
|00000fe0| 61 6e 67 65 73 7b 76 31 | 2e 30 75 7d 7b 31 39 39 |anges{v1|.0u}{199|
|00000ff0| 34 2f 30 35 2f 32 33 7d | 7b 43 68 61 6e 67 65 64 |4/05/23}|{Changed|
|00001000| 20 72 65 73 65 74 74 69 | 6e 67 20 6f 66 20 5c 63 | resetti|ng of \c|
|00001010| 73 7b 70 72 6f 74 65 63 | 74 7d 20 61 66 74 65 72 |s{protec|t} after|
|00001020| 0a 25 20 73 68 69 70 6f | 75 74 7d 0a 25 20 5c 63 |.% shipo|ut}.% \c|
|00001030| 68 61 6e 67 65 73 7b 76 | 31 2e 30 76 7d 7b 31 39 |hanges{v|1.0v}{19|
|00001040| 39 34 2f 30 35 2f 32 35 | 7d 7b 45 78 74 72 61 20 |94/05/25|}{Extra |
|00001050| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 7d 0a 25 |document|ation}.%|
|00001060| 20 5c 63 68 61 6e 67 65 | 73 7b 76 31 2e 30 77 7d | \change|s{v1.0w}|
|00001070| 7b 31 39 39 34 2f 30 36 | 2f 30 31 7d 7b 54 69 64 |{1994/06|/01}{Tid|
|00001080| 69 65 64 20 75 70 20 74 | 79 70 65 73 74 74 69 6e |ied up t|ypesttin|
|00001090| 67 7d 0a 25 0a 25 20 5c | 63 68 61 6e 67 65 73 7b |g}.%.% \|changes{|
|000010a0| 76 31 2e 31 66 7d 7b 31 | 39 39 34 2f 31 31 2f 31 |v1.1f}{1|994/11/1|
|000010b0| 34 7d 7b 52 65 6d 6f 76 | 65 64 20 6f 6c 64 20 64 |4}{Remov|ed old d|
|000010c0| 65 66 69 6e 69 74 69 6f | 6e 20 6f 66 20 5c 63 73 |efinitio|n of \cs|
|000010d0| 7b 40 74 65 73 74 66 70 | 7d 7d 0a 25 20 5c 63 68 |{@testfp|}}.% \ch|
|000010e0| 61 6e 67 65 73 7b 76 31 | 2e 31 68 7d 7b 31 39 39 |anges{v1|.1h}{199|
|000010f0| 34 2f 31 31 2f 31 37 7d | 0a 25 20 20 20 20 20 20 |4/11/17}|.% |
|00001100| 20 20 20 7b 5c 63 73 7b | 40 74 65 6d 70 61 7d 20 | {\cs{|@tempa} |
|00001110| 74 6f 20 5c 63 73 7b 72 | 65 73 65 72 76 65 64 40 |to \cs{r|eserved@|
|00001120| 61 7d 7d 0a 25 20 5c 63 | 68 61 6e 67 65 73 7b 76 |a}}.% \c|hanges{v|
|00001130| 31 2e 31 6d 7d 7b 31 39 | 39 35 2f 30 35 2f 30 37 |1.1m}{19|95/05/07|
|00001140| 7d 7b 55 73 65 20 5c 63 | 73 7b 68 62 40 78 74 40 |}{Use \c|s{hb@xt@|
|00001150| 7d 7d 0a 25 20 0a 25 20 | 5c 53 74 6f 70 45 76 65 |}}.% .% |\StopEve|
|00001160| 6e 74 75 61 6c 6c 79 7b | 7d 0a 25 0a 25 20 5c 64 |ntually{|}.%.% \d|
|00001170| 65 66 20 5c 69 65 20 7b | 69 2e 65 2e 7e 7d 0a 25 |ef \ie {|i.e.~}.%|
|00001180| 20 5c 64 65 66 20 5c 65 | 67 20 7b 65 2e 67 2e 7e | \def \e|g {e.g.~|
|00001190| 7d 0a 25 20 0a 25 20 5c | 73 65 63 74 69 6f 6e 7b |}.% .% \|section{|
|000011a0| 4f 75 74 70 75 74 20 52 | 6f 75 74 69 6e 65 7d 0a |Output R|outine}.|
|000011b0| 25 0a 25 20 5c 73 75 62 | 73 65 63 74 69 6f 6e 7b |%.% \sub|section{|
|000011c0| 46 6c 6f 61 74 73 7d 0a | 25 20 0a 25 20 5c 62 65 |Floats}.|% .% \be|
|000011d0| 67 69 6e 7b 6f 6c 64 63 | 6f 6d 6d 65 6e 74 73 7d |gin{oldc|omments}|
|000011e0| 0a 25 20 20 20 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |.% \b|egin{mac|
|000011f0| 72 6f 63 6f 64 65 7d 0a | 25 3c 2a 32 65 6b 65 72 |rocode}.|%<*2eker|
|00001200| 6e 65 6c 3e 0a 5c 6d 65 | 73 73 61 67 65 7b 6f 75 |nel>.\me|ssage{ou|
|00001210| 74 70 75 74 2c 7d 0a 25 | 20 20 20 20 5c 65 6e 64 |tput,}.%| \end|
|00001220| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 20 20 20 |{macroco|de}.% |
|00001230| 20 20 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | ******|********|
|00001240| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001250| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 0a 25 20 20 20 20 |********|**.% |
|00001260| 20 2a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | * | |
|00001270| 20 4f 55 54 50 55 54 20 | 20 20 20 20 20 20 20 20 | OUTPUT | |
|00001280| 20 20 20 20 20 20 20 20 | 2a 0a 25 20 20 20 20 20 | |*.% |
|00001290| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000012a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000012b0| 2a 2a 2a 2a 2a 2a 2a 2a | 0a 25 0a 25 0a 25 20 20 |********|.%.%.% |
|000012c0| 50 41 47 45 20 4c 41 59 | 4f 55 54 20 50 41 52 41 |PAGE LAY|OUT PARA|
|000012d0| 4d 45 54 45 52 53 0a 25 | 0a 25 20 20 20 5c 74 6f |METERS.%|.% \to|
|000012e0| 70 6d 61 72 67 69 6e 20 | 20 20 20 20 20 3a 20 45 |pmargin | : E|
|000012f0| 78 74 72 61 20 73 70 61 | 63 65 20 61 64 64 65 64 |xtra spa|ce added|
|00001300| 20 74 6f 20 74 6f 70 20 | 6f 66 20 70 61 67 65 2e | to top |of page.|
|00001310| 0a 25 20 20 20 40 74 77 | 6f 73 69 64 65 20 20 20 |.% @tw|oside |
|00001320| 20 20 20 20 20 3a 20 62 | 6f 6f 6c 65 61 6e 2e 20 | : b|oolean. |
|00001330| 20 54 20 69 66 20 74 77 | 6f 2d 73 69 64 65 64 20 | T if tw|o-sided |
|00001340| 70 72 69 6e 74 69 6e 67 | 0a 25 20 20 20 5c 6f 64 |printing|.% \od|
|00001350| 64 73 69 64 65 6d 61 72 | 67 69 6e 20 20 3a 20 49 |dsidemar|gin : I|
|00001360| 46 20 40 74 77 6f 73 69 | 64 65 20 3d 20 54 0a 25 |F @twosi|de = T.%|
|00001370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001380| 20 20 20 20 20 20 20 54 | 48 45 4e 20 65 78 74 72 | T|HEN extr|
|00001390| 61 20 73 70 61 63 65 20 | 61 64 64 65 64 20 74 6f |a space |added to|
|000013a0| 20 6c 65 66 74 20 6f 66 | 20 6f 64 64 2d 6e 75 6d | left of| odd-num|
|000013b0| 62 65 72 65 64 0a 25 20 | 20 20 20 20 20 20 20 20 |bered.% | |
|000013c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000013d0| 20 20 20 70 61 67 65 73 | 2e 0a 25 20 20 20 20 20 | pages|..% |
|000013e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000013f0| 20 20 45 4c 53 45 20 65 | 78 74 72 61 20 73 70 61 | ELSE e|xtra spa|
|00001400| 63 65 20 61 64 64 65 64 | 20 74 6f 20 6c 65 66 74 |ce added| to left|
|00001410| 20 6f 66 20 61 6c 6c 20 | 70 61 67 65 73 2e 0a 25 | of all |pages..%|
|00001420| 20 20 20 5c 65 76 65 6e | 73 69 64 65 6d 61 72 67 | \even|sidemarg|
|00001430| 69 6e 20 3a 20 49 46 20 | 40 74 77 6f 73 69 64 65 |in : IF |@twoside|
|00001440| 20 3d 20 54 0a 25 20 20 | 20 20 20 20 20 20 20 20 | = T.% | |
|00001450| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 54 48 45 | | THE|
|00001460| 4e 20 65 78 74 72 61 20 | 73 70 61 63 65 20 61 64 |N extra |space ad|
|00001470| 64 65 64 20 74 6f 20 6c | 65 66 74 20 6f 66 20 65 |ded to l|eft of e|
|00001480| 76 65 6e 2d 6e 75 6d 62 | 65 72 65 64 0a 25 20 20 |ven-numb|ered.% |
|00001490| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000014a0| 20 20 20 20 20 20 20 20 | 20 20 70 61 67 65 73 2e | | pages.|
|000014b0| 0a 25 20 20 20 5c 68 65 | 61 64 68 65 69 67 68 74 |.% \he|adheight|
|000014c0| 20 20 20 20 20 3a 20 68 | 65 69 67 68 74 20 6f 66 | : h|eight of|
|000014d0| 20 68 65 61 64 0a 25 20 | 20 20 5c 68 65 61 64 73 | head.% | \heads|
|000014e0| 65 70 20 20 20 20 20 20 | 20 20 3a 20 73 65 70 61 |ep | : sepa|
|000014f0| 72 61 74 69 6f 6e 20 62 | 65 74 77 65 65 6e 20 68 |ration b|etween h|
|00001500| 65 61 64 20 61 6e 64 20 | 74 65 78 74 0a 25 20 20 |ead and |text.% |
|00001510| 20 5c 66 6f 6f 74 73 6b | 69 70 20 20 20 20 20 20 | \footsk|ip |
|00001520| 20 3a 20 64 69 73 74 61 | 6e 63 65 20 73 65 70 61 | : dista|nce sepa|
|00001530| 72 61 74 69 6f 6e 20 62 | 65 74 77 65 65 6e 20 62 |ration b|etween b|
|00001540| 61 73 65 6c 69 6e 65 20 | 6f 66 20 6c 61 73 74 0a |aseline |of last.|
|00001550| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |% | |
|00001560| 20 20 20 20 20 20 6c 69 | 6e 65 20 6f 66 20 74 65 | li|ne of te|
|00001570| 78 74 20 61 6e 64 20 62 | 61 73 65 6c 69 6e 65 20 |xt and b|aseline |
|00001580| 6f 66 20 66 6f 6f 74 2e | 0a 25 20 20 20 20 20 20 |of foot.|.% |
|00001590| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4e | | N|
|000015a0| 6f 74 65 20 64 69 66 66 | 65 72 65 6e 63 65 20 62 |ote diff|erence b|
|000015b0| 65 74 77 65 65 6e 20 5c | 66 6f 6f 74 53 4b 49 50 |etween \|footSKIP|
|000015c0| 20 61 6e 64 20 5c 68 65 | 61 64 53 45 50 2e 0a 25 | and \he|adSEP..%|
|000015d0| 20 20 20 5c 74 65 78 74 | 68 65 69 67 68 74 20 20 | \text|height |
|000015e0| 20 20 20 3a 20 68 65 69 | 67 68 74 20 6f 66 20 74 | : hei|ght of t|
|000015f0| 65 78 74 20 6f 6e 20 70 | 61 67 65 2c 20 65 78 63 |ext on p|age, exc|
|00001600| 6c 75 64 69 6e 67 20 68 | 65 61 64 20 61 6e 64 20 |luding h|ead and |
|00001610| 66 6f 6f 74 0a 25 20 20 | 20 5c 74 65 78 74 77 69 |foot.% | \textwi|
|00001620| 64 74 68 20 20 20 20 20 | 20 3a 20 77 69 64 74 68 |dth | : width|
|00001630| 20 6f 66 20 70 72 69 6e | 74 69 6e 67 20 6f 6e 20 | of prin|ting on |
|00001640| 70 61 67 65 0a 25 20 20 | 20 5c 63 6f 6c 75 6d 6e |page.% | \column|
|00001650| 73 65 70 20 20 20 20 20 | 20 3a 20 49 46 20 40 74 |sep | : IF @t|
|00001660| 77 6f 63 6f 6c 75 6d 6e | 20 3d 20 54 0a 25 20 20 |wocolumn| = T.% |
|00001670| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001680| 20 20 20 20 20 54 48 45 | 4e 20 77 69 64 74 68 20 | THE|N width |
|00001690| 6f 66 20 73 70 61 63 65 | 20 62 65 74 77 65 65 6e |of space| between|
|000016a0| 20 63 6f 6c 75 6d 6e 73 | 0a 25 20 20 20 5c 63 6f | columns|.% \co|
|000016b0| 6c 75 6d 6e 73 65 70 72 | 75 6c 65 20 20 3a 20 49 |lumnsepr|ule : I|
|000016c0| 46 20 40 74 77 6f 63 6f | 6c 75 6d 6e 20 3d 20 54 |F @twoco|lumn = T|
|000016d0| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|000016e0| 20 20 20 20 20 20 20 20 | 20 54 48 45 4e 20 77 69 | | THEN wi|
|000016f0| 64 74 68 20 6f 66 20 72 | 75 6c 65 20 62 65 74 77 |dth of r|ule betw|
|00001700| 65 65 6e 20 63 6f 6c 75 | 6d 6e 73 20 28 30 20 69 |een colu|mns (0 i|
|00001710| 66 20 6e 6f 6e 65 29 2e | 0a 25 20 20 20 5c 63 6f |f none).|.% \co|
|00001720| 6c 75 6d 6e 77 69 64 74 | 68 20 20 20 20 3a 20 49 |lumnwidt|h : I|
|00001730| 46 20 40 74 77 6f 63 6f | 6c 75 6d 6e 20 3d 20 54 |F @twoco|lumn = T|
|00001740| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|00001750| 20 20 20 20 20 20 20 20 | 20 54 48 45 4e 20 28 5c | | THEN (\|
|00001760| 74 65 78 74 77 69 64 74 | 68 20 2d 20 5c 63 6f 6c |textwidt|h - \col|
|00001770| 75 6d 6e 73 65 70 29 2f | 32 0a 25 20 20 20 20 20 |umnsep)/|2.% |
|00001780| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001790| 20 20 45 4c 53 45 20 5c | 74 65 78 74 77 69 64 74 | ELSE \|textwidt|
|000017a0| 68 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |h.% | |
|000017b0| 20 20 20 20 20 20 20 20 | 49 74 20 69 73 20 73 65 | |It is se|
|000017c0| 74 20 62 79 20 74 68 65 | 20 5c 74 77 6f 63 6f 6c |t by the| \twocol|
|000017d0| 75 6d 6e 20 61 6e 64 0a | 25 20 20 20 20 20 20 20 |umn and.|% |
|000017e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 5c 6f | | \o|
|000017f0| 6e 65 63 6f 6c 75 6d 6e | 20 63 6f 6d 6d 61 6e 64 |necolumn| command|
|00001800| 73 2e 0a 25 20 20 20 5c | 40 74 65 78 74 62 6f 74 |s..% \|@textbot|
|00001810| 74 6f 6d 20 20 20 20 3a | 20 43 6f 6d 6d 61 6e 64 |tom :| Command|
|00001820| 20 65 78 65 63 75 74 65 | 64 20 61 74 20 62 6f 74 | execute|d at bot|
|00001830| 74 6f 6d 20 6f 66 20 76 | 62 6f 78 20 68 6f 6c 64 |tom of v|box hold|
|00001840| 69 6e 67 20 74 65 78 74 | 20 6f 66 0a 25 20 20 20 |ing text| of.% |
|00001850| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001860| 20 20 70 61 67 65 20 28 | 69 6e 63 6c 75 64 69 6e | page (|includin|
|00001870| 67 20 66 69 67 75 72 65 | 73 29 2e 20 20 54 68 65 |g figure|s). The|
|00001880| 20 5c 72 61 67 67 65 64 | 62 6f 74 74 6f 6d 0a 25 | \ragged|bottom.%|
|00001890| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000018a0| 20 20 20 20 20 63 6f 6d | 6d 61 6e 64 20 61 6c 6d | com|mand alm|
|000018b0| 6f 73 74 20 5c 6c 65 74 | 27 73 20 74 68 69 73 20 |ost \let|'s this |
|000018c0| 74 6f 20 5c 76 66 69 6c | 20 28 61 63 74 75 61 6c |to \vfil| (actual|
|000018d0| 6c 79 20 73 65 74 73 0a | 25 20 20 20 20 20 20 20 |ly sets.|% |
|000018e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 74 | | it|
|000018f0| 20 74 6f 20 5c 76 73 6b | 69 70 20 5c 7a 40 20 70 | to \vsk|ip \z@ p|
|00001900| 6c 75 73 2e 30 30 30 31 | 66 69 6c 29 2e 0a 25 20 |lus.0001|fil)..% |
|00001910| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001920| 20 20 20 20 53 68 6f 75 | 6c 64 20 68 61 76 65 20 | Shou|ld have |
|00001930| 64 65 70 74 68 20 30 70 | 74 2e 0a 25 0a 25 20 20 |depth 0p|t..%.% |
|00001940| 20 5c 40 74 65 78 74 74 | 6f 70 20 20 20 20 20 20 | \@textt|op |
|00001950| 20 3a 20 43 6f 6d 6d 61 | 6e 64 20 65 78 65 63 75 | : Comma|nd execu|
|00001960| 74 65 64 20 61 74 20 74 | 6f 70 20 6f 66 20 76 62 |ted at t|op of vb|
|00001970| 6f 78 20 68 6f 6c 64 69 | 6e 67 20 74 65 78 74 20 |ox holdi|ng text |
|00001980| 6f 66 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 |of.% | |
|00001990| 20 20 20 20 20 20 20 20 | 20 70 61 67 65 20 28 69 | | page (i|
|000019a0| 6e 63 6c 75 64 69 6e 67 | 20 66 69 67 75 72 65 73 |ncluding| figures|
|000019b0| 29 2e 20 20 55 73 65 64 | 20 62 79 20 6c 65 74 74 |). Used| by lett|
|000019c0| 65 72 20 73 74 79 6c 65 | 3b 0a 25 20 20 20 20 20 |er style|;.% |
|000019d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000019e0| 63 61 6e 20 61 6c 73 6f | 20 62 65 20 75 73 65 64 |can also| be used|
|000019f0| 20 74 6f 20 70 72 6f 64 | 75 63 65 20 63 65 6e 74 | to prod|uce cent|
|00001a00| 65 72 65 64 20 70 61 67 | 65 73 2e 0a 25 20 20 20 |ered pag|es..% |
|00001a10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a20| 20 20 4c 65 74 20 74 6f | 20 5c 72 65 6c 61 78 20 | Let to| \relax |
|00001a30| 62 79 20 5c 72 61 67 67 | 65 64 62 6f 74 74 6f 6d |by \ragg|edbottom|
|00001a40| 20 61 6e 64 20 5c 66 6c | 75 73 68 62 6f 74 74 6f | and \fl|ushbotto|
|00001a50| 6d 2e 0a 25 0a 25 20 20 | 20 50 61 67 65 20 6c 61 |m..%.% | Page la|
|00001a60| 79 6f 75 74 20 6d 75 73 | 74 20 69 6e 69 74 69 61 |yout mus|t initia|
|00001a70| 6c 69 7a 65 20 5c 40 63 | 6f 6c 68 74 20 61 6e 64 |lize \@c|olht and|
|00001a80| 20 5c 40 63 6f 6c 72 6f | 6f 6d 20 74 6f 20 5c 74 | \@colro|om to \t|
|00001a90| 65 78 74 68 65 69 67 68 | 74 2e 0a 25 0a 25 20 20 |extheigh|t..%.% |
|00001aa0| 50 41 47 45 20 53 54 59 | 4c 45 20 50 41 52 41 4d |PAGE STY|LE PARAM|
|00001ab0| 45 54 45 52 53 3a 0a 25 | 0a 25 20 20 20 5c 66 6c |ETERS:.%|.% \fl|
|00001ac0| 6f 61 74 73 65 70 20 20 | 20 20 20 20 20 3a 20 53 |oatsep | : S|
|00001ad0| 70 61 63 65 20 6c 65 66 | 74 20 62 65 74 77 65 65 |pace lef|t betwee|
|00001ae0| 6e 20 66 6c 6f 61 74 73 | 2e 0a 25 20 20 20 5c 74 |n floats|..% \t|
|00001af0| 65 78 74 66 6c 6f 61 74 | 73 65 70 20 20 20 3a 20 |extfloat|sep : |
|00001b00| 53 70 61 63 65 20 62 65 | 74 77 65 65 6e 20 6c 61 |Space be|tween la|
|00001b10| 73 74 20 74 6f 70 20 66 | 6c 6f 61 74 20 6f 72 20 |st top f|loat or |
|00001b20| 66 69 72 73 74 20 62 6f | 74 74 6f 6d 20 66 6c 6f |first bo|ttom flo|
|00001b30| 61 74 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 |at.% | |
|00001b40| 20 20 20 20 20 20 20 20 | 20 61 6e 64 20 74 68 65 | | and the|
|00001b50| 20 74 65 78 74 2e 0a 25 | 20 20 20 5c 74 6f 70 66 | text..%| \topf|
|00001b60| 69 67 72 75 6c 65 20 20 | 20 20 20 3a 20 43 6f 6d |igrule | : Com|
|00001b70| 6d 61 6e 64 20 74 6f 20 | 70 6c 61 63 65 20 72 75 |mand to |place ru|
|00001b80| 6c 65 20 28 6f 72 20 77 | 68 61 74 65 76 65 72 29 |le (or w|hatever)|
|00001b90| 20 62 65 74 77 65 65 6e | 20 66 6c 6f 61 74 73 0a | between| floats.|
|00001ba0| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |% | |
|00001bb0| 20 20 20 20 20 20 61 74 | 20 74 6f 70 20 6f 66 20 | at| top of |
|00001bc0| 70 61 67 65 20 61 6e 64 | 20 74 65 78 74 2e 20 20 |page and| text. |
|00001bd0| 45 78 65 63 75 74 65 64 | 20 69 6e 20 69 6e 6e 65 |Executed| in inne|
|00001be0| 72 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |r.% | |
|00001bf0| 20 20 20 20 20 20 20 20 | 76 65 72 74 69 63 61 20 | |vertica |
|00001c00| 6d 6f 64 65 20 72 69 67 | 68 74 20 62 65 66 6f 72 |mode rig|ht befor|
|00001c10| 65 20 74 68 65 20 5c 74 | 65 78 74 66 6c 6f 61 74 |e the \t|extfloat|
|00001c20| 73 65 70 20 73 6b 69 70 | 0a 25 20 20 20 20 20 20 |sep skip|.% |
|00001c30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 73 | | s|
|00001c40| 65 70 61 72 61 74 69 6e | 67 20 74 68 65 20 66 6c |eparatin|g the fl|
|00001c50| 6f 61 74 73 20 66 72 6f | 6d 20 74 68 65 20 74 65 |oats fro|m the te|
|00001c60| 78 74 2e 20 20 4d 75 73 | 74 20 6f 63 63 75 70 79 |xt. Mus|t occupy|
|00001c70| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|00001c80| 20 20 20 20 20 20 20 7a | 65 72 6f 20 76 65 72 74 | z|ero vert|
|00001c90| 69 63 61 6c 20 73 70 61 | 63 65 2e 20 20 28 53 65 |ical spa|ce. (Se|
|00001ca0| 65 20 5c 66 6f 6f 74 6e | 6f 74 65 72 75 6c 65 2e |e \footn|oterule.|
|00001cb0| 29 0a 25 20 20 20 5c 62 | 6f 74 66 69 67 72 75 6c |).% \b|otfigrul|
|00001cc0| 65 20 20 20 20 20 3a 20 | 53 61 6d 65 20 61 73 20 |e : |Same as |
|00001cd0| 5c 74 6f 70 66 69 67 72 | 75 6c 65 2c 20 62 75 74 |\topfigr|ule, but|
|00001ce0| 20 70 75 74 20 61 66 74 | 65 72 20 74 68 65 0a 25 | put aft|er the.%|
|00001cf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d00| 20 20 20 20 20 5c 74 65 | 78 74 66 6c 6f 61 74 73 | \te|xtfloats|
|00001d10| 65 70 20 73 6b 69 70 20 | 73 65 70 61 72 61 74 69 |ep skip |separati|
|00001d20| 6e 67 20 74 65 78 74 20 | 66 72 6f 6d 20 74 68 65 |ng text |from the|
|00001d30| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|00001d40| 20 20 20 20 20 20 20 66 | 6c 6f 61 74 73 20 61 74 | f|loats at|
|00001d50| 20 62 6f 74 74 6f 6d 20 | 6f 66 20 70 61 67 65 2e | bottom |of page.|
|00001d60| 0a 25 20 20 20 5c 69 6e | 74 65 78 74 73 65 70 20 |.% \in|textsep |
|00001d70| 20 20 20 20 20 3a 20 53 | 70 61 63 65 20 6c 65 66 | : S|pace lef|
|00001d80| 74 20 6f 6e 20 74 6f 70 | 20 61 6e 64 20 62 6f 74 |t on top| and bot|
|00001d90| 74 6f 6d 20 6f 66 20 61 | 6e 20 69 6e 2d 74 65 78 |tom of a|n in-tex|
|00001da0| 74 20 66 6c 6f 61 74 2e | 0a 25 20 20 20 5c 64 62 |t float.|.% \db|
|00001db0| 6c 66 6c 6f 61 74 73 65 | 70 20 20 20 20 3a 20 53 |lfloatse|p : S|
|00001dc0| 70 61 63 65 20 62 65 74 | 77 65 65 6e 20 64 6f 75 |pace bet|ween dou|
|00001dd0| 62 6c 65 2d 63 6f 6c 75 | 6d 6e 20 66 6c 6f 61 74 |ble-colu|mn float|
|00001de0| 73 2e 0a 25 20 20 20 5c | 64 62 6c 74 65 78 74 66 |s..% \|dbltextf|
|00001df0| 6c 6f 61 74 73 65 70 20 | 3a 20 53 70 61 63 65 20 |loatsep |: Space |
|00001e00| 62 65 74 77 65 65 6e 20 | 74 6f 70 20 64 6f 75 62 |between |top doub|
|00001e10| 6c 65 2d 63 6f 6c 75 6d | 6e 20 66 6c 6f 61 74 73 |le-colum|n floats|
|00001e20| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|00001e30| 20 20 20 20 20 20 20 20 | 61 6e 64 20 74 65 78 74 | |and text|
|00001e40| 2e 0a 25 20 20 20 5c 64 | 62 6c 66 69 67 72 75 6c |..% \d|blfigrul|
|00001e50| 65 20 20 20 20 20 3a 20 | 53 69 6d 69 6c 61 72 20 |e : |Similar |
|00001e60| 74 6f 20 5c 74 6f 70 66 | 69 67 72 75 6c 65 2c 20 |to \topf|igrule, |
|00001e70| 62 75 74 20 66 6f 72 20 | 64 6f 75 62 6c 65 2d 63 |but for |double-c|
|00001e80| 6f 6c 75 6d 6e 0a 25 20 | 20 20 20 20 20 20 20 20 |olumn.% | |
|00001e90| 20 20 20 20 20 20 20 20 | 20 20 20 20 66 6c 6f 61 | | floa|
|00001ea0| 74 73 2e 0a 25 20 20 20 | 5c 40 66 70 74 6f 70 20 |ts..% |\@fptop |
|00001eb0| 20 20 20 20 20 20 20 20 | 3a 20 47 6c 75 65 20 74 | |: Glue t|
|00001ec0| 6f 20 67 6f 20 61 74 20 | 74 6f 70 20 6f 66 20 66 |o go at |top of f|
|00001ed0| 6c 6f 61 74 20 63 6f 6c | 75 6d 6e 20 2d 2d 20 6d |loat col|umn -- m|
|00001ee0| 75 73 74 20 62 65 20 30 | 70 74 20 2b 0a 25 20 20 |ust be 0|pt +.% |
|00001ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f00| 20 20 20 73 74 72 65 74 | 63 68 0a 25 20 20 20 5c | stret|ch.% \|
|00001f10| 40 66 70 73 65 70 20 20 | 20 20 20 20 20 20 20 3a |@fpsep | :|
|00001f20| 20 47 6c 75 65 20 74 6f | 20 67 6f 20 62 65 74 77 | Glue to| go betw|
|00001f30| 65 65 6e 20 66 6c 6f 61 | 74 73 20 69 6e 20 61 20 |een floa|ts in a |
|00001f40| 66 6c 6f 61 74 20 63 6f | 6c 75 6d 6e 2e 0a 25 20 |float co|lumn..% |
|00001f50| 20 20 5c 40 66 70 62 6f | 74 20 20 20 20 20 20 20 | \@fpbo|t |
|00001f60| 20 20 3a 20 47 6c 75 65 | 20 74 6f 20 67 6f 20 61 | : Glue| to go a|
|00001f70| 74 20 62 6f 74 74 6f 6d | 20 6f 66 20 66 6c 6f 61 |t bottom| of floa|
|00001f80| 74 20 63 6f 6c 75 6d 6e | 0a 25 20 20 20 20 20 20 |t column|.% |
|00001f90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001fa0| 20 2d 2d 20 6d 75 73 74 | 20 62 65 20 30 70 74 20 | -- must| be 0pt |
|00001fb0| 2b 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |+.% | |
|00001fc0| 20 20 20 20 20 20 20 20 | 73 74 72 65 74 63 68 0a | |stretch.|
|00001fd0| 25 20 20 20 5c 40 64 62 | 6c 66 70 74 6f 70 2c 20 |% \@db|lfptop, |
|00001fe0| 5c 40 64 62 6c 66 70 73 | 65 70 2c 20 5c 40 64 62 |\@dblfps|ep, \@db|
|00001ff0| 6c 66 70 62 6f 74 0a 25 | 20 20 20 20 20 20 20 20 |lfpbot.%| |
|00002000| 20 20 20 20 20 20 20 20 | 20 20 20 3a 20 41 6e 61 | | : Ana|
|00002010| 6c 6f 67 6f 75 73 20 66 | 6f 72 20 64 6f 75 62 6c |logous f|or doubl|
|00002020| 65 2d 63 6f 6c 75 6d 6e | 20 66 6c 6f 61 74 20 70 |e-column| float p|
|00002030| 61 67 65 20 69 6e 0a 25 | 20 20 20 20 20 20 20 20 |age in.%| |
|00002040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 77 6f | | two|
|00002050| 2d 63 6f 6c 75 6d 6e 20 | 66 6f 72 6d 61 74 2e 0a |-column |format..|
|00002060| 25 0a 25 20 20 46 4f 4f | 54 4e 4f 54 45 53 3a 20 |%.% FOO|TNOTES: |
|00002070| 41 73 20 69 6e 20 50 4c | 41 49 4e 2c 20 66 6f 6f |As in PL|AIN, foo|
|00002080| 74 6e 6f 74 65 73 20 75 | 73 65 20 5c 69 6e 73 65 |tnotes u|se \inse|
|00002090| 72 74 5c 66 6f 6f 74 69 | 6e 73 2e 0a 25 0a 25 20 |rt\footi|ns..%.% |
|000020a0| 20 50 41 47 45 20 4c 41 | 59 4f 55 54 20 53 57 49 | PAGE LA|YOUT SWI|
|000020b0| 54 43 48 45 53 20 41 4e | 44 20 4d 41 43 52 4f 53 |TCHES AN|D MACROS|
|000020c0| 0a 25 0a 25 20 20 20 40 | 74 77 6f 63 6f 6c 75 6d |.%.% @|twocolum|
|000020d0| 6e 20 20 20 20 20 20 3a | 20 42 6f 6f 6c 65 61 6e |n :| Boolean|
|000020e0| 2e 20 20 54 20 69 66 20 | 74 77 6f 20 63 6f 6c 75 |. T if |two colu|
|000020f0| 6d 6e 73 20 70 65 72 20 | 70 61 67 65 20 67 6c 6f |mns per |page glo|
|00002100| 62 61 6c 6c 79 2e 0a 25 | 0a 25 20 20 50 41 47 45 |bally..%|.% PAGE|
|00002110| 20 53 54 59 4c 45 20 4d | 41 43 52 4f 53 20 41 4e | STYLE M|ACROS AN|
|00002120| 44 20 53 57 49 54 43 48 | 45 53 0a 25 0a 25 20 20 |D SWITCH|ES.%.% |
|00002130| 20 5c 40 6f 64 64 68 65 | 61 64 20 20 20 20 20 20 | \@oddhe|ad |
|00002140| 20 20 3a 20 49 46 20 40 | 74 77 6f 73 69 64 65 20 | : IF @|twoside |
|00002150| 3d 20 54 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 |= T.% | |
|00002160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002170| 54 48 45 4e 20 6d 61 63 | 72 6f 20 74 6f 20 67 65 |THEN mac|ro to ge|
|00002180| 6e 65 72 61 74 65 20 68 | 65 61 64 20 6f 66 20 6f |nerate h|ead of o|
|00002190| 64 64 2d 6e 75 6d 62 65 | 72 65 64 0a 25 20 20 20 |dd-numbe|red.% |
|000021a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 70 61 67 | | pag|
|000021c0| 65 73 2e 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 |es..% | |
|000021d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021e0| 45 4c 53 45 20 6d 61 63 | 72 6f 20 74 6f 20 67 65 |ELSE mac|ro to ge|
|000021f0| 6e 65 72 61 74 65 20 68 | 65 61 64 20 6f 66 20 61 |nerate h|ead of a|
|00002200| 6c 6c 20 70 61 67 65 73 | 2e 0a 25 20 20 20 5c 40 |ll pages|..% \@|
|00002210| 65 76 65 6e 68 65 61 64 | 20 20 20 20 20 20 20 3a |evenhead| :|
|00002220| 20 49 46 20 40 74 77 6f | 73 69 64 65 20 3d 20 54 | IF @two|side = T|
|00002230| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|00002240| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 54 48 45 | | THE|
|00002250| 4e 20 6d 61 63 72 6f 20 | 74 6f 20 67 65 6e 65 72 |N macro |to gener|
|00002260| 61 74 65 20 68 65 61 64 | 20 6f 66 20 65 76 65 6e |ate head| of even|
|00002270| 2d 6e 75 6d 62 65 72 65 | 64 0a 25 20 20 20 20 20 |-numbere|d.% |
|00002280| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002290| 20 20 20 20 20 20 20 20 | 20 20 20 70 61 67 65 73 | | pages|
|000022a0| 2e 0a 25 20 20 20 5c 40 | 6f 64 64 66 6f 6f 74 20 |..% \@|oddfoot |
|000022b0| 20 20 20 20 20 20 20 3a | 20 49 46 20 40 74 77 6f | :| IF @two|
|000022c0| 73 69 64 65 20 3d 20 54 | 0a 25 20 20 20 20 20 20 |side = T|.% |
|000022d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000022e0| 20 20 20 20 20 54 48 45 | 4e 20 6d 61 63 72 6f 20 | THE|N macro |
|000022f0| 74 6f 20 67 65 6e 65 72 | 61 74 65 20 66 6f 6f 74 |to gener|ate foot|
|00002300| 20 6f 66 20 6f 64 64 2d | 6e 75 6d 62 65 72 65 64 | of odd-|numbered|
|00002310| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|00002320| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002330| 20 20 70 61 67 65 73 2e | 0a 25 20 20 20 20 20 20 | pages.|.% |
|00002340| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002350| 20 20 20 20 20 45 4c 53 | 45 20 6d 61 63 72 6f 20 | ELS|E macro |
|00002360| 74 6f 20 67 65 6e 65 72 | 61 74 65 20 66 6f 6f 74 |to gener|ate foot|
|00002370| 20 6f 66 20 61 6c 6c 20 | 70 61 67 65 73 2e 0a 25 | of all |pages..%|
|00002380| 20 20 20 5c 40 65 76 65 | 6e 66 6f 6f 74 20 20 20 | \@eve|nfoot |
|00002390| 20 20 20 20 3a 20 49 46 | 20 40 74 77 6f 73 69 64 | : IF| @twosid|
|000023a0| 65 20 3d 20 54 0a 25 20 | 20 20 20 20 20 20 20 20 |e = T.% | |
|000023b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000023c0| 20 20 54 48 45 4e 20 6d | 61 63 72 6f 20 74 6f 20 | THEN m|acro to |
|000023d0| 67 65 6e 65 72 61 74 65 | 20 66 6f 6f 74 20 6f 66 |generate| foot of|
|000023e0| 20 65 76 65 6e 2d 6e 75 | 6d 62 65 72 65 64 0a 25 | even-nu|mbered.%|
|000023f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002400| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002410| 70 61 67 65 73 2e 0a 25 | 20 20 20 40 73 70 65 63 |pages..%| @spec|
|00002420| 69 61 6c 70 61 67 65 20 | 20 20 20 3a 20 62 6f 6f |ialpage | : boo|
|00002430| 6c 65 61 6e 2e 20 20 54 | 20 69 66 20 63 75 72 72 |lean. T| if curr|
|00002440| 65 6e 74 20 70 61 67 65 | 20 69 73 20 74 6f 20 68 |ent page| is to h|
|00002450| 61 76 65 20 61 20 73 70 | 65 63 69 61 6c 0a 25 20 |ave a sp|ecial.% |
|00002460| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002470| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 66 6f | | fo|
|00002480| 72 6d 61 74 2e 0a 25 20 | 20 5c 40 73 70 65 63 69 |rmat..% | \@speci|
|00002490| 61 6c 73 74 79 6c 65 20 | 20 3a 20 49 66 20 69 74 |alstyle | : If it|
|000024a0| 73 20 76 61 6c 75 65 20 | 69 73 20 20 66 6f 6f 20 |s value |is foo |
|000024b0| 74 68 65 6e 0a 25 20 20 | 20 20 20 20 20 20 20 20 |then.% | |
|000024c0| 20 20 20 20 20 20 20 20 | 20 20 20 49 46 20 40 73 | | IF @s|
|000024d0| 70 65 63 69 61 6c 70 61 | 67 65 20 3d 20 54 0a 25 |pecialpa|ge = T.%|
|000024e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000024f0| 20 20 20 20 20 20 20 54 | 48 45 4e 20 74 68 65 20 | T|HEN the |
|00002500| 63 6f 6d 6d 61 6e 64 20 | 5c 70 73 40 66 6f 6f 20 |command |\ps@foo |
|00002510| 69 73 20 65 78 65 63 75 | 74 65 64 20 74 6f 0a 25 |is execu|ted to.%|
|00002520| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002530| 20 20 20 20 20 20 20 20 | 20 20 20 20 74 65 6d 70 | | temp|
|00002540| 6f 72 61 72 69 6c 79 20 | 72 65 73 65 74 20 74 68 |orarily |reset th|
|00002550| 65 20 70 61 67 65 20 73 | 74 79 6c 65 20 70 61 72 |e page s|tyle par|
|00002560| 61 6d 65 74 65 72 73 0a | 25 20 20 20 20 20 20 20 |ameters.|% |
|00002570| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002580| 20 20 20 20 20 62 65 66 | 6f 72 65 20 63 6f 6d 70 | bef|ore comp|
|00002590| 6f 73 69 6e 67 20 74 68 | 65 20 63 75 72 72 65 6e |osing th|e curren|
|000025a0| 74 20 70 61 67 65 2e 0a | 25 20 20 20 20 20 20 20 |t page..|% |
|000025b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000025c0| 20 20 20 20 20 54 68 69 | 73 20 63 6f 6d 6d 61 6e | Thi|s comman|
|000025d0| 64 20 73 68 6f 75 6c 64 | 20 65 78 65 63 75 74 65 |d should| execute|
|000025e0| 20 6f 6e 6c 79 20 5c 64 | 65 66 27 73 20 61 6e 64 | only \d|ef's and|
|000025f0| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|00002600| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 5c 65 | | \e|
|00002610| 64 65 66 27 73 2c 20 6d | 61 6b 69 6e 67 20 6f 6e |def's, m|aking on|
|00002620| 6c 79 20 6c 6f 63 61 6c | 20 64 65 66 69 6e 69 74 |ly local| definit|
|00002630| 69 6f 6e 73 2e 0a 25 0a | 25 20 20 46 4c 4f 41 54 |ions..%.|% FLOAT|
|00002640| 20 50 4c 41 43 45 4d 45 | 4e 54 20 50 41 52 41 4d | PLACEME|NT PARAM|
|00002650| 45 54 45 52 53 0a 25 0a | 25 20 54 68 65 20 66 6f |ETERS.%.|% The fo|
|00002660| 6c 6c 6f 77 69 6e 67 20 | 70 61 72 61 6d 65 74 65 |llowing |paramete|
|00002670| 72 73 20 61 72 65 20 73 | 65 74 20 62 79 20 74 68 |rs are s|et by th|
|00002680| 65 20 6d 61 63 72 6f 20 | 5c 40 66 6c 6f 61 74 70 |e macro |\@floatp|
|00002690| 6c 61 63 65 6d 65 6e 74 | 2e 0a 25 20 57 68 65 6e |lacement|..% When|
|000026a0| 20 5c 40 66 6c 6f 61 74 | 70 6c 61 63 65 6d 65 6e | \@float|placemen|
|000026b0| 74 20 69 73 20 63 61 6c | 6c 65 64 2c 0a 25 20 5c |t is cal|led,.% \|
|000026c0| 40 63 6f 6c 68 74 20 69 | 73 20 74 68 65 20 68 65 |@colht i|s the he|
|000026d0| 69 67 68 74 20 6f 66 20 | 74 68 65 20 70 61 67 65 |ight of |the page|
|000026e0| 20 6f 72 20 63 6f 6c 75 | 6d 6e 20 62 65 69 6e 67 | or colu|mn being|
|000026f0| 20 62 75 69 6c 74 2e 20 | 20 49 2e 65 2e 3a 0a 25 | built. | I.e.:.%|
|00002700| 20 20 20 20 20 20 20 20 | 20 2a 20 46 6f 72 20 73 | | * For s|
|00002710| 69 6e 67 6c 65 2d 63 6f | 6c 75 6d 6e 20 70 61 67 |ingle-co|lumn pag|
|00002720| 65 20 69 74 20 65 71 75 | 61 6c 73 20 5c 74 65 78 |e it equ|als \tex|
|00002730| 74 68 65 69 67 68 74 2e | 0a 25 20 20 20 20 20 20 |theight.|.% |
|00002740| 20 20 20 2a 20 46 6f 72 | 20 64 6f 75 62 6c 65 2d | * For| double-|
|00002750| 63 6f 6c 75 6d 6e 20 70 | 61 67 65 20 69 74 20 65 |column p|age it e|
|00002760| 71 75 61 6c 73 20 5c 74 | 65 78 74 68 65 69 67 68 |quals \t|extheigh|
|00002770| 74 20 2d 20 68 65 69 67 | 68 74 0a 25 20 20 20 20 |t - heig|ht.% |
|00002780| 20 20 20 20 20 20 20 6f | 66 20 64 6f 75 62 6c 65 | o|f double|
|00002790| 2d 63 6f 6c 75 6d 6e 20 | 66 6c 6f 61 74 73 20 6f |-column |floats o|
|000027a0| 6e 20 70 61 67 65 2e 0a | 25 20 4e 6f 74 65 20 74 |n page..|% Note t|
|000027b0| 68 61 74 20 73 6f 6d 65 | 20 61 72 65 20 73 65 74 |hat some| are set|
|000027c0| 20 67 6c 6f 62 61 6c 6c | 79 20 61 6e 64 20 73 6f | globall|y and so|
|000027d0| 6d 65 20 6c 6f 63 61 6c | 6c 79 3a 0a 25 20 20 20 |me local|ly:.% |
|000027e0| 20 5c 40 74 6f 70 6e 75 | 6d 20 20 3a 3d 47 20 4d | \@topnu|m :=G M|
|000027f0| 61 78 69 6d 75 6d 20 6e | 75 6d 62 65 72 20 6f 66 |aximum n|umber of|
|00002800| 20 66 6c 6f 61 74 73 20 | 61 6c 6c 6f 77 65 64 20 | floats |allowed |
|00002810| 6f 6e 20 74 68 65 20 74 | 6f 70 20 6f 66 20 61 0a |on the t|op of a.|
|00002820| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |% | |
|00002830| 20 20 20 63 6f 6c 75 6d | 6e 2e 0a 25 20 20 20 20 | colum|n..% |
|00002840| 5c 40 74 6f 70 72 6f 6f | 6d 20 3a 3d 47 20 4d 61 |\@toproo|m :=G Ma|
|00002850| 78 69 6d 75 6d 20 61 6d | 6f 75 6e 74 20 6f 66 20 |ximum am|ount of |
|00002860| 74 6f 70 20 6f 66 20 63 | 6f 6c 75 6d 6e 20 64 65 |top of c|olumn de|
|00002870| 76 6f 74 65 64 20 74 6f | 20 66 6c 6f 61 74 73 2d |voted to| floats-|
|00002880| 2d 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |-.% | |
|00002890| 20 20 20 20 20 65 78 63 | 6c 75 64 69 6e 67 20 5c | exc|luding \|
|000028a0| 74 65 78 74 66 6c 6f 61 | 74 73 65 70 20 73 65 70 |textfloa|tsep sep|
|000028b0| 61 72 61 74 69 6f 6e 20 | 62 65 6c 6f 77 20 74 68 |aration |below th|
|000028c0| 65 20 66 6c 6f 61 74 73 | 0a 25 20 20 20 20 20 20 |e floats|.% |
|000028d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 61 6e 64 20 | | and |
|000028e0| 5c 66 6c 6f 61 74 73 65 | 70 20 73 65 70 61 72 61 |\floatse|p separa|
|000028f0| 74 69 6f 6e 20 62 65 74 | 77 65 65 6e 20 74 68 65 |tion bet|ween the|
|00002900| 6d 2e 20 20 46 6f 72 0a | 25 20 20 20 20 20 20 20 |m. For.|% |
|00002910| 20 20 20 20 20 20 20 20 | 20 20 20 74 77 6f 2d 63 | | two-c|
|00002920| 6f 6c 75 6d 6e 20 6f 75 | 74 70 75 74 2c 20 73 68 |olumn ou|tput, sh|
|00002930| 6f 75 6c 64 20 62 65 20 | 63 6f 6d 70 75 74 65 64 |ould be |computed|
|00002940| 20 61 73 20 61 20 66 75 | 6e 63 74 69 6f 6e 0a 25 | as a fu|nction.%|
|00002950| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002960| 20 20 6f 66 20 5c 40 63 | 6f 6c 68 74 2e 0a 25 20 | of \@c|olht..% |
|00002970| 20 20 20 5c 40 62 6f 74 | 6e 75 6d 2c 20 5c 40 62 | \@bot|num, \@b|
|00002980| 6f 74 72 6f 6f 6d 0a 25 | 20 20 20 20 20 20 20 20 |otroom.%| |
|00002990| 20 20 20 20 20 20 20 20 | 3a 20 41 6e 61 6c 6f 67 | |: Analog|
|000029a0| 6f 75 73 20 74 6f 20 61 | 62 6f 76 65 2e 0a 25 20 |ous to a|bove..% |
|000029b0| 20 20 20 5c 40 63 6f 6c | 6e 75 6d 20 20 3a 3d 47 | \@col|num :=G|
|000029c0| 20 4d 61 78 69 6d 75 6d | 20 6e 75 6d 62 65 72 20 | Maximum| number |
|000029d0| 6f 66 20 66 6c 6f 61 74 | 73 20 61 6c 6c 6f 77 65 |of float|s allowe|
|000029e0| 64 20 69 6e 20 61 20 63 | 6f 6c 75 6d 6e 2c 0a 25 |d in a c|olumn,.%|
|000029f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a00| 20 20 69 6e 63 6c 75 64 | 69 6e 67 20 69 6e 2d 74 | includ|ing in-t|
|00002a10| 65 78 74 20 66 6c 6f 61 | 74 73 2e 0a 25 20 20 20 |ext floa|ts..% |
|00002a20| 20 5c 40 74 65 78 74 6d | 69 6e 20 3a 3d 4c 20 4d | \@textm|in :=L M|
|00002a30| 69 6e 69 6d 75 6d 20 61 | 6d 6f 75 6e 74 20 6f 66 |inimum a|mount of|
|00002a40| 20 74 65 78 74 20 28 65 | 78 63 6c 75 64 69 6e 67 | text (e|xcluding|
|00002a50| 20 66 6f 6f 74 6e 6f 74 | 65 73 29 20 74 68 61 74 | footnot|es) that|
|00002a60| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|00002a70| 20 20 20 20 6d 75 73 74 | 20 61 70 70 65 61 72 20 | must| appear |
|00002a80| 6f 6e 20 61 20 74 65 78 | 74 20 70 61 67 65 2e 0a |on a tex|t page..|
|00002a90| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |% | |
|00002aa0| 20 20 20 20 20 20 25 25 | 20 32 37 20 53 65 70 20 | %%| 27 Sep |
|00002ab0| 38 35 20 3a 20 6d 61 64 | 65 20 6c 6f 63 61 6c 20 |85 : mad|e local |
|00002ac0| 74 6f 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 |to.% | |
|00002ad0| 20 20 20 20 20 20 20 20 | 20 25 25 20 5c 40 61 64 | | %% \@ad|
|00002ae0| 64 74 6f 63 75 72 63 6f | 6c 20 61 6e 64 20 5c 40 |dtocurco|l and \@|
|00002af0| 61 64 64 74 6f 6e 65 78 | 74 63 6f 6c 0a 25 20 20 |addtonex|tcol.% |
|00002b00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b10| 49 74 20 69 73 20 6e 6f | 77 20 61 6c 73 6f 20 75 |It is no|w also u|
|00002b20| 73 65 64 20 6c 6f 63 61 | 6c 6c 79 20 69 6e 20 70 |sed loca|lly in p|
|00002b30| 72 6f 63 65 73 73 69 6e | 67 20 64 6f 75 62 6c 65 |rocessin|g double|
|00002b40| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|00002b50| 20 20 20 20 66 6c 6f 61 | 74 73 2e 0a 25 20 20 20 | floa|ts..% |
|00002b60| 20 5c 40 66 70 6d 69 6e | 20 20 20 3a 3d 4c 20 4d | \@fpmin| :=L M|
|00002b70| 69 6e 69 6d 75 6d 20 68 | 65 69 67 68 74 20 6f 66 |inimum h|eight of|
|00002b80| 20 66 6c 6f 61 74 73 20 | 69 6e 20 61 20 66 6c 6f | floats |in a flo|
|00002b90| 61 74 20 63 6f 6c 75 6d | 6e 2e 0a 25 0a 25 20 54 |at colum|n..%.% T|
|00002ba0| 68 65 20 6d 61 63 72 6f | 20 5c 40 64 62 6c 66 6c |he macro| \@dblfl|
|00002bb0| 6f 61 74 70 6c 61 63 65 | 6d 65 6e 74 20 73 65 74 |oatplace|ment set|
|00002bc0| 73 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |s the fo|llowing |
|00002bd0| 70 61 72 61 6d 65 74 65 | 72 73 2e 0a 25 20 20 20 |paramete|rs..% |
|00002be0| 20 5c 40 64 62 6c 74 6f | 70 6e 75 6d 20 20 3a 3d | \@dblto|pnum :=|
|00002bf0| 47 20 4d 61 78 69 6d 75 | 6d 20 6e 75 6d 62 65 72 |G Maximu|m number|
|00002c00| 20 6f 66 20 64 6f 75 62 | 6c 65 2d 63 6f 6c 75 6d | of doub|le-colum|
|00002c10| 6e 20 66 6c 6f 61 74 73 | 20 61 6c 6c 6f 77 65 64 |n floats| allowed|
|00002c20| 20 61 74 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 | at.% | |
|00002c30| 20 20 20 20 20 20 20 20 | 20 20 74 68 65 20 74 6f | | the to|
|00002c40| 70 20 6f 66 20 61 20 74 | 77 6f 2d 63 6f 6c 75 6d |p of a t|wo-colum|
|00002c50| 6e 20 70 61 67 65 2e 0a | 25 20 20 20 20 5c 40 64 |n page..|% \@d|
|00002c60| 62 6c 74 6f 70 72 6f 6f | 6d 20 3a 3d 47 20 4d 61 |bltoproo|m :=G Ma|
|00002c70| 78 69 6d 75 6d 20 68 65 | 69 67 68 74 20 6f 66 20 |ximum he|ight of |
|00002c80| 64 6f 75 62 6c 65 2d 63 | 6f 6c 75 6d 6e 20 66 6c |double-c|olumn fl|
|00002c90| 6f 61 74 73 20 61 6c 6c | 6f 77 65 64 20 61 74 0a |oats all|owed at.|
|00002ca0| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |% | |
|00002cb0| 20 20 20 20 20 20 74 6f | 70 20 6f 66 20 74 77 6f | to|p of two|
|00002cc0| 2d 63 6f 6c 75 6d 6e 20 | 70 61 67 65 2e 0a 25 20 |-column |page..% |
|00002cd0| 20 20 20 5c 40 66 70 6d | 69 6e 20 20 20 20 20 20 | \@fpm|in |
|00002ce0| 3a 3d 4c 20 4d 69 6e 69 | 6d 75 6d 20 68 65 69 67 |:=L Mini|mum heig|
|00002cf0| 68 74 20 6f 66 20 66 6c | 6f 61 74 73 20 69 6e 20 |ht of fl|oats in |
|00002d00| 61 20 66 6c 6f 61 74 20 | 63 6f 6c 75 6d 6e 2e 0a |a float |column..|
|00002d10| 25 20 49 74 20 73 68 6f | 75 6c 64 20 61 6c 73 6f |% It sho|uld also|
|00002d20| 20 70 65 72 66 6f 72 6d | 20 74 68 65 20 66 6f 6c | perform| the fol|
|00002d30| 6c 6f 77 69 6e 67 20 6c | 6f 63 61 6c 20 61 73 73 |lowing l|ocal ass|
|00002d40| 69 67 6e 6d 65 6e 74 73 | 20 77 68 65 72 65 20 6e |ignments| where n|
|00002d50| 65 63 65 73 73 61 72 79 | 0a 25 20 2d 2d 20 69 2e |ecessary|.% -- i.|
|00002d60| 65 2e 2c 20 77 68 65 72 | 65 20 74 68 65 20 6e 65 |e., wher|e the ne|
|00002d70| 77 20 76 61 6c 75 65 20 | 64 69 66 66 65 72 73 20 |w value |differs |
|00002d80| 66 72 6f 6d 20 74 68 65 | 20 6f 6c 64 20 6f 6e 65 |from the| old one|
|00002d90| 3a 0a 25 20 20 20 20 20 | 20 5c 40 66 70 74 6f 70 |:.% | \@fptop|
|00002da0| 20 20 20 20 20 20 20 3a | 3d 4c 20 5c 40 64 62 6c | :|=L \@dbl|
|00002db0| 66 70 74 6f 70 0a 25 20 | 20 20 20 20 20 5c 40 66 |fptop.% | \@f|
|00002dc0| 70 73 65 70 20 20 20 20 | 20 20 20 3a 3d 4c 20 5c |psep | :=L \|
|00002dd0| 40 64 62 6c 66 70 73 65 | 70 0a 25 20 20 20 20 20 |@dblfpse|p.% |
|00002de0| 20 5c 40 66 70 62 6f 74 | 20 20 20 20 20 20 20 3a | \@fpbot| :|
|00002df0| 3d 4c 20 5c 40 64 62 6c | 66 70 62 6f 74 0a 25 0a |=L \@dbl|fpbot.%.|
|00002e00| 25 20 20 4f 55 54 50 55 | 54 20 52 4f 55 54 49 4e |% OUTPU|T ROUTIN|
|00002e10| 45 20 56 41 52 49 41 42 | 4c 45 53 0a 25 0a 25 20 |E VARIAB|LES.%.% |
|00002e20| 20 5c 40 63 6f 6c 68 74 | 20 3a 20 54 68 65 20 74 | \@colht| : The t|
|00002e30| 6f 74 61 6c 20 68 65 69 | 67 68 74 20 6f 66 20 74 |otal hei|ght of t|
|00002e40| 68 65 20 63 75 72 72 65 | 6e 74 20 63 6f 6c 75 6d |he curre|nt colum|
|00002e50| 6e 2e 20 20 49 6e 20 73 | 69 6e 67 6c 65 20 63 6f |n. In s|ingle co|
|00002e60| 6c 75 6d 6e 0a 25 20 20 | 20 20 20 20 20 20 20 20 |lumn.% | |
|00002e70| 20 20 73 74 79 6c 65 2c | 20 69 74 20 65 71 75 61 | style,| it equa|
|00002e80| 6c 73 20 5c 74 65 78 74 | 68 65 69 67 68 74 2e 20 |ls \text|height. |
|00002e90| 20 49 6e 20 74 77 6f 2d | 63 6f 6c 75 6d 6e 20 73 | In two-|column s|
|00002ea0| 74 79 6c 65 2c 20 69 74 | 20 69 73 0a 25 20 20 20 |tyle, it| is.% |
|00002eb0| 20 20 20 20 20 20 20 20 | 20 5c 74 65 78 74 68 65 | | \texthe|
|00002ec0| 69 67 68 74 20 6d 69 6e | 75 73 20 74 68 65 20 68 |ight min|us the h|
|00002ed0| 65 69 67 68 74 20 6f 66 | 20 74 68 65 20 64 6f 75 |eight of| the dou|
|00002ee0| 62 6c 65 2d 63 6f 6c 75 | 6d 6e 20 66 6c 6f 61 74 |ble-colu|mn float|
|00002ef0| 73 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 6f |s.% | o|
|00002f00| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 70 61 |n the cu|rrent pa|
|00002f10| 67 65 2e 20 20 4d 55 53 | 54 20 42 45 20 49 4e 49 |ge. MUS|T BE INI|
|00002f20| 54 49 41 4c 49 5a 45 44 | 20 54 4f 20 5c 74 65 78 |TIALIZED| TO \tex|
|00002f30| 74 68 65 69 67 68 74 2e | 0a 25 0a 25 20 20 5c 40 |theight.|.%.% \@|
|00002f40| 63 6f 6c 72 6f 6f 6d 20 | 3a 20 54 68 65 20 68 65 |colroom |: The he|
|00002f50| 69 67 68 74 20 61 76 61 | 69 6c 61 62 6c 65 20 69 |ight ava|ilable i|
|00002f60| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 63 6f |n the cu|rrent co|
|00002f70| 6c 75 6d 6e 20 66 6f 72 | 20 74 65 78 74 20 61 6e |lumn for| text an|
|00002f80| 64 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |d.% | |
|00002f90| 20 66 6f 6f 74 6e 6f 74 | 65 73 2e 20 20 49 74 20 | footnot|es. It |
|00002fa0| 65 71 75 61 6c 73 20 5c | 40 63 6f 6c 68 74 20 6d |equals \|@colht m|
|00002fb0| 69 6e 75 73 20 74 68 65 | 20 68 65 69 67 68 74 20 |inus the| height |
|00002fc0| 6f 66 20 61 6c 6c 0a 25 | 20 20 20 20 20 20 20 20 |of all.%| |
|00002fd0| 20 20 20 20 20 20 66 6c | 6f 61 74 73 20 63 6f 6d | fl|oats com|
|00002fe0| 6d 69 74 74 65 64 20 74 | 6f 20 74 68 65 20 74 6f |mitted t|o the to|
|00002ff0| 70 20 61 6e 64 20 62 6f | 74 74 6f 6d 20 6f 66 20 |p and bo|ttom of |
|00003000| 74 68 65 20 63 75 72 72 | 65 6e 74 0a 25 20 20 20 |the curr|ent.% |
|00003010| 20 20 20 20 20 20 20 20 | 20 20 20 63 6f 6c 75 6d | | colum|
|00003020| 6e 2e 0a 25 0a 25 20 20 | 5c 40 74 65 78 74 66 6c |n..%.% |\@textfl|
|00003030| 6f 61 74 73 68 65 69 67 | 68 74 20 3a 20 54 68 65 |oatsheig|ht : The|
|00003040| 20 74 6f 74 61 6c 20 68 | 65 69 67 68 74 20 6f 66 | total h|eight of|
|00003050| 20 69 6e 2d 74 65 78 74 | 20 66 6c 6f 61 74 73 20 | in-text| floats |
|00003060| 6f 6e 20 74 68 65 0a 25 | 20 20 20 20 20 20 20 20 |on the.%| |
|00003070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 | | c|
|00003080| 75 72 72 65 6e 74 20 70 | 61 67 65 2e 0a 25 0a 25 |urrent p|age..%.%|
|00003090| 20 20 5c 66 6f 6f 74 69 | 6e 73 20 3a 20 46 6f 6f | \footi|ns : Foo|
|000030a0| 74 6e 6f 74 65 20 69 6e | 73 65 72 74 69 6f 6e 20 |tnote in|sertion |
|000030b0| 6e 75 6d 62 65 72 2e 0a | 25 0a 25 20 20 5c 40 6d |number..|%.% \@m|
|000030c0| 61 78 64 65 70 74 68 20 | 3a 20 53 61 76 65 64 20 |axdepth |: Saved |
|000030d0| 76 61 6c 75 65 20 6f 66 | 20 54 65 58 27 73 20 5c |value of| TeX's \|
|000030e0| 6d 61 78 64 65 70 74 68 | 2e 20 20 4d 75 73 74 20 |maxdepth|. Must |
|000030f0| 62 65 20 73 65 74 0a 25 | 20 20 20 20 20 20 20 20 |be set.%| |
|00003100| 20 20 20 20 20 20 20 77 | 68 65 6e 20 61 6e 79 20 | w|hen any |
|00003110| 72 6f 75 74 69 6e 65 20 | 73 65 74 73 20 5c 6d 61 |routine |sets \ma|
|00003120| 78 64 65 70 74 68 2e 0a | 25 0a 25 20 20 20 20 20 |xdepth..|%.% |
|00003130| 20 20 20 20 20 20 20 43 | 41 4c 4c 49 4e 47 20 54 | C|ALLING T|
|00003140| 48 45 20 4f 55 54 50 55 | 54 20 52 4f 55 54 49 4e |HE OUTPU|T ROUTIN|
|00003150| 45 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 2d |E.% | -|
|00003160| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003170| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0a 25 0a 25 20 54 68 |--------|-.%.% Th|
|00003180| 65 20 6f 75 74 70 75 74 | 20 72 6f 75 74 69 6e 65 |e output| routine|
|00003190| 20 69 73 20 63 61 6c 6c | 65 64 20 65 69 74 68 65 | is call|ed eithe|
|000031a0| 72 20 62 79 20 54 65 58 | 27 73 20 6e 6f 72 6d 61 |r by TeX|'s norma|
|000031b0| 6c 20 70 61 67 65 2d 62 | 72 65 61 6b 69 6e 67 0a |l page-b|reaking.|
|000031c0| 25 20 6d 65 63 68 61 6e | 69 73 6d 2c 20 6f 72 20 |% mechan|ism, or |
|000031d0| 62 79 20 61 20 6d 61 63 | 72 6f 20 70 75 74 74 69 |by a mac|ro putti|
|000031e0| 6e 67 20 61 20 70 65 6e | 61 6c 74 79 20 3c 20 6f |ng a pen|alty < o|
|000031f0| 72 20 3d 20 2d 31 30 30 | 30 30 20 69 6e 20 74 68 |r = -100|00 in th|
|00003200| 65 20 6f 75 74 70 75 74 | 0a 25 20 6c 69 73 74 2e |e output|.% list.|
|00003210| 20 20 49 6e 20 74 68 65 | 20 6c 61 74 74 65 72 20 | In the| latter |
|00003220| 63 61 73 65 2c 20 74 68 | 65 20 70 65 6e 61 6c 74 |case, th|e penalt|
|00003230| 79 20 69 6e 64 69 63 61 | 74 65 73 20 77 68 79 20 |y indica|tes why |
|00003240| 74 68 65 20 6f 75 74 70 | 75 74 0a 25 20 72 6f 75 |the outp|ut.% rou|
|00003250| 74 69 6e 65 20 77 61 73 | 20 63 61 6c 6c 65 64 2c |tine was| called,|
|00003260| 20 75 73 69 6e 67 20 74 | 68 65 20 66 6f 6c 6c 6f | using t|he follo|
|00003270| 77 69 6e 67 20 63 6f 64 | 65 2e 0a 25 0a 25 20 20 |wing cod|e..%.% |
|00003280| 20 70 65 6e 61 6c 74 79 | 20 20 20 72 65 61 73 6f | penalty| reaso|
|00003290| 6e 0a 25 20 20 20 2d 2d | 2d 2d 2d 2d 2d 20 20 20 |n.% --|----- |
|000032a0| 2d 2d 2d 2d 2d 2d 0a 25 | 20 20 20 2d 31 30 30 30 |------.%| -1000|
|000032b0| 30 20 20 20 20 5c 70 61 | 67 65 62 72 65 61 6b 0a |0 \pa|gebreak.|
|000032c0| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 5c 6e |% | \n|
|000032d0| 65 77 70 61 67 65 0a 25 | 20 20 20 2d 31 30 30 30 |ewpage.%| -1000|
|000032e0| 31 20 20 20 20 5c 63 6c | 65 61 72 70 61 67 65 20 |1 \cl|earpage |
|000032f0| 28 5c 70 65 6e 61 6c 74 | 79 20 2d 31 30 30 30 30 |(\penalt|y -10000|
|00003300| 20 5c 76 62 6f 78 7b 7d | 20 5c 70 65 6e 61 6c 74 | \vbox{}| \penalt|
|00003310| 79 20 2d 31 30 30 30 31 | 29 0a 25 20 20 20 2d 31 |y -10001|).% -1|
|00003320| 30 30 30 32 20 20 20 20 | 66 6c 6f 61 74 20 69 6e |0002 |float in|
|00003330| 73 65 72 74 69 6f 6e 2c | 20 63 61 6c 6c 65 64 20 |sertion,| called |
|00003340| 66 72 6f 6d 20 68 6f 72 | 69 7a 6f 6e 74 61 6c 20 |from hor|izontal |
|00003350| 6d 6f 64 65 0a 25 20 20 | 20 2d 31 30 30 30 33 20 |mode.% | -10003 |
|00003360| 20 20 20 66 6c 6f 61 74 | 20 69 6e 73 65 72 74 69 | float| inserti|
|00003370| 6f 6e 2c 20 63 61 6c 6c | 65 64 20 66 72 6f 6d 20 |on, call|ed from |
|00003380| 76 65 72 74 69 63 61 6c | 20 6d 6f 64 65 2e 0a 25 |vertical| mode..%|
|00003390| 20 20 20 2d 31 30 30 30 | 34 20 20 20 20 66 6c 6f | -1000|4 flo|
|000033a0| 61 74 20 69 6e 73 65 72 | 74 69 6f 6e 2e 0a 25 0a |at inser|tion..%.|
|000033b0| 25 20 4e 6f 74 65 3a 20 | 41 20 66 6c 6f 61 74 20 |% Note: |A float |
|000033c0| 6f 72 20 6d 61 72 67 69 | 6e 70 61 72 20 70 75 74 |or margi|npar put|
|000033d0| 73 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |s the fo|llowing |
|000033e0| 73 65 71 75 65 6e 63 65 | 20 69 6e 20 74 68 65 20 |sequence| in the |
|000033f0| 6f 75 74 70 75 74 0a 25 | 20 20 20 20 20 20 20 6c |output.%| l|
|00003400| 69 73 74 3a 20 20 28 69 | 29 20 61 20 70 65 6e 61 |ist: (i|) a pena|
|00003410| 6c 74 79 20 6f 66 20 2d | 31 30 30 30 34 2c 0a 25 |lty of -|10004,.%|
|00003420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 28 69 69 | | (ii|
|00003430| 29 20 61 20 6e 75 6c 6c | 20 5c 76 62 6f 78 0a 25 |) a null| \vbox.%|
|00003440| 20 20 20 20 20 20 20 20 | 20 20 20 20 28 69 69 69 | | (iii|
|00003450| 29 20 61 20 70 65 6e 61 | 6c 74 79 20 6f 66 20 2d |) a pena|lty of -|
|00003460| 31 30 30 30 32 20 6f 72 | 20 2d 31 30 30 30 33 2e |10002 or| -10003.|
|00003470| 0a 25 20 20 20 20 20 20 | 20 54 68 69 73 20 73 6f |.% | This so|
|00003480| 6c 76 65 73 20 74 77 6f | 20 73 70 65 63 69 61 6c |lves two| special|
|00003490| 20 70 72 6f 62 6c 65 6d | 73 3a 0a 25 20 20 20 20 | problem|s:.% |
|000034a0| 20 20 20 20 20 31 2e 20 | 49 66 20 74 68 65 20 66 | 1. |If the f|
|000034b0| 6c 6f 61 74 20 63 6f 6d | 65 73 20 72 69 67 68 74 |loat com|es right|
|000034c0| 20 61 66 74 65 72 20 61 | 20 5c 6e 65 77 70 61 67 | after a| \newpag|
|000034d0| 65 20 6f 72 20 5c 63 6c | 65 61 72 70 61 67 65 2c |e or \cl|earpage,|
|000034e0| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 74 68 |.% | th|
|000034f0| 65 6e 20 74 68 65 20 66 | 69 72 73 74 20 70 65 6e |en the f|irst pen|
|00003500| 61 6c 74 79 20 69 73 20 | 69 67 6e 6f 72 65 64 2c |alty is |ignored,|
|00003510| 20 62 75 74 20 74 68 65 | 20 73 65 63 6f 6e 64 20 | but the| second |
|00003520| 6f 6e 65 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 |one.% | |
|00003530| 20 69 6e 76 6f 6b 65 73 | 20 74 68 65 20 6f 75 74 | invokes| the out|
|00003540| 70 75 74 20 72 6f 75 74 | 69 6e 65 2e 0a 25 20 20 |put rout|ine..% |
|00003550| 20 20 20 20 20 20 20 32 | 2e 20 49 66 20 74 68 65 | 2|. If the|
|00003560| 72 65 20 69 73 20 61 20 | 73 70 6c 69 74 20 66 6f |re is a |split fo|
|00003570| 6f 74 6e 6f 74 65 20 6f | 6e 20 74 68 65 20 70 61 |otnote o|n the pa|
|00003580| 67 65 2c 20 74 68 65 20 | 73 65 63 6f 6e 64 20 27 |ge, the |second '|
|00003590| 70 61 67 65 27 0a 25 20 | 20 20 20 20 20 20 20 20 |page'.% | |
|000035a0| 20 20 20 70 75 74 73 20 | 6f 75 74 20 74 68 65 20 | puts |out the |
|000035b0| 72 65 73 74 20 6f 66 20 | 74 68 65 20 66 6f 6f 74 |rest of |the foot|
|000035c0| 6e 6f 74 65 2e 0a 25 0a | 25 20 20 20 20 20 20 20 |note..%.|% |
|000035d0| 20 20 20 20 20 20 54 48 | 45 20 4f 55 54 50 55 54 | TH|E OUTPUT|
|000035e0| 20 52 4f 55 54 49 4e 45 | 0a 25 20 20 20 20 20 20 | ROUTINE|.% |
|000035f0| 20 20 20 20 20 20 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -|--------|
|00003600| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0a 25 0a 25 20 46 55 |--------|-.%.% FU|
|00003610| 4e 43 54 49 4f 4e 53 20 | 55 53 45 44 20 49 4e 20 |NCTIONS |USED IN |
|00003620| 54 48 45 20 4f 55 54 50 | 55 54 20 52 4f 55 54 49 |THE OUTP|UT ROUTI|
|00003630| 4e 45 3a 0a 25 0a 25 20 | 5c 40 6f 75 74 70 75 74 |NE:.%.% |\@output|
|00003640| 70 61 67 65 20 3a 20 50 | 72 6f 64 75 63 65 73 20 |page : P|roduces |
|00003650| 61 6e 20 6f 75 74 70 75 | 74 20 70 61 67 65 20 77 |an outpu|t page w|
|00003660| 69 74 68 20 74 68 65 20 | 63 6f 6e 74 65 6e 74 73 |ith the |contents|
|00003670| 20 6f 66 20 62 6f 78 0a | 25 20 20 20 20 20 20 20 | of box.|% |
|00003680| 20 20 20 20 20 20 20 5c | 40 6f 75 74 70 75 74 62 | \|@outputb|
|00003690| 6f 78 20 61 73 20 74 68 | 65 20 74 65 78 74 20 70 |ox as th|e text p|
|000036a0| 61 72 74 2e 0a 25 20 20 | 20 20 20 20 20 20 20 20 |art..% | |
|000036b0| 20 20 20 20 41 6c 73 6f | 20 73 65 74 73 20 5c 40 | Also| sets \@|
|000036c0| 63 6f 6c 68 74 20 3a 3d | 47 20 5c 74 65 78 74 68 |colht :=|G \texth|
|000036d0| 65 69 67 68 74 2e 0a 25 | 20 20 20 20 20 20 20 20 |eight..%| |
|000036e0| 20 20 20 20 20 20 54 68 | 65 20 70 61 67 65 20 73 | Th|e page s|
|000036f0| 74 79 6c 65 20 69 73 20 | 64 65 74 65 72 6d 69 6e |tyle is |determin|
|00003700| 65 64 20 61 73 20 66 6f | 6c 6c 6f 77 73 2e 0a 25 |ed as fo|llows..%|
|00003710| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003720| 49 46 20 20 40 74 68 69 | 73 70 61 67 65 73 74 79 |IF @thi|spagesty|
|00003730| 6c 65 20 3d 20 74 72 75 | 65 0a 25 20 20 20 20 20 |le = tru|e.% |
|00003740| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 54 48 45 | | THE|
|00003750| 4e 20 20 75 73 65 20 5c | 74 68 69 73 70 61 67 65 |N use \|thispage|
|00003760| 73 74 79 6c 65 20 73 74 | 79 6c 65 0a 25 20 20 20 |style st|yle.% |
|00003770| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 45 | | E|
|00003780| 4c 53 45 20 20 75 73 65 | 20 6f 72 64 69 6e 61 72 |LSE use| ordinar|
|00003790| 79 20 70 61 67 65 20 73 | 74 79 6c 65 2e 0a 25 0a |y page s|tyle..%.|
|000037a0| 25 20 5c 40 74 72 79 66 | 63 6f 6c 75 6d 6e 5c 46 |% \@tryf|column\F|
|000037b0| 4c 49 53 54 20 3a 20 54 | 72 69 65 73 20 74 6f 20 |LIST : T|ries to |
|000037c0| 66 6f 72 6d 20 61 20 66 | 6c 6f 61 74 20 63 6f 6c |form a f|loat col|
|000037d0| 75 6d 6e 20 63 6f 6d 70 | 6f 73 65 64 20 6f 66 20 |umn comp|osed of |
|000037e0| 66 6c 6f 61 74 73 0a 25 | 20 20 20 20 20 20 20 20 |floats.%| |
|000037f0| 20 66 72 6f 6d 20 5c 46 | 4c 49 53 54 20 28 69 66 | from \F|LIST (if|
|00003800| 20 6e 6f 6e 65 6d 70 74 | 79 29 20 77 69 74 68 20 | nonempt|y) with |
|00003810| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 70 61 |the foll|owing pa|
|00003820| 72 61 6d 65 74 65 72 73 | 3a 0a 25 20 20 20 20 20 |rameters|:.% |
|00003830| 20 20 20 20 20 20 20 20 | 20 20 20 5c 40 63 6f 6c | | \@col|
|00003840| 68 74 20 3a 20 68 65 69 | 67 68 74 20 6f 66 20 62 |ht : hei|ght of b|
|00003850| 6f 78 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 |ox.% | |
|00003860| 20 20 20 20 5c 40 66 70 | 6d 69 6e 20 3a 20 6d 69 | \@fp|min : mi|
|00003870| 6e 69 6d 75 6d 20 68 65 | 69 67 68 74 20 6f 66 20 |nimum he|ight of |
|00003880| 66 6c 6f 61 74 73 20 69 | 6e 20 74 68 65 20 62 6f |floats i|n the bo|
|00003890| 78 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |x.% | |
|000038a0| 20 20 20 5c 40 66 70 73 | 65 70 20 3a 20 69 6e 74 | \@fps|ep : int|
|000038b0| 65 72 66 6c 6f 61 74 20 | 73 70 61 63 65 0a 25 20 |erfloat |space.% |
|000038c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 5c | | \|
|000038d0| 40 66 70 74 6f 70 20 3a | 20 67 6c 75 65 20 61 74 |@fptop :| glue at|
|000038e0| 20 74 6f 70 20 6f 66 20 | 62 6f 78 0a 25 20 20 20 | top of |box.% |
|000038f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 5c 40 66 | | \@f|
|00003900| 70 62 6f 74 20 3a 20 67 | 6c 75 65 20 61 74 20 62 |pbot : g|lue at b|
|00003910| 6f 74 74 6f 6d 20 6f 66 | 20 62 6f 78 2e 0a 25 20 |ottom of| box..% |
|00003920| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 49 66 20 | | If |
|00003930| 69 74 20 73 75 63 63 65 | 65 64 73 2c 20 74 68 65 |it succe|eds, the|
|00003940| 6e 20 69 74 20 64 6f 65 | 73 20 74 68 65 20 66 6f |n it doe|s the fo|
|00003950| 6c 6c 6f 77 69 6e 67 3a | 0a 25 20 20 20 20 20 20 |llowing:|.% |
|00003960| 20 20 20 20 20 20 20 20 | 20 20 2a 20 5c 40 6f 75 | | * \@ou|
|00003970| 74 70 75 74 62 6f 78 20 | 3a 3d 4c 20 74 68 65 20 |tputbox |:=L the |
|00003980| 63 6f 6d 70 6f 73 65 64 | 20 66 6c 6f 61 74 20 62 |composed| float b|
|00003990| 6f 78 2e 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 |ox..% | |
|000039a0| 20 20 20 20 20 2a 20 40 | 66 63 6f 6c 6d 61 64 65 | * @|fcolmade|
|000039b0| 20 20 20 3a 3d 47 20 74 | 72 75 65 0a 25 20 20 20 | :=G t|rue.% |
|000039c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 20 5c | | * \|
|000039d0| 46 4c 49 53 54 20 20 20 | 20 20 20 3a 3d 47 20 5c |FLIST | :=G \|
|000039e0| 46 4c 49 53 54 20 2d 20 | 66 6c 6f 61 74 73 20 70 |FLIST - |floats p|
|000039f0| 75 74 20 69 6e 20 62 6f | 78 0a 25 20 20 20 20 20 |ut in bo|x.% |
|00003a00| 20 20 20 20 20 20 20 20 | 20 20 20 2a 20 5c 40 66 | | * \@f|
|00003a10| 72 65 65 6c 69 73 74 20 | 20 3a 3d 47 20 5c 40 66 |reelist | :=G \@f|
|00003a20| 72 65 65 6c 69 73 74 20 | 2b 20 66 6c 6f 61 74 73 |reelist |+ floats|
|00003a30| 20 70 75 74 20 69 6e 20 | 62 6f 78 0a 25 20 20 20 | put in |box.% |
|00003a40| 20 20 20 20 20 20 20 20 | 20 20 20 49 66 20 69 74 | | If it|
|00003a50| 20 66 61 69 6c 73 2c 20 | 74 68 65 6e 3a 0a 25 20 | fails, |then:.% |
|00003a60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2a | | *|
|00003a70| 20 40 66 63 6f 6c 6d 61 | 64 65 20 3a 3d 47 20 66 | @fcolma|de :=G f|
|00003a80| 61 6c 73 65 0a 25 20 20 | 20 20 20 20 20 20 20 20 |alse.% | |
|00003a90| 20 4e 4f 54 45 3a 20 42 | 49 54 20 4d 55 53 54 20 | NOTE: B|IT MUST |
|00003aa0| 42 45 20 41 20 53 49 4e | 47 4c 45 20 54 4f 4b 45 |BE A SIN|GLE TOKE|
|00003ab0| 4e 21 0a 25 0a 25 20 5c | 40 6d 61 6b 65 66 63 6f |N!.%.% \|@makefco|
|00003ac0| 6c 75 6d 6e 20 5c 46 4c | 49 53 54 20 3a 20 53 61 |lumn \FL|IST : Sa|
|00003ad0| 6d 65 20 61 73 20 5c 40 | 74 72 79 66 63 6f 6c 75 |me as \@|tryfcolu|
|00003ae0| 6d 6e 20 65 78 63 65 70 | 74 20 74 68 61 74 20 69 |mn excep|t that i|
|00003af0| 74 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t.% | |
|00003b00| 66 61 69 6c 73 20 74 6f | 20 6d 61 6b 65 20 61 20 |fails to| make a |
|00003b10| 66 6c 6f 61 74 20 63 6f | 6c 75 6d 6e 20 6f 6e 6c |float co|lumn onl|
|00003b20| 79 20 69 66 20 5c 46 4c | 49 53 54 20 69 73 20 65 |y if \FL|IST is e|
|00003b30| 6d 70 74 79 2e 0a 25 20 | 20 20 20 20 20 20 20 20 |mpty..% | |
|00003b40| 20 20 20 20 4f 74 68 65 | 72 77 69 73 65 2c 20 69 | Othe|rwise, i|
|00003b50| 74 20 6d 61 6b 65 73 20 | 61 20 66 6c 6f 61 74 20 |t makes |a float |
|00003b60| 63 6f 6c 75 6d 6e 20 63 | 6f 6e 74 61 69 6e 69 6e |column c|ontainin|
|00003b70| 67 20 61 74 20 6c 65 61 | 73 74 0a 25 20 20 20 20 |g at lea|st.% |
|00003b80| 20 20 20 20 20 20 20 20 | 20 74 68 65 20 66 69 72 | | the fir|
|00003b90| 73 74 20 62 6f 78 20 69 | 6e 20 5c 46 4c 49 53 54 |st box i|n \FLIST|
|00003ba0| 2c 20 64 69 73 72 65 67 | 61 72 64 69 6e 67 20 5c |, disreg|arding \|
|00003bb0| 40 66 70 6d 69 6e 2e 0a | 25 0a 25 20 5c 40 73 74 |@fpmin..|%.% \@st|
|00003bc0| 61 72 74 63 6f 6c 75 6d | 6e 20 3a 0a 25 20 20 20 |artcolum|n :.% |
|00003bd0| 20 20 20 20 43 61 6c 6c | 73 20 5c 40 74 72 79 66 | Call|s \@tryf|
|00003be0| 63 6f 6c 75 6d 6e 5c 40 | 64 65 66 65 72 6c 69 73 |column\@|deferlis|
|00003bf0| 74 2e 20 20 49 66 20 5c | 40 74 72 79 66 63 6f 6c |t. If \|@tryfcol|
|00003c00| 75 6d 6e 20 72 65 74 75 | 72 6e 73 20 77 69 74 68 |umn retu|rns with|
|00003c10| 0a 25 20 20 20 20 20 20 | 20 28 67 6c 6f 62 61 6c |.% | (global|
|00003c20| 6c 79 20 73 65 74 29 20 | 40 66 63 6f 6c 6d 61 64 |ly set) |@fcolmad|
|00003c30| 65 20 3d 20 66 61 6c 73 | 65 2c 20 74 68 65 6e 3a |e = fals|e, then:|
|00003c40| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|00003c50| 20 20 2a 20 47 6c 6f 62 | 61 6c 6c 79 20 73 65 74 | * Glob|ally set|
|00003c60| 73 20 5c 40 74 6f 70 6c | 69 73 74 20 61 6e 64 20 |s \@topl|ist and |
|00003c70| 5c 40 62 6f 74 6c 69 73 | 74 20 74 6f 20 66 6c 6f |\@botlis|t to flo|
|00003c80| 61 74 73 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 |ats.% | |
|00003c90| 20 20 20 20 20 20 20 66 | 72 6f 6d 20 5c 40 64 65 | f|rom \@de|
|00003ca0| 66 65 72 6c 69 73 74 20 | 74 6f 20 67 6f 20 61 74 |ferlist |to go at|
|00003cb0| 20 74 6f 70 20 61 6e 64 | 20 62 6f 74 74 6f 6d 20 | top and| bottom |
|00003cc0| 6f 66 20 63 6f 6c 75 6d | 6e 2c 0a 25 20 20 20 20 |of colum|n,.% |
|00003cd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 64 65 | | de|
|00003ce0| 6c 65 74 69 6e 67 20 74 | 68 65 6d 20 66 72 6f 6d |leting t|hem from|
|00003cf0| 20 5c 40 64 65 66 65 72 | 6c 69 73 74 2e 20 20 49 | \@defer|list. I|
|00003d00| 74 20 64 6f 65 73 0a 25 | 20 20 20 20 20 20 20 20 |t does.%| |
|00003d10| 20 20 20 20 20 20 20 20 | 20 20 74 68 69 73 20 75 | | this u|
|00003d20| 73 69 6e 67 20 5c 40 63 | 6f 6c 68 74 20 61 73 20 |sing \@c|olht as |
|00003d30| 74 68 65 20 74 6f 74 61 | 6c 20 68 65 69 67 68 74 |the tota|l height|
|00003d40| 2c 20 74 68 65 20 70 61 | 67 65 0a 25 20 20 20 20 |, the pa|ge.% |
|00003d50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 73 74 | | st|
|00003d60| 79 6c 65 20 70 61 72 61 | 6d 65 74 65 72 73 20 5c |yle para|meters \|
|00003d70| 40 66 6c 6f 61 74 73 65 | 70 20 61 6e 64 20 5c 40 |@floatse|p and \@|
|00003d80| 74 65 78 74 66 6c 6f 61 | 74 73 65 70 2c 20 61 6e |textfloa|tsep, an|
|00003d90| 64 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |d.% | |
|00003da0| 20 20 20 20 20 74 68 65 | 20 66 6c 6f 61 74 20 70 | the| float p|
|00003db0| 6c 61 63 65 6d 65 6e 74 | 20 70 61 72 61 6d 65 74 |lacement| paramet|
|00003dc0| 65 72 73 20 5c 40 74 6f | 70 6e 75 6d 2c 20 5c 40 |ers \@to|pnum, \@|
|00003dd0| 74 6f 70 72 6f 6f 6d 2c | 0a 25 20 20 20 20 20 20 |toproom,|.% |
|00003de0| 20 20 20 20 20 20 20 20 | 20 20 20 20 5c 40 62 6f | | \@bo|
|00003df0| 74 6e 75 6d 2c 20 5c 40 | 62 6f 74 72 6f 6f 6d 2c |tnum, \@|botroom,|
|00003e00| 20 5c 40 63 6f 6c 6e 75 | 6d 20 61 6e 64 20 5c 74 | \@colnu|m and \t|
|00003e10| 65 78 74 66 72 61 63 74 | 69 6f 6e 2e 0a 25 20 20 |extfract|ion..% |
|00003e20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2a 20 | | * |
|00003e30| 47 6c 6f 62 61 6c 6c 79 | 20 73 65 74 73 20 5c 40 |Globally| sets \@|
|00003e40| 63 6f 6c 72 6f 6f 6d 20 | 74 6f 20 5c 40 63 6f 6c |colroom |to \@col|
|00003e50| 68 74 20 6d 69 6e 75 73 | 20 74 68 65 20 68 65 69 |ht minus| the hei|
|00003e60| 67 68 74 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 |ght.% | |
|00003e70| 20 20 20 20 20 20 20 6f | 66 20 74 68 65 20 61 64 | o|f the ad|
|00003e80| 64 65 64 20 66 6c 6f 61 | 74 73 2e 0a 25 0a 25 20 |ded floa|ts..%.% |
|00003e90| 5c 40 73 74 61 72 74 64 | 62 6c 63 6f 6c 75 6d 6e |\@startd|blcolumn|
|00003ea0| 20 3a 0a 25 20 20 20 20 | 20 20 43 61 6c 6c 73 20 | :.% | Calls |
|00003eb0| 5c 40 74 72 79 66 63 6f | 6c 75 6d 6e 5c 40 64 62 |\@tryfco|lumn\@db|
|00003ec0| 6c 64 65 66 65 72 6c 69 | 73 74 7b 38 7d 2e 20 20 |ldeferli|st{8}. |
|00003ed0| 49 66 20 5c 40 74 72 79 | 66 63 6f 6c 75 6d 6e 20 |If \@try|fcolumn |
|00003ee0| 72 65 74 75 72 6e 73 0a | 25 20 20 20 20 20 20 77 |returns.|% w|
|00003ef0| 69 74 68 20 28 67 6c 6f | 62 61 6c 6c 79 20 73 65 |ith (glo|bally se|
|00003f00| 74 29 20 40 66 63 6f 6c | 6d 61 64 65 20 3d 20 66 |t) @fcol|made = f|
|00003f10| 61 6c 73 65 2c 20 74 68 | 65 6e 3a 0a 25 20 20 20 |alse, th|en:.% |
|00003f20| 20 20 20 20 20 20 20 20 | 20 20 20 20 2a 20 47 6c | | * Gl|
|00003f30| 6f 62 61 6c 6c 79 20 73 | 65 74 73 20 5c 40 64 62 |obally s|ets \@db|
|00003f40| 6c 74 6f 70 6c 69 73 74 | 20 74 6f 20 66 6c 6f 61 |ltoplist| to floa|
|00003f50| 74 73 20 66 72 6f 6d 0a | 25 20 20 20 20 20 20 20 |ts from.|% |
|00003f60| 20 20 20 20 20 20 20 20 | 20 20 5c 40 64 62 6c 64 | | \@dbld|
|00003f70| 65 66 65 72 6c 69 73 74 | 20 74 6f 20 67 6f 20 61 |eferlist| to go a|
|00003f80| 74 20 74 6f 70 20 61 6e | 64 20 62 6f 74 74 6f 6d |t top an|d bottom|
|00003f90| 20 6f 66 20 63 6f 6c 75 | 6d 6e 2c 0a 25 20 20 20 | of colu|mn,.% |
|00003fa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 64 65 | | de|
|00003fb0| 6c 65 74 69 6e 67 20 74 | 68 65 6d 20 66 72 6f 6d |leting t|hem from|
|00003fc0| 20 5c 40 64 62 6c 64 65 | 66 65 72 6c 69 73 74 2e | \@dblde|ferlist.|
|00003fd0| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|00003fe0| 20 20 20 49 74 20 64 6f | 65 73 20 74 68 69 73 20 | It do|es this |
|00003ff0| 75 73 69 6e 67 20 5c 74 | 65 78 74 68 65 69 67 68 |using \t|extheigh|
|00004000| 74 20 61 73 20 74 68 65 | 0a 25 20 20 20 20 20 20 |t as the|.% |
|00004010| 20 20 20 20 20 20 20 20 | 20 20 20 74 6f 74 61 6c | | total|
|00004020| 20 68 65 69 67 68 74 2c | 20 61 6e 64 20 74 68 65 | height,| and the|
|00004030| 20 70 61 72 61 6d 65 74 | 65 72 73 20 5c 40 64 62 | paramet|ers \@db|
|00004040| 6c 66 6c 6f 61 74 73 65 | 70 2c 20 65 74 63 2e 0a |lfloatse|p, etc..|
|00004050| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |% | |
|00004060| 2a 20 47 6c 6f 62 61 6c | 6c 79 20 73 65 74 73 20 |* Global|ly sets |
|00004070| 5c 40 63 6f 6c 68 74 20 | 74 6f 20 5c 74 65 78 74 |\@colht |to \text|
|00004080| 68 65 69 67 68 74 20 6d | 69 6e 75 73 20 74 68 65 |height m|inus the|
|00004090| 20 68 65 69 67 68 74 0a | 25 20 20 20 20 20 20 20 | height.|% |
|000040a0| 20 20 20 20 20 20 20 20 | 20 20 6f 66 20 74 68 65 | | of the|
|000040b0| 20 61 64 64 65 64 20 66 | 6c 6f 61 74 73 2e 0a 25 | added f|loats..%|
|000040c0| 0a 25 20 5c 40 63 6f 6d | 62 69 6e 65 66 6c 6f 61 |.% \@com|binefloa|
|000040d0| 74 73 20 3a 20 43 6f 6d | 62 69 6e 65 73 20 74 68 |ts : Com|bines th|
|000040e0| 65 20 74 65 78 74 20 66 | 72 6f 6d 20 62 6f 78 0a |e text f|rom box.|
|000040f0| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 5c |% | \|
|00004100| 40 6f 75 74 70 75 74 62 | 6f 78 20 77 69 74 68 20 |@outputb|ox with |
|00004110| 74 68 65 20 66 6c 6f 61 | 74 73 20 66 72 6f 6d 20 |the floa|ts from |
|00004120| 5c 40 74 6f 70 6c 69 73 | 74 20 61 6e 64 20 5c 40 |\@toplis|t and \@|
|00004130| 62 6f 74 6c 69 73 74 2c | 0a 25 20 20 20 20 20 20 |botlist,|.% |
|00004140| 20 20 20 20 20 20 20 20 | 70 75 74 74 69 6e 67 20 | |putting |
|00004150| 74 68 65 20 6e 65 77 20 | 62 6f 78 20 69 6e 20 5c |the new |box in \|
|00004160| 40 6f 75 74 70 75 74 62 | 6f 78 2e 20 20 49 74 20 |@outputb|ox. It |
|00004170| 75 73 65 73 20 5c 66 6c | 6f 61 74 73 65 70 0a 25 |uses \fl|oatsep.%|
|00004180| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 61 6e | | an|
|00004190| 64 20 5c 74 65 78 74 66 | 6c 6f 61 74 73 65 70 20 |d \textf|loatsep |
|000041a0| 66 6f 72 20 74 68 65 20 | 61 70 70 72 6f 70 72 69 |for the |appropri|
|000041b0| 61 74 65 20 73 65 70 61 | 72 61 74 69 6f 6e 73 2e |ate sepa|rations.|
|000041c0| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|000041d0| 49 74 20 70 75 74 73 20 | 74 68 65 20 65 6c 65 6d |It puts |the elem|
|000041e0| 65 6e 74 73 20 6f 66 20 | 5c 54 4f 50 4c 49 53 54 |ents of |\TOPLIST|
|000041f0| 20 61 6e 64 20 5c 42 4f | 54 4c 49 53 54 20 6f 6e | and \BO|TLIST on|
|00004200| 74 6f 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 |to.% | |
|00004210| 20 20 5c 40 66 72 65 65 | 6c 69 73 74 2c 20 61 6e | \@free|list, an|
|00004220| 64 20 6d 61 6b 65 73 20 | 74 68 6f 73 65 20 6c 69 |d makes |those li|
|00004230| 73 74 73 20 6e 75 6c 6c | 2e 0a 25 0a 25 20 5c 40 |sts null|..%.% \@|
|00004240| 6d 61 6b 65 63 6f 6c 20 | 3a 20 4d 61 6b 65 73 20 |makecol |: Makes |
|00004250| 74 68 65 20 63 6f 6e 74 | 65 6e 74 73 20 6f 66 20 |the cont|ents of |
|00004260| 5c 62 6f 78 32 35 35 20 | 70 6c 75 73 20 74 68 65 |\box255 |plus the|
|00004270| 20 61 63 63 75 6d 75 6c | 61 74 65 64 0a 25 20 20 | accumul|ated.% |
|00004280| 20 20 20 20 20 20 20 20 | 20 20 20 20 66 6f 6f 74 | | foot|
|00004290| 6e 6f 74 65 73 2c 20 70 | 6c 75 73 20 74 68 65 20 |notes, p|lus the |
|000042a0| 66 6c 6f 61 74 73 20 69 | 6e 20 5c 40 74 6f 70 6c |floats i|n \@topl|
|000042b0| 69 73 74 20 61 6e 64 20 | 5c 40 62 6f 74 6c 69 73 |ist and |\@botlis|
|000042c0| 74 2c 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 |t,.% | |
|000042d0| 20 20 69 6e 74 6f 20 61 | 20 73 69 6e 67 6c 65 20 | into a| single |
|000042e0| 63 6f 6c 75 6d 6e 20 6f | 66 20 68 65 69 67 68 74 |column o|f height|
|000042f0| 20 5c 40 63 6f 6c 68 74 | 20 28 75 6e 6c 65 73 73 | \@colht| (unless|
|00004300| 20 74 68 65 20 70 61 67 | 65 0a 25 20 20 20 20 20 | the pag|e.% |
|00004310| 20 20 20 20 20 20 20 20 | 20 68 65 69 67 68 74 20 | | height |
|00004320| 68 61 73 20 62 65 65 6e | 20 6c 6f 63 61 6c 6c 79 |has been| locally|
|00004330| 20 63 68 61 6e 67 65 64 | 29 2c 20 77 68 69 63 68 | changed|), which|
|00004340| 20 69 74 20 70 75 74 73 | 0a 25 20 20 20 20 20 20 | it puts|.% |
|00004350| 20 20 20 20 20 20 20 20 | 69 6e 74 6f 20 62 6f 78 | |into box|
|00004360| 20 5c 40 6f 75 74 70 75 | 74 62 6f 78 2e 20 20 49 | \@outpu|tbox. I|
|00004370| 74 20 70 75 74 73 20 62 | 6f 78 65 73 20 69 6e 20 |t puts b|oxes in |
|00004380| 5c 40 6d 69 64 6c 69 73 | 74 20 62 61 63 6b 0a 25 |\@midlis|t back.%|
|00004390| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6f 6e | | on|
|000043a0| 74 6f 20 5c 40 66 72 65 | 65 6c 69 73 74 20 61 6e |to \@fre|elist an|
|000043b0| 64 20 72 65 73 74 6f 72 | 65 73 20 5c 6d 61 78 64 |d restor|es \maxd|
|000043c0| 65 70 74 68 2e 0a 25 0a | 25 20 5c 40 6f 70 63 6f |epth..%.|% \@opco|
|000043d0| 6c 20 3a 20 4f 75 74 70 | 75 74 73 20 61 20 63 6f |l : Outp|uts a co|
|000043e0| 6c 75 6d 6e 20 77 68 6f | 73 65 20 74 65 78 74 20 |lumn who|se text |
|000043f0| 69 73 20 69 6e 20 62 6f | 78 20 5c 40 6f 75 74 70 |is in bo|x \@outp|
|00004400| 75 74 62 6f 78 0a 25 20 | 20 20 20 20 20 20 20 20 |utbox.% | |
|00004410| 20 20 20 20 20 49 66 20 | 40 74 77 6f 63 6f 6c 75 | If |@twocolu|
|00004420| 6d 6e 20 3d 20 66 61 6c | 73 65 2c 20 74 68 65 6e |mn = fal|se, then|
|00004430| 20 69 74 20 63 61 6c 6c | 73 20 5c 40 6f 75 74 70 | it call|s \@outp|
|00004440| 75 74 70 61 67 65 2c 0a | 25 20 20 20 20 20 20 20 |utpage,.|% |
|00004450| 20 20 20 20 20 20 20 73 | 65 74 73 20 5c 40 63 6f | s|ets \@co|
|00004460| 6c 68 74 20 3a 3d 47 20 | 5c 74 65 78 74 68 65 69 |lht :=G |\texthei|
|00004470| 67 68 74 2c 20 61 6e 64 | 20 63 61 6c 6c 73 20 5c |ght, and| calls \|
|00004480| 40 66 6c 6f 61 74 70 6c | 61 63 65 6d 65 6e 74 2e |@floatpl|acement.|
|00004490| 0a 25 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 |.%.% | |
|000044a0| 20 20 49 66 20 40 74 77 | 6f 63 6f 6c 75 6d 6e 20 | If @tw|ocolumn |
|000044b0| 3d 20 74 72 75 65 2c 20 | 74 68 65 6e 3a 0a 25 20 |= true, |then:.% |
|000044c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000044d0| 20 49 66 20 40 66 69 72 | 73 74 63 6f 6c 75 6d 6e | If @fir|stcolumn|
|000044e0| 20 3d 20 74 72 75 65 2c | 20 74 68 65 6e 20 69 74 | = true,| then it|
|000044f0| 20 70 75 74 73 20 62 6f | 78 20 5c 40 6f 75 74 70 | puts bo|x \@outp|
|00004500| 75 74 62 6f 78 0a 25 20 | 20 20 20 20 20 20 20 20 |utbox.% | |
|00004510| 20 20 20 20 20 20 20 20 | 20 69 6e 74 6f 20 5c 40 | | into \@|
|00004520| 6c 65 66 74 63 6f 6c 75 | 6d 6e 20 61 6e 64 20 73 |leftcolu|mn and s|
|00004530| 65 74 73 20 40 66 69 72 | 73 74 63 6f 6c 75 6d 6e |ets @fir|stcolumn|
|00004540| 20 3a 3d 47 20 66 61 6c | 73 65 2e 0a 25 0a 25 20 | :=G fal|se..%.% |
|00004550| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004560| 20 49 66 20 40 66 69 72 | 73 74 63 6f 6c 75 6d 6e | If @fir|stcolumn|
|00004570| 20 3d 20 66 61 6c 73 65 | 2c 20 74 68 65 6e 20 69 | = false|, then i|
|00004580| 74 20 70 75 74 73 20 6f | 75 74 20 74 68 65 20 63 |t puts o|ut the c|
|00004590| 75 72 72 65 6e 74 0a 25 | 20 20 20 20 20 20 20 20 |urrent.%| |
|000045a0| 20 20 20 20 20 20 20 20 | 20 20 74 77 6f 2d 63 6f | | two-co|
|000045b0| 6c 75 6d 6e 20 70 61 67 | 65 2c 20 61 6e 79 20 70 |lumn pag|e, any p|
|000045c0| 6f 73 73 69 62 6c 65 20 | 74 77 6f 2d 63 6f 6c 75 |ossible |two-colu|
|000045d0| 6d 6e 20 66 6c 6f 61 74 | 20 70 61 67 65 73 2c 0a |mn float| pages,.|
|000045e0| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |% | |
|000045f0| 20 20 20 61 6e 64 20 64 | 65 74 65 72 6d 69 6e 65 | and d|etermine|
|00004600| 73 20 5c 40 64 62 6c 74 | 6f 70 6c 69 73 74 20 66 |s \@dblt|oplist f|
|00004610| 6f 72 20 74 68 65 20 6e | 65 78 74 20 70 61 67 65 |or the n|ext page|
|00004620| 2e 0a 25 0a 25 0a 25 0a | 25 20 20 20 20 20 20 20 |..%.%.%.|% |
|00004630| 20 20 20 20 20 55 53 45 | 52 20 43 4f 4d 4d 41 4e | USE|R COMMAN|
|00004640| 44 53 20 54 48 41 54 20 | 43 41 4c 4c 20 4f 52 20 |DS THAT |CALL OR |
|00004650| 41 46 46 45 43 54 20 54 | 48 45 20 4f 55 54 50 55 |AFFECT T|HE OUTPU|
|00004660| 54 20 52 4f 55 54 49 4e | 45 0a 25 20 20 20 20 20 |T ROUTIN|E.% |
|00004670| 20 20 20 20 20 20 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -|--------|
|00004680| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000046a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0a 25 0a 25 20 |--------|---.%.% |
|000046b0| 5c 6e 65 77 70 61 67 65 | 20 3d 3d 20 42 45 47 49 |\newpage| == BEGI|
|000046c0| 4e 20 5c 70 61 72 5c 76 | 66 69 6c 5c 70 65 6e 61 |N \par\v|fil\pena|
|000046d0| 6c 74 79 20 2d 31 30 30 | 30 30 20 45 4e 44 0a 25 |lty -100|00 END.%|
|000046e0| 0a 25 20 5c 63 6c 65 61 | 72 70 61 67 65 20 3d 3d |.% \clea|rpage ==|
|000046f0| 20 42 45 47 49 4e 20 5c | 6e 65 77 70 61 67 65 0a | BEGIN \|newpage.|
|00004700| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |% | |
|00004710| 20 20 20 20 20 20 5c 77 | 72 69 74 65 20 2d 31 7b | \w|rite -1{|
|00004720| 7d 20 20 20 20 25 20 50 | 61 72 74 20 6f 66 20 68 |} % P|art of h|
|00004730| 61 63 6b 20 74 6f 20 6d | 61 6b 65 20 73 75 72 65 |ack to m|ake sure|
|00004740| 20 6e 6f 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 | no.% | |
|00004750| 20 20 20 20 20 20 20 20 | 20 20 5c 76 62 6f 78 7b | | \vbox{|
|00004760| 7d 20 20 20 20 20 20 20 | 20 25 20 5c 77 72 69 74 |} | % \writ|
|00004770| 65 27 73 20 67 65 74 20 | 6c 6f 73 74 2e 0a 25 20 |e's get |lost..% |
|00004780| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004790| 20 20 20 20 5c 70 65 6e | 61 6c 74 79 20 2d 31 30 | \pen|alty -10|
|000047a0| 30 30 31 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 |001.% | |
|000047b0| 20 20 20 20 45 4e 44 0a | 25 0a 25 20 5c 63 6c 65 | END.|%.% \cle|
|000047c0| 61 72 64 6f 75 62 6c 65 | 70 61 67 65 20 3d 3d 20 |ardouble|page == |
|000047d0| 42 45 47 49 4e 20 5c 63 | 6c 65 61 72 70 61 67 65 |BEGIN \c|learpage|
|000047e0| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|000047f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 69 66 20 | | if |
|00004800| 40 74 77 6f 73 69 64 65 | 20 3d 20 74 72 75 65 20 |@twoside| = true |
|00004810| 61 6e 64 20 63 40 70 61 | 67 65 20 69 73 20 65 76 |and c@pa|ge is ev|
|00004820| 65 6e 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 |en.% | |
|00004830| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004840| 20 74 68 65 6e 20 5c 68 | 62 6f 78 7b 7d 20 5c 6e | then \h|box{} \n|
|00004850| 65 77 70 61 67 65 20 66 | 69 0a 25 20 20 20 20 20 |ewpage f|i.% |
|00004860| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004870| 45 4e 44 0a 25 0a 25 20 | 20 0a 25 20 5c 74 77 6f |END.%.% | .% \two|
|00004880| 63 6f 6c 75 6d 6e 5b 42 | 4f 58 5d 20 3a 20 73 74 |column[B|OX] : st|
|00004890| 61 72 74 73 20 61 20 6e | 65 77 20 70 61 67 65 2c |arts a n|ew page,|
|000048a0| 20 63 68 6e 61 67 69 6e | 67 20 74 6f 20 74 77 6f | chnagin|g to two|
|000048b0| 63 6f 6c 75 6d 6e 20 73 | 65 74 74 69 6e 67 0a 25 |column s|etting.%|
|000048c0| 20 20 20 20 20 61 6e 64 | 20 70 75 74 73 20 42 4f | and| puts BO|
|000048d0| 58 20 69 6e 20 61 20 70 | 61 72 62 6f 78 20 6f 66 |X in a p|arbox of|
|000048e0| 20 77 69 64 74 68 20 5c | 74 65 78 74 77 69 64 74 | width \|textwidt|
|000048f0| 68 20 61 63 72 6f 73 73 | 20 74 68 65 20 74 6f 70 |h across| the top|
|00004900| 2e 0a 25 20 20 20 20 20 | 55 73 65 66 75 6c 20 66 |..% |Useful f|
|00004910| 6f 72 20 66 75 6c 6c 2d | 77 69 64 74 68 20 74 69 |or full-|width ti|
|00004920| 74 6c 65 73 20 66 6f 72 | 20 64 6f 75 62 6c 65 2d |tles for| double-|
|00004930| 63 6f 6c 75 6d 6e 20 70 | 61 67 65 73 2e 0a 25 20 |column p|ages..% |
|00004940| 20 20 20 20 53 55 52 50 | 52 49 53 45 3a 20 54 68 | SURP|RISE: Th|
|00004950| 65 20 73 74 72 65 74 63 | 68 20 66 72 6f 6d 20 5c |e stretc|h from \|
|00004960| 40 64 62 6c 74 65 78 74 | 66 6c 6f 61 74 73 65 70 |@dbltext|floatsep|
|00004970| 20 77 69 6c 6c 20 62 65 | 20 69 6e 73 65 72 74 65 | will be| inserte|
|00004980| 64 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |d.% | |
|00004990| 20 20 62 65 74 77 65 65 | 6e 20 74 68 65 20 42 4f | betwee|n the BO|
|000049a0| 58 20 61 6e 64 20 74 68 | 65 20 74 6f 70 20 6f 66 |X and th|e top of|
|000049b0| 20 74 68 65 20 74 77 6f | 20 63 6f 6c 75 6d 6e 73 | the two| columns|
|000049c0| 2e 0a 25 0a 25 0a 25 20 | 20 20 20 20 20 20 20 20 |..%.%.% | |
|000049d0| 20 20 20 46 4c 4f 41 54 | 2d 48 41 4e 44 4c 49 4e | FLOAT|-HANDLIN|
|000049e0| 47 20 4d 45 43 48 41 4e | 49 53 4d 53 0a 25 20 20 |G MECHAN|ISMS.% |
|000049f0| 20 20 20 20 20 20 20 20 | 20 20 2d 2d 2d 2d 2d 2d | | ------|
|00004a00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004a10| 2d 2d 2d 0a 25 0a 25 20 | 54 68 65 20 66 6c 6f 61 |---.%.% |The floa|
|00004a20| 74 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 20 6f 62 |t enviro|nment ob|
|00004a30| 74 61 69 6e 73 20 61 6e | 20 69 6e 73 65 72 74 69 |tains an| inserti|
|00004a40| 6f 6e 20 6e 75 6d 62 65 | 72 20 42 20 66 72 6f 6d |on numbe|r B from|
|00004a50| 20 74 68 65 0a 25 20 5c | 40 66 72 65 65 6c 69 73 | the.% \|@freelis|
|00004a60| 74 20 28 73 65 65 20 62 | 65 6c 6f 77 20 66 6f 72 |t (see b|elow for|
|00004a70| 20 61 20 64 65 73 63 72 | 69 70 74 69 6f 6e 20 6f | a descr|iption o|
|00004a80| 66 20 6c 69 73 74 20 6d | 61 6e 69 70 75 6c 61 74 |f list m|anipulat|
|00004a90| 69 6f 6e 29 2c 20 70 75 | 74 73 0a 25 20 74 68 65 |ion), pu|ts.% the|
|00004aa0| 20 66 6c 6f 61 74 20 69 | 6e 74 6f 20 62 6f 78 20 | float i|nto box |
|00004ab0| 42 20 61 6e 64 20 73 65 | 74 73 20 5c 63 6f 75 6e |B and se|ts \coun|
|00004ac0| 74 20 42 20 74 6f 20 61 | 20 46 4c 4f 41 54 20 53 |t B to a| FLOAT S|
|00004ad0| 50 45 43 49 46 49 45 52 | 2e 20 20 46 6f 72 0a 25 |PECIFIER|. For.%|
|00004ae0| 20 61 20 6e 6f 72 6d 61 | 6c 20 28 6e 6f 74 20 64 | a norma|l (not d|
|00004af0| 6f 75 62 6c 65 2d 63 6f | 6c 75 6d 6e 29 20 66 6c |ouble-co|lumn) fl|
|00004b00| 6f 61 74 2c 20 69 74 20 | 74 68 65 6e 20 63 61 75 |oat, it |then cau|
|00004b10| 73 65 73 20 61 20 70 61 | 67 65 20 62 72 65 61 6b |ses a pa|ge break|
|00004b20| 0a 25 20 69 6e 20 6f 6e | 65 20 6f 66 20 74 68 65 |.% in on|e of the|
|00004b30| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 74 77 6f 20 77 | followi|ng two w|
|00004b40| 61 79 73 3a 0a 25 20 20 | 20 2d 20 49 6e 20 6f 75 |ays:.% | - In ou|
|00004b50| 74 65 72 20 68 6d 6f 64 | 65 3a 20 5c 76 61 64 6a |ter hmod|e: \vadj|
|00004b60| 75 73 74 7b 5c 70 65 6e | 61 6c 74 79 20 2d 31 30 |ust{\pen|alty -10|
|00004b70| 30 30 32 7d 0a 25 20 20 | 20 2d 20 49 6e 20 76 6d |002}.% | - In vm|
|00004b80| 6f 64 65 20 3a 20 20 20 | 20 20 20 5c 70 65 6e 61 |ode : | \pena|
|00004b90| 6c 74 79 20 2d 31 30 30 | 30 33 2e 0a 25 20 46 6f |lty -100|03..% Fo|
|00004ba0| 72 20 61 20 64 6f 75 62 | 6c 65 2d 63 6f 6c 75 6d |r a doub|le-colum|
|00004bb0| 6e 20 66 6c 6f 61 74 2c | 20 69 74 20 70 75 74 73 |n float,| it puts|
|00004bc0| 20 42 20 6f 6e 74 6f 20 | 74 68 65 20 5c 40 64 62 | B onto |the \@db|
|00004bd0| 6c 64 65 66 65 72 6c 69 | 73 74 2e 0a 25 20 54 68 |ldeferli|st..% Th|
|00004be0| 65 20 66 6c 6f 61 74 20 | 73 70 65 63 69 66 69 65 |e float |specifie|
|00004bf0| 72 20 68 61 73 20 74 77 | 6f 20 63 6f 6d 70 6f 6e |r has tw|o compon|
|00004c00| 65 6e 74 73 3a 0a 25 20 | 20 20 20 2a 20 41 20 50 |ents:.% | * A P|
|00004c10| 4c 41 43 45 4d 45 4e 54 | 20 53 50 45 43 49 46 49 |LACEMENT| SPECIFI|
|00004c20| 43 41 54 49 4f 4e 2c 20 | 64 65 73 63 72 69 62 69 |CATION, |describi|
|00004c30| 6e 67 20 77 68 65 72 65 | 20 74 68 65 20 66 6c 6f |ng where| the flo|
|00004c40| 61 74 20 6d 61 79 0a 25 | 20 20 20 20 20 20 62 65 |at may.%| be|
|00004c50| 20 70 6c 61 63 65 64 2e | 0a 25 20 20 20 20 2a 20 | placed.|.% * |
|00004c60| 41 20 54 59 50 45 2c 20 | 77 68 69 63 68 20 69 73 |A TYPE, |which is|
|00004c70| 20 61 20 70 6f 77 65 72 | 20 6f 66 20 74 77 6f 2d | a power| of two-|
|00004c80| 2d 65 2e 67 2e 2c 20 66 | 69 67 75 72 65 73 20 6d |-e.g., f|igures m|
|00004c90| 69 67 68 74 20 62 65 0a | 25 20 20 20 20 20 20 74 |ight be.|% t|
|00004ca0| 79 70 65 20 31 20 66 6c | 6f 61 74 73 2c 20 74 61 |ype 1 fl|oats, ta|
|00004cb0| 62 6c 65 73 20 74 79 70 | 65 20 32 20 66 6c 6f 61 |bles typ|e 2 floa|
|00004cc0| 74 73 2c 20 70 72 6f 67 | 72 61 6d 73 20 74 79 70 |ts, prog|rams typ|
|00004cd0| 65 20 34 20 66 6c 6f 61 | 74 73 2c 20 65 74 63 2e |e 4 floa|ts, etc.|
|00004ce0| 0a 25 20 54 68 65 20 66 | 6c 6f 61 74 20 73 70 65 |.% The f|loat spe|
|00004cf0| 63 69 66 69 65 72 20 69 | 73 20 65 6e 63 6f 64 65 |cifier i|s encode|
|00004d00| 64 20 61 73 20 66 6f 6c | 6c 6f 77 73 2c 20 77 68 |d as fol|lows, wh|
|00004d10| 65 72 65 20 62 69 74 20 | 30 20 69 73 20 74 68 65 |ere bit |0 is the|
|00004d20| 20 6c 65 61 73 74 0a 25 | 20 73 69 67 6e 69 66 69 | least.%| signifi|
|00004d30| 63 61 6e 74 20 62 69 74 | 2e 0a 25 0a 25 20 20 42 |cant bit|..%.% B|
|00004d40| 69 74 20 20 20 20 4d 65 | 61 6e 69 6e 67 0a 25 20 |it Me|aning.% |
|00004d50| 20 2d 2d 2d 20 20 20 20 | 2d 2d 2d 2d 2d 2d 2d 0a | --- |-------.|
|00004d60| 25 20 20 20 30 20 20 20 | 20 20 31 20 69 66 66 20 |% 0 | 1 iff |
|00004d70| 74 68 65 20 66 6c 6f 61 | 74 20 6d 61 79 20 67 6f |the floa|t may go|
|00004d80| 20 77 68 65 72 65 20 69 | 74 20 61 70 70 65 61 72 | where i|t appear|
|00004d90| 73 20 69 6e 20 74 68 65 | 20 74 65 78 74 2e 0a 25 |s in the| text..%|
|00004da0| 20 20 20 31 20 20 20 20 | 20 31 20 69 66 66 20 74 | 1 | 1 iff t|
|00004db0| 68 65 20 66 6c 6f 61 74 | 20 6d 61 79 20 67 6f 20 |he float| may go |
|00004dc0| 6f 6e 20 74 68 65 20 74 | 6f 70 20 6f 66 20 61 20 |on the t|op of a |
|00004dd0| 70 61 67 65 2e 0a 25 20 | 20 20 32 20 20 20 20 20 |page..% | 2 |
|00004de0| 31 20 69 66 66 20 74 68 | 65 20 66 6c 6f 61 74 20 |1 iff th|e float |
|00004df0| 6d 61 79 20 67 6f 20 6f | 6e 20 74 68 65 20 62 6f |may go o|n the bo|
|00004e00| 74 74 6f 6d 20 6f 66 20 | 61 20 70 61 67 65 2e 0a |ttom of |a page..|
|00004e10| 25 20 20 20 33 20 20 20 | 20 20 31 20 69 66 66 20 |% 3 | 1 iff |
|00004e20| 74 68 65 20 66 6c 6f 61 | 74 20 6d 61 79 20 67 6f |the floa|t may go|
|00004e30| 20 6f 6e 20 61 20 66 6c | 6f 61 74 20 70 61 67 65 | on a fl|oat page|
|00004e40| 2e 0a 25 20 20 20 34 20 | 20 20 20 20 31 20 75 6e |..% 4 | 1 un|
|00004e50| 6c 65 73 73 20 74 68 65 | 20 50 4c 41 43 45 4d 45 |less the| PLACEME|
|00004e60| 4e 54 20 69 6e 63 6c 75 | 73 65 73 20 61 20 21 0a |NT inclu|ses a !.|
|00004e70| 25 20 20 20 35 20 20 20 | 20 20 31 20 69 66 66 20 |% 5 | 1 iff |
|00004e80| 61 20 74 79 70 65 20 31 | 20 66 6c 6f 61 74 0a 25 |a type 1| float.%|
|00004e90| 20 20 20 36 20 20 20 20 | 20 31 20 69 66 66 20 61 | 6 | 1 iff a|
|00004ea0| 20 74 79 70 65 20 32 20 | 66 6c 6f 61 74 0a 25 20 | type 2 |float.% |
|00004eb0| 20 20 65 74 63 2e 0a 25 | 0a 25 20 20 41 20 6e 65 | etc..%|.% A ne|
|00004ec0| 67 61 74 69 76 65 20 66 | 6c 6f 61 74 20 73 70 65 |gative f|loat spe|
|00004ed0| 63 69 66 69 65 72 20 69 | 73 20 75 73 65 64 20 74 |cifier i|s used t|
|00004ee0| 6f 20 69 6e 64 69 63 61 | 74 65 20 61 20 6d 61 72 |o indica|te a mar|
|00004ef0| 67 69 6e 61 6c 20 6e 6f | 74 65 2e 0a 25 0a 25 20 |ginal no|te..%.% |
|00004f00| 20 20 20 20 4d 41 43 52 | 4f 53 20 41 4e 44 20 44 | MACR|OS AND D|
|00004f10| 41 54 41 20 53 54 52 55 | 43 54 55 52 45 53 20 46 |ATA STRU|CTURES F|
|00004f20| 4f 52 20 50 52 4f 43 45 | 53 53 49 4e 47 20 46 4c |OR PROCE|SSING FL|
|00004f30| 4f 41 54 53 0a 25 20 20 | 20 20 20 2d 2d 2d 2d 2d |OATS.% | -----|
|00004f40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004f50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004f60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0a 25 0a 25 20 |--------|---.%.% |
|00004f70| 20 41 20 46 4c 4f 41 54 | 20 4c 49 53 54 20 63 6f | A FLOAT| LIST co|
|00004f80| 6e 73 69 73 74 69 6e 67 | 20 6f 66 20 74 68 65 20 |nsisting| of the |
|00004f90| 66 6c 6f 61 74 73 20 69 | 6e 20 62 6f 78 65 73 20 |floats i|n boxes |
|00004fa0| 5c 62 6f 78 61 20 2e 2e | 2e 20 5c 62 6f 78 4e 20 |\boxa ..|. \boxN |
|00004fb0| 68 61 73 0a 25 20 20 74 | 68 65 20 66 6f 72 6d 3a |has.% t|he form:|
|00004fc0| 0a 25 20 20 20 20 20 20 | 20 20 20 5c 40 65 6c 74 |.% | \@elt|
|00004fd0| 20 5c 62 6f 78 61 20 2e | 2e 2e 20 5c 40 65 6c 74 | \boxa .|.. \@elt|
|00004fe0| 20 5c 62 6f 78 4e 0a 25 | 20 20 77 68 65 72 65 20 | \boxN.%| where |
|00004ff0| 20 5c 62 6f 78 49 20 69 | 73 20 64 65 66 69 6e 65 | \boxI i|s define|
|00005000| 64 20 62 79 0a 25 20 20 | 20 20 20 20 20 20 20 5c |d by.% | \|
|00005010| 6e 65 77 69 6e 73 65 72 | 74 5c 62 6f 78 49 0a 25 |newinser|t\boxI.%|
|00005020| 20 20 4e 6f 72 6d 61 6c | 6c 79 2c 20 5c 40 65 6c | Normal|ly, \@el|
|00005030| 74 20 69 73 20 5c 6c 65 | 74 20 74 6f 20 5c 72 65 |t is \le|t to \re|
|00005040| 6c 61 78 2e 20 20 41 20 | 74 65 73 74 20 63 61 6e |lax. A |test can|
|00005050| 20 62 65 20 70 65 72 66 | 6f 72 6d 65 64 20 6f 6e | be perf|ormed on|
|00005060| 20 74 68 65 0a 25 20 20 | 65 6e 74 69 72 65 20 66 | the.% |entire f|
|00005070| 6c 6f 61 74 20 6c 69 73 | 74 20 62 79 20 6c 6f 63 |loat lis|t by loc|
|00005080| 61 6c 6c 79 20 5c 64 65 | 66 27 69 6e 67 20 5c 40 |ally \de|f'ing \@|
|00005090| 65 6c 74 20 61 70 70 72 | 6f 70 72 69 61 74 65 6c |elt appr|opriatel|
|000050a0| 79 20 61 6e 64 0a 25 20 | 20 65 78 65 63 75 74 69 |y and.% | executi|
|000050b0| 6e 67 20 74 68 65 20 6c | 69 73 74 2e 0a 25 20 20 |ng the l|ist..% |
|000050c0| 54 68 69 73 20 69 73 20 | 61 20 6c 6f 74 20 6d 6f |This is |a lot mo|
|000050d0| 72 65 20 65 66 66 69 63 | 69 65 6e 74 20 74 68 61 |re effic|ient tha|
|000050e0| 6e 20 6c 6f 6f 70 69 6e | 67 20 74 68 72 6f 75 67 |n loopin|g throug|
|000050f0| 68 20 74 68 65 20 6c 69 | 73 74 2e 0a 25 0a 25 20 |h the li|st..%.% |
|00005100| 20 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 6d | The fol|lowing m|
|00005110| 61 63 72 6f 73 20 61 72 | 65 20 75 73 65 64 20 66 |acros ar|e used f|
|00005120| 6f 72 20 6d 61 6e 69 70 | 75 6c 61 74 69 6e 67 20 |or manip|ulating |
|00005130| 66 6c 6f 61 74 20 6c 69 | 73 74 73 2e 0a 25 0a 25 |float li|sts..%.%|
|00005140| 20 20 5c 40 6e 65 78 74 | 20 5c 43 53 20 5c 4c 49 | \@next| \CS \LI|
|00005150| 53 54 20 7b 4e 4f 4e 45 | 4d 50 54 59 7d 7b 45 4d |ST {NONE|MPTY}{EM|
|00005160| 50 54 59 7d 20 3d 3d 20 | 20 25 25 20 4e 4f 54 45 |PTY} == | %% NOTE|
|00005170| 3a 20 41 53 53 55 4d 45 | 20 5c 40 65 6c 74 20 3d |: ASSUME| \@elt =|
|00005180| 20 5c 72 65 6c 61 78 0a | 25 20 20 20 20 42 45 47 | \relax.|% BEG|
|00005190| 49 4e 20 20 61 73 73 75 | 6d 65 20 74 68 61 74 20 |IN assu|me that |
|000051a0| 5c 4c 49 53 54 20 3d 3d | 20 5c 40 65 6c 74 20 5c |\LIST ==| \@elt \|
|000051b0| 42 31 20 2e 2e 2e 20 5c | 40 65 6c 74 20 5c 42 6e |B1 ... \|@elt \Bn|
|000051c0| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 69 66 20 |.% | if |
|000051d0| 6e 20 3d 20 30 0a 25 20 | 20 20 20 20 20 20 20 20 |n = 0.% | |
|000051e0| 20 20 20 20 74 68 65 6e | 20 20 45 4d 50 54 59 0a | then| EMPTY.|
|000051f0| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 65 6c |% | el|
|00005200| 73 65 20 20 5c 43 53 20 | 20 20 20 3a 3d 4c 20 5c |se \CS | :=L \|
|00005210| 42 31 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 |B1.% | |
|00005220| 20 20 20 20 20 20 20 5c | 4c 49 53 54 20 20 3a 3d | \|LIST :=|
|00005230| 47 20 5c 40 65 6c 74 20 | 5c 42 32 20 2e 2e 2e 20 |G \@elt |\B2 ... |
|00005240| 5c 40 65 6c 74 20 5c 42 | 6e 0a 25 20 20 20 20 20 |\@elt \B|n.% |
|00005250| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 4e 4f | | NO|
|00005260| 4e 45 4d 50 54 59 0a 25 | 20 20 20 20 20 20 20 20 |NEMPTY.%| |
|00005270| 20 20 20 66 69 0a 25 20 | 20 20 20 45 4e 44 0a 25 | fi.% | END.%|
|00005280| 0a 25 0a 25 20 20 5c 40 | 62 69 74 6f 72 5c 4e 55 |.%.% \@|bitor\NU|
|00005290| 4d 5c 4c 49 53 54 20 3a | 20 47 6c 6f 62 61 6c 6c |M\LIST :| Globall|
|000052a0| 79 20 73 65 74 73 20 73 | 77 69 74 63 68 20 40 74 |y sets s|witch @t|
|000052b0| 65 73 74 20 74 6f 20 74 | 68 65 20 64 69 73 6a 75 |est to t|he disju|
|000052c0| 6e 63 74 69 6f 6e 20 66 | 6f 72 0a 25 20 20 20 20 |nction f|or.% |
|000052d0| 20 20 20 20 20 61 6c 6c | 20 49 20 6f 66 20 62 69 | all| I of bi|
|000052e0| 74 20 20 6c 6f 67 32 20 | 5c 4e 55 4d 20 6f 66 20 |t log2 |\NUM of |
|000052f0| 74 68 65 20 66 6c 6f 61 | 74 20 73 70 65 63 69 66 |the floa|t specif|
|00005300| 69 65 72 73 20 6f 66 20 | 61 6c 6c 20 74 68 65 0a |iers of |all the.|
|00005310| 25 20 20 20 20 20 20 20 | 20 20 66 6c 6f 61 74 73 |% | floats|
|00005320| 20 69 6e 20 5c 4c 49 53 | 54 2e 0a 25 20 20 20 20 | in \LIS|T..% |
|00005330| 20 20 20 20 20 49 2e 65 | 2e 2c 20 40 74 65 73 74 | I.e|., @test|
|00005340| 20 69 73 20 73 65 74 20 | 74 6f 20 74 72 75 65 20 | is set |to true |
|00005350| 69 66 66 20 74 68 65 72 | 65 20 69 73 20 61 74 20 |iff ther|e is at |
|00005360| 6c 65 61 73 74 20 6f 6e | 65 0a 25 20 20 20 20 20 |least on|e.% |
|00005370| 20 20 20 20 66 6c 6f 61 | 74 20 69 6e 20 5c 4c 49 | floa|t in \LI|
|00005380| 53 54 20 68 61 76 69 6e | 67 20 62 69 74 20 20 6c |ST havin|g bit l|
|00005390| 6f 67 32 20 5c 4e 55 4d | 20 20 6f 66 20 69 74 73 |og2 \NUM| of its|
|000053a0| 20 66 6c 6f 61 74 20 73 | 70 65 63 69 66 69 65 72 | float s|pecifier|
|000053b0| 0a 25 20 20 20 20 20 20 | 20 20 20 65 71 75 61 6c |.% | equal|
|000053c0| 20 74 6f 20 31 2e 0a 25 | 0a 25 20 20 4e 6f 74 65 | to 1..%|.% Note|
|000053d0| 3a 20 6c 6f 67 32 20 5b | 28 5c 63 6f 75 6e 74 20 |: log2 [|(\count |
|000053e0| 49 29 2f 33 32 5d 20 69 | 73 20 74 68 65 20 62 69 |I)/32] i|s the bi|
|000053f0| 74 20 6e 75 6d 62 65 72 | 20 63 6f 72 72 65 73 70 |t number| corresp|
|00005400| 6f 6e 64 69 6e 67 20 74 | 6f 20 74 68 65 0a 25 20 |onding t|o the.% |
|00005410| 20 74 79 70 65 20 6f 66 | 20 66 6c 6f 61 74 20 49 | type of| float I|
|00005420| 2e 20 20 54 6f 20 73 65 | 65 20 69 66 20 74 68 65 |. To se|e if the|
|00005430| 72 65 20 69 73 20 61 6e | 79 20 66 6c 6f 61 74 20 |re is an|y float |
|00005440| 69 6e 20 5c 4c 49 53 54 | 20 68 61 76 69 6e 67 0a |in \LIST| having.|
|00005450| 25 20 20 74 68 65 20 73 | 61 6d 65 20 74 79 70 65 |% the s|ame type|
|00005460| 20 61 73 20 66 6c 6f 61 | 74 20 49 2c 20 79 6f 75 | as floa|t I, you|
|00005470| 20 72 75 6e 20 5c 40 62 | 69 74 6f 72 20 77 69 74 | run \@b|itor wit|
|00005480| 68 0a 25 20 20 20 20 5c | 4e 55 4d 20 3d 20 5b 28 |h.% \|NUM = [(|
|00005490| 5c 63 6f 75 6e 74 20 49 | 29 2f 33 32 5d 20 2a 20 |\count I|)/32] * |
|000054a0| 33 32 2e 0a 25 0a 25 20 | 5c 40 62 69 74 6f 72 5c |32..%.% |\@bitor\|
|000054b0| 4e 55 4d 5c 4c 49 53 54 | 20 3d 3d 0a 25 20 20 20 |NUM\LIST| ==.% |
|000054c0| 42 45 47 49 4e 0a 25 20 | 20 20 20 20 20 40 74 65 |BEGIN.% | @te|
|000054d0| 73 74 20 3a 3d 47 20 66 | 61 6c 73 65 0a 25 20 20 |st :=G f|alse.% |
|000054e0| 20 20 20 20 7b 20 5c 40 | 65 6c 74 20 5c 43 54 52 | { \@|elt \CTR|
|000054f0| 20 3d 3d 20 20 69 66 20 | 5c 4e 55 4d 20 3c 3e 20 | == if |\NUM <> |
|00005500| 30 20 74 68 65 6e 0a 25 | 20 20 20 20 20 20 20 20 |0 then.%| |
|00005510| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005520| 20 20 69 66 20 5c 63 6f | 75 6e 74 5c 43 54 52 20 | if \co|unt\CTR |
|00005530| 2f 20 5c 4e 55 4d 20 69 | 73 20 6f 64 64 0a 25 20 |/ \NUM i|s odd.% |
|00005540| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005550| 20 20 20 20 20 20 20 20 | 20 20 20 20 74 68 65 6e | | then|
|00005560| 20 20 40 74 65 73 74 20 | 3a 3d 20 74 72 75 65 20 | @test |:= true |
|00005570| 20 20 20 20 20 20 66 69 | 20 66 69 0a 25 20 20 20 | fi| fi.% |
|00005580| 20 20 20 20 20 5c 4c 49 | 53 54 0a 25 20 20 20 20 | \LI|ST.% |
|00005590| 20 20 7d 0a 25 20 20 20 | 45 4e 44 0a 25 0a 25 0a | }.% |END.%.%.|
|000055a0| 25 20 5c 40 63 6f 6e 73 | 5c 4c 49 53 54 5c 4e 55 |% \@cons|\LIST\NU|
|000055b0| 4d 20 3a 20 47 6c 6f 62 | 61 6c 6c 79 20 73 65 74 |M : Glob|ally set|
|000055c0| 73 20 5c 4c 49 53 54 20 | 3a 3d 20 5c 4c 49 53 54 |s \LIST |:= \LIST|
|000055d0| 20 2a 20 5c 40 65 6c 74 | 20 5c 4e 55 4d 0a 25 0a | * \@elt| \NUM.%.|
|000055e0| 25 20 5c 40 63 6f 6e 73 | 5c 4c 49 53 54 5c 4e 55 |% \@cons|\LIST\NU|
|000055f0| 4d 20 3d 3d 0a 25 20 20 | 20 42 45 47 49 4e 20 7b |M ==.% | BEGIN {|
|00005600| 20 20 5c 40 65 6c 74 20 | 3d 3d 20 5c 72 65 6c 61 | \@elt |== \rela|
|00005610| 78 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 5c |x.% | \|
|00005620| 4c 49 53 54 20 3a 3d 47 | 20 5c 4c 49 53 54 20 5c |LIST :=G| \LIST \|
|00005630| 40 65 6c 74 20 5c 4e 55 | 4d 0a 25 20 20 20 20 20 |@elt \NU|M.% |
|00005640| 20 20 20 20 7d 0a 25 0a | 25 20 20 42 4f 58 20 4c | }.%.|% BOX L|
|00005650| 49 53 54 53 20 46 4f 52 | 20 46 4c 4f 41 54 2d 50 |ISTS FOR| FLOAT-P|
|00005660| 4c 41 43 45 4d 45 4e 54 | 20 41 4c 47 4f 52 49 54 |LACEMENT| ALGORIT|
|00005670| 48 4d 53 0a 25 0a 25 20 | 20 20 20 5c 40 66 72 65 |HMS.%.% | \@fre|
|00005680| 65 6c 69 73 74 20 20 20 | 20 20 3a 20 4c 69 73 74 |elist | : List|
|00005690| 20 6f 66 20 65 6d 70 74 | 79 20 62 6f 78 65 73 20 | of empt|y boxes |
|000056a0| 66 6f 72 20 70 6c 61 63 | 69 6e 67 20 6e 65 77 20 |for plac|ing new |
|000056b0| 66 6c 6f 61 74 73 2e 0a | 25 20 20 20 20 5c 40 74 |floats..|% \@t|
|000056c0| 6f 70 6c 69 73 74 20 20 | 20 20 20 20 3a 20 4c 69 |oplist | : Li|
|000056d0| 73 74 20 6f 66 20 66 6c | 6f 61 74 73 20 74 6f 20 |st of fl|oats to |
|000056e0| 67 6f 20 61 74 20 74 6f | 70 20 6f 66 20 63 75 72 |go at to|p of cur|
|000056f0| 72 65 6e 74 20 63 6f 6c | 75 6d 6e 2e 0a 25 20 20 |rent col|umn..% |
|00005700| 20 20 5c 40 6d 69 64 6c | 69 73 74 20 20 20 20 20 | \@midl|ist |
|00005710| 20 3a 20 4c 69 73 74 20 | 6f 66 20 66 6c 6f 61 74 | : List |of float|
|00005720| 73 20 69 6e 20 6d 69 64 | 64 6c 65 20 6f 66 20 63 |s in mid|dle of c|
|00005730| 75 72 72 65 6e 74 20 63 | 6f 6c 75 6d 6e 2e 0a 25 |urrent c|olumn..%|
|00005740| 20 20 20 20 5c 40 62 6f | 74 6c 69 73 74 20 20 20 | \@bo|tlist |
|00005750| 20 20 20 3a 20 4c 69 73 | 74 20 6f 66 20 66 6c 6f | : Lis|t of flo|
|00005760| 61 74 73 20 74 6f 20 67 | 6f 20 61 74 20 62 6f 74 |ats to g|o at bot|
|00005770| 74 6f 6d 20 6f 66 20 63 | 75 72 72 65 6e 74 20 63 |tom of c|urrent c|
|00005780| 6f 6c 75 6d 6e 2e 0a 25 | 20 20 20 20 5c 40 64 65 |olumn..%| \@de|
|00005790| 66 65 72 6c 69 73 74 20 | 20 20 20 3a 20 4c 69 73 |ferlist | : Lis|
|000057a0| 74 20 6f 66 20 66 6c 6f | 61 74 73 20 74 6f 20 67 |t of flo|ats to g|
|000057b0| 6f 20 61 66 74 65 72 20 | 63 75 72 72 65 6e 74 20 |o after |current |
|000057c0| 63 6f 6c 75 6d 6e 2e 0a | 25 20 20 20 20 5c 40 64 |column..|% \@d|
|000057d0| 62 6c 74 6f 70 6c 69 73 | 74 20 20 20 3a 20 4c 69 |bltoplis|t : Li|
|000057e0| 73 74 20 6f 66 20 64 6f | 75 62 6c 65 2d 63 6f 6c |st of do|uble-col|
|000057f0| 2e 20 66 6c 6f 61 74 73 | 20 74 6f 20 67 6f 20 61 |. floats| to go a|
|00005800| 74 20 74 6f 70 20 6f 66 | 20 63 75 72 72 65 6e 74 |t top of| current|
|00005810| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|00005820| 20 20 20 20 20 20 20 70 | 61 67 65 2e 0a 25 20 20 | p|age..% |
|00005830| 20 20 5c 40 64 62 6c 64 | 65 66 65 72 6c 69 73 74 | \@dbld|eferlist|
|00005840| 20 3a 20 4c 69 73 74 20 | 6f 66 20 64 6f 75 62 6c | : List |of doubl|
|00005850| 65 2d 63 6f 6c 75 6d 6e | 20 66 6c 6f 61 74 73 20 |e-column| floats |
|00005860| 74 6f 20 67 6f 20 6f 6e | 20 73 75 62 73 65 71 75 |to go on| subsequ|
|00005870| 65 6e 74 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 |ent.% | |
|00005880| 20 20 20 20 20 20 20 20 | 20 20 70 61 67 65 73 2e | | pages.|
|00005890| 0a 25 0a 25 20 20 46 4c | 4f 41 54 2d 50 4c 41 43 |.%.% FL|OAT-PLAC|
|000058a0| 45 4d 45 4e 54 20 41 4c | 47 4f 52 49 54 48 4d 53 |EMENT AL|GORITHMS|
|000058b0| 0a 25 0a 25 0a 25 20 20 | 5c 40 61 64 64 74 6f 62 |.%.%.% |\@addtob|
|000058c0| 6f 74 20 3a 20 54 72 69 | 65 73 20 74 6f 20 70 75 |ot : Tri|es to pu|
|000058d0| 74 20 69 6e 73 65 72 74 | 20 5c 40 63 75 72 72 62 |t insert| \@currb|
|000058e0| 6f 78 20 6f 6e 20 5c 40 | 62 6f 74 6c 69 73 74 2e |ox on \@|botlist.|
|000058f0| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|00005900| 20 43 61 6c 6c 65 64 20 | 6f 6e 6c 79 20 77 68 65 | Called |only whe|
|00005910| 6e 3a 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 |n:.% | |
|00005920| 20 20 20 20 20 20 2a 20 | 5c 68 74 20 42 4f 58 20 | * |\ht BOX |
|00005930| 3c 20 5c 40 63 6f 6c 72 | 6f 6f 6d 0a 25 20 20 20 |< \@colr|oom.% |
|00005940| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2a | | *|
|00005950| 20 74 79 70 65 20 6f 66 | 20 5c 40 63 75 72 72 62 | type of| \@currb|
|00005960| 6f 78 20 6e 6f 74 20 6f | 6e 20 5c 40 64 65 66 65 |ox not o|n \@defe|
|00005970| 72 6c 69 73 74 0a 25 20 | 20 20 20 20 20 20 20 20 |rlist.% | |
|00005980| 20 20 20 20 20 20 20 20 | 20 2a 20 5c 40 63 6f 6c | | * \@col|
|00005990| 6e 75 6d 20 3e 20 30 0a | 25 20 20 20 20 20 20 20 |num > 0.|% |
|000059a0| 20 20 20 20 20 20 20 20 | 20 20 20 2a 20 40 69 6e | | * @in|
|000059b0| 73 65 72 74 20 3d 20 66 | 61 6c 73 65 0a 25 20 20 |sert = f|alse.% |
|000059c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 49 66 20 | | If |
|000059d0| 69 74 20 73 75 63 63 65 | 65 64 73 2c 20 74 68 65 |it succe|eds, the|
|000059e0| 6e 3a 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 |n:.% | |
|000059f0| 20 20 20 20 20 20 2a 20 | 73 65 74 73 20 40 69 6e | * |sets @in|
|00005a00| 73 65 72 74 20 74 72 75 | 65 0a 25 20 20 20 20 20 |sert tru|e.% |
|00005a10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 20 64 | | * d|
|00005a20| 65 63 72 65 6d 65 6e 74 | 73 20 5c 40 62 6f 74 72 |ecrement|s \@botr|
|00005a30| 6f 6f 6d 20 62 79 20 5c | 68 74 20 42 4f 58 0a 25 |oom by \|ht BOX.%|
|00005a40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005a50| 20 20 2a 20 64 65 63 72 | 65 6d 65 6e 74 73 20 5c | * decr|ements \|
|00005a60| 40 62 6f 74 6e 75 6d 20 | 61 6e 64 20 5c 40 63 6f |@botnum |and \@co|
|00005a70| 6c 6e 75 6d 20 62 79 20 | 31 0a 25 20 20 20 20 20 |lnum by |1.% |
|00005a80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 20 64 | | * d|
|00005a90| 65 63 72 65 6d 65 6e 74 | 73 20 5c 40 63 6f 6c 72 |ecrement|s \@colr|
|00005aa0| 6f 6f 6d 20 62 79 20 5c | 68 74 20 42 4f 58 20 2b |oom by \|ht BOX +|
|00005ab0| 20 65 69 74 68 65 72 20 | 5c 66 6c 6f 61 74 73 65 | either |\floatse|
|00005ac0| 70 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |p.% | |
|00005ad0| 20 20 20 20 20 20 20 6f | 72 20 5c 74 65 78 74 66 | o|r \textf|
|00005ae0| 6c 6f 61 74 73 65 70 2c | 20 61 73 20 61 70 70 72 |loatsep,| as appr|
|00005af0| 6f 70 72 69 61 74 65 2e | 0a 25 20 20 20 20 20 20 |opriate.|.% |
|00005b00| 20 20 20 20 20 20 20 20 | 20 20 20 20 2a 20 73 65 | | * se|
|00005b10| 74 73 20 5c 6d 61 78 64 | 65 70 74 68 20 74 6f 20 |ts \maxd|epth to |
|00005b20| 30 70 74 0a 25 0a 25 20 | 20 5c 40 61 64 64 74 6f |0pt.%.% | \@addto|
|00005b30| 74 6f 70 6f 72 62 6f 74 | 20 3a 20 54 72 69 65 73 |toporbot| : Tries|
|00005b40| 20 74 6f 20 70 75 74 20 | 69 6e 73 65 72 74 20 5c | to put |insert \|
|00005b50| 40 63 75 72 72 62 6f 78 | 20 6f 6e 20 5c 40 74 6f |@currbox| on \@to|
|00005b60| 70 6c 69 73 74 20 6f 72 | 0a 25 20 20 20 20 20 20 |plist or|.% |
|00005b70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 5c 40 | | \@|
|00005b80| 62 6f 74 6c 69 73 74 2e | 0a 25 20 20 20 20 20 20 |botlist.|.% |
|00005b90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 43 61 | | Ca|
|00005ba0| 6c 6c 65 64 20 6f 6e 6c | 79 20 75 6e 64 65 72 20 |lled onl|y under |
|00005bb0| 73 61 6d 65 20 63 6f 6e | 64 69 74 69 6f 6e 73 20 |same con|ditions |
|00005bc0| 61 73 20 5c 40 61 64 64 | 74 6f 62 6f 74 2e 0a 25 |as \@add|tobot..%|
|00005bd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005be0| 20 20 20 20 49 66 20 69 | 74 20 73 75 63 63 65 65 | If i|t succee|
|00005bf0| 64 73 2c 20 74 68 65 6e | 3a 0a 25 20 20 20 20 20 |ds, then|:.% |
|00005c00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005c10| 20 20 2a 20 73 65 74 73 | 20 40 69 6e 73 65 72 74 | * sets| @insert|
|00005c20| 20 74 72 75 65 0a 25 20 | 20 20 20 20 20 20 20 20 | true.% | |
|00005c30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2a 20 | | * |
|00005c40| 64 65 63 72 65 6d 65 6e | 74 73 20 5c 40 74 6f 70 |decremen|ts \@top|
|00005c50| 72 6f 6f 6d 20 6f 72 20 | 5c 40 62 6f 74 72 6f 6f |room or |\@botroo|
|00005c60| 6d 20 62 79 20 5c 68 74 | 20 42 4f 58 0a 25 20 20 |m by \ht| BOX.% |
|00005c70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005c80| 20 20 20 20 20 2a 20 64 | 65 63 72 65 6d 65 6e 74 | * d|ecrement|
|00005c90| 73 20 5c 40 63 6f 6c 6e | 75 6d 20 61 6e 64 20 65 |s \@coln|um and e|
|00005ca0| 69 74 68 65 72 20 5c 40 | 74 6f 70 6e 75 6d 20 6f |ither \@|topnum o|
|00005cb0| 72 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |r.% | |
|00005cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 5c 40 62 6f | | \@bo|
|00005cd0| 74 6e 75 6d 20 62 79 20 | 31 0a 25 20 20 20 20 20 |tnum by |1.% |
|00005ce0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005cf0| 20 20 2a 20 64 65 63 72 | 65 6d 65 6e 74 73 20 5c | * decr|ements \|
|00005d00| 40 63 6f 6c 72 6f 6f 6d | 20 62 79 20 5c 68 74 20 |@colroom| by \ht |
|00005d10| 42 4f 58 20 2b 20 5c 66 | 6c 6f 61 74 73 65 70 0a |BOX + \f|loatsep.|
|00005d20| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |% | |
|00005d30| 20 20 20 20 20 20 20 20 | 20 20 6f 72 20 5c 74 65 | | or \te|
|00005d40| 78 74 66 6c 6f 61 74 73 | 65 70 2c 20 61 73 20 61 |xtfloats|ep, as a|
|00005d50| 70 70 72 6f 70 72 69 61 | 74 65 2e 0a 25 0a 25 20 |ppropria|te..%.% |
|00005d60| 5c 40 61 64 64 74 6f 63 | 75 72 63 6f 6c 20 3a 20 |\@addtoc|urcol : |
|00005d70| 54 72 69 65 73 20 74 6f | 20 61 64 64 20 5c 40 63 |Tries to| add \@c|
|00005d80| 75 72 72 62 6f 78 20 74 | 6f 20 63 75 72 72 65 6e |urrbox t|o curren|
|00005d90| 74 20 63 6f 6c 75 6d 6e | 2c 20 73 65 74 74 69 6e |t column|, settin|
|00005da0| 67 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |g.% | |
|00005db0| 20 20 20 20 40 69 6e 73 | 65 72 74 20 74 72 75 65 | @ins|ert true|
|00005dc0| 20 69 66 20 69 74 20 73 | 75 63 63 65 65 64 73 2c | if it s|ucceeds,|
|00005dd0| 20 66 61 6c 73 65 20 6f | 74 68 65 72 77 69 73 65 | false o|therwise|
|00005de0| 2e 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |..% | |
|00005df0| 20 20 20 20 49 74 20 77 | 69 6c 6c 20 61 64 64 20 | It w|ill add |
|00005e00| 5c 40 63 75 72 72 62 6f | 78 20 74 6f 20 74 6f 70 |\@currbo|x to top|
|00005e10| 20 6f 6e 6c 79 20 69 66 | 20 62 69 74 20 30 20 6f | only if| bit 0 o|
|00005e20| 66 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |f.% | |
|00005e30| 20 20 20 20 5c 63 6f 75 | 6e 74 20 5c 40 63 75 72 | \cou|nt \@cur|
|00005e40| 72 62 6f 78 20 69 73 20 | 30 2c 20 61 6e 64 20 74 |rbox is |0, and t|
|00005e50| 6f 20 74 68 65 20 62 6f | 74 74 6f 6d 20 6f 6e 6c |o the bo|ttom onl|
|00005e60| 79 20 69 66 0a 25 20 20 | 20 20 20 20 20 20 20 20 |y if.% | |
|00005e70| 20 20 20 20 20 20 20 62 | 69 74 20 30 20 3d 20 30 | b|it 0 = 0|
|00005e80| 20 6f 72 20 61 6e 20 65 | 61 72 6c 69 65 72 20 66 | or an e|arlier f|
|00005e90| 6c 6f 61 74 20 6f 66 20 | 74 68 65 20 73 61 6d 65 |loat of |the same|
|00005ea0| 20 74 79 70 65 20 69 73 | 0a 25 20 20 20 20 20 20 | type is|.% |
|00005eb0| 20 20 20 20 20 20 20 20 | 20 20 20 70 75 74 20 6f | | put o|
|00005ec0| 6e 20 74 68 65 20 62 6f | 74 74 6f 6d 2e 0a 25 20 |n the bo|ttom..% |
|00005ed0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005ee0| 49 66 20 74 68 65 20 66 | 6c 6f 61 74 20 69 73 20 |If the f|loat is |
|00005ef0| 70 75 74 20 69 6e 20 74 | 68 65 20 74 65 78 74 2c |put in t|he text,|
|00005f00| 20 74 68 65 6e 0a 25 20 | 20 20 20 20 20 20 20 20 | then.% | |
|00005f10| 20 20 20 20 20 20 20 20 | 5c 70 65 6e 61 6c 74 79 | |\penalty|
|00005f20| 5c 69 6e 74 65 72 6c 69 | 6e 65 70 65 6e 61 6c 74 |\interli|nepenalt|
|00005f30| 79 20 69 73 20 70 75 74 | 0a 25 20 20 20 20 20 20 |y is put|.% |
|00005f40| 20 20 20 20 20 20 20 20 | 20 20 20 72 69 67 68 74 | | right|
|00005f50| 20 61 66 74 65 72 20 74 | 68 65 20 66 6c 6f 61 74 | after t|he float|
|00005f60| 2c 20 62 65 66 6f 72 65 | 20 74 68 65 20 66 6f 6c |, before| the fol|
|00005f70| 6c 6f 77 69 6e 67 20 5c | 76 73 6b 69 70 2c 0a 25 |lowing \|vskip,.%|
|00005f80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005f90| 20 61 6e 64 20 5c 6f 75 | 74 70 75 74 70 65 6e 61 | and \ou|tputpena|
|00005fa0| 6c 74 79 20 3a 3d 4c 20 | 30 2e 0a 25 0a 25 20 5c |lty :=L |0..%.% \|
|00005fb0| 40 61 64 64 74 6f 6e 65 | 78 74 63 6f 6c 20 3a 20 |@addtone|xtcol : |
|00005fc0| 54 72 69 65 73 20 74 6f | 20 61 64 64 20 5c 40 63 |Tries to| add \@c|
|00005fd0| 75 72 72 62 6f 78 20 74 | 6f 20 74 68 65 20 6e 65 |urrbox t|o the ne|
|00005fe0| 78 74 20 63 6f 6c 75 6d | 6e 2c 20 73 65 74 74 69 |xt colum|n, setti|
|00005ff0| 6e 67 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 |ng.% | |
|00006000| 20 20 20 20 20 20 40 69 | 6e 73 65 72 74 20 74 72 | @i|nsert tr|
|00006010| 75 65 20 69 66 20 69 74 | 20 73 75 63 63 65 65 64 |ue if it| succeed|
|00006020| 73 2c 20 66 61 6c 73 65 | 20 6f 74 68 65 72 77 69 |s, false| otherwi|
|00006030| 73 65 2e 0a 25 0a 25 20 | 5c 40 61 64 64 74 6f 64 |se..%.% |\@addtod|
|00006040| 62 6c 63 6f 6c 20 3a 20 | 54 72 69 65 73 20 74 6f |blcol : |Tries to|
|00006050| 20 61 64 64 20 5c 40 63 | 75 72 72 62 6f 78 20 74 | add \@c|urrbox t|
|00006060| 6f 20 74 68 65 20 6e 65 | 78 74 20 64 6f 75 62 6c |o the ne|xt doubl|
|00006070| 65 2d 63 6f 6c 75 6d 6e | 20 70 61 67 65 2c 0a 25 |e-column| page,.%|
|00006080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006090| 20 61 64 64 69 6e 67 20 | 69 74 20 74 6f 20 5c 40 | adding |it to \@|
|000060a0| 64 62 6c 74 6f 70 6c 69 | 73 74 20 69 66 20 69 74 |dbltopli|st if it|
|000060b0| 20 73 75 63 63 65 65 64 | 73 20 61 6e 64 0a 25 20 | succeed|s and.% |
|000060c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000060d0| 5c 40 64 62 6c 64 65 66 | 65 72 6c 69 73 74 20 69 |\@dbldef|erlist i|
|000060e0| 66 20 69 74 20 66 61 69 | 6c 73 2e 0a 25 0a 25 0a |f it fai|ls..%.%.|
|000060f0| 25 20 20 5c 40 61 64 64 | 6d 61 72 67 69 6e 70 61 |% \@add|marginpa|
|00006100| 72 20 3d 3d 0a 25 20 20 | 20 42 45 47 49 4e 0a 25 |r ==.% | BEGIN.%|
|00006110| 20 20 20 20 20 69 66 20 | 5c 40 63 75 72 72 6c 69 | if |\@currli|
|00006120| 73 74 20 6e 6f 6e 65 6d | 70 74 79 0a 25 20 20 20 |st nonem|pty.% |
|00006130| 20 20 20 20 74 68 65 6e | 20 72 65 6d 6f 76 65 20 | then| remove |
|00006140| 5c 40 6d 61 72 62 6f 78 | 20 66 72 6f 6d 20 5c 40 |\@marbox| from \@|
|00006150| 63 75 72 72 6c 69 73 74 | 0a 25 20 20 20 20 20 20 |currlist|.% |
|00006160| 20 20 20 20 20 20 61 64 | 64 20 5c 40 6d 61 72 62 | ad|d \@marb|
|00006170| 6f 78 20 61 6e 64 20 5c | 40 63 75 72 72 62 6f 78 |ox and \|@currbox|
|00006180| 20 74 6f 20 5c 40 66 72 | 65 65 6c 69 73 74 0a 25 | to \@fr|eelist.%|
|00006190| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000061a0| 20 25 25 20 4e 4f 54 45 | 3a 20 5c 40 63 75 72 72 | %% NOTE|: \@curr|
|000061b0| 62 6f 78 20 3d 20 6c 65 | 66 74 20 62 6f 78 0a 25 |box = le|ft box.%|
|000061c0| 20 20 20 20 20 20 20 65 | 6c 73 65 20 4c 61 54 65 | e|lse LaTe|
|000061d0| 58 20 65 72 72 6f 72 3a | 20 3f 20 20 25 25 20 73 |X error:| ? %% s|
|000061e0| 68 6f 75 6c 64 6e 27 74 | 20 68 61 70 70 65 6e 0a |houldn't| happen.|
|000061f0| 25 20 20 20 20 20 66 69 | 0a 25 20 20 20 20 20 5c |% fi|.% \|
|00006200| 40 74 65 6d 70 63 6e 74 | 61 20 3a 3d 20 31 20 20 |@tempcnt|a := 1 |
|00006210| 20 20 20 25 25 20 31 20 | 3d 20 72 69 67 68 74 2c | %% 1 |= right,|
|00006220| 20 2d 31 20 3d 20 6c 65 | 66 74 0a 25 20 20 20 20 | -1 = le|ft.% |
|00006230| 20 69 66 20 40 74 77 6f | 63 6f 6c 75 6d 6e 20 3d | if @two|column =|
|00006240| 20 74 72 75 65 0a 25 20 | 20 20 20 20 20 20 74 68 | true.% | th|
|00006250| 65 6e 20 69 66 20 40 66 | 69 72 73 74 63 6f 6c 75 |en if @f|irstcolu|
|00006260| 6d 6e 20 3d 20 74 72 75 | 65 0a 25 20 20 20 20 20 |mn = tru|e.% |
|00006270| 20 20 20 20 20 20 20 20 | 20 74 68 65 6e 20 5c 40 | | then \@|
|00006280| 74 65 6d 70 63 6e 74 61 | 20 3a 3d 20 2d 31 0a 25 |tempcnta| := -1.%|
|00006290| 20 20 20 20 20 20 20 20 | 20 20 20 20 66 69 0a 25 | | fi.%|
|000062a0| 20 20 20 20 20 20 20 65 | 6c 73 65 20 69 66 20 40 | e|lse if @|
|000062b0| 6d 70 61 72 73 77 69 74 | 63 68 20 3d 20 74 72 75 |mparswit|ch = tru|
|000062c0| 65 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e.% | |
|000062d0| 20 74 68 65 6e 20 69 66 | 20 63 6f 75 6e 74 30 20 | then if| count0 |
|000062e0| 6f 64 64 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 |odd.% | |
|000062f0| 20 20 20 20 20 20 20 20 | 20 20 65 6c 73 65 20 5c | | else \|
|00006300| 40 74 65 6d 70 63 6e 74 | 61 20 3a 3d 20 2d 31 0a |@tempcnt|a := -1.|
|00006310| 25 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |% | |
|00006320| 20 20 20 20 66 69 0a 25 | 20 20 20 20 20 20 20 20 | fi.%| |
|00006330| 20 20 20 20 66 69 0a 25 | 20 20 20 20 20 20 20 20 | fi.%| |
|00006340| 20 20 20 20 69 66 20 40 | 72 65 76 65 72 73 65 6d | if @|reversem|
|00006350| 61 72 67 69 6e 20 3d 20 | 74 72 75 65 0a 25 20 20 |argin = |true.% |
|00006360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 68 65 | | the|
|00006370| 6e 20 5c 40 74 65 6d 70 | 63 6e 74 61 20 3a 3d 20 |n \@temp|cnta := |
|00006380| 2d 5c 40 74 65 6d 70 63 | 6e 74 61 0a 25 20 20 20 |-\@tempc|nta.% |
|00006390| 20 20 20 20 20 20 20 20 | 20 66 69 0a 25 20 20 20 | | fi.% |
|000063a0| 20 20 66 69 0a 25 20 20 | 20 20 20 69 66 20 5c 40 | fi.% | if \@|
|000063b0| 74 65 6d 70 63 6e 74 61 | 20 3c 20 30 20 74 68 65 |tempcnta| < 0 the|
|000063c0| 6e 20 5c 62 6f 78 5c 40 | 6d 61 72 62 6f 78 20 3a |n \box\@|marbox :|
|000063d0| 3d 47 20 5c 62 6f 78 5c | 40 63 75 72 72 62 6f 78 |=G \box\|@currbox|
|000063e0| 0a 25 20 20 20 20 20 66 | 69 0a 25 20 20 20 20 20 |.% f|i.% |
|000063f0| 5c 40 74 65 6d 70 64 69 | 6d 61 20 20 20 3a 3d 4c |\@tempdi|ma :=L|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.