diff options
author | Karl Berry <karl@freefriends.org> | 2016-06-14 22:43:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-06-14 22:43:35 +0000 |
commit | 73bc4215614e84813e84a17f7c904998152ed825 (patch) | |
tree | 815ef755ed5e0fe72a8c3ad34b5ad0c455c4ad81 /Master/texmf-dist | |
parent | fda54a2d18e4bdc3294b3ee6a3237146474b0b12 (diff) |
rm rotating, now part of graphics (latex core)
git-svn-id: svn://tug.org/texlive/trunk@41452 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/rotating/README | 19 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/rotating/cat.eps | 305 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/rotating/examples.tex | 500 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/rotating/rotating.pdf | bin | 92250 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/rotating/rotating.dtx | 687 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/rotating/rotating.ins | 54 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/rotating/rotating.sty | 282 |
7 files changed, 0 insertions, 1847 deletions
diff --git a/Master/texmf-dist/doc/latex/rotating/README b/Master/texmf-dist/doc/latex/rotating/README deleted file mode 100644 index 1a190b7ee56..00000000000 --- a/Master/texmf-dist/doc/latex/rotating/README +++ /dev/null @@ -1,19 +0,0 @@ -rotating - -A package built on the standard LaTeX graphics package, which performs -all the different sorts of rotation one might like, including complete -floating figures/tables and their captions. The commented source -contains the manual, and there is a set of tests in examples.tex. The -file examples.tex doubles as a (somewhat disorganised) tutorial for -use of the package. - -Install by running TeX on rotating.ins and place `rotating.sty' -"where LaTeX can find it" -- see - http://www.tex.ac.uk/cgi-bin/texfaq2html?label=inst-wlcf -for guidance on such installation. - -Alternatively, a .tds.ins file is available on the CTAN install tree: -install that at the root of your TEXMF-LOCAL tree. - -Robin Fairbairns -2008-05-19 diff --git a/Master/texmf-dist/doc/latex/rotating/cat.eps b/Master/texmf-dist/doc/latex/rotating/cat.eps deleted file mode 100644 index 0042ea088fe..00000000000 --- a/Master/texmf-dist/doc/latex/rotating/cat.eps +++ /dev/null @@ -1,305 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%BoundingBox: 44 527 80 559 -%%Creator: COREL DRAW -%%Title: CAT.TMP -%%CreationDate: Sat Jan 18 17:29:05 1992 - -%%DocumentFonts: -%%EndComments -%%BeginProlog -% -------------- POSTSCRIPT PROLOG FOR CORELDRAW 2.X ------ -% Copyright Corel Systems Corporation 1990 -/AutoFlatness 0 def/wCorelDict 300 dict def -wCorelDict begin/bd{bind def}bind def/ld{load def}bd -/xd{exch def}bd/_ null def/$c 0 def/$m 0 def -/$y 0 def/$k 0 def/$t 1 def/$n _ def/$o 0 def -/$fil 0 def/$C 0 def/$M 0 def/$Y 0 def/$K 0 def -/$T 1 def/$N _ def/$O 0 def/$PF false def -/$pan 0 def/$h false def/$al 0 def/$tr 0 def -/$le 0 def/$lx 0 def/$ly 0 def/$ctm matrix currentmatrix def -/$ptm matrix def/$ttm matrix def/$stm matrix def -/$skm matrix def/$fst 128 def/$pad 0 def/$rox 0 def -/$roy 0 def currentscreen/@dsp xd/$dsp/@dsp def -/$dsa xd/$dsf xd/$sdf false def/$SDF false def -/$Scra 0.0 def statusdict/pageparams known{statusdict begin -pageparams end 1 ne{/$Scra -90.0 def}if pop pop pop}if -/$sv 0 def/@cp/closepath ld/@gs/gsave ld/@gr/grestore ld -/@np/newpath ld/@sv{/$sv save def}bd/@rs{$sv restore}bd -/@ss{load setscreen}bd AutoFlatness 1 eq{/$cpx ([Error: PathTooComplex; OffendingCommand: AnyPaintingOperator;\n) def -/@err1{$cpx print flush newpath}bd/@ifl{currentflat dup 10 gt{pop @err1 exit}if 2 add setflat}bd -/@fill/fill ld/fill{currentflat{{@fill}stopped{@ifl}{exit}ifelse}bind loop setflat}bd -/@eofill/eofill ld/eofill{currentflat{{@eofill}stopped{@ifl}{exit}ifelse}bind loop setflat}bd -/@clip/clip ld/clip{currentflat{{@clip}stopped{initclip @ifl}{exit}ifelse}bind loop setflat}bd -/@eoclip/eoclip ld/eoclip{currentflat{{@eoclip}stopped{initclip @ifl}{exit}ifelse}bind loop setflat}bd -/@stroke/stroke ld/stroke{currentflat{{@stroke}stopped{@ifl}{exit}ifelse}bind loop setflat}bd -}if/InRange{3 -1 roll 2 copy le{pop}{exch pop}ifelse -2 copy ge{pop}{exch pop}ifelse}bd/wDstChck{2 1 roll dup 3 -1 roll -eq{1 add}if}bd/@dot{dup mul exch dup mul add 1 exch sub 2 div}bd -/@lin{exch pop abs 1 exch sub}bd/@MN{2 copy le{pop}{exch pop}ifelse}bd -/setcmykcolor where{pop}{/setcmykcolor{4 1 roll -3{3 index add 1 @MN 1 exch sub 3 1 roll}repeat -setrgbcolor pop}bd}ifelse/colorimage where{pop}{/colorimage{/$ncl xd -pop pop pop pop{currentfile $dat readhexstring pop}repeat -pop}bd}ifelse/@tc{dup 1 ge{pop}{4{dup 6 -1 roll -mul exch}repeat pop}ifelse}bd/@spc{7 2 roll -ColorSeparationMode 1 eq{6 index @tc 0 4 $ink sub index -exch pop}{5 index dup _ eq{pop 0 4 $ink sub index -exch pop}{CurrentInkName eq{6 index}{0}ifelse}ifelse}ifelse -5 1 roll 8 -2 roll 6{pop}repeat 1 exch sub dup setgray -1 eq exch 1 eq and not}bd/@scc{$ink -1 eq -{$c $m $y $k $t @tc setcmykcolor true}{$o $c $m $y $k $t $n @spc -}ifelse}bd/@SCC{$ink -1 eq{$C $M $Y $K $T @tc setcmykcolor true}{ -$O $C $M $Y $K $T $N @spc}ifelse}bd/@sft{ -/$tx $tllx $pxf add dup $tllx gt{$pwid sub}if def -/$ty $tury $pyf sub dup $tury lt{$phei add}if def}bd -/@stb{pathbbox/$ury xd/$urx xd/$lly xd/$llx xd}bd -/@ep{{cvx exec}forall}bd/@tp{@sv/$in true def -2 copy dup $lly le{/$in false def}if $phei sub $ury ge{/$in false def}if -dup $urx ge{/$in false def}if $pwid add $llx le{/$in false def}if -$in{@np 2 copy moveto $pwid 0 rlineto 0 $phei neg rlineto -$pwid neg 0 rlineto 0 $phei rlineto clip @np -$pn cvlit load aload pop 7 -1 roll 5 index sub -7 -1 roll 3 index sub translate/$ctm matrix currentmatrix def -@ep pop pop pop pop}{pop pop}ifelse @rs}bd/@th{@sft -0 1 $tly 1 sub{dup $psx mul $tx add{dup $llx gt{$pwid sub}{exit}ifelse -}loop exch $phei mul $ty exch sub 0 1 $tlx 1 sub{$pwid mul -3 copy 3 -1 roll add exch @tp pop}for pop pop}for}bd -/@tv{@sft 0 1 $tlx 1 sub{dup $pwid mul $tx add -exch $psy mul $ty exch sub{dup $ury lt{$phei add}{exit}ifelse}loop -0 1 $tly 1 sub{$phei mul 3 copy sub @tp pop}for -pop pop}for}bd/@pf{@gs $ctm setmatrix $pm concat -@stb @gs ColorSeparationMode 0 eq{1 setgray eofill}{ -$o 0 0 0 0 0 (Black) @spc{eofill}if}ifelse -@gr eoclip Bburx Bbury $pm itransform/$tury xd/$turx xd -Bbllx Bblly $pm itransform/$tlly xd/$tllx xd -/$wid $turx $tllx sub def/$hei $tury $tlly sub def -$wid 0 gt $hei 0 gt and{$pn cvlit load aload pop -/$pd xd 3 -1 roll sub/$phei xd exch sub/$pwid xd -/$tlx $wid $pwid div ceiling 1 add def/$tly $hei $phei div ceiling 1 add def -$psx 0 eq{@tv}{@th}ifelse}if @gr @np}bd/@dlt{ColorSeparationMode 0 eq{ -/$dc $toc $tot mul $frc $frt mul dup/$c xd sub $fst 1 sub div def -/$dm $tom $tot mul $frm $frt mul dup/$m xd sub $fst 1 sub div def -/$dy $toy $tot mul $fry $frt mul dup/$y xd sub $fst 1 sub div def -/$dk $tok $tot mul $frk $frt mul dup/$k xd sub $fst 1 sub div def -true}{$o $frc $frm $fry $frk $frt $frn @spc -dup{/$frk 1 currentgray sub def}{/$frk 0 def}ifelse -$o $toc $tom $toy $tok $tot $ton @spc dup{/$tok 1 currentgray sub def} -{/$tok 0 def}ifelse or dup{/$c 0 def/$m 0 def/$y 0 def/$k $frk def -/$dc 0 def/$dm 0 def/$dy 0 def/$dk $tok $frk sub $fst 1 sub div def}if -}ifelse}bd/@ftl{1 index 4 index sub dup $pad mul dup/$pdw xd -2 mul sub $fst div/$wid xd 2 index sub/$hei xd -pop translate $c $m $y $k 4 copy ColorSeparationMode 0 ne -{1 exch sub setgray pop pop pop}{setcmykcolor}ifelse -0 0 moveto 0 $hei lineto $pdw $hei lineto $pdw 0 lineto 0 0 lineto fill -$pdw 0 translate $fst{4 copy ColorSeparationMode 0 ne -{1 exch sub setgray pop pop pop}{setcmykcolor}ifelse -0 0 moveto 0 $hei lineto $wid $hei lineto $wid 0 lineto 0 0 lineto fill -$wid 0 translate $dk add 4 1 roll $dy add 4 1 roll -$dm add 4 1 roll $dc add 4 1 roll}repeat $dk sub 4 1 roll -$dy sub 4 1 roll $dm sub 4 1 roll $dc sub 4 1 roll -ColorSeparationMode 0 ne{1 exch sub setgray pop pop pop} -{setcmykcolor}ifelse 0 0 moveto 0 $hei lineto $pdw $hei lineto $pdw 0 lineto 0 0 lineto fill -}bd/@ftr{1 index 4 index sub dup $rox mul/$row xd -2 div 1 index 4 index sub dup $roy mul/$roh xd -2 div 2 copy dup mul exch dup mul add sqrt -$row dup mul $roh dup mul add sqrt add dup/$hei xd $fst div/$wid xd -4 index add $roh add exch 5 index add $row add -exch translate pop pop pop pop currentflat 5 mul setflat -$c $m $y $k 4 copy ColorSeparationMode 0 ne -{1 exch sub setgray pop pop pop}{setcmykcolor}ifelse -$wid 0 moveto 0 0 $hei 0 360 arc fill 1.0 $pad 2 mul sub dup scale -$fst{4 copy ColorSeparationMode 0 ne{1 exch sub setgray pop pop pop} -{setcmykcolor}ifelse $wid 0 moveto 0 0 $hei 0 360 arc fill -/$hei $hei $wid sub def $dk add 4 1 roll $dy add 4 1 roll -$dm add 4 1 roll $dc add 4 1 roll}repeat pop pop pop pop}bd -/@ff{@gs @dlt{$ctm setmatrix eoclip newpath Bbllx Bblly moveto -Bbllx Bbury lineto Bburx Bbury lineto Bburx Bblly lineto -$fan rotate pathbbox newpath $fty 1 eq{@ftr}{@ftl}ifelse}if -@gr @np}bd/@Pf{@sv ColorSeparationMode 0 eq $ink 3 eq or{$ctm setmatrix -72 1000 div dup matrix scale dup concat dup Bburx exch Bbury exch itransform -ceiling cvi/Bbury xd ceiling cvi/Bburx xd Bbllx exch Bblly exch itransform -floor cvi/Bblly xd floor cvi/Bbllx xd $Prm aload pop -$Psn load exec}{1 setgray eofill}ifelse @rs -@np}bd/@ftx{{(0) dup 3 -1 roll 0 exch put -@gs true charpath currentpoint $ctm setmatrix -@@txt @gr @np moveto $tr 0 rmoveto}forall pop}bd -/@sm{/$ctm $ctm currentmatrix def}bd/@lorg{$lx $ly moveto -/$ly $ly $le sub def}bd/@ft{matrix currentmatrix 3 1 roll -$sdf{$scf $sca $scp @ss}if $fil 1 eq{/@@txt/@pf ld @ftx}{$fil 2 eq -{/@@txt/@ff ld @ftx}{$fil 3 eq{/@@txt/@Pf ld @ftx}{@scc -{dup $tr exch 0 exch ashow}if pop pop}ifelse}ifelse}ifelse -$sdf{$dsf $dsa $dsp @ss}if setmatrix}bd/@st{ -matrix currentmatrix 3 1 roll $SDF{$SCF $SCA $SCP @ss}if -@SCC{{(0) dup 3 -1 roll 0 exch put @gs true charpath currentpoint -$ctm setmatrix $ptm concat stroke @gr moveto $tr 0 rmoveto}forall -pop}{pop pop}ifelse $SDF{$dsf $dsa $dsp @ss}if -setmatrix}bd/@pt{dup length exch}bd/@te{@pt -@lorg @ft cleartomark [}bd/@tr{@pt @lorg @st cleartomark [}bd -/@ta{@pt @lorg 2 copy @gs @ft @gr @st cleartomark [}bd -/@t@a{@pt @lorg 2 copy @gs @st @gr @ft cleartomark [}bd -/g{1 exch sub/$k xd/$c 0 def/$m 0 def/$y 0 def/$t 1 def/$n _ def/$fil 0 def -}bd/G{1 exch sub/$K xd/$C 0 def/$M 0 def/$Y 0 def/$T 1 def/$N _ def}bd -/k{/$k xd/$y xd/$m xd/$c xd/$t 1 def/$n _ def/$fil 0 def}bd -/K{/$K xd/$Y xd/$M xd/$C xd/$T 1 def/$N _ def}bd -/x{1 exch sub/$t xd/$n xd/$k xd/$y xd/$m xd/$c xd/$fil 0 def}bd -/X{1 exch sub/$T xd/$N xd/$K xd/$Y xd/$M xd/$C xd}bd -/d/setdash ld/i{dup 0 ne{setflat}{pop}ifelse}bd -/j/setlinejoin ld/J/setlinecap ld/M/setmiterlimit ld -/w/setlinewidth ld/O{/$o xd}bd/R{/$O xd}bd -/c/curveto ld/C/c ld/v{4 -2 roll 2 copy 6 -2 roll curveto}bd -/V/v ld/y{2 copy curveto}bd/Y/y ld/l/lineto ld -/L/l ld/m/moveto ld/n/newpath ld/N/newpath ld -/F{matrix currentmatrix $sdf{$scf $sca $scp @ss}if -$fil 1 eq{@pf}{$fil 2 eq{@ff}{$fil 3 eq{@Pf}{@scc{eofill}{@np}ifelse -}ifelse}ifelse}ifelse $sdf{$dsf $dsa $dsp @ss}if -setmatrix}bd/f{@cp F}bd/S{matrix currentmatrix -$ctm setmatrix $SDF{$SCF $SCA $SCP @ss}if @SCC{$skm currentmatrix -$ptm concat stroke setmatrix}{@np}ifelse $SDF{$dsf $dsa $dsp @ss}if -setmatrix}bd/s{@cp S}bd/B{@gs F @gr S}bd/b{@cp B}bd -/W{eoclip}bd/p{/$pm xd 7{pop}repeat/$pyf xd/$pxf xd -/$pn xd/$fil 1 def}bd/P{11{pop}repeat}bd/z{/$al xd -/$tr xd/$le xd exch findfont exch scalefont setfont}bd -/Z{dup type 0 type eq{/$bDir xd}if findfont -dup maxlength 1 add dict exch dup{1 index/FID ne{3 index -3 1 roll put}{pop pop}ifelse}forall pop dup dup/Encoding get -256 array copy dup/$fe xd/Encoding exch put -dup/Fontname 3 index put 3 -1 roll dup length 0 ne{0 exch{ -dup type 0 type eq{exch pop}{$fe exch 2 index exch put -1 add}ifelse}forall pop}if definefont pop}bd -/e{@sm concat [/t{@te}def}bd/r{@sm concat [/t{@tr}def}bd -/o{@sm concat [/t{pop}def}bd/a{@sm concat [/t{@ta}def}bd -/t{@te}def/T{cleartomark @np/$lx 0 def/$ly 0 def -$ctm setmatrix/$ttm matrix def}bd/u{}bd/U{}bd -/A{pop}bd/H{/$h true def}bd/h{@cp H}bd/q/@gs ld -/Q/@gr ld/E{5 array astore exch cvlit exch def}bd -/`{}bd/~{}bd/@{}bd/&{}bd/CorelDrawRencodeVect [ -16#80/grave/circumflex/tilde/dotlessi/florin/quotedblleft/quotedblright/guilsinglleft -16#88/guilsinglright/fi/fl/dagger/daggerdbl/endash/periodcentered/breve -16#90/quotedblbase/ellipsis/perthousand/trademark/Pt/fractionbar -16#98/divide 16#a1/exclamdown/cent/sterling/currency/yen/bar/section -16#a8/dieresis/copyright/ordfeminine/guillemotleft/logicalnot/emdash/registered/overbar -16#b0/ring/plusminus/twosuperior/threesuperior/acute/mu/paragraph/bullet -16#b8/cedilla/onesuperior/ordmasculine/guillemotright/onequarter/onehalf/threequarters/questiondown -16#c0/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE/Ccedilla -16#c8/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex/Idieresis -16#d0/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis/OE -16#d8/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn/germandbls -16#e0/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla -16#e8/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis -16#f0/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/oe -16#f8/oslash/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis -] def/@cc{currentfile $dat readhexstring pop}bd -/@ii{concat 3 index 3 index m 3 index 1 index l -2 copy l 1 index 3 index l 3 index 3 index l -clip pop pop pop pop}bd/@E{/Bbury xd/Bburx xd -/Bblly xd/Bbllx xd}bd/@c{@cp}bd/@p{/$fil 1 def -/$pm xd/$psy xd/$psx xd/$pyf xd/$pxf xd/$pn xd}bd -/@P{/$fil 3 def/$Psn xd array astore/$Prm xd}bd -/@k{/$fil 2 def/$roy xd/$rox xd/$pad xd/$fty xd/$fan xd -$fty 1 eq{/$fan 0 def}if/$tok xd/$toy xd/$tom xd/$toc xd -/$frk xd/$fry xd/$frm xd/$frc xd/$frn _ def/$frt 1 def/$ton _ def/$tot 1 def -}bd/@x{/$fil 2 def/$roy xd/$rox xd/$pad xd -/$fty xd/$fan xd 1 exch sub/$tot xd/$ton xd/$tok xd/$toy xd/$tom xd/$toc xd -1 exch sub/$frt xd/$frn xd/$frk xd/$fry xd/$frm xd/$frc xd}bd -/@i{@sm @gs @ii 5 index 1 ne{@gs 1 g F @gr}if -1 eq 5 index 1 eq and{@gs $ctm setmatrix F @gr}if -@np/$ury xd/$urx xd/$lly xd/$llx xd/$bts xd -/$hei xd/$wid xd/$dat $wid $bts mul 8 div ceiling cvi string def -$bts 1 eq{@SCC/$frg xd}{1 G @SCC/$frg xd}ifelse -$frg{$SDF{$SCF $SCA $SCP @ss}if $llx $lly translate -$urx $llx sub $ury $lly sub scale $wid $hei abs -$bts 1 eq{false}{$bts}ifelse [ $wid 0 0 $hei neg 0 -$hei 0 gt{$hei}{0}ifelse]/@cc load $bts 1 eq{imagemask}{image}ifelse -$SDF{$dsf $dsa $dsp @ss}if}{$hei{@cc pop}repeat}ifelse -@gr $ctm setmatrix}def/@M {@sv}bd/@N{/@cc{}def -12 -1 roll neg 12 1 roll @i @rs}bd/@I{@sm @gs -@ii @np/$ury xd/$urx xd/$lly xd/$llx xd/$ncl xd -/$bts xd/$hei xd/$wid xd/$dat $wid $bts mul $ncl mul 8 div ceiling cvi string def -$llx $lly translate $urx $llx sub $ury $lly sub scale -$wid $hei $bts [ $wid 0 0 $hei neg 0 $hei]/@cc load -false $ncl colorimage @gr $ctm setmatrix}bd -/@t{/$lx 0 def/$ly 0 def/$stm $stm currentmatrix def -3 1 roll translate $ttm concat 1 exch t $stm setmatrix}def -/@n{/$ttm exch matrix rotate def}bd/@z{ exch findfont exch scalefont setfont -}bd/@s{}bd/@l{}bd/@B{@gs S @gr F}bd/@b{@cp @B}bd -/@a{@sm concat [/t{@t@a}def}bd/@w{5 2 roll dup/$pan xd -matrix rotate/$ptm xd matrix scale $ptm dup concatmatrix/$ptm xd -1 eq{$ptm exch dup concatmatrix/$ptm xd}{pop}ifelse -1 w}bd/@g{1 eq dup/$sdf xd{/$scp xd/$sca xd -/$scf xd}if}bd/@G{1 eq dup/$SDF xd{/$SCP xd -/$SCA xd/$SCF xd}if}bd/@D{3 copy @ss/$dsp xd -/$dsa xd/$dsf xd}bd/@j{@sv @np}bind def/@J{@rs}bind def -/@sep{/ColorSeparationMode where{pop}{/ColorSeparationMode 0 def -/CurrentInkName (Composite) def}ifelse ColorSeparationMode 0 eq -{/CurrentInkName (Composite) def}if/CurrentInkName where{pop}{ -/CurrentInkName (Composite) def}ifelse CurrentInkName (Composite) eq{/$ink -1 def} -{CurrentInkName (Cyan) eq{/$ink 0 def} {CurrentInkName (Magenta) eq{/$ink 1 def} -{CurrentInkName (Yellow) eq{/$ink 2 def} {CurrentInkName (Black) eq{/$ink 3 def} -{/$ink 4 def}ifelse}ifelse}ifelse}ifelse}ifelse}bd -@sep/@whi{@gs -72000 dup moveto -72000 72000 lineto -72000 dup lineto 72000 -72000 lineto closepath 1 setgray fill -@gr}bd/@neg{ [{1 exch sub}/exec cvx currenttransfer/exec cvx] cvx settransfer -@whi}bd/@reg{[] 0 d 0 setgray .3 setlinewidth -2 copy 5.4 0 360 arc closepath 2 copy moveto 9 0 rlineto -2 copy moveto -9 0 rlineto 2 copy moveto 0 9 rlineto -moveto 0 -9 rlineto stroke}bd/leftbracket{(\050)}def -/rightbracket{(\051)}def - -%%EndProlog -%%BeginSetup -11.4737 setmiterlimit -1.00 setflat -/$fst 128 def - -%%EndSetup -@sv -/$ctm matrix currentmatrix def -u -%%Note: Object -45.22 528.19 78.98 558.14 @E -0 J 0 j [] 0 d 0 R 0 @G -0.00 0.00 0.00 1.00 K -1.01 1.01 0.00 [1.00000 0.00000 0.00000 1.00000 0.00000 0.00000] 0 @w -%%CURV 106 -73.30 539.78 m -73.08 538.42 72.22 537.26 71.78 536.33 C -72.79 534.67 73.73 531.43 74.81 530.64 C -74.59 530.64 77.04 528.84 73.87 529.06 C -73.08 529.34 73.08 530.93 70.20 533.81 C -69.70 533.74 70.56 530.57 71.50 529.63 c -73.15 528.19 70.27 528.55 70.13 528.62 C -68.98 529.34 68.62 534.60 67.03 536.26 c -66.24 537.19 65.16 536.98 64.30 536.90 C -63.22 536.62 60.62 537.19 60.55 534.02 C -60.62 532.66 62.14 530.21 62.86 529.78 c -65.30 528.41 62.06 528.34 61.70 528.77 C -61.13 529.34 60.19 530.64 59.26 531.65 C -57.74 532.44 56.38 533.66 56.02 534.96 C -54.94 534.74 53.86 534.17 53.64 533.23 C -53.42 532.22 53.86 531.58 54.86 530.14 C -56.02 529.85 56.38 529.27 56.02 528.98 c -55.87 528.84 53.71 528.62 53.57 528.91 C -52.70 529.49 51.70 531.86 51.19 533.16 c -50.90 533.88 49.97 535.82 51.55 537.77 C -51.98 538.49 51.91 539.86 51.77 540.65 c -51.55 541.94 51.55 542.74 52.42 544.46 C -49.75 546.77 45.22 551.23 49.61 557.14 C -50.11 557.64 51.55 558.14 50.76 556.27 C -49.82 553.68 46.66 551.45 53.42 546.19 C -54.50 546.91 58.97 546.48 60.48 546.19 c -64.66 545.33 65.52 545.33 68.40 546.05 C -68.76 546.19 68.83 547.99 70.34 549.22 C -70.06 550.15 72.00 551.45 72.22 552.53 C -72.65 553.39 73.66 550.73 73.66 550.66 C -73.58 551.23 74.66 552.31 74.81 552.96 C -75.74 553.25 75.10 550.94 75.89 549.50 c -76.32 548.93 76.68 549.07 77.11 547.70 C -77.47 546.34 78.98 545.18 76.54 543.89 c -75.17 543.17 74.59 543.31 73.58 542.88 C -73.58 542.23 73.51 540.79 73.30 539.78 c -@c -S -U -@rs -%%Trailer - end diff --git a/Master/texmf-dist/doc/latex/rotating/examples.tex b/Master/texmf-dist/doc/latex/rotating/examples.tex deleted file mode 100644 index ed4750872a2..00000000000 --- a/Master/texmf-dist/doc/latex/rotating/examples.tex +++ /dev/null @@ -1,500 +0,0 @@ -\errorcontextlines32 -\documentclass[twoside]{report} -\usepackage[chatter]{rotating} -\usepackage{epsfig} -\usepackage{fancyvrb} -\makeatletter -\newsavebox{\@display} -\newcommand\@@Display[1]{% - \sbox\@display{% - \begin{minipage}[b]{.45\textwidth}% - #1\end{minipage}% - }\raisebox{\depth}{\usebox{\@display}}% -} - -\newcommand\@@VDisplay[1]{% - \sbox\@display{% - \begin{minipage}[b]{.45\textwidth}% - \BVerbatimInput[fontsize=\small]{#1}% - \end{minipage}}% - \usebox{\@display}% -} -\newcommand\SideBySide[2]{% -\bgroup\def\baselinestretch{1}% - \trivlist\item[]% - \leavevmode - \makebox[\textwidth][l]{\@@Display{#1}\hspace{1em}% - \@@VDisplay{#2}}% - \endtrivlist - \egroup -} -\newcommand\BeginExample{% - \nobreak - \VerbatimEnvironment - \catcode`\<=12 - \begin{VerbatimOut}{\jobname.ex}% -} -\newcommand{\EndExample}{\end{VerbatimOut}} - -\newenvironment{example} - {\nobreak - \VerbatimEnvironment - \catcode`\<=12 - \begin{VerbatimOut}{\jobname.ex}% - } - {\end{VerbatimOut} - \SideBySide {\input{\jobname.ex}}% - {\jobname.ex}} -\makeatother -%------------------------------------------------------- -\def\degrees{{\small$^{\mathrm{o}}$}} -%------------------------------------------------------- - -\begin{document} - -\title{Test of `rotating' package} -\author{Sebastian Rahtz and Leonor Barroca} -\date{November 19th 1994} -\maketitle - -`Rotating' provides a generalised rotation environment, where the text -will be rotated (anti-clockwise) by the number of degrees specified as -a parameter to the environment, but no special arrangement is made to -find space for the result. - -\begin{example} -Start here -\begin{rotate}{-56} -Save whales -\end{rotate} -End here -\end{example} - -A complete example of rotating text without leaving space -would the `Save the whale' text -written at 10 degree intervals round the compass. We use -`rlap' to ensure that all the texts are printed at the same point. -Just to show that \TeX\ can handle PostScript muckings-about -properly\ldots -\begin{example} -\newcount\wang -\newsavebox{\wangtext} -\newdimen\wangspace -\def\wheel#1{\savebox{\wangtext}{#1}% -\wangspace\wd\wangtext -\advance\wangspace by 1cm% -\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\wang by 10\repeat}} -\wheel{Save the whale} -\end{example} - -If the user -desires \LaTeX\ to leave space for the rotated box, then `turn' is used: -\begin{example} - Start here \begin{turn}{56}% - Save the whale - \end{turn} end here -\end{example} -The environment `Sideways' is a special case, setting the rotation to $-90$, -and leaving the correct space for the rotated box. -\begin{example} -Start here -\begin{sideways}% -Save the whale -\end{sideways} -End here -\end{example} - -If you deal with whole paragraphs of text, you realize that \TeX\ -boxes are not as simple as they sometimes look: they have a height -{\em and} a depth. So when you rotate, you rotate about the point on -the left-hand edge of the box that meets the baseline. The results can -be unexpected, as shown in the full set of paragraph rotations in -Figures \ref{angles1} and \ref{angles2}. If you really want to turn a -paragraph so that it appears to rotate about the {\em real} bottom of -the \TeX\ box, -you have to adjust the box in the normal \LaTeX\ way: -\begin{example} -\newsavebox{\foo} -\savebox{\foo}{\parbox{1in}{Save -the whales Save the whale -Save the whale -Save the whale}}% -Start -\begin{turn}{45}\usebox{\foo}\end{turn} -End -\end{example} -\begin{example} -\savebox{\foo}{\parbox[b]{1in}{Save -the whales Save the whale -Save the whale -Save the whale}}% -Start -\begin{turn}{45}\usebox{\foo}\end{turn} -End -\end{example} - -\def\testrot#1{% -\savebox{\foo}{\parbox{1in}{Save -the whales Save the whale Save the whale Save the whale}}% -\framebox{---\begin{turn}{#1}\framebox{\usebox{\foo}}\end{turn}---}}% - -\begin{figure*} -\begin{tabular}{|c|c|c|} -\hline -\testrot{0} &\testrot{-40}&\testrot{-80}\\ -0\degrees & -40\degrees & -80\degrees \\ -\hline -\testrot{-120}&\testrot{-160}&\testrot{-200}\\ -120\degrees & -160\degrees & -200\degrees \\ -\hline -\testrot{-240}&\testrot{-280}&\testrot{-320}\\ --240\degrees & -280\degrees & -320\degrees \\ -\hline -\end{tabular} -\caption{Rotation of paragraphs between 0 and -320 degrees \label{angles1}} -\end{figure*} - -\begin{figure*} -\begin{tabular}{|c|c|c|} -\hline -\testrot{-180} &\testrot{40}&\testrot{80}\\ --180\degrees & 40\degrees & 80\degrees \\ -\hline -\testrot{120}&\testrot{160}&\testrot{200}\\ -120\degrees & 160\degrees & 200\degrees \\ -\hline -\testrot{240}&\testrot{280}&\testrot{320}\\ -240\degrees & 280\degrees & 320\degrees \\ -\hline -\end{tabular} -\caption{Rotation of paragraphs between 0 and 320 degrees\label{angles2}} -\end{figure*} - - -We can set tabular material in this way; at the same time, we -demonstrate that the rotation can be nested: -\begin{example} -\begin{sideways} -\rule{1in}{0pt} -\begin{tabular}{|lr|} -\em Word & \begin{rotate}{90}% -Occurrences\end{rotate} -\\ -\hline -hello & 33\\ -goodbye & 34\\ -\hline -\end{tabular} -\end{sideways} -\end{example} - -\begin{example} -\begin{quote} -\rule{0pt}{1.5in}\begin{tabular}{rrr} -\begin{rotate}{45}Column 1\end{rotate}& -\begin{rotate}{45}Column 2\end{rotate}& -\begin{rotate}{45}Column 3\end{rotate}\\ -\hline -1& 2& 3\\ -4& 5& 6\\ -7& 8& 9\\ -\hline -\end{tabular} -\end{quote} -\end{example} - -\begin{example} -\begin{quote} -\begin{tabular}{rrr} -\begin{turn}{45}Column 1\end{turn}& -\begin{turn}{45}Column 2\end{turn}& -\begin{turn}{45}Column 3\end{turn}\\ -\hline -1& 2& 3\\ -4& 5& 6\\ -7& 8& 9\\ -\hline -\end{tabular} -\end{quote} -\end{example} - -\begin{example} -\begin{quote} -\rule{0pt}{1.5in}\begin{tabular}{rrr} -\begin{rotate}{45}Column 1\end{rotate} -\rule{.5cm}{0pt}& -\begin{rotate}{45}Column 2\end{rotate} -\rule{.5cm}{0pt}& -\begin{rotate}{45}Column 3\end{rotate} -\rule{.5cm}{0pt}\\ -\hline -1& 2& 3\\ -4& 5& 6\\ -7& 8& 9\\ -\hline -\end{tabular} -\end{quote} -\end{example} - -\begin{example} -\begin{sideways} -\begin{tabular}{|l|c|c|c|c|c|p{1in}|} -\hline -&&\multicolumn{4}{c}{NUMBER OF SITES}\vline &ACCEPT or\\ -\cline{3-6} &STUDY AREA&&\multicolumn{3}{c}{% -IN BOUNDARY ZONE}\vline&REJECT\\ -\cline{4-6}&&&&\multicolumn{2}{c}{EXPECTED} -\vline&NULL\\ -\cline{5-6}&&TOT&OBS&FROM&TO&HYPOTH\\ -\cline{2-7} -&FULL SAMPLE&41&31&10.3&27.0&REJECT\\ -&SAMPLE AREA 1&23&16&4.3&16.7&ACCEPT\\ -&SAMPLE AREA 2&18&15&2.8&13.7&REJECT\\ -&RUSHEN&13&9&1.2&10.4&ACCEPT\\ -&ARBORY&10&7&0.6&8.8&ACCEPT\\ -&MAROWN&10&8&0.4&8.6&ACCEPT\\ -\rule{0.5cm}{0pt} -\begin{rotate}{90}PRIMARY UNITS% -\end{rotate}\rule{0.5cm}{0pt} -&SANTON&8&7&0.0&7.3&ACCEPT\\ -\hline -\end{tabular} -\end{sideways} -\end{example} - -If you are interested in setting rotated material in tables or -figures, this presents no problem. Figure \ref{fig1} shows how -PostScript files which are being incorporated using `epsfig' can be -rotated at will, while Figure \ref{fig2} shows, in contrast, how -`epsfig' itself handles rotation. It is also possible to rotate the -whole of the figure environment, including caption, -by using the `sidewaysfigure' ands `sidewaystable' environments -in place of `figure' and `table'. - -Sideways figures and tables always take up the whole page. They can be -rotated so that the bottom ot the figures is on the left or the right; -the default is to always turn to the right. If the `twoside' option -has been given to the main document class, this package then starts -rotating sideways figures according to the page number (this requires -two passes through \LaTeX{} at least). If you want the `twoside' -option, but want the figures always in one direction, use the -`figuresright' or `riguresleft' options to `rotating'. - -The code used to produce figures -\ref{rotfloat1}--\ref{rotfloat4} is as follows: -\begin{description} - -\item[Figure \ref{rotfloat1}] -{\small\begin{verbatim} -\begin{sidewaystable} -\centering -\caption{This is a narrow table, which should be centred vertically -on the final page.\label{rotfloat1}} - \begin{tabular}{|ll|} -\hline - a & b \\ - c & d \\ - e & f \\ - g & h \\ - i & j \\ -\hline - \end{tabular} -\end{sidewaystable} -\end{verbatim} -} - -\item[Figure \ref{rotfloat2}] -{\scriptsize\begin{verbatim} -\begin{sidewaystable} -\centering -\begin{tabular}{|llllllllp{1in}lp{1in}|} -\hline -Context &Length &Breadth/ &Depth &Profile &Pottery &Flint &Animal &Stone &Other &C14 Dates \\ - & &Diameter & & & & & -Bones&&&\\ -\hline -&&&&&&&&&&\\ -\multicolumn{10}{|l}{\bf Grooved Ware}&\\ -784 &--- &0.9m &0.18m &Sloping U &P1 &$\times$46 & $\times$8 && $\times$2 bone& 2150$\pm$ 100 BC\\ -785 &--- &1.00m &0.12 &Sloping U &P2--4 &$\times$23 & $\times$21 & Hammerstone &---&---\\ -962 &--- &1.37m &0.20m &Sloping U &P5--6 &$\times$48 & $\times$57* & ---& ---&1990 $\pm$ 80 BC (Layer 4) 1870 $\pm$90 BC (Layer 1)\\ -983 &0.83m &0.73m &0.25m &Stepped U &--- &$\times$18 & $\times$8 & ---& Fired clay&---\\ -&&&&&&&&&&\\ -\multicolumn{10}{|l}{\bf Beaker}&\\ -552 &--- &0.68m &0.12m &Saucer &P7--14 &--- & --- & --- &--- &---\\ -790 &--- &0.60m &0.25m &U &P15 &$\times$12 & --- & Quartzite-lump&--- &---\\ -794 &2.89m &0.75m &0.25m &Irreg. &P16 &$\times$3 & --- & --- &--- &---\\ -\hline -\end{tabular} - -\caption[Grooved Ware and Beaker Features, their Finds and -Radiocarbon Dates]{Grooved Ware and Beaker Features, their -Finds and Radiocarbon Dates; For a breakdown of the Pottery -Assemblages see Tables I and III; for -the Flints see Tables II and IV; for the -Animal Bones see Table V.}\label{rotfloat2} -\end{sidewaystable} -\end{verbatim} -} - -\item[Figure \ref{rotfloat3}] -{\small\begin{verbatim} -\begin{table} -\centering -\rotcaption{Minimum number of individuals; effect of rotating table -and caption separately}\label{rotfloat3}% -\begin{sideways} -\begin{tabular}[b]{cccccccccp{1cm}} -\hline -Phase&Total&Cattle&Sheep&Pig&Red Deer&Horse&Dog&Goat&Other\\ -\hline -&1121&54&12&32&1&1&1&1&1 polecat\\ -3&8255&58&6&35&1&1&1&1&1 roe deer, 1 hare, 1 cat, 1 otter\\ -4&543&45&6&45&4&1&1&---&---\\ -\hline -&9919&157&24&112&6&3&3&2&5\\ -\hline -\end{tabular} -\end{sideways} -\end{table} -\end{verbatim} -} - -\item[Figure \ref{rotfloat4}] -{\small\begin{verbatim} -\begin{sidewaysfigure} - \centerline{\epsfig{figure=cat.eps,width=.8\textheight,height=.4\textwidth}} -\caption{A pathetically squashed rotated pussycat}\label{rotfloat4} -\end{sidewaysfigure} -\end{verbatim} -} -\end{description} - -\begin{figure} -\begin{example} ----\begin{turn}{156} -\epsfig{figure=cat.eps,width=1in} -\end{turn}--- -\end{example} - -\begin{example} ----\begin{sideways} -\epsfig{figure=cat.eps,width=1in} -\end{sideways}--- -\end{example} - -\begin{example} ----\epsfig{figure=cat.eps,width=1in}--- -\end{example} -\caption{A normal, and sideways, pictures within a figure\label{fig1}} -\end{figure} - -\begin{figure} -\begin{example} -\epsfig{figure=cat.eps,width=1in,% -angle=-56} -\end{example} - -\caption{Figures rotated with `epsfig'\label{fig2}} -\end{figure} -\begin{sidewaystable} -\centering -\caption{This is a narrow table, which should be centred vertically -on the final page.\label{rotfloat1}} - \begin{tabular}{|ll|} -\hline - a & b \\ - c & d \\ - e & f \\ - g & h \\ - i & j \\ -\hline - \end{tabular} -\end{sidewaystable} - - - -\begin{sidewaystable} -\centering -\begin{tabular}{|llllllllp{1in}lp{1in}|} -\hline -Context &Length &Breadth/ &Depth &Profile &Pottery &Flint &Animal &Stone &Other &C14 Dates \\ - & &Diameter & & & & & -Bones&&&\\ -\hline -&&&&&&&&&&\\ -\multicolumn{10}{|l}{\bf Grooved Ware}&\\ -784 &--- &0.9m &0.18m &Sloping U &P1 &$\times$46 & $\times$8 && $\times$2 bone& 2150$\pm$ 100 BC\\ -785 &--- &1.00m &0.12 &Sloping U &P2--4 &$\times$23 & $\times$21 & Hammerstone &---&---\\ -962 &--- &1.37m &0.20m &Sloping U &P5--6 &$\times$48 & $\times$57* & ---& ---&1990 $\pm$ 80 BC (Layer 4) 1870 $\pm$90 BC (Layer 1)\\ -983 &0.83m &0.73m &0.25m &Stepped U &--- &$\times$18 & $\times$8 & ---& Fired clay&---\\ -&&&&&&&&&&\\ -\multicolumn{10}{|l}{\bf Beaker}&\\ -552 &--- &0.68m &0.12m &Saucer &P7--14 &--- & --- & --- &--- &---\\ -790 &--- &0.60m &0.25m &U &P15 &$\times$12 & --- & Quartzite-lump&--- &---\\ -794 &2.89m &0.75m &0.25m &Irreg. &P16 &$\times$3 & --- & --- &--- &---\\ -\hline -\end{tabular} - -\caption[Grooved Ware and Beaker Features, their Finds and -Radiocarbon Dates]{Grooved Ware and Beaker Features, their -Finds and Radiocarbon Dates; For a breakdown of the Pottery -Assemblages see Tables I and III; for -the Flints see Tables II and IV; for the -Animal Bones see Table V.}\label{rotfloat2} -\end{sidewaystable} - -\begin{table} -\centering -\hbox{ -\rotcaption{Minimum number of individuals; effect of rotating table -and caption separately}\label{rotfloat3}% -\begin{sideways} -\begin{tabular}[t]{cccccccccp{1cm}} -\hline -Phase&Total&Cattle&Sheep&Pig&Red Deer&Horse&Dog&Goat&Other\\ -\hline -&1121&54&12&32&1&1&1&1&1 polecat\\ -3&8255&58&6&35&1&1&1&1&1 roe deer, 1 hare, 1 cat, 1 otter\\ -4&543&45&6&45&4&1&1&---&---\\ -\hline -&9919&157&24&112&6&3&3&2&5\\ -\hline -\end{tabular} -\end{sideways} -} -\end{table} - - -\begin{sidewaysfigure} - \centerline{\epsfig{figure=cat.eps,width=.8\textheight,height=.4\textwidth}} -\caption{A pathetically squashed rotated pussycat (1)} -\end{sidewaysfigure} - -\begin{sidewaysfigure} - \centerline{\epsfig{figure=cat.eps,width=.8\textheight,height=.4\textwidth}} -\caption{A pathetically squashed rotated pussycat (2)} -\end{sidewaysfigure} - -\begin{sidewaysfigure} - \centerline{\epsfig{figure=cat.eps,width=.8\textheight,height=.4\textwidth}} -\caption{A pathetically squashed rotated pussycat (3)} -\end{sidewaysfigure} - -\begin{sidewaysfigure} - \centerline{\epsfig{figure=cat.eps,width=.8\textheight,height=.4\textwidth}} -\caption{A pathetically squashed rotated pussycat (4)} -\end{sidewaysfigure} - -\begin{sidewaysfigure} - \centerline{\epsfig{figure=cat.eps,width=.8\textheight,height=.4\textwidth}} -\caption{A pathetically squashed rotated pussycat}\label{rotfloat4} -\end{sidewaysfigure} - -\end{document} diff --git a/Master/texmf-dist/doc/latex/rotating/rotating.pdf b/Master/texmf-dist/doc/latex/rotating/rotating.pdf Binary files differdeleted file mode 100644 index 77bc505e1f6..00000000000 --- a/Master/texmf-dist/doc/latex/rotating/rotating.pdf +++ /dev/null diff --git a/Master/texmf-dist/source/latex/rotating/rotating.dtx b/Master/texmf-dist/source/latex/rotating/rotating.dtx deleted file mode 100644 index cfc6bed0311..00000000000 --- a/Master/texmf-dist/source/latex/rotating/rotating.dtx +++ /dev/null @@ -1,687 +0,0 @@ -% -% \iffalse -% -% $Id: rotating.dtx,v 1.21 2010/01/26 13:25:07 rf10 Exp rf10 $ -% -% File: rotating.dtx -% Copyright 1995--1999 Sebastian Rahtz and Leonor Barroca -% Copyright 2001--2003,2007--2009 Robin Fairbairns -% Mail contact: rf10@cam.ac.uk -% -% This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3c -% of this license or (at your option) any later version. -% The latest version of this license is in -% http://www.latex-project.org/lppl.txt -% and version 1.3c or later is part of all distributions of LaTeX -% version 2005/12/01 or later. -% -% This work has the LPPL maintenance status `maintained'. -% -% The Current Maintainer of this work is Robin Fairbairns. -% -% This work consists of the files rotating.dtx and rotating.ins, -% and the derived file rotating.sty, and testing material -% examples.tex and cat.eps -% -% \begin{macrocode} -\NeedsTeXFormat{LaTeX2e} -%<*dtx> -\ProvidesFile{rotating.dtx}% -%</dtx> -%<package>\ProvidesPackage{rotating}% - [2009/03/28 v2.16b -%<package> rotated objects in LaTeX% -%<*dtx> - rotating package source file% -%</dtx> - ]% $Id: rotating.dtx,v 1.21 2010/01/26 13:25:07 rf10 Exp rf10 $ -%<*dtx> -\documentclass{ltxdoc} -\GetFileInfo{rotating.dtx} -\begin{document} - \title{A package for rotated objects in \LaTeX\thanks{This file has - version number \fileversion, last revised \filedate}} - \author{Robin Fairbairns\thanks{Contact: rf10@cam.ac.uk} - \and Sebastian Rahtz \and Leonor Barroca} - \date{printed \today} - \maketitle - \tableofcontents -% \listoffigures -% \listoftables - \DocInput{rotating.dtx} -\end{document} -%</dtx> -% \fi -% \CheckSum{485} -% \begin{abstract} -% This article documents a \LaTeX\ package, `rotating.sty', -% which performs most sorts of -% rotation one might like, including rotation of complete floating -% figures and tables. -% \end{abstract} -% -% \section{Introduction} -% -% The package provides: -% \begin{itemize} -% \item two new environments, \texttt{sidewaystable} and -% \texttt{sidewaysfigure}, each of which produces a single page-size -% float with contents rotated $\pm90$\,degrees; and -% \item a variety of other rotation-related commands and environments. -% \end{itemize} -% -% Note that the package uses rotation facilities from the -% \textsf{graphicx} package. When generating DVI output, users should -% note that rotation is typically \emph{not} visible in a DVI viewer: -% conversion to, and viewing, PostScript or PDF is necessary. -% -% \section{Usage} -% -% \subsection{Package options} -% -% Sideways figures and tables always take up the whole page. In -% single-sided documents, they may be rotated so that the bottom of -% the figures is on the left (package option -% `\texttt{counterclockwise}') or the right (package option -% `\texttt{clockwise}'). The default is to turn so that the bottom is -% on the right (option `\texttt{clockwise}'). -% -% Option `\texttt{anticlockwise}' is an alias for -% `\texttt{counterclockwise}'. -% -% If the `\texttt{twoside}' option has been given to the main document -% class (either explicitly, or implicitly as in the default for book -% class), the package will rotate sideways figures according to the -% page number (this requires at least two passes through \LaTeX{}). -% If you want the `\texttt{twoside}' option, but want the figures -% always in one direction, use the `\texttt{figuresright}' or -% `\texttt{figuresleft}' options to the package. -% -% The package can produce a lot of logging information; the -% amount of information is controlled by the package options -% `\texttt{quiet}' (fewest messages; default), `\texttt{log}' and -% `\texttt{chatter}' (most messages). -% -% All other options are passed to the \textsf{graphicx} package when -% it is loaded to provide rotation functions. -% -% \subsection{Float environments} -% -% The environments \texttt{sidewaystable} and \texttt{sidewaysfigure} -% introduce landscape-form floating tables and figures, respectively. -% (Each of the environments has a ``starred'' version, such as -% \texttt{sidewaystable*}, for a single-column float in a double-column -% area of the document.) -% -% New rotated environments may be declared using the combined -% facilities of the float and rotfloat packages. -% -% \subsection{Other environments and commands} -% The package provides other \LaTeX\ environments: -% \begin{description} -% \item[\mdseries\ttfamily sideways] prints the contents of the -% environment turned through 90 degrees counterclockwise; -% \item[\mdseries\ttfamily turn] prints the contents turned through an -% arbitrary angle (the argument to the environment); -% \item[\mdseries\ttfamily rotate] prints the contents turned through -% an arbitrary angle but does \emph{not} leave any space for the result -% \end{description} -% -% The command \cs{turnbox}\marg{angle}\marg{matter to turn} is a macro -% version of the \texttt{rotate} environment. -% -% A set of examples is given in the file \texttt{examples.tex} -% -% \subsection{Positioning} -% -% Floats appear one to a page, and are positioned by spacer skips that -% appear (logically) above and below the floating object. The skips, -% \cs{rotFPtop} and \cs{rotFPbot}, are initialised from the standard -% \LaTeX{} (internal) \cs{@fptop} and \cs{@fpbot} skips. As a result, -% by default, rotated floats appear horizontally centred on their -% float pages. -% -% Some sensible values for the registers are: -% \par\noindent -% \begin{tabular}{@{}llp{3in}@{}} -% \cs{rotFPtop} & \cs{rotFPbot} & Effect \\ -% \hline -% 0pt plus 1fil & 0pt plus 1fil & figure/table appears in middle -% (default value) \\ -% 0pt & 0pt plus 1fil & figure/table appears with its top -% nearest the edge of the page \\ -% 0pt plus 1fil & 0pt plus 2fil & figure/table's bottom appears -% twice as far from the edge as the -% top does -% \end{tabular} -% -% \StopEventually{} -% -% \section{Setup} -% Now we present the documented code. First, package options. -% -% Note that the \texttt{clockwise} and \texttt{counterclockwise} -% options are present for compatibility only. -% \begin{macrocode} -%<*package> -\DeclareOption{clockwise}{% - \AtBeginDocument{\setkeys{Grot}{units=360}}% -} -\DeclareOption{counterclockwise}{% - \AtBeginDocument{\setkeys{Grot}{units=-360}}% -} -\DeclareOption{anticlockwise}{\ds@counterclockwise} -% \end{macrocode} -% Control figure orientation -% \begin{macrocode} -\DeclareOption{figuresleft}{% - \@rot@twosidefalse - \def\rot@LR{0}% -} -\DeclareOption{figuresright}{% - \@rot@twosidefalse - \def\rot@LR{-1}% -} -% \end{macrocode} -% -% control messages: -% \begin{macrocode} -\newif\ifrot@messages -\DeclareOption{quiet}{% - \rot@messagesfalse - \let\rot@message\@gobble % pro tem -- should suppress altogether -} -\DeclareOption{log}{% - \rot@messagestrue - \def\rot@message{\PackageInfo{rotating}}% -} -\DeclareOption{chatter}{% - \rot@messagestrue - \def\rot@message{\PackageWarning{rotating}}% -} -% \end{macrocode} -% -% \begin{macro}{\if@rot@twoside} -% \begin{macro}{\rot@LR} -% A couple of commands for passing rotation direction around -% \begin{macrocode} -\newif\if@rot@twoside -\if@twoside - \@rot@twosidetrue -\else - \@rot@twosidefalse -\fi -\def\rot@LR{-1} -% \end{macrocode} -% \end{macro} -% \end{macro} -% -% Pass any unknown options to the \textsf{graphicx} package, and -% set up defaults and process the options. -% \begin{macrocode} -\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{graphicx}} -\ExecuteOptions{clockwise,quiet} -\ProcessOptions -% \end{macrocode} -% -% Other initialisation -% \begin{macrocode} -\RequirePackage{graphicx} -\RequirePackage{ifthen} -% \end{macrocode} -% -% \begin{macro}{\rotdriver} -% The command \cs{rotdriver} allows a user to specify an initialisation file, -% a sort of non-automatically-loaded driver (in the graphics, hyperref -% sense). -% \begin{macrocode} -\def\rotdriver#1{\makeatletter\input{#1.def}\makeatother} -% \end{macrocode} -% \end{macro} -% -% The \texttt{r@tfl@t} counter is used when generating `labels' for -% determining what side of the page the float is on, in twoside mode. -% \begin{macrocode} -\newcounter{r@tfl@t} -\setcounter{r@tfl@t}{0} -% \end{macrocode} -% -% Positioning skips (see above). -% \begin{macrocode} -\newskip\rotFPtop \rotFPtop=\@fptop -\newskip\rotFPbot \rotFPbot=\@fpbot -% \end{macrocode} -% -% \section{Turning and rotation environments} -% \begin{macro}{sideways} -% Environment to turn the contents through 90 degrees. -% \begin{macrocode} -\def\sideways{% - \Grot@setangle{90}% - \setbox\z@\color@hbox\ignorespaces} -\def\endsideways{% - \unskip\color@endbox - \Grot@x\z@ - \Grot@y\z@ - \Grot@box -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{turn} -% Rotate the contents of the environment, leaving the appropriate space -% \begin{macrocode} -\def\turn#1{% - \Grot@setangle{#1}% - \setbox\z@\color@hbox\ignorespaces} -\def\endturn{% - \unskip\color@endbox - \Grot@x\z@ - \Grot@y\z@ - \Grot@box -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{rotate} -% Rotate the contents of the environment, leaving \emph{no space}. -% \begin{macrocode} -\def\rotate#1{% - \Grot@setangle{#1}% - \setbox\z@\color@hbox\ignorespaces} -\def\endrotate{% - \unskip\color@endbox - \Grot@x\z@ - \Grot@y\z@ - \wd0\z@\dp0\z@\ht0\z@ - \Grot@box -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\turnbox} -% A macro version of the `rotate' environment. -% \begin{macrocode} -\def\turnbox#1#2{% - \Grot@setangle{#1}% -% \end{macrocode} -% Note: grouping within the box makes \cs{color@hbox} unnecessary, I think. -% \begin{macrocode} - \setbox\z@\hbox{{#2}}% - \Grot@x\z@\Grot@y\z@ - \wd0\z@\dp0\z@\ht0\z@ - \Grot@box -} -% \end{macrocode} -% \end{macro} -% \section{Sideways figures and tables} -% Now for the macros to provide a complete -% environment for sideways figures and tables. -% We define two environments |sidewaysfigure| and -% |sidewaystable| that -% fit in with the normal table and figure floats. These are `fixed' -% environments that just do 90 degree rotation, but it would be easy -% to parameterize this to do other rotations if needed (the mind -% boggles\ldots) -% -% \begin{macro}{\@rotfloat} -% \begin{macro}{\@xrotfloat} -% \begin{macro}{\rot@float@box} -% First a generalised `rotfloat' environment. We need to intercept -% \LaTeX's float macros, in order to change the assumed width of a -% float being |\columnwidth|. We want it to work on a width of -% |\textheight| so that when we rotate the float, it comes out -% the right height. This is not actually very satisfactory, since what -% we \emph{really} want is for rotated floats to occupy the space they -% actually \emph{use}. The captions are a problem --- since they can -% precede the figure or table, we cannot set them in a box of the -% right width (ie the \emph{height} of the forthcoming object), because -% it has not happened yet. The result of these difficulties is that -% rotated figures always end up as full page figures. -% \begin{macrocode} -\newsavebox\rot@float@box -\def\@rotfloat#1{% - \@ifnextchar[% - {\@xrotfloat{#1}}% - {\edef\@tempa{\noexpand\@xrotfloat{#1}[\csname fps@#1\endcsname]}\@tempa}% -} -\def\@xrotfloat#1[#2]{% - \@float{#1}[#2]% -% \end{macrocode} -% Set the float contents in -% a box of width \cs{textheight} instead of \cs{columnwidth}. -% \begin{macrocode} - \begin{lrbox}\rot@float@box - \begin{minipage}\textheight - } -% \end{macrocode} -% \end{macro} -% \end{macro} -% \end{macro} -% -% \begin{macro}{\end@rotfloat} -% We call \LaTeX's \cs{end@float} macro having previously rotated -% the box \cs{@currbox}. -% The rotation is either clockwise or -% anti-clockwise, depending on whether the page is odd or even; -% in oneside mode it is always odd. -% \begin{macrocode} -\def\end@rotfloat{% -% \end{macrocode} -% If we are going to know whether pages are odd or even, -% we need to use the a variant \cs{pageref} mechanism and our own -% specialised labels. -% \begin{macrocode} - \end{minipage}\end{lrbox}% - \stepcounter{r@tfl@t}% - \rot@label{RF\ther@tfl@t}% - \rot@pageref{RF\ther@tfl@t}{\R@@page}% - \edef\@tempa{Adding sideways \@captype\space on page \R@@page\space} - \rot@mess@toks\expandafter{\@tempa} - \wd\rot@float@box\z@ - \ht\rot@float@box\z@ - \dp\rot@float@box\z@ - \vbox to \textheight{% -% \end{macrocode} -% We need to know for sure which direction rotation is going to -% be in, so locally reset the graphics units. -% \begin{macrocode} - \setkeys{Grot}{units=360}% - \if@rot@twoside - \else - \let\R@@page\rot@LR - \fi - \ifthenelse{\isodd{\R@@page}}{% - \if@rot@twoside - \rot@mess@toks\expandafter{\the\rot@mess@toks (right hand page)}% - \fi - \vfill - \@@line{% - \hskip\rotFPtop - \rotatebox{90}{\box\rot@float@box}% - \hskip\rotFPbot - }% - }{% - \if@rot@twoside - \rot@mess@toks\expandafter{\the\rot@mess@toks (left hand page)}% - \fi - \@@line{% - \hskip\rotFPbot - \rotatebox{-90}{\box\rot@float@box}% - \hskip\rotFPtop - }% - \vfill - }% - \rot@message{\the\rot@mess@toks} - }% - \end@float -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\sidewaysfigure} -% \begin{macro}{\endsidewaysfigure} -% \begin{macro}{\sidewaystable} -% \begin{macro}{\endsidewaystable} -% The following definitions set up two environments, -% \texttt{sidewaystable} and \texttt{sidewaysfigure}, which uses this -% type of float. Naturally, users may need to change these to suit -% their local style. Both contribute to the normal lists of figures -% and tables. -% \begin{macrocode} -\def\sidewaysfigure{\@rotfloat{figure}} -% -\let\endsidewaysfigure\end@rotfloat -% -\def\sidewaystable{\@rotfloat{table}} -\let\endsidewaystable\end@rotfloat -% \end{macrocode} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% -% \begin{macro}{\@rotdblfloat} -% \begin{macro}{\end@rotdblfloat} -% Handling double column floats -% \begin{macrocode} -\def\@rotdblfloat{% - \if@twocolumn\expandafter\@rotdbflt\else\expandafter\@rotfloat\fi -} -\def\@rotdbflt#1{\@ifnextchar[{\@rotxdblfloat{#1}}{\@rotxdblfloat{#1}[tp]}} -\def\@rotxdblfloat#1[#2]{% - \@float{#1}[#2]% - \hsize\textwidth\linewidth\textwidth - \begin{lrbox}\rot@float@box - \begin{minipage}\textheight -} -\def\end@rotdblfloat{% -% \end{macrocode} -% If we are going to know whether pages are odd or even, -% we need to use the \cs{pageref} mechanism, and labels. But -% Labels won't work \emph{unless} the user has put in a -% caption. Beware! -% \begin{macrocode} - \end{minipage}\end{lrbox}% - \stepcounter{r@tfl@t}% - \rot@label{RF\ther@tfl@t}% - \rot@pageref{RF\ther@tfl@t}{\R@@page}% - \edef\@tempa{Adding sideways \@captype\space on page \R@@page\space} - \rot@mess@toks\expandafter{\@tempa} - \@tempdima\ht\rot@float@box - \advance\@tempdima by \dp\rot@float@box -% \ifrot@messages -% \rot@message{BOX wd: \the\wd\rot@float@box, -% ht: \the\ht\rot@float@box, dp: \the\dp\rot@float@box: -% so shift by .5 of \the\@tempdima}% -% \fi - \wd\rot@float@box\z@ - \ht\rot@float@box\z@ - \dp\rot@float@box\z@ - \vbox to \textheight{% -% \end{macrocode} -% We need to know for sure which direction rotation is going to -% be in, so locally reset the graphics units. -% \begin{macrocode} - \setkeys{Grot}{units=360}% - \if@rot@twoside - \else - \let\R@@page\rot@LR - \fi - \ifthenelse{\isodd{\R@@page}}{% - \ifrot@messages - \if@rot@twoside - \rot@mess@toks\expandafter{\the\rot@mess@toks (right hand page)}% - \fi - \fi - \vfill - \@@line{% - \hskip\rotFPtop - \rotatebox{90}{\box\rot@float@box}% - \hskip\rotFPbot - }% - }{% - \ifrot@messages - \if@rot@twoside - \rot@mess@toks\expandafter{\the\rot@mess@toks (left hand page)}% - \fi - \fi% - \@@line{% - \hskip\rotFPbot - \rotatebox{-90}{\box\rot@float@box}% - \hskip\rotFPtop - }% - \vfill - }% - \rot@message{\the\rot@mess@toks}% - }% - \end@dblfloat -} -% \end{macrocode} -% \end{macro} -% \end{macro} -% -% \begin{environment}{sidewaysfigure*} -% \begin{environment}{sidewaystable*} -% \begin{macrocode} -\newenvironment{sidewaystable*} - {\@rotdblfloat{table}} - {\end@rotdblfloat} -\newenvironment{sidewaysfigure*} - {\@rotdblfloat{figure}} - {\end@rotdblfloat} - -% \end{macrocode} -% \end{environment} -% \end{environment} -% -% \begin{macro}{\rot@label} -% \begin{macro}{\rot@thepage} -% \begin{macro}{\rot@pageref} -% \begin{macro}{\rot@protected@write} -% \begin{macro}{\if@rot@refundefined} -% Note that we used \cs{rot@label}, not \cs{label}; this -% variant writes (just) the \emph{true} page number, not the -% value of \cs{thepage}; this ``true'' value then needs special -% treatment in \cs{protected@write}, just as -% \cs{thepage} already has. -% \cs{rot@pageref}\marg{generated label name}\marg{cs to set to -% pageno} then returns the labelled page's number (or 0 if label not -% yet defined). If label not defined, flags using -% \cs{rot@refundefinedtrue} for end-document to pick up. (later...) -% \begin{macrocode} -\def\rot@thepage{\@arabic\c@page} -\def\rot@label#1{\@bsphack - \rot@protected@write{\@auxout}{}% - {\string\newlabel{#1}{\rot@thepage}}% - \@esphack} -\def\rot@pageref#1#2{% - \expandafter\ifx\csname r@#1\endcsname\relax - \global\@rot@refundefinedtrue - \def#2{0}% - \else - \edef#2{\csname r@#1\endcsname}% - \fi -} -\long\def\rot@protected@write#1#2#3{% - \begingroup - \let\rot@thepage\relax - #2% - \let\protect\@unexpandable@protect - \edef\reserved@a{\write#1{#3}}% - \reserved@a - \endgroup - \if@nobreak\ifvmode\nobreak\fi\fi -} -\newif\if@rot@refundefined -\global\@rot@refundefinedfalse -% \end{macrocode} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% -% \begin{macro}{\rot@mess@toks} -% A token register to build up debugging messages -% \begin{macrocode} -\newtoks\rot@mess@toks -% \end{macrocode} -% \end{macro} -% -% \subsection{Rotated captions only} -% -% \begin{macro}{\rotcaption} -% \begin{macro}{\@makerotcaption} -% Sometimes you may find that the rotation of complete figures does -% not give quite the right result, since they always take up the whole -% page. You may prefer to rotate the caption and the float contents -% separately within a conventional figure. Here we offer a suggestion -% for a \cs{rotcaption} command, which inserts the caption rotated -% by 90 degrees. It is essentially a copy of the normal captioning -% code. -% Packages which define the \cs{@makecaption} command may also need -% to define \cs{@makerotcaption}. -% \begin{macrocode} -\def\rotcaption{\refstepcounter\@captype\@dblarg{\@rotcaption\@captype}} -\long\def\@rotcaption#1[#2]#3{% - \addcontentsline{\csname ext@#1\endcsname}{#1}{% - \protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}}% - \par - \begingroup - \@parboxrestore - \normalsize - \@makerotcaption{\csname fnum@#1\endcsname}{#3}% - \endgroup} - \long\def\@makerotcaption#1#2{% - \setbox\@tempboxa\color@hbox#1: #2\color@endbox - \ifdim \wd\@tempboxa > .8\vsize - \rotatebox{90}{% - \begin{minipage}{.8\textheight}#1: #2\end{minipage}% - }% - \else% - \rotatebox{90}{\box\@tempboxa}% - \fi - \nobreak - \hspace{12pt}% -} -%</package> -% \end{macrocode} -% \end{macro} -% \end{macro} -% -% \section{Last-minute infrastructure} -% -% \begin{macro}{\color@hbox} -% \begin{macro}{\color@endbox} -% These macros aren't provided in \LaTeX{}, by default (I seem to have -% assumed that they were\dots) -% \begin{macrocode} -\AtBeginDocument{% - \providecommand\color@hbox{\hbox\bgroup}% - \providecommand\color@vbox{\vbox\bgroup}% - \providecommand\color@endbox{\egroup}% -} -% \end{macrocode} -% \end{macro} -% \end{macro} -% -% \section{History} -% -% Version 2.0 is a complete re-write, with most of the work now -% being done by the \LaTeXe\ graphics package. -% -% Version 2.1 provides a `clockwise' option to reinstate the behaviour -% described in the `\LaTeX\ Companion' -% -% Version 2.2 just intercepts the standard float macros instead -% of copying and changing the. The `twoside' option is obeyed. -% -% Version 2.5 corrects problems in sideways figures. -% -% Version 2.6 is a rewrite of the sideways floats via Frank Mittelbach -% (to whom many thanks for looking at the mangy code). -% -% Version 2.7 is checked for \LaTeX\ of December 94, and adds the option -% of twoside behaviour independent of the general twoside. -% -% Version 2.8 cleans up some mistakes pointed out by Harald Axel -% Sommerfeldt. -% -% Version 2.9 cleans up some (more) mistakes pointed out by Harald -% Axel Sommerfeldt. -% -% Version 2.13a permits positioning of rotated floats in the same way -% as they are positioned in `normal' floats. -% -% Version 2.14 is the first to be published anywhere as the outcome of -% maintenance by Robin Fairbairns. -% -% Version 2.15 deals with page-numbering bug for auto-float-rotation, -% and tidying of messages; published to ctan -% -% Version 2.16 uses colour boxes as necessary; published to ctan. -% Version 2.16a provides the colour box commands \cs{AtBeginDocument}. -% -% \Finale -\endinput -% diff --git a/Master/texmf-dist/source/latex/rotating/rotating.ins b/Master/texmf-dist/source/latex/rotating/rotating.ins deleted file mode 100644 index c75b32ba780..00000000000 --- a/Master/texmf-dist/source/latex/rotating/rotating.ins +++ /dev/null @@ -1,54 +0,0 @@ -% \iffalse -% LaTex2e rotating package -% -% \fi -\def\fileversion{1} -\def\filedate{1994/04/14} -% -% \StopEventually{} -% -% As always we begin by identifying the latest version of this file -% on the VDU and in the {\sf log} file. -% \begin{macrocode} -\def\batchfile{rotating.ins} -\input docstrip.tex - -\keepsilent - -\preamble - -Copyright (C) 1994 Sebastian Rahtz and Leonor Barroca. -Copyright (C) 2001-2003,2007,2008 Robin Fairbairns. - -This package is distributed under the terms of the LaTeX Project -Public Licence, either version 1.3c or any later version, at your -convenience. - -This package has the LPPL maintenance status `maintained'. - -The Current Maintainer of this work is Robin Fairbairns. - -For further details see the file rotating.dtx - -\endpreamble - -\Msg{*** Generating style file for using rotating package ***} - -\generateFile{rotating.sty}{f}{ - \from{rotating.dtx}{package}} - -\Msg{***********************************************************} -\Msg{*} -\Msg{* To finish the installation you have to move the file} -\Msg{* rotating.sty into a directory searched by TeX.} -\Msg{*} -\Msg{* Default TDS location is:} -\Msg{* \space\space\space .../tex/latex/rotating/rotating.sty} -\Msg{*} -\Msg{***********************************************************} - - -\endinput - - - diff --git a/Master/texmf-dist/tex/latex/rotating/rotating.sty b/Master/texmf-dist/tex/latex/rotating/rotating.sty deleted file mode 100644 index b1705f6bf27..00000000000 --- a/Master/texmf-dist/tex/latex/rotating/rotating.sty +++ /dev/null @@ -1,282 +0,0 @@ -%% -%% This is file `rotating.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% rotating.dtx (with options: `package') -%% -%% Copyright (C) 1994 Sebastian Rahtz and Leonor Barroca. -%% Copyright (C) 2001-2003,2007,2008 Robin Fairbairns. -%% -%% This package is distributed under the terms of the LaTeX Project -%% Public Licence, either version 1.3c or any later version, at your -%% convenience. -%% -%% This package has the LPPL maintenance status `maintained'. -%% -%% The Current Maintainer of this work is Robin Fairbairns. -%% -%% For further details see the file rotating.dtx -%% -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{rotating}% - [2009/03/28 v2.16a - rotated objects in LaTeX% - ]% $Id: rotating.dtx,v 1.20 2009/03/28 20:05:38 rf10 Exp rf10 $ -\DeclareOption{clockwise}{% - \AtBeginDocument{\setkeys{Grot}{units=360}}% -} -\DeclareOption{counterclockwise}{% - \AtBeginDocument{\setkeys{Grot}{units=-360}}% -} -\DeclareOption{anticlockwise}{\ds@counterclockwise} -\DeclareOption{figuresleft}{% - \@rot@twosidefalse - \def\rot@LR{0}% -} -\DeclareOption{figuresright}{% - \@rot@twosidefalse - \def\rot@LR{-1}% -} -\newif\ifrot@messages -\DeclareOption{quiet}{% - \rot@messagesfalse - \let\rot@message\@gobble % pro tem -- should suppress altogether -} -\DeclareOption{log}{% - \rot@messagestrue - \def\rot@message{\PackageInfo{rotating}}% -} -\DeclareOption{chatter}{% - \rot@messagestrue - \def\rot@message{\PackageWarning{rotating}}% -} -\newif\if@rot@twoside -\if@twoside - \@rot@twosidetrue -\else - \@rot@twosidefalse -\fi -\def\rot@LR{-1} -\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{graphicx}} -\ExecuteOptions{clockwise,quiet} -\ProcessOptions -\RequirePackage{graphicx} -\RequirePackage{ifthen} -\def\rotdriver#1{\makeatletter\input{#1.def}\makeatother} -\newcounter{r@tfl@t} -\setcounter{r@tfl@t}{0} -\newskip\rotFPtop \rotFPtop=\@fptop -\newskip\rotFPbot \rotFPbot=\@fpbot -\def\sideways{% - \Grot@setangle{90}% - \setbox\z@\color@hbox\ignorespaces} -\def\endsideways{% - \unskip\color@endbox - \Grot@x\z@ - \Grot@y\z@ - \Grot@box -} -\def\turn#1{% - \Grot@setangle{#1}% - \setbox\z@\color@hbox\ignorespaces} -\def\endturn{% - \unskip\color@endbox - \Grot@x\z@ - \Grot@y\z@ - \Grot@box -} -\def\rotate#1{% - \Grot@setangle{#1}% - \setbox\z@\color@hbox\ignorespaces} -\def\endrotate{% - \unskip\color@endbox - \Grot@x\z@ - \Grot@y\z@ - \wd0\z@\dp0\z@\ht0\z@ - \Grot@box -} -\def\turnbox#1#2{% - \Grot@setangle{#1}% - \setbox\z@\hbox{{#2}}% - \Grot@x\z@\Grot@y\z@ - \wd0\z@\dp0\z@\ht0\z@ - \Grot@box -} -\newsavebox\rot@float@box -\def\@rotfloat#1{% - \@ifnextchar[% - {\@xrotfloat{#1}}% - {\edef\@tempa{\noexpand\@xrotfloat{#1}[\csname fps@#1\endcsname]}\@tempa}% -} -\def\@xrotfloat#1[#2]{% - \@float{#1}[#2]% - \begin{lrbox}\rot@float@box - \begin{minipage}\textheight - } -\def\end@rotfloat{% - \end{minipage}\end{lrbox}% - \stepcounter{r@tfl@t}% - \rot@label{RF\ther@tfl@t}% - \rot@pageref{RF\ther@tfl@t}{\R@@page}% - \edef\@tempa{Adding sideways \@captype\space on page \R@@page\space} - \rot@mess@toks\expandafter{\@tempa} - \wd\rot@float@box\z@ - \ht\rot@float@box\z@ - \dp\rot@float@box\z@ - \vbox to \textheight{% - \setkeys{Grot}{units=360}% - \if@rot@twoside - \else - \let\R@@page\rot@LR - \fi - \ifthenelse{\isodd{\R@@page}}{% - \if@rot@twoside - \rot@mess@toks\expandafter{\the\rot@mess@toks (right hand page)}% - \fi - \vfill - \@@line{% - \hskip\rotFPtop - \rotatebox{90}{\box\rot@float@box}% - \hskip\rotFPbot - }% - }{% - \if@rot@twoside - \rot@mess@toks\expandafter{\the\rot@mess@toks (left hand page)}% - \fi - \@@line{% - \hskip\rotFPbot - \rotatebox{-90}{\box\rot@float@box}% - \hskip\rotFPtop - }% - \vfill - }% - \rot@message{\the\rot@mess@toks} - }% - \end@float -} -\def\sidewaysfigure{\@rotfloat{figure}} -\let\endsidewaysfigure\end@rotfloat -\def\sidewaystable{\@rotfloat{table}} -\let\endsidewaystable\end@rotfloat -\def\@rotdblfloat{% - \if@twocolumn\expandafter\@rotdbflt\else\expandafter\@rotfloat\fi -} -\def\@rotdbflt#1{\@ifnextchar[{\@rotxdblfloat{#1}}{\@rotxdblfloat{#1}[tp]}} -\def\@rotxdblfloat#1[#2]{% - \@float{#1}[#2]% - \hsize\textwidth\linewidth\textwidth - \begin{lrbox}\rot@float@box - \begin{minipage}\textheight -} -\def\end@rotdblfloat{% - \end{minipage}\end{lrbox}% - \stepcounter{r@tfl@t}% - \rot@label{RF\ther@tfl@t}% - \rot@pageref{RF\ther@tfl@t}{\R@@page}% - \edef\@tempa{Adding sideways \@captype\space on page \R@@page\space} - \rot@mess@toks\expandafter{\@tempa} - \@tempdima\ht\rot@float@box - \advance\@tempdima by \dp\rot@float@box - \wd\rot@float@box\z@ - \ht\rot@float@box\z@ - \dp\rot@float@box\z@ - \vbox to \textheight{% - \setkeys{Grot}{units=360}% - \if@rot@twoside - \else - \let\R@@page\rot@LR - \fi - \ifthenelse{\isodd{\R@@page}}{% - \ifrot@messages - \if@rot@twoside - \rot@mess@toks\expandafter{\the\rot@mess@toks (right hand page)}% -\fi - \fi - \vfill - \@@line{% - \hskip\rotFPtop - \rotatebox{90}{\box\rot@float@box}% - \hskip\rotFPbot - }% - }{% - \ifrot@messages - \if@rot@twoside - \rot@mess@toks\expandafter{\the\rot@mess@toks (left hand page)}% -\fi - \fi% - \@@line{% - \hskip\rotFPbot - \rotatebox{-90}{\box\rot@float@box}% - \hskip\rotFPtop - }% - \vfill - }% - \rot@message{\the\rot@mess@toks}% - }% - \end@dblfloat -} -\newenvironment{sidewaystable*} - {\@rotdblfloat{table}} - {\end@rotdblfloat} -\newenvironment{sidewaysfigure*} - {\@rotdblfloat{figure}} - {\end@rotdblfloat} - -\def\rot@thepage{\@arabic\c@page} -\def\rot@label#1{\@bsphack - \rot@protected@write{\@auxout}{}% - {\string\newlabel{#1}{\rot@thepage}}% - \@esphack} -\def\rot@pageref#1#2{% - \expandafter\ifx\csname r@#1\endcsname\relax - \global\@rot@refundefinedtrue - \def#2{0}% - \else - \edef#2{\csname r@#1\endcsname}% - \fi -} -\long\def\rot@protected@write#1#2#3{% - \begingroup - \let\rot@thepage\relax - #2% - \let\protect\@unexpandable@protect - \edef\reserved@a{\write#1{#3}}% - \reserved@a - \endgroup - \if@nobreak\ifvmode\nobreak\fi\fi -} -\newif\if@rot@refundefined -\global\@rot@refundefinedfalse -\newtoks\rot@mess@toks -\def\rotcaption{\refstepcounter\@captype\@dblarg{\@rotcaption\@captype}} -\long\def\@rotcaption#1[#2]#3{% - \addcontentsline{\csname ext@#1\endcsname}{#1}{% - \protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}}% - \par - \begingroup - \@parboxrestore - \normalsize - \@makerotcaption{\csname fnum@#1\endcsname}{#3}% - \endgroup} - \long\def\@makerotcaption#1#2{% - \setbox\@tempboxa\color@hbox#1: #2\color@endbox - \ifdim \wd\@tempboxa > .8\vsize - \rotatebox{90}{% - \begin{minipage}{.8\textheight}#1: #2\end{minipage}% - }% - \else% - \rotatebox{90}{\box\@tempboxa}% - \fi - \nobreak - \hspace{12pt}% -} -\AtBeginDocument{% - \providecommand\color@hbox{\hbox\bgroup}% - \providecommand\color@vbox{\vbox\bgroup}% - \providecommand\color@endbox{\egroup}% -} -\endinput -%% -%% End of file `rotating.sty'. |