%% mybox.sty
\input fancybox.sty

%% fminipage
\newenvironment{fminipage}%
{\begin{Sbox}\begin{minipage}}%
    {\end{minipage}\end{Sbox}\fbox{\TheSbox}}

%% parabox
\newenvironment{parabox}%
{\begin{center}\begin{Sbox}\begin{minipage}[t]{0.8\textwidth}\par}%
      {\end{minipage}\end{Sbox}\fbox{\TheSbox}\end{center}}
