<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%%
%% $Id: frame.tex 320 2010-05-15 09:42:13Z herbert $
%%
%% COPYRIGHT 1992/2010, by Timothy Van Zandt, tvz@Princeton.EDU
%% COPYRIGHT 2010, by Herbert Voss, hvoss@tug.org
%%
%% Copyright:
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN archives
%% in directory macros/latex/base/lppl.txt.
%%
%% DESCRIPTION:
%%   frame.tex/frame.sty provides fancy frames for generic TeX 
%
% Usage:
% \fancyframebox {rule thickness} {separation from inner guy} {inner guy}
%
% \makeemptybox {width} {height} {depth}
%%
%
\def\fileversion{1.0}
\def\filedate{2010/05/15}
%
\csname FrameLoaded\endcsname
\let\FrameLoaded\endinput
%
\edef\TheAtCode{\the\catcode`\@}
\catcode`\@=11\relax
\message{\space\space v\fileversion\space\space \filedate\space\space &lt;tvz&gt;}
 
\newbox\fancyboxA
\newbox\fancyboxB
\newdimen\fancyboxD
 
\def\makeemptybox#1#2#3{\setbox\fancyboxA=\hbox{}\wd\fancyboxA=#1\relax
    \ht\fancyboxA=#2\relax \dp\fancyboxA=#3\relax \box\fancyboxA }
 
\def\fancyframebox#1#2#3{%
    \leavevmode
    \setbox\fancyboxB=\hbox{#3}%
    \dimen\fancyboxD=#1\relax
    \advance\dimen\fancyboxD by #2\relax
    \advance\dimen\fancyboxD by \dp\fancyboxB
    \hbox{%
 \lower\dimen\fancyboxD\hbox{%
     \vbox{%
  \hrule height #1\relax
  \hbox{%
      \vrule width #1\relax
      \kern #2\relax
      \vbox{\vskip #2\relax\box\fancyboxB\vskip #2\relax}%
      \kern #2\relax
      \vrule width #1\relax}%
  \hrule height #1\relax}}}}
%
\expandafter\catcode`\@=\TheAtCode\relax
\endinput
%% END frame.tex/frame.sty
</pre></body></html>