; TeX output 1996.03.06:1228soDtGGcmr17The7tGGcmss17rot oatpacqkage!", cmsy10эXQ cmr12HaraldAxelSommerfeldt2axel@hp1.ang-phrysik.uni-kiel.de( 1995/03/30+!Kt : cmbx9Abstract Xፑoo cmr9The/ow cmss9 oatpac9k|rage[1]providescommandstode nenew oatsofv|rarious bst9yles1(ߤN cmtt9plain,kboxed,ruled,anduserde nedones);therotatingpac9k|rage[2]bpro9videsWnewenvironments(sidewaysfigureandsidewaystable)whicharebrotated}b9y90-=q% cmsy6or270-=UT.UButwhatabAoutnewrotated oats,e.g.arotatedbruledw,one?Thispac9k|ragemakesthispAossible;itbuildsabridgebet9weenw,bothbpac9k|ragesandextendthecommandsfromthe oatpack|ragetode nerotatedbv9ersionsTofthenew oats,toAo.#3󍍑I"Nff cmbx121aLTheffuserinterfaceo덑IK`y cmr10T*oUUusethispackqagejusttypGeb#(AxelSommerfeldt)}L獍I3.2gThedeclarationandexecutionofoptionsuTIThe[rot oatpackqagehasn'tgotanyownoptions,1\sowejustpasseverythingwe IgetUUtotherotatingxpackqage. 2Ls4S\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{rotating}}Ls5S\ProcessOptionsI3.3gThepack@ageloadingpartuTIOf9coursethispackqageneedsthe oatandtherotatingƲpackqage,soweloadthem Ihere. 2Ls6S\RequirePackage{float}[1994/06/20]Ls7S\RequirePackage{rotating}%[1995/01/06]I3.4gAdaptionofthe oatpack@ageuT\float@endIFirstofalloneimprovementofthe oatpackqage: L\float@endnowcalls I\end@floatܓfromtheL5ffA͉TU>'ExX2 b> cmmi10"- вkernel.ThiscoGdeismoreindependentofwhat'sIreallygoingonintheL5ffA͉TU>'ExX2"+macros\@floatand\end@floatthantheoriginalIcoGdeUUofthe oatpackqageis. 2Ls8S\renewcommand*\float@end{% Ls9]\egroup%I10]\global\setbox\@currbox\vbox\bgroup%I11]\float@makebox\end@float\egroup}B$\@HHfloat L\float@endHIThis patchhastwofunctions:7Firstofall,%anerrorofthe oatpackqageis xed Ithatk5causes oatswiththeplacementspGeci er[H]k/tolookdi erfrom oatswithIother~ oatplacements.AAdditionalythispatchisrequiredtomakethesidewaysI oatsUUworkwiththeplacement[H].I12S\def\@HHfloat#1[H]{\@Hxfloat{#1}[!ht]} I13S\let\float@endH\undefined2 ΠsoI3.5gThemainco`departuTIIfgyoureallywanttoknowwhat'sexactlygoingonhere,,youhavetostudythe IcoGdeUUfromthepackqages oatandrotatingx rst!t\rotfloat@restyleIFirst,UUwesavetheoldde nitionof\restylefloatbGecauseweneeditlateron.I14S\let\rotfloat@restyle\restylefloat\restylefloatIThewEnewcoGdefor\restylefloatbehaveswEquiteliketheoldone,butitde nesaIsidewaysUU oataswell.qWhatdi erssideways oatsfromthe`normal'ones?U81.b\columnwidthsistsetto\textheightbGeforecalling\@float(\@floatitselfbsetUU\hsizeto\columnwidth).U82.b\rotfloat@endUUisusedinsteadof\float@end.U83.bW*et#de neno*-formoftheenvironmentt#bGecausearotated oatalwayst# llsbtheUUwholepage.I15S\renewcommand*\restylefloat[1]{% I16]\rotfloat@restyle{#1}%I17]\@namedef{sideways#1}{%I18f\bgroup\@nameuse{fst@#1}\columnwidth\textheight\@float{#1}}%I19]\expandafter\let\csnameendsideways#1\endcsname\rotfloat@end}\rotfloat@endIThisUUmacrodoGesallthestu that\float@enddoesandofcoursemore:IFirst|ofall,we nishthede nitionof\@currboxwith\egroup.ThenwesetI\@currboxUUtothenewcontents:U81.b\@rotfloatUU(butwithoutthecontentsUUof\@float)U82.b\float@makeboxUU(whichincludesthecontentsof\@float=\@currbox)U83.b\end@rotfloatUU(whichincludes\end@float)IFinallywe nishthewholegroup(startedin\@namedef{sideways#1}withinI\restylefloat)UUwith\egroup.I20S\newcommand*\rotfloat@end{% I21]\egroup%I22]\global\setbox\@currbox\vbox\bgroup%I23]\def\@float##1[##2]{}\let\@xfloat\@float\@rotfloat{}%I24]\float@makebox\end@rotfloat\egroup}!čIReferencesI[1]X;AnselmUULingnau:q(p0J cmsl10AnImprovedUUEnvironmentforFloats,1994/06/20I[2]X;SebastianVRahtzandLeonorBarroGca:t*AVDstyleoptionforrotatedob8jectsinX;L4ff)8)cmsl8AxTU>'ExX,UU1994/08/2635;)8)cmsl8(p0J cmsl10'N cmbx12&"V cmbx10%m#R cmss10$': cmti10# cmmi10K`y cmr10ٓRcmr7 \