%%
%% 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'.
