% maxent.sty
% Author: A. Mohammad-Djafrai   modified by DJCM   OCT 94
% maxent.sty is used with the standard article.sty in the following manner.
% 
% \documentstyle[twoside,11pt,maxent]{article}
% \title{A SCALE INVARIANT BAYESIAN METHOD TO SOLVE LINEAR INVERSE PROBLEMS}
% \author{Ali Mohammad-Djafari \\
% Laboratoire des Signaux et Syst\`emes (CNRS-ESE-UPS) \\ 
% \'Ecole Sup\'erieure d'\'Electricit\'e, \\ 
% Plateau de Moulon, 91192 Gif-sur-Yvette C\'edex, France}
% %\pagestyle{empty}                %without page numbering
% \pagestyle{myheadings}            %with page numbering
% \markboth{A. Mohammad-Djafari and J. Idier}
% {A scale invariant Bayesian method to solve linear inverse problems} 
% 
% \begin{document}
% \maketitle
% \thispagestyle{empty}
% 
% % \keywords{Bayesian estimation, Scale invariance, Inverse Problems, 
% % Image reconstruction}
% 
% \begin{abstract}
% Your abstract
% \end{abstract}
% 
% \section{Introduction}
% 
% \begin{thebibliography}{99}
% Your bibliography
% \end{thebibliography}
% 
% \end{document}
% -----------------------
\setlength{\textwidth}{15.2cm}
\setlength{\textheight}{21.6cm}
\setlength{\topmargin}{-0.5in}
\setlength{\oddsidemargin}{0.0in}
\setlength{\evensidemargin}{0.0in}

% ``.'' removed from the following by djcm. 
\renewcommand{\thesection}{\arabic{section}}
\renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}}
\renewcommand{\thesubsubsection}{\arabic{section}.\arabic{subsection}.\arabi
c{subsubsection}}
%\renewcommand{\theequation}{\arabic{section}.\arabic{equation}}
\renewcommand{\thetable}{\arabic{table}}

\def\section{\@startsection {section}{1}{0pc}{-16pt}{3pt}{\bf}}
\def\subsection{\@startsection {subsection}{2}{0pc}{-3pt}{3pt}{\center \normalsize \sc}}
% changed by djcm from
%\def\subsection{\@startsection {subsection}{2}{0pc}{-3pt}{3pt}{\normalsize}}
\def\subsubsection{\@startsection {subsubsection}{3}{\z@}{3.25ex 
	plus1ex minus.2ex}{-1em}{\reset@font\normalsize\em}}
% was \def\subsubsection{\@startsection {subsubsection}{3}{0pc}{13pt}{0pt}{\em}}

%   Bibliography
\def\thebibliography#1{\section*{References\@mkboth
 {REFERENCES}{REFERENCES}}\list
 {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
 \advance\leftmargin\labelsep
%  Added, Y. Bresler, 9/25/1992:  \itemsep 0pt
 \itemsep 0pt
 \usecounter{enumi}}
 \def\newblock{\hskip .11em plus .33em minus .07em}
 \sloppy\clubpenalty4000\widowpenalty4000
 \sfcode`\.=1000\relax}
\let\endthebibliography=\endlist

%    TITLE
\def\maketitle{\par
 \begingroup
 \def\thefootnote{\fnsymbol{footnote}}
 \def\@makefnmark{\hbox 
 to 0pt{$^{\@thefnmark}$\hss}} 
 \if@twocolumn 
 \twocolumn[\@maketitle] 
 \else \newpage
 \global\@topnum\z@ \@maketitle \fi\thispagestyle{plain}\@thanks
 \endgroup
 \setcounter{footnote}{0}
 \setcounter{section}{0}
 \setcounter{equation}{0}
}
\def\@maketitle{\newpage
 \null
 \vskip 2em \begin{flushleft}
 {\large\bf \@title}\end{flushleft}
 \vskip 1.5em {\normalsize \lineskip .5em \hskip 1in
 \begin{tabular}[t]{l}\@author 
 \end{tabular}} 
 \par
 \vskip 1.5em} 

\def\ps@myheadings{\let\@mkboth\@gobbletwo
\def\@oddhead{\hbox{}\rm\rightmark \hfil
\rm\thepage}\def\@oddfoot{}\def\@evenhead{\rm \thepage\hfil\rm\leftmark\hbox
{}}\def\@evenfoot{}\def\sectionmark##1{}\def\subsectionmark##1{}}

%\long\def\@makecaption#1#2{
%   \vskip 10pt 
%   \setbox\@tempboxa\hbox{#1: #2}
%   \ifdim \wd\@tempboxa >\hsize   % IF longer than one line:
%       #1: #2\par                 %   THEN set as ordinary paragraph.
%     \else                        %   ELSE  center.
%       \hbox to\hsize{\hfil\box\@tempboxa\hfil}  
%   \fi
%   \vspace*{-0.2in}
%      }

\def\abstract{\if@twocolumn
\section*{Abstract}
\else \small 
% \beginquotation
\noindent 
{ABSTRACT. }
\fi}
\def\endabstract{\if@twocolumn\else\endquotation\fi}
% changed by djcm from 
% \else \small \noindent 
% {\bf ABSTRACT. }
% \fi}
% \def\endabstract{\if@twocolumn\else\endquotation\fi}

\ps@plain \pagenumbering{arabic} \onecolumn
\if@twoside\else\raggedbottom\fi 

\def\acknowledgments#1{\par\medskip\noindent 
{\rm ACKNOWLEDGMENTS. #1}}

%\sloppy \parindent 1em
\leftmargini 1em \leftmargin\leftmargini 
\leftmarginv .2em \leftmarginvi .5em
%\abovedisplayskip 0pt \abovedisplayshortskip 0pt
%\belowdisplayskip 0pt \belowdisplayshortskip 0pt \flushbottom

% figure caption -- added by DJCM. 
% (pinched from llncs.sty - but couldn't get to work)
%
% 
% \long\def\@caption#1[#2]#3{\addcontentsline{\csname
%   ext@#1\endcsname}{#1}{\protect\numberline{\csname
%   the#1\endcsname}{\ignorespaces #2}}\par
%   \begingroup
%     \@parboxrestore
%     \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
%   \endgroup}
% 
% % \newcounter{figure}
% \def\thefigure{\@arabic\c@figure}
% 
% \def\fps@figure{htbp}
% \def\ftype@figure{1}
% \def\ext@figure{lof}
% \def\fnum@figure{Fig.\thinspace\thefigure.}
% \def\figure{\@float{figure}\small\rm}
% \def\endfigure{\vskip-5pt\end@float}
% \@namedef{figure*}{\@dblfloat{figure}}
% \@namedef{endfigure*}{\end@dblfloat}
% 
% % \newcounter{table}
% \def\thetable{\@arabic\c@table}
% \def\fps@table{htbp}
% \def\ftype@table{2}
% \def\ext@table{lot}
% \def\fnum@table{Table \thetable.}
% \def\table{\@float{table}\small\rm}
% \let\endtable\end@float
% \@namedef{table*}{\@dblfloat{table}}
% \@namedef{endtable*}{\end@dblfloat}
% 
