%%
%% This is file `fr-fancy.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% floatrow.dtx  (with options: `frfancy')
%% 
%% IMPORTANT NOTICE:
%% 
%% For the copyright see the source file.
%% 
%% Any modified versions of this file must be renamed
%% with new filenames distinct from fr-fancy.sty.
%% 
%% For distribution of the original source see the terms
%% for copying and modification in the file floatrow.dtx.
%% 
%% This generated file may be distributed as long as the
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}[1995/06/01]
\ProvidesPackage{fr-fancy}
       [2005/07/15 v0.1g floatrow: fancy boxes]
\RequirePackage{fancybox}
\newcommand\FB@colorbox@frame[1]{\hbox{%
  \FRifFIT\else\kern-\fboxrule\kern-\fboxsep\fi
  \FB@fcolorbox{#1}%
  \FRifFIT\else\kern-\fboxrule\kern-\fboxsep\fi}\ignorespaces}
\@ifdefinable\FB@colorbox@adj{\let\FB@colorbox@adj\FB@fbox@adj}
\newcommand\FB@colorbox@reset{\fboxsep3\p@\fboxrule.4\p@}
\newcommand\FB@colorbox{\fbox}
\newcommand\setcolorframe[1]{\def\FB@fcolorbox{#1}}
\DeclareFROpt{colorframeset}{\flrow@fcolorbox{#1}}
\newcommand*\flrow@fcolorbox[1]{%
  \@ifundefined{flrow@fcolorbox@#1}%
    {\PackageError{floatrow}{Undefined color box `#1'}{\flrow@eh}}%
    {\expandafter\let\expandafter\FB@fcolorbox
     \csname flrow@fcolorbox@#1\endcsname}}
\newcommand*\DeclareColorBox[2]{%
  \@ifundefined{color}{\PackageError{floatrow}%
    {For usage of colored frames\MessageBreak load color package}{}}%
  {\long\@namedef{flrow@fcolorbox@#1}{#2}}}
\newcommand\wshadowbox{\VerbBox\@wshadowbox}
\newcommand\@wshadowbox[1]{%
  \setbox\@fancybox\hbox{\fbox{#1}}%
  \leavevmode\vbox{\offinterlineskip
    \hbox{\copy\@fancybox\kern-\fboxrule\lower\shadowsize\hbox{%
      \dimen@\ht\@fancybox\advance\dimen@-\fboxrule
      \vrule\@height\ht\@fancybox\@depth-\dimen@\@width\shadowsize
      \vrule\@height\ht\@fancybox\@depth\dp\@fancybox\@width\fboxrule}}%
    \vskip-\fboxrule\vskip-\shadowsize
    \moveright\shadowsize\vbox{%
      \hrule\@width\fboxrule\@height\shadowsize
      \hrule\@width\wd\@fancybox\@height\fboxrule}}}
\newcommand\FB@shadowbox@frame[1]{\hbox{%
  \FRifFIT\else\hskip-\fboxrule\hskip-\fboxsep\fi
  \FBs@raise{\shadowbox{#1}}%
  \FRifFIT\else\kern-\fboxrule\kern-\fboxsep\kern-\shadowsize\fi}}
\newcommand\FB@shadowbox@adj{\dimen@=2\fboxsep
  \advance\dimen@2\fboxrule\advance\dimen@\shadowsize}
\newcommand\FB@shadowbox@reset{\fboxsep3\p@\fboxrule.4\p@\shadowsize4\p@}
\newcommand\FB@wshadowbox@frame[1]{\hbox{%
  \FRifFIT\else\hskip-\fboxrule\hskip-\fboxsep\fi
  \FBs@raise{\wshadowbox{#1}}%
  \FRifFIT\else\kern-\fboxrule\kern-\fboxsep\kern-\shadowsize\fi}}
\@ifdefinable\FB@wshadowbox@adj{\let\FB@wshadowbox@adj\FB@shadowbox@adj}
\newcommand\FB@wshadowbox@reset{\fboxsep3\p@\fboxrule.4\p@\shadowsize4\p@}
\newcommand\FB@doublebox@frame[1]{\hbox{%
  \FRifFIT\else\kern-4.75\fboxrule\kern-.5pt\kern-\fboxsep\fi
  \doublebox{#1}%
  \FRifFIT\else\kern-4.75\fboxrule\kern-.5pt\kern-\fboxsep\fi}}
\newcommand\FB@doublebox@adj{\dimen@=2\fboxsep
  \advance\dimen@7.5\fboxrule\advance\dimen@\p@}
\newcommand\FB@doublebox@reset{\fboxsep3\p@\fboxrule.4\p@}
\DeclareFloatStyle{shadowbox}{style=boxed,framestyle=shadowbox}
\DeclareFloatStyle{Shadowbox}{style=Boxed,framestyle=shadowbox}
\DeclareFloatStyle{SHADOWBOX}{style=BOXED,framestyle=shadowbox}
\DeclareFloatStyle{wshadowbox}{style=boxed,framestyle=wshadowbox}
\DeclareFloatStyle{Wshadowbox}{style=Boxed,framestyle=wshadowbox}
\DeclareFloatStyle{WSHADOWBOX}{style=BOXED,framestyle=wshadowbox}
\DeclareFloatStyle{doublebox}{style=boxed,framestyle=doublebox}
\DeclareFloatStyle{Doublebox}{style=Boxed,framestyle=doublebox}
\DeclareFloatStyle{DOUBLEBOX}{style=BOXED,framestyle=doublebox}
\endinput
%%
%% End of file `fr-fancy.sty'.
