; TeX output 1996.03.12:1441y?ҍT/DtGGcmr17TVest7tof`rotating'pacqkageэMi$XQ cmr12SebastianRahrtzandLeonorBarroSca[wNorvembSer19th1994'CAK`y cmr10`Rotating'nprovidesageneralisedrotationenvironment,wherethetextwill bGe5rotated(anti-clockwise)5bythenumbGerofdegreesspeci edasaparameterto:theenvironment, sbut:nospGecialarrangementismadeto ndspacefortheresult.!ǍStartUUhereXps: gsave currentpoint currentpoint translate -56 neg rotate neg exch neg exch translateSaveUUwhales ps: currentpoint grestore movetoEndhereߤN cmtt9Starthere \begin{rotate}{-56}Savewhales\end{rotate}EndhereO$6A`Lcomplete`Oexampleofrotatingtextwithoutleavingspacewouldthe`Savethewhale'textwrittenat10degreeintervqalsroundthecompass.]W*euse`rlap'toLensurethatallthetextsareprintedatthesamepGoint.]JusttoshowthatTU>'ExXUUcanhandlePostScriptmuckings-abGoutproperly...] rYps: gsave currentpoint currentpoint translate -180 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorYps: gsave currentpoint currentpoint translate -170 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorYps: gsave currentpoint currentpoint translate -160 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorYps: gsave currentpoint currentpoint translate -150 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorYps: gsave currentpoint currentpoint translate -140 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorYps: gsave currentpoint currentpoint translate -130 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorYps: gsave currentpoint currentpoint translate -120 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorYps: gsave currentpoint currentpoint translate -110 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorYps: gsave currentpoint currentpoint translate -100 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorXps: gsave currentpoint currentpoint translate -90 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorXps: gsave currentpoint currentpoint translate -80 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorXps: gsave currentpoint currentpoint translate -70 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorXps: gsave currentpoint currentpoint translate -60 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorXps: gsave currentpoint currentpoint translate -50 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorXps: gsave currentpoint currentpoint translate -40 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorXps: gsave currentpoint currentpoint translate -30 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorXps: gsave currentpoint currentpoint translate -20 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorXps: gsave currentpoint currentpoint translate -10 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorVps: gsave currentpoint currentpoint translate 0 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorWps: gsave currentpoint currentpoint translate 10 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorWps: gsave currentpoint currentpoint translate 20 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorWps: gsave currentpoint currentpoint translate 30 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorWps: gsave currentpoint currentpoint translate 40 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorWps: gsave currentpoint currentpoint translate 50 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorWps: gsave currentpoint currentpoint translate 60 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorWps: gsave currentpoint currentpoint translate 70 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorWps: gsave currentpoint currentpoint translate 80 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorWps: gsave currentpoint currentpoint translate 90 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorXps: gsave currentpoint currentpoint translate 100 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorXps: gsave currentpoint currentpoint translate 110 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorXps: gsave currentpoint currentpoint translate 120 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorXps: gsave currentpoint currentpoint translate 130 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorXps: gsave currentpoint currentpoint translate 140 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorXps: gsave currentpoint currentpoint translate 150 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorXps: gsave currentpoint currentpoint translate 160 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore movetorXps: gsave currentpoint currentpoint translate 170 neg rotate neg exch neg exch translatesSaveUUthewhale ps: currentpoint grestore moveto@\newcount\wang \newsavebox{\wangtext}\newdimen\wangspace\def\wheel#1{\savebox{\wangtext}{#1}%\wangspace\wd\wangtext\advance\wangspaceby1cm%\centerline{%\rule{0pt}{\wangspace}%\rule[-\wangspace]{0pt}{\wangspace}%\wang=-180\loop\ifnum\wang<180\rlap{\begin{rotate}{\the\wang}%\rule{1cm}{0pt}#1\end{rotate}}%\advance\wangby10\repeat}}\wheel{Savethewhale}KIftheuserdesiresL5ffٓRcmr7A͉TU>'ExXtoleavespacefortherotatedbGox,0Vthen`turn'is1*y?used:$: StartUUhere 'Wps: gsave currentpoint currentpoint translate 56 neg rotate neg exch neg exch translateSavethewhaleAG# ps: currentpoint grestore moveto0endhere@Starthere\begin{turn}{56}% ,Savethewhales,\end{turn}endherePThe environment`Sideways'isaspGecialcase,0settingtherotationto !", cmsy1090, andUUleavingthecorrectspacefortherotatedbGox.AG#StartUUhere GWps: gsave currentpoint currentpoint translate 90 neg rotate neg exch neg exch translateSavethewhaleAG# ps: currentpoint grestore moveto qEndhereStarthere \begin{sideways}%Savethewhale\end{sideways}EndhereWG IfOyoudealwithwholeparagraphsoftext, yourealizethatTU>'ExXbGoxesarenotNassimpleastheysometimesloGok:>DtheyhaveNaheight': cmti10andadepth.OpSowhenyourotate,MyourotateabGoutthepointontheleft-handedgeoftheboxthatmeetsHthebaseline.dTheresultscanbGeunexpected,asshowninthefullsetofparagraphL@rotationsinFigures1and2.nIfyoureallywanttoturnaparagraphsoFthatitappGearstorotateaboutther}'ealFbottomoftheTU>'ExXbox,IyouFhavetoadjustUUthebGoxinthenormalL5ffA͉TU>'ExXway:D XStartHWps: gsave currentpoint currentpoint translate 45 neg rotate neg exch neg exch translateSaveothewhalesSaveSthewhaleSaveSthewhaleSaveUUthewhaleHE ps: currentpoint grestore movetoX"FEnd@\newsavebox{\foo} \savebox{\foo}{\parbox{1in}{SavethewhalesSavethewhaleSavethewhaleSavethewhale}}%Start\begin{turn}{45}\usebox{\foo}\end{turn}EndwHQwStart!Wps: gsave currentpoint currentpoint translate 45 neg rotate neg exch neg exch translateSaveothewhalesSaveSthewhaleSaveSthewhaleSaveUUthewhaleHE ps: currentpoint grestore movetoX"FEnd@\savebox{\foo}{\parbox[b]{1in}{Save thewhalesSavethewhaleSavethewhaleSavethewhale}}%Start\begin{turn}{45}\usebox{\foo}\end{turn}End2qy?(?7X2ff͟Ű͟U'1sffQyffi޸77ff样|Vps: gsave currentpoint currentpoint translate 0 neg rotate neg exch neg exch translateffO0Ǎ0ff㍓Saveothewhales SaveSthewhaleSaveSthewhaleSaveUUthewhaleNE0ffffffOꎎO ps: currentpoint grestore movetoO|i7ffffffi޸yZsffiDffwX^^ff |a]Xps: gsave currentpoint currentpoint translate -40 neg rotate neg exch neg exch translateffO0Ǎ0ff㍓Saveothewhales SaveSthewhaleSaveSthewhaleSaveUUthewhaleNE0ffffffOꎎO ps: currentpoint grestore moveto\9|v;^ffffffwXU'1sffj?9ffY\\ff?5|>Xps: gsave currentpoint currentpoint translate -80 neg rotate neg exch neg exch translateffO0Ǎ0ff㍓Saveothewhales SaveSthewhaleSaveSthewhaleSaveUUthewhaleNE0ffffffOꎎO ps: currentpoint grestore moveto>|X\ffffffY暟U'1sff]ͤ ff7Yfd0-=Aacmr6o< ffUIJ-40-=o|X\ffffffYjffƟ5>ffwX^^ffǍ|Yps: gsave currentpoint currentpoint translate -320 neg rotate neg exch neg exch translateffO0Ǎ0ff㍓Saveothewhales SaveSthewhaleSaveSthewhaleSaveUUthewhaleNE0ffffffOꎎO ps: currentpoint grestore moveto\9|v;^ffffffwX暟jffͤ ff1Afd-240-=o5lT ffò-280-=o:cx ff3-ʲ-320-=o:cx ffff͎$*FigureUU1:qRotationofparagraphsbGetweenUU0and-320degrees3(y?䍠$V4 Iff͟Vu͟Űt%ffQffi޸77ffᠶ|OYps: gsave currentpoint currentpoint translate -180 neg rotate neg exch neg exch translateffO0Ǎ0ff㍓Saveothewhales SaveSthewhaleSaveSthewhaleSaveUUthewhaleNE0ffffffOꎎ ps: currentpoint grestore movetoO|i7ffffffi޸yZt%ffi5>ffwX^^ffǍ|Wps: gsave currentpoint currentpoint translate 40 neg rotate neg exch neg exch translateffO0Ǎ0ff㍓Saveothewhales SaveSthewhaleSaveSthewhaleSaveUUthewhaleNE0ffffffOꎎO ps: currentpoint grestore moveto\9|v;^ffffffwXŰt%ffj`ffY\\ff}|Wps: gsave currentpoint currentpoint translate 80 neg rotate neg exch neg exch translateffO0Ǎ0ff㍓Saveothewhales SaveSthewhaleSaveSthewhaleSaveUUthewhaleNE0ffffffOꎎO ps: currentpoint grestore moveto>|X\ffffffY暟Űt%ff',ͤ ff1Afd-180-=o5lT ffn40-=o># ff7Xu80-=o># ffff͟S͟8)9ff͠u,ffmicX׍cXffPw|?= Xps: gsave currentpoint currentpoint translate 120 neg rotate neg exch neg exch translateffO0Ǎ0ff㍓Saveothewhales SaveSthewhaleSaveSthewhaleSaveUUthewhaleNE0ffffffOꎎO ps: currentpoint grestore movetoR|lcXffffffmiyY9ff3;ffvOdOdffGa|SXps: gsave currentpoint currentpoint translate 160 neg rotate neg exch neg exch translateffO0Ǎ0ff㍓Saveothewhales SaveSthewhaleSaveSthewhaleSaveUUthewhaleNE0ffffffOꎎO ps: currentpoint grestore moveto[PQ|uPSOdffffffv8)9ff_:-ffvOdOdffXps: gsave currentpoint currentpoint translate 280 neg rotate neg exch neg exch translateffO0Ǎ0ff㍓Saveothewhales SaveSthewhaleSaveSthewhaleSaveUUthewhaleNE0ffffffOꎎO ps: currentpoint grestore moveto>|X\ffffffYUmffƟDffwX^^ff |a]Xps: gsave currentpoint currentpoint translate 320 neg rotate neg exch neg exch translateffO0Ǎ0ff㍓Saveothewhales SaveSthewhaleSaveSthewhaleSaveUUthewhaleNE0ffffffOꎎO ps: currentpoint grestore moveto\9|v;^ffffffwX暟Umff]ͤ ff2Xfd240-=o7 ffn280-=o<# ff4u320-=o<# ffff͎7㍍'FigureUU2:qRotationofparagraphsbGetweenUU0and320degrees4:y?W*encansettabularmaterialinthisway;{Tatnthesametime,twedemonstrate thatUUtherotationcanbGenested:loэfWps: gsave currentpoint currentpoint translate 90 neg rotate neg exch neg exch translateKg@ ff͟fdWor}'doWps: gsave currentpoint currentpoint translate 90 neg rotate neg exch neg exch translateOccurrences ps: currentpoint grestore moveto< ffKsffE^fd͟ ff͟fdhello5\33͟ ff͟ ff͟fdgoGodbye5\34͟ ffffE^o ps: currentpoint grestore moveto@\begin{sideways} \rule{1in}{0pt}\begin{tabular}{|lr|}\emWord&\begin{rotate}{90}%Occurrences\end{rotate}\\\hlinehello&33\\goodbye&34\\\hline\end{tabular}\end{sideways}ppg$Wps: gsave currentpoint currentpoint translate 45 neg rotate neg exch neg exch translateColumnUU1 ps: currentpoint grestore moveto5Wps: gsave currentpoint currentpoint translate 45 neg rotate neg exch neg exch translateColumnUU2 ps: currentpoint grestore movetoFWps: gsave currentpoint currentpoint translate 45 neg rotate neg exch neg exch translateColumnUU3 ps: currentpoint grestore movetoff3fd12(345(678(9ff3@\begin{quote} \rule{0pt}{1.5in}\begin{tabular}{rrr}\begin{rotate}{45}Column1\end{rotate}&\begin{rotate}{45}Column2\end{rotate}&\begin{rotate}{45}Column3\end{rotate}\\\hline1&2&3\\4&5&6\\7&8&9\\\hline\end{tabular}\end{quote}N썍,Gv #Wps: gsave currentpoint currentpoint translate 45 neg rotate neg exch neg exch translateColumnUU1*# ps: currentpoint grestore movetoSWps: gsave currentpoint currentpoint translate 45 neg rotate neg exch neg exch translateColumnUU2*# ps: currentpoint grestore moveto:Wps: gsave currentpoint currentpoint translate 45 neg rotate neg exch neg exch translateColumnUU3*# ps: currentpoint grestore movetoffyfd$(1SQ2y3$(4SQ5y6$(7SQ8y9ffy@\begin{quote} \begin{tabular}{rrr}\begin{turn}{45}Column1\end{turn}&\begin{turn}{45}Column2\end{turn}&\begin{turn}{45}Column3\end{turn}\\\hline1&2&3\\4&5&6\\7&8&9\\\hline\end{tabular}\end{quote}5KKy?pgWps: gsave currentpoint currentpoint translate 45 neg rotate neg exch neg exch translateColumnUU1 ps: currentpoint grestore moveto guresandtablesalways0>takeupthewholepage.TheycanbGerotatedPsothatthebGottomotthe guresisontheleftortheright;RMthedefaultisܾtoalwaysܾturntotheright.IIfthe`twoside'optionhasbGeengiventothemaindoGcumentCclass,thispackqagethenstartsrotatingsideways guresaccordingto thepagenumbGer (thisrequirestwo passesthroughL5ffA͉TU>'ExXatleast).qIfyouwant>the`twoside'>option,CCbutwant>the guresalways>inonedirection,usethe` guresright'UUor`riguresleft'optionsto`rotating'.7Zy?TheUUcoGdeusedtoproduce gures1{9isasfollows:"V cmbx10FigureT1/(\begin{sidewaystable} \centering\caption{Thisisanarrow s,table,whichshouldbecentredverticallyonthefinalpage.\label{rotfloat1}}"s.\begin{tabular}{|ll|}\hline+Za&b\\+Zc&d\\+Ze&f\\+Zg&h\\+Zi&j\\\hline"s.\end{tabular}\end{sidewaystable}UFigureT2/(Cscmtt8\begin{sidewaystable}\centering\begin{tabular}{|llllllllp{1in}lp{1in}|}\hlineContext ( &Length&Breadth/&Depth&Profile&Pottery&Flint&Animal&Stone&Other &C14Dates\\ p&!x&Diameter ( &&%0&&&Bones&&&\\\hline&&&&&&&&&&\\\multicolumn{10}{|l}{\bfGroovedWare}&\\784&---&0.9m&0.18m ( &SlopingU&P1&$\times$46p&$\times$8P&&$\times$2bone&2150$\pm$100BC\\785&---&1.00mP&0.12 &SlopingU&P2--4&$\times$23p&$\times$21&Hammerstone&---&---\\962&---&1.37mP&0.20m ( &SlopingU&P5--6 &$\times$48p&$\times$57*&---&---&1990$\pm$80BC(Layer4)1870$\pm$90BC(Layer1)\\983&0.83mP&0.73m&0.25m ( &SteppedU&---P&$\times$18p&$\times$8&---&Firedclay&---\\&&&&&&&&&&\\\multicolumn{10}{|l}{\bfBeaker}&\\552&---&0.68mP&0.12m ( &Saucer &P7--14&---(!&---&---&---&---\\790&---&0.60mP&0.25m ( &U!x&P15&$\times$12 &---&Quartzite-lump&--- &---\\794&2.89mP&0.75m&0.25m ( &Irreg. &P16&$\times$3&---&---&---&---\\\hline\end{tabular}\caption[GroovedWareandBeakerFeatures,theirFindsandRadiocarbonDates]{GroovedWareandBeakerFeatures,theirFindsandRadiocarbonDates;ForabreakdownofthePotteryAssemblagesseeTablesIandIII;fortheFlintsseeTablesIIandIV;fortheAnimalBonesseeTableV.}\label{rotfloat2}\end{sidewaystable}FigureT3/(\begin{table} \centering\rotcaption{Minimumnumberofindividuals;effectofrotatingtableandcaptionseparately}\label{rotfloat3}%\begin{sideways}\begin{tabular}[b]{cccccccccp{1cm}}\hlinePhase&Total&Cattle&Sheep&Pig&RedDeer&Horse&Dog&Goat&Other\\\hline&1121&54&12&32&1&1&1&1&1polecat\\3&8255&58&6&35&1&1&1&1&1roedeer,1hare,1cat,1otter\\4&543&45&6&45&4&1&1&---&---\\8 m`y? |<׃čdԍ|\&Xps: gsave currentpoint currentpoint translate 156 neg rotate neg exch neg exch translate7PSfile="cat.eps" llx=44 lly=527 urx=80 ury=559 rwi=720 HE ps: currentpoint grestore moveto\&|@---\begin{turn}{156} \epsfig{figure=cat.eps,width=1in}\end{turn}---m@HE|@>PWps: gsave currentpoint currentpoint translate 90 neg rotate neg exch neg exch translate7PSfile="cat.eps" llx=44 lly=527 urx=80 ury=559 rwi=720 HE ps: currentpoint grestore moveto@>P|@---\begin{sideways} \epsfig{figure=cat.eps,width=1in}\end{sideways}---]E@>P|7PSfile="cat.eps" llx=44 lly=527 urx=80 ury=559 rwi=720 HE|@---\epsfig{figure=cat.eps,width=1in}---\0,_FigureUU3:qAnormal,andsideways,UUpictureswithina gure\hline &9919&157&24&112&6&3&3&2&5\\\hline\end{tabular}\end{sideways}\end{table}FigureT9/(\begin{sidewaysfigure}"s.\centerline{\epsfig{figure=cat.eps,width=.8\textheight,height=.4\textwidth}}\caption{Apatheticallysquashedrotatedpussycat}\label{rotfloat4}\end{sidewaysfigure}9 x/y?Xps: gsave currentpoint currentpoint translate -90 neg rotate neg exch neg exch translateYN&T*ableUU1:qThisisanarrowtable,whichshouldbGecentredverticallyonthe nalpage.#-߀ff";fd͟ ff͟fdab͟ ff ͟ ff͟fdcd͟ ff͟ ff͟fdefL͟ ff͟ ff͟fdgh͟ ff͟ ff͟fdijL͟ ffff"; ps: currentpoint grestore moveto10 }Dy?Wps: gsave currentpoint currentpoint translate 90 neg rotate neg exch neg exch translate9L͉ffIkfd͟ ff͟fdContext5Length_Breadth/#Depth8Pro leUpPottery"G