% LaTeX style file for 1999 IEEE MM SP Workshop
%   Modified from mmsp98.sty
%   Modified from mmsp97.sty and icip.sty

% See the file mmsp99sample.tex for an example paper.

%%%%%%%%%%%%%%%%
% It is important to note that the textheight command in the cofiguration
% area is only meant for the first page.
% THE AUTHORS WILL NEED TO INSERT THE COMMAND
%         \textheight 7.5in
% immediately before the first (e.g. introduction) section of the paper.
%%%%%%%%%%%%%%%%

\oddsidemargin 1in
\evensidemargin 1in
\topmargin .5in
\headheight 0pt
\headsep 0pt
\textheight 7.37in
% The textheight defined here is effective only for the first page.
\textwidth 4.63in
\parindent 1pc
\pagestyle{empty}

\makeatletter

\setcounter{secnumdepth}{0}           % no section numbering
\def\subsubsection#1{\par\vspace{8pt}\noindent{\bf #1\hskip 1ex}}

% titlepage
\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\@thanks
 \endgroup
 \setcounter{footnote}{0}
 \let\maketitle\relax
 \let\@maketitle\relax
 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}

\def\@maketitle{\newpage
 \null
 \begin{center}
\vskip -0.3in
  {\Large \bf \@title \par}     % Title set in \Large size. 
  \vskip 0.3in
  {                        % each author set in \bf, in a
   \lineskip .5em           % tabular environment
   \begin{tabular}[t]{c}\@name \\ \@address
   \end{tabular}\par}                   
\end{center}
}

\def\title#1{\gdef\@title{\uppercase{#1}}}
\def\name#1{\gdef\@name{{\bf #1}}}
\def\address#1{\gdef\@address{#1}}
\title{}
\name{}
\address{}

\def\twoauthors#1#2#3#4{\gdef\@address{}
   \gdef\@name{\begin{tabular}{@{}c@{}}
        {\bf #1} \\
        #2\relax
   \end{tabular}\hskip 0.3in\begin{tabular}{@{}c@{}}
        {\bf #3} \\
        #4\relax
\end{tabular}}}

\def\abstract{\if@twocolumn
\section*{Abstract}
\else
\vspace{0.2in}
\small \bf
{Abstract - }
\fi}

\def\section{\@startsection {section}{1}{\z@}{3.5ex plus 1ex minus 
 .2ex}{2.3ex plus .2ex}{\large\bf}} 
\def\subsection{\@startsection{subsection}{2}{\z@}{3.25ex plus 1ex minus 
 .2ex}{1.5ex plus .2ex}{\large\bf}} 

\def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth
   \let\@svsec\@empty\else
   \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname.\hskip 0.6em}\fi
       \begingroup \ifnum #2=1\large\bf
          \noindent{\interlinepenalty \@M
             \@svsec\uppercase{#8}\par}\else\ifnum #2=2\large\bf
          \noindent{\interlinepenalty \@M \@svsec #8\par}\else\bf
          \noindent{\interlinepenalty \@M
             \@svsec #8\hskip 1ex}\fi\fi\endgroup
       \csname #1mark\endcsname{#7}\addcontentsline
         {toc}{#1}{\protect\numberline{\csname the#1\endcsname} #7}
     \@tempskipa #5\relax
     \@xsect{\@tempskipa}}

\makeatother

