% =========================================================================
% ieeecdc.sty --- For formatting papers for the IEEE
%       conference on decision and control (CDC).
%
%       This style file must be used with the ieee.cls document class.
%
%===========================================================================
%
% Usage:
%       \documentclass[main-options,sub-options,misc-options]{ieee}
%       \usepackage{ieeecdc}
%       ... etc ...
%
%       more documentation for typesetting papers for journals and
%       conferences may be found at the beginning of the ieee.cls file.
%===========================================================================
% modified 5 Sept 1997:
%       - removed from the main ieee.cls file to become a plug-in file.
%===========================================================================
% **************************************************************************
% ******                          ******************************************
% *****   LaTeX2e INITIALIZATION   *****************************************
% ******                          ******************************************
% **************************************************************************
\typeout{`ieeecdc' <Modified: 1997, Gregory L. Plett>.}
\ProvidesPackage{ieeecdc}[1997/09/05]     % Name of package provided, date
\ifx\i@@@cls\undefined
  \PackageError{ieeecdc}{This package requires the ieee.cls file ^^Jin order
        to work correctly}{}\endinput\fi

\def\confnumber#1{\def\@confnumber{#1}}
\def\sesninfo#1{\def\@sesninfo{#1}}
\def\keywordsname{Keywords}
\def\lognumber#1{}
\def\publisheritemidentifier#1{}
\def\normalstyle{\rmfamily}
\AtBeginDocument{\def\figfontstyle{\rmfamily}\def\figfontsize{\normalsize}}%
\def\PARstart#1#2{#1#2}
\def\PARstartCal#1#2{#1#2}

\ifev@l                         % do most changes only in final mode
\else
  \endinput			% shortcut to exit if not evaluation
\fi

\@nontrue \glpexclude{biography}
\floatsep 10pt plus 2pt minus 2pt     \dblfloatsep 10pt plus 2pt minus 2pt
\textfloatsep 16pt plus 2pt minus 4pt 
\dbltextfloatsep 16pt plus 2pt minus 4pt
\hoffset -1in
\voffset -1in
\oddsidemargin 19mm       \evensidemargin 19mm
\topmargin 15mm 		\headheight \z@         
\headsep \z@
\textwidth 178mm 		\textheight 243mm
\columnsep 10mm
\parskip 10pt plus 2pt minus 2pt
\parindent \z@ 		%\parindent 3.5mm % used sometimes
\setlength{\narrowcol}{84mm}
\footskip 30pt

% no headers or footers!
\let\theoddhe@d\empty \let\theoddf@@t\empty
\let\theevenhe@d\empty \let\theevenf@@t\empty
\let\theoddtphe@d\empty 
\let\theeventphe@d\empty 
\def\leftmark{}\def\rightmark{} %no headers for this conference!
\def\theoddtpf@@t{%
  \ifrepr@nt{\hbox to \textwidth{\hbox to 0pt{\reset@font\sffamily\bfseries
        \ifx\@loginfo\undefined\typeout{ieee: 
	Warning! No \noexpand\loginfo given!}\else \@loginfo\hss\fi}\hfil
        \reset@font\large\bfseries\sffamily\thepage\hfil}\hss}
  \fi}
\let\theeventpf@@t\theoddtpf@@t
\def\theevenf@@t{%
  \ifrepr@nt{\hbox to 
    \textwidth{\large\bfseries\sffamily\hfil\thepage\hfil}\hss}
  \fi
}
\let\theoddf@@t\theevenf@@t

\def\authorinfo#1{\par\vspace{5pt}{\large{#1}}}
\def\member#1{}
\def\and{\par\vskip 4mm}

% \@maketitle changed to make bold 14pt titles
\def\@maketitle{\newpage%
  \ifrepr@nt
    \hbox to \hsize{\vbox to 0pt{\hbox{\parbox{\hsize}{\footnotesize 
      Proceedings of the \@confnumber \\
      Conference on Decision \& Control\\ \@confplacedate}}\vss}
      \hbox to 
      0pt{\hss{\reset@font\bfseries\sffamily\uppercase{\@sesninfo}}}\hss}
    \nointerlineskip%
  \fi
  \vskip9mm%
  \begin{center}
  {\LARGE\bfseries\@title\par}\vskip5mm
  {\lineskip0.5em\large\@author\par}
\end{center}\par\vskip 4mm}

% \maketitle changed to move \loginfo stuff in reprint mode
\long\def\maketitle{%
  \begingroup
    \let\@thanks\@empty
    \renewcommand\thefootnote{} % the \thanks{} mark type is empty
    \iftitlep@ge\begin{titlepage}\@maketitlepage\@thanks\end{titlepage}%
        \let\@thanks\@empty\fi
    \thispagestyle{titlepagestyle}
    \if@twocolumn
      \if@technote
         %\if@twoside\newpage\cleardoublepage\else\newpage\fi%
         \newpage\global\@topnum\z@
         \@maketitle
      \else
        \ifnum \col@number=\@ne
         \@maketitle
        \else \twocolumn[%
         \@maketitle]%
        \fi
      \fi
    \else
      \newpage
      \global\@topnum\z@   % Prevents figures from going at top of page.
      \@maketitle
    \fi
    \thispagestyle{titlepagestyle}%
    \@thanks
  \endgroup
  \setcounter{footnote}{0}%
  \global\let\thanks\relax \global\let\maketitle\relax
  \global\let\@maketitle\relax \global\let\@thanks\@empty
  \global\let\@author\@empty \global\let\@date\@empty
  \global\let\@title\@empty \global\let\title\relax
  \global\let\author\relax \global\let\date\relax
  \global\let\and\relax
}

\def\section{\@startsection {section}{1}{\z@}{0.01pt plus 6pt}{0.01pt
  plus 6pt}{\centering\bfseries}}
\def\subsection{\@startsection{subsection}{2}{\z@}{0.01pt plus 6pt}{0.01pt 
  plus 6pt}{\bfseries}}
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{\z@ 
  plus 6pt}{\z@ plus 6pt}{\bfseries}}

% changed by GLP to allow table captions to be set to a specific maximum
% width "\captionwidth", if defined.
\long\def\@makecaption#1#2#3{
  \ifx\figurestring#3
    \vskip 5pt
    \setbox\@tempboxa\hbox{#1.~ \itshape#2}
    \ifdim \wd\@tempboxa >\hsize
       \setbox\@tempboxa\hbox{#1.~ }
       \setlength\captionindent{\wd\@tempboxa} \divide\captionindent by 2
       \parbox[t]{\hsize}{\hangindent \captionindent \hangafter=1%
       \unhbox\@tempboxa\itshape#2}
    \else 
      \hbox to\hsize{\hfil\box\@tempboxa\hfil}
    \fi
  \else
    \begin{center}
    \ifx\captionwidth\undefined {#1}\\{\scshape #2}
    \else
      \begin{minipage}{\captionwidth}
      \begin{center}{#1}\\{\scshape #2}\end{center}
      \end{minipage}
    \fi
    \end{center}\vskip 4pt
  \fi}

\def\thebibliography#1{\section*{\refname}\list
  {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
  \advance\leftmargin\labelsep \itemsep 0pt plus .5pt
  \usecounter{enumi}}
  \def\newblock{\hskip .11em plus .33em minus .07em}
  \sloppy\clubpenalty4000\widowpenalty4000
  \sfcode`\.=1000\relax
  \ifev@l\else\normalsize\fi %added by GLP
}

%%%%%%%%%%%%%%%%%%%%%%% End of ieeecdc.sty  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
