summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/floatrow/fr-fancy.sty
blob: 1987f320e908648798019a6a4864296412d661e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
%%
%% 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}
       [2007/11/28 v0.1i floatrow: fancy boxes]
%%^^A|\newcommand\CenterFloatBoxes{\CADJfalse\OADJfalse|
\RequirePackage{fancybox}
\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{%
  \FR@ifFIT\relax{\hskip-\fboxrule\hskip-\fboxsep}\FBs@raise{\shadowbox{#1}}%
  \FR@ifFIT\relax{\kern-\fboxrule\kern-\fboxsep\kern-\shadowsize}}}
\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{%
  \FR@ifFIT\relax{\hskip-\fboxrule\hskip-\fboxsep}\FBs@raise{\wshadowbox{#1}}%
  \FR@ifFIT\relax{\kern-\fboxrule\kern-\fboxsep\kern-\shadowsize}}}
\@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{%
  \FR@ifFIT\relax{\kern-4.75\fboxrule\kern-.5pt\kern-\fboxsep}\doublebox{#1}%
  \FR@ifFIT\relax{\kern-4.75\fboxrule\kern-.5pt\kern-\fboxsep}}}
\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'.