% adapted from aside.sty
% Sat 5/10/02
% DJCMacKay
% motivation: when used in figures, I don't want a gap before and after the
% centered stuff.
% Sometimes when I use center in text, I have the same wish too.
%
\def\mycenter{\centering}
\def\endmycenter{}
%
% this is daring.... It does not work quite right.
% This works pretty well
% Problem is that the gap before is often bigger than the gap after the center.
\def\center{\par\centering}
\def\endcenter{\par}
%
% I assume this is the standard definition? No it's not
%\def\center{\list{}{}\item[]\centering}
%\let\endcenter=\endlist
%
% this was found in the latex.ltx file: 
%\def\center{\trivlist \centering\item\relax}
%\def\endcenter{\endtrivlist}
% provide normal center thus
% -- this greatly increases the vertical gap compared with mycenter
\def\oldcenter{\trivlist \centering\item\relax}
\def\endoldcenter{\endtrivlist}
\def\realcenter{\trivlist \centering\item\relax}
\def\endrealcenter{\endtrivlist}
