%%% /usr/local/src/hoc/hoc-7.0.7.beta/doc/widecenter.sty, Sat Jul 31 06:01:12 2004
%%% Edit by Nelson H. F. Beebe <beebe@math.utah.edu>
%%% Restore original \@flushglue inside center environment, to avoid
%%% affecting glue settings in contained parboxes and tabular environments.
%%%
%%% /u/sy/beebe/letters/widecenter.sty, Thu Aug 29 09:37:34 1996
%%% Edit by Nelson H. F. Beebe <beebe@plot79.math.utah.edu>
%%% Borrowed without change from: /u/sy/beebe/courses/notes/eps.sty

% \def \fileversion {1.00}
% \def \filedate    {1994/02/01}

\def \fileversion {2.00}%
\def \filedate    {2004/07/31}%

\ifx \ProvidesPackage \undefined
    \typeout{[\filedate\space v\fileversion\space Support for widecenter environment]}%
\else
    \ProvidesPackage{widecenter}%
        [\filedate\space v\fileversion\space Support for widecenter environment]
\fi

\ifx \thewidecenter \undefined
\else
    \endinput
\fi

%%% --------------------------------------------------------------------
%%% This environment allows wide centered objects to spill into the
%%% margins, evenly on both sides.

\newlength{\@widecentersavedflushglue}
\newenvironment{widecenter}{%
    \begingroup
    \@widecentersavedflushglue = \@flushglue
    \@flushglue = 0pt plus 1fil minus \textwidth
    \begin{center}%
      \@flushglue = \@widecentersavedflushglue
      \ignorespaces % IMPORTANT: so space after \begin{widecenter} is gobbled
}{%
    \end{center}%
    \endgroup
}
