diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-13 00:05:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-13 00:05:39 +0000 |
commit | 593ec5cb1353216b0dce7c50e2232952602cd4c5 (patch) | |
tree | 00ecafdb31aaa4703ec9dc22b9592852538bf0b4 /Master/texmf-dist/tex/latex/rotfloat | |
parent | 665740b993a4a23650472333dec92ff943bcd2cf (diff) |
rotfloat
git-svn-id: svn://tug.org/texlive/trunk@1284 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/rotfloat')
-rw-r--r-- | Master/texmf-dist/tex/latex/rotfloat/rotfloat.sty | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/rotfloat/rotfloat.sty b/Master/texmf-dist/tex/latex/rotfloat/rotfloat.sty new file mode 100644 index 00000000000..c59b73e8785 --- /dev/null +++ b/Master/texmf-dist/tex/latex/rotfloat/rotfloat.sty @@ -0,0 +1,123 @@ +%% +%% This is file `rotfloat.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% rotfloat.dtx (with options: `package') +%% +%% Copyright (c) 1995-2004 Axel Sommerfeldt (rotfloat@sommerfeldt.net) +%% +%% This file is part of the rotfloat package. +%% ------------------------------------------ +%% +%% It may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.2 +%% 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.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{rotfloat}[2004/01/04 v1.2 Combining float+rotating package (AS)] +\RequirePackage{float}[1994/06/20] % >= version 1.2 +\RequirePackageWithOptions{rotating}%[1995/01/06] % >= version 2.6 +\ifx\@float@HH\undefined + \PackageInfo{rotfloat}{float package v1.2 detected} + \let\rotfloat@restyle\restylefloat + \renewcommand*\restylefloat[1]{% + \rotfloat@restyle{#1}% + \@namedef{sideways#1}{\rotfloat@float{#1}}% + \expandafter\let\csname endsideways#1\endcsname\float@end + \ifx\@rotdblfloat\@undefined + \else + \@namedef{sideways#1*}{\rotfloat@dblfloat{#1*}}% + \expandafter\let\csname endsideways#1*\endcsname\float@dblend + \fi} + \newcommand\rotfloat@float{% + \textwidth\textheight + \columnwidth\textheight + \let\rotfloat@@makebox\float@makebox + \let\float@makebox\rotfloat@makebox + \@nameuse} + \newcommand\rotfloat@dblfloat{% + \textwidth\textheight + \columnwidth\textheight + \let\rotfloat@@makebox\float@makebox + \let\float@makebox\rotdblfloat@makebox + \@nameuse} + \let\rotfloat@HH\@HHfloat + \def\@HHfloat#1{% + \expandafter\let\csname endsideways#1\endcsname\rotfloat@endH + \let\end@float\relax + \rotfloat@HH{#1}} + \newcommand\rotfloat@endH{% + \if@flstyle + \else + \end@rotfloat + \fi + \float@endH} + \newcommand\rotfloat@makebox{% + \vbox{% + \def\@float##1[##2]{}\let\end@float\relax + \@rotfloat{}[]% + \rotfloat@@makebox + \end@rotfloat}} + \newcommand\rotdblfloat@makebox{% + \vbox{% + \def\@float##1[##2]{}\let\end@dblfloat\relax + \@rotdblfloat{}[]% + \rotfloat@@makebox + \end@rotdblfloat}} +\else + \PackageInfo{rotfloat}{float package v1.3 detected} + \let\rotfloat@restyle\float@restyle + \renewcommand*\float@restyle[1]{% + \rotfloat@restyle{#1}% + \@namedef{sideways#1}{\rotfloat@float{#1}}% + \expandafter\let\csname endsideways#1\endcsname\float@end + \ifx\@rotdblfloat\@undefined + \else + \@namedef{sideways#1*}{\rotfloat@dblfloat{#1*}}% + \expandafter\let\csname endsideways#1*\endcsname\float@dblend + \fi} + \newcommand\rotfloat@float{% + \textwidth\textheight + \columnwidth\textheight + \let\rotfloat@@makebox\float@makebox + \let\float@makebox\rotfloat@makebox + \@nameuse} + \newcommand\rotfloat@dblfloat{% + \textwidth\textheight + \columnwidth\textheight + \let\rotfloat@@makebox\float@makebox + \let\float@makebox\rotdblfloat@makebox + \@nameuse} + \let\rotfloat@HH\@float@HH + \def\@float@HH#1{% + \expandafter\let\csname endsideways#1\endcsname\rotfloat@endH + \let\end@float\relax + \rotfloat@HH{#1}} + \newcommand\rotfloat@endH{% + \if@flstyle + \else + \end@rotfloat + \fi + \float@endH} + \newcommand*\rotfloat@makebox[1]{% + \vbox{% + \def\@float##1[##2]{}\let\end@float\relax + \@rotfloat{}[]% + \rotfloat@@makebox{#1}% + \end@rotfloat}} + \newcommand*\rotdblfloat@makebox[1]{% + \vbox{% + \def\@float##1[##2]{}\let\end@dblfloat\relax + \@rotdblfloat{}[]% + \rotfloat@@makebox{#1}% + \end@rotdblfloat}} +\fi +\endinput +%% +%% End of file `rotfloat.sty'. |