÷ƒ’À;è TeX output 1997.03.05:1628‹ÿÿÿÿ ª� ýs o� ýÞ�’­P¸óDÓítG®G®cmr17¹The–7tóÖÆG®G®cmss17ºafterpage“¹pac�Œqk‘ÿäage��Ÿùº¯ó!",š cmsy10¿ŽŽŽŸ�����’Õþ­óX«Q cmr12»Da�¬rvid‘ê¨CarlisleŽŽŸ��’ÃpScarlisle@cs.man.ac.ukŽŽŽŽŽŸ&37�’Ý 1995/10/27ŽŸ$ÍO�‘XóKñ`y cmr10²This–ÙMpacš¸ãk‘ÿqÇage“implemen˜ts“a“command,–òóßêŸ'EŽ‘ãxX's“ oat“p�Gositioning“mecš¸ãhanism“gets“o˜v˜erloaded,‘«gand“allŽ¡�‘b oating–GÆfigure²s“and“Ætable²s“drift“to“the“end“of“the“do�Gcumenš¸ãt.‘GOne“ma˜yŽ¡�‘b ush–YÁout“all“the“unpro�Gcessed“ oats“b�¸ãy“issuing“a“Æ\clearpage“²command,‘ZÜbutŽ¡�‘bthis–Fhas“the“e ect“of“making“the“currenš¸ãt“page“end“prematurely‘ÿ*ª.‘¨šNo˜w“y˜ouŽ¡�‘bcan–îóissue“Æ\afterpage{\clearpage}“²and“the“curren�¸ãt“page“will“b�Ge“ lled“upŽ¡�‘bwith–È/text“as“usual,‘äåbut“then“a“Æ\clearpage“²command“will“ ush“out“all“theŽ¡�‘b oats–UUbšGefore“the“next“text“page“b˜egins.Ž©ë¸����‘U8ä2.ŽŽŽ‘bAn–:Ðearlier“mecš¸ãhanism“to“help“with“ oat“placemen˜t“w˜as“the“optional“argumen˜tŽ¡�‘bÆ[H]‘%H²(meaning–%Uóò"V cmbx10ÈHERE!²)“whicš¸ãh“w˜as“originally“added“to“the“standard“ oatingŽ¡�‘ben•¸ãvironmen“ts›2“b“y˜Æhere.sty²,‘iãand˜is˜no“w˜pro“vided˜b“y˜Æfloat.sty².‘ ‚Ho“w“ev“erŽ¡�‘bsome–ósÆ[H]‘óZ²users“ha•¸ãv“e›óscommen“ted˜that˜they˜did˜not˜really˜mean˜`Here!'‘Q'TheyŽ¡�‘bactually›UUw•¸ãan“ted˜`Somewhere˜close'.‘qÇThis˜can˜no“w˜b�Ge˜ac“hiev“ed˜b“yŽ¡�‘bÆ\afterpage{\clearpage\begin{figure}[H]‘?ý².–ªª.“.“Æ\end{figure}}Ž¡�‘b²This–ʪensures“that“the“ gure“is“at“the“top“of“the“next“page.‘CŽ(The“Æ\clearpageŽ¡�‘b²stops–UUan�¸ãy“other“ gures“drifting“past“the“Æ[H]“² gure.)ަ����‘U8ä3.ŽŽŽ‘bFloating–¸longtables.‘™ÔÆlongtable.sty“²proš¸ãvides“the“Ælongtable“²en˜vironmen˜t,Ž¡�‘ba–d§mš¸ãulti-page“v˜ersion“of“Ætabular².‘Ÿ¾Man˜y“Ælongtable“²users“ha˜v˜e“told“me“thatŽ¡�‘bit–¡ÿis“dicult“to“set“the“text“surrounding“the“long“table,‘ÅÝand“that“they“w•¸ãan“tedŽ¡�‘ba–ÏÊ` oating'“v�¸ãersion.‘EDAs,–ê€presumably‘ÿ*ª,“Ælongtable²s–ÏÊare“long,‘ê€they“are“probablyŽ¡�‘bto�Go–iQlarge“to“hold“in“memory‘ÿ*ª,‘˜†and“ oat“in“the“w•¸ãa“y–iQthat“the“Ætable“²en•¸ãvironmen“tŽ¡�‘bis›X oated,‘$ho•¸ãw“ev“er˜if˜the˜table˜is˜in˜a˜separate˜ le,‘$sa“y˜Æltfile.tex²,‘$y“ou˜canŽ¡�‘bno�¸ãw–UUuse“one“of:Ž¡�‘bÆ\afterpage{\clearpage\input{ltfile}}Ž¡�‘b\afterpage{\clearpage\input{ltfile}\clearpage}².Ž¡�‘bThe–F  rst“form“lets“text“ap�Gear“on“the“same“page“as“the“end“of“the“longtable,Ž¡�‘bthe–UUsecond“ensures“that“the“surrounding“text“starts“again“on“a“new“page.ŽŸÍN��‘Lüs±1Ž‘Sª®ó!©±�Ê cmsy9Ìh�ó"ÒoÇw cmss9Ípack�¾9ageŽ‘#g ÌiŽŸá•����‘ŽóߤN cmtt9É\afterpageŽŽŽ‘I²The–UUtokš¸ãen“register“used“to“sa˜v˜e“the“old“output“routine.Ž‘IŸ á—‰ff�ÿrŸ @���‘ ÷ˆŸý-:óq¡% cmsy6ÅŽŽ‘LÜó|{Ycmr8ÀThis–ÕX le“has“všÃŽersion“n˜um˜b�����‘ "5Ÿý-:ó¹Aa¨cmr6Á1ŽŽŽ‘LÜÀThis–±Wis“really“a“pre-release,‘¸Što“see“whether“p�*I‘¨šthough“t–©3it“mighš¸ãt“b�Ge“fun“to“try“to“exactly“ac˜hiev˜e“theŽ¡�‘IÆ\baselineskip²{or{Æ\lineskip–D†²calculation“that“T�‘þU>Ÿ'EŽ‘ãxX“normally“do�Ges“in�¸ãternally‘ÿ*ª.‘ØTheŽ¡�‘Icall–UUto“Æ\addboxcontents“²došGes“the“righ�¸ãt“thing“(I“hop˜e).ŽŸ��‘I±40Ž‘a×pÉ\addboxcontents\AP@partialަ�‘I²Noš¸ãw–¯re-insert“an˜y“fo�Gotnote“text.‘ÁÕThis“ma˜y“not“b�Ge“quite“the“righ˜t“place,‘Las“theŽ¡�‘Itext–ÉCthat“has“just“bšGeen“un•¸ãb˜o“xed›ÉCma“y˜break˜o“v“er˜a˜page˜in˜its˜new˜p�Gosition.‘CAlso˜itŽ¡�‘Imaš¸ãy–¦Õnot“b�Ge“the“righ˜t“n˜um˜b�Ger“if“the“text“from“Æ\afterpage“²itself“con˜tains“fo�Gotnotes.Ž¡�‘IT‘ÿ*ªo�Go‘UUbad!ޤ��‘I±41Ž‘]ÚÉ\ifvoid\AP@footins\elseŽŸ ��‘I±42Ž‘~0ôÉ\insert\footins{\unvbox\AP@footins}\fiަ�‘I²Noš¸ãw–UUrepair“things“if“w˜e“started“o “in“horizon˜tal“mo�Gde.Ž¡��‘I±43Ž‘]ÚÉ\AP@noindent}ŽŽŸ�’ø²3ŽŽŒ‹Õ ª� ýs o� ý´�‘X²If–9Æ\AP@“²is“not“Æ\relax“²then“the“curren�¸ãt“page“already“has“some“`afterpage'“com-ޤ �‘Imands,‘qªso–kÿjust“add“the“new“commands“to“the“end“of“the“list.‘µÅOtherwise“sa•¸ãv“e‘kÿtheŽ¡�‘Icommands–‘·in“Æ\AP@².›&í(within“a“lo�Gcal“group),‘ Ïand“switc�¸ãh“the“output“routine.˜(TheŽ¡�‘Inew–UUoutput“routine“just“calls“the“old“one“if“it“is“in•¸ãv“ok“ed›UUb“y˜a˜L�Ÿýó5�‘üff±AŽŽ‘͉²T�‘þU>Ÿ'EŽ‘ãxX˜ oat.Ž©��‘I±44Ž‘Sª®É\long\def\afterpage#1{%ޤ ��‘I±45Ž‘]ÚÉ\ifx\AP@\relaxŽ¡��‘I±46Ž‘f‘É\gdef\AP@{{#1\par}}%Ž¡��‘I±47Ž‘f‘É\global\output{%Ž¡��‘I±48Ž‘p2É\the\AP@outputŽ¡��‘I±49Ž‘p2É\ifnum\outputpenalty>-\@MiŽ¡��‘I±50Ž‘yw^É\global\output\expandafter{\the\AP@output}%Ž¡��‘I±51Ž‘yw^É\aftergroup\AP@@Ž¡��‘I±52Ž‘p2É\fi}%Ž¡��‘I±53Ž‘]ÚÉ\elseŽ¡��‘I±54Ž‘f‘É\expandafter\gdef\expandafter\AP@\expandafter{\AP@{#1\par}}%Ž¡��‘I±55Ž‘]ÚÉ\fi}ŽŸ�‘X²If–Œowš¸ãe“ha˜v˜e“got“to“the“end“of“the“do�Gcumen˜t“or“clearpage“just“put“the“stu “outŽŸ �‘Iwithout–UUanš¸ãy“tric˜k˜ery‘ÿ*ª.ަ��‘I±56Ž‘Sª®É\let\AP@clearpage\clearpageŽ¡��‘I±57Ž‘Sª®É\def\clearpage{%Ž¡��‘I±58Ž‘]ÚÉ\ifx\AP@\relaxŽ¡��‘I±59Ž‘f‘É\AP@clearpageŽ¡��‘I±60Ž‘]ÚÉ\elseŽ¡��‘I±61Ž‘f‘É\global\output\expandafter{\the\AP@output}%Ž¡��‘I±62Ž‘f‘É\AP@clearpageŽŸ�‘I²Aš¸ãt–w$this“p�Goin˜t“(since“v1.08)“Need“to“clear“Æ\AP@“ó'ý': cmti10Òb–ÿ}'efor“e‘7²using–w$its“expansion,‘—as“oth-ŽŸ �‘Ierwise–UUhit“an“in nite“lo�Gop.‘qÇSigh.ަ��‘I±63Ž‘f‘É\global\expandafter\let\expandafter\AP@\expandafter\relaxŽ¡��‘I±64Ž‘f‘É\expandafter\expandafter\AP@Ž¡��‘I±65Ž‘]ÚÉ\fi}Ž¡��‘I±66Ž‘Sª®É\let\AP@enddocument\enddocumentŽ¡��‘I±67Ž‘Sª®É\def\enddocument{%Ž¡��‘I±68Ž‘]ÚÉ\ifx\AP@\relax\elseŽ¡��‘I±69Ž‘f‘É\global\output\expandafter{\the\AP@output}%Ž¡��‘I±70Ž‘f‘É\AP@clearpageŽ¡��‘I±71Ž‘f‘É\global\expandafter\let\expandafter\AP@\expandafter\relaxŽ¡��‘I±72Ž‘f‘É\expandafter\expandafter\AP@Ž¡��‘I±73Ž‘]ÚÉ\fiŽ¡��‘I±74Ž‘f‘É\AP@enddocument}ŽŸ����‘øf \addboxcontentsŽŽŽ‘I²Givš¸ãen–°a“vb�Go˜x“Æ#1²,‘kadd“to“the“curren˜t“v˜ertical“list“suc˜h“that“the“end“result“is“equiv-ޤ �‘Ialenš¸ãt–èâto“the“list“that“T�‘þU>Ÿ'EŽ‘ãxX“w˜ould“ha˜v˜e“built“had“the“con˜ten˜ts“of“Æ#1“²(apart“from“an˜yŽ¡�‘Iinitial–UUglue)“b�Geen“added“individually“to“the“curren�¸ãt“list.Ž¡�‘XSo–µRessenš¸ãtially‘ÿ*ª,‘ÕSthe“problem“is“that“of“un˜b�Go˜xing“Æ#1²,‘ÕSbut“replacing“the“glue“at“theŽ¡�‘Itop–½nof“Æ#1“²with“(something“equiv‘ÿqÇalen�¸ãt“to)“the“Æ\baselineskip“²or“Æ\lineskip“²glueŽ¡�‘Ithat–äèT�‘þU>Ÿ'EŽ‘ãxX“wš¸ãould“normally“ha˜v˜e“placed“bšGefore“the“ rst“b˜o�¸ãx“in“Æ#1².‘LNAlso“Æ\prevdepthŽ¡�‘I²m�¸ãust–UUb�Ge“set“at“the“end.ަ��‘I±75Ž‘Sª®É\def\addboxcontents#1{{%ŽŸ�‘I²P•¸ãerhaps›FæI‘Fâshouldn“t˜use˜grouping˜here,‘IÉas˜I‘Fâprobably˜don't˜really˜w“an“t˜to˜sa“v“e˜Æ#1².Ž¡�‘IIf–n£it“is“remo•¸ãv“ed,‘t÷Æ\splittopskip–n£²and“Æ\splitmaxdepth“²w�¸ãould“need“to“b�Ge“restoredŽ¡�‘Ib�¸ãy‘UUhand.ŽŽŸ�’ø4ŽŽŒ‹'p ª� ýs o� ý´�‘X²First–UUreplace“anš¸ãy“glue“at“the“top“b˜y“Æ\vskip‘?ý0pt².Ž©��‘I±76Ž‘]ÚÉ\splittopskip\z@ޤ ��‘I±77Ž‘]ÚÉ\splitmaxdepth\maxdimenŽ¡��‘I±78Ž‘]ÚÉ\setbox#1\vbox{\break\unvbox#1}%Ž¡��‘I±79Ž‘]ÚÉ\setbox\z@\vsplit#1to\z@ޤ�‘I²Put–UUthe“breakp�Goinš¸ãt“bac˜k.ަ��‘I±80Ž‘]ÚÉ\setbox#1\vbox{\break\unvbox#1}%Ž¡�‘I²Set–UUÆ\skip@“²to“b�Ge“heigh�¸ãt“of“Æ#1“²(without“top“glue)ަ��‘I±81Ž‘]ÚÉ\skip@\ht#1%Ž¡�‘I²No•¸ãw›’Ùmak“e˜the˜ rst˜baseline˜of˜the˜ rst˜ro“w˜b�Ge˜Æ\vsize˜²from˜the˜top.‘0ó(This˜assumesŽŸ �‘Ithat–UUthe“ rst“roš¸ãw“has“heigh˜t“less“than“Æ\vsize².)ަ��‘I±82Ž‘]ÚÉ\splittopskip\vsizeŽŸ ��‘I±83Ž‘]ÚÉ\setbox\z@\vsplit#1to\z@Ž¡�‘I²Subtract–T/the“new“heighš¸ãt“of“Æ#1“²from“Æ\skip@²,‘“åand“add“bac˜k“on“Æ\splittopskip²,ޤ �‘Iso–;Æ\skip@“²is“noš¸ãw“the“heigh˜t“of“the“ rst“ro˜w“of“Æ#1“²This“ma˜y“still“b�Ge“0pt“if“(eg)Ž¡�‘Ia–•Smark“or“whatsit“is“bšGet•¸ãw“een–•Sthe“top“glue“and“the“ rst“b˜o•¸ãx.‘1ÁSa“v“e–•S(this“heigh�¸ãt‘c‰ó !",š cmsy10¸Ž¡�‘IÆ\splittopskip²)–UUin“Æ\skip\tw@².ަ��‘I±84Ž‘]ÚÉ\advance\skip@-\ht#1%ޤ ��‘I±85Ž‘]ÚÉ\skip\tw@\skip@Ž¡��‘I±86Ž‘]ÚÉ\advance\skip@\splittopskipŽŸ�‘I²No•¸ãw›UUfak“e˜T�‘þU>Ÿ'EŽ‘ãxX's˜Æ\baselineskip˜²calculation.ަ��‘I±87Ž‘]ÚÉ\advance\skip@\prevdepthŽ¡��‘I±88Ž‘]ÚÉ\advance\skip@-\baselineskipŽ¡��‘I±89Ž‘]ÚÉ\advance\skip\tw@\ifdim-\skip@<\lineskiplimit\lineskip\else-\skip@\fiޤ�‘I²Finally–UUadd“the“glue.ަ��‘I±90Ž‘]ÚÉ\vskip\skip\tw@Ž¡�‘I²No•¸ãw›L&un“b�Go“x˜the˜b�Go“x,‘Müsetting˜Æ\prevdepth˜²b“y˜hand,‘Müas˜Æ\unvbox˜²(unlik“e˜Æ\box²)˜do�GesŽŸ �‘Inot–UUautomatically“set“it.ަ��‘I±91Ž‘]ÚÉ\global\dimen@i\dp#1%ޤ ��‘I±92Ž‘]ÚÉ\unvbox#1}%Ž¡��‘I±93Ž‘]ÚÉ\prevdepth\dimen@i}ŽŸ��‘I±94Ž‘Sª®Ìh�ó 5ùž" cmmi9Ë=Ípack�¾9ageŽ‘#g ÌiŽŽŸ�’ø²5ŽŽŒø3^ƒ’À;説ó'ý': cmti10ó"ÒoÇw cmss9ó!©±�Ê cmsy9ó 5ùž" cmmi9óߤN cmtt9óò"V cmbx10ó#Ñf�cmti8óßê