% =========================================================================
% ieeeimtc.sty --- For formatting papers for the IEEE 
%	instrumentation technology and measurement conference (IMTC).
%
%	This style file must be used with the ieee.cls document class.
%	
%===========================================================================
%
% Usage:
%	\documentclass[main-options,sub-options,misc-options]{ieee}
%	\usepackage{ieeeimtc}
%	... 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{`ieeeimtc' <Modified: 1997, Gregory L. Plett>.}
\ProvidesPackage{ieeeimtc}[1997/09/05]     % Name of package provided, date
\RequirePackage{times}
\ifx\i@@@cls\undefined
  \PackageError{ieeeimtc}{This package requires the ieee.cls file ^^Jin order
	to work correctly}{}\endinput\fi

\def\lognumber#1{}
\def\publisheritemidentifier#1{}
\def\keywordsname{Keywords}

%\def\normalstyle{\sffamily}
%\AtBeginDocument{\def\figfontstyle{\sffamily}%
  %\ifthenelse{\equal{\sfdefault}{phv}}{}{\typeout{ieee: Warning... some
	%fonts will not be correct.}
        %\typeout{You may wish to use the `times' package. 
	%(\noexpand\usepackage{times})}}}
\def\PARstart#1#2{#1#2}
\def\PARstartCal#1#2{#1#2}
\def\minus{\ensuremath{\hbox{--}\,}}

\ifev@l                               % do most changes only in final mode
  \@nontrue\glpexclude{biography}

  \oddsidemargin -0.3in       \evensidemargin -0.3in
  \topmargin \z@ 		\headheight \z@         
  \headsep \z@
  \textwidth 7.1in 		\textheight 9in
  \columnsep 0.2in 		
  %\parskip 9pt plus 1pt minus 1pt
  %\parindent \z@ 		%\parindent 3.5mm % used sometimes
  \parskip 0pt plus 2pt	% fix by Romano Giannetti
  \parindent 0.42cm     % fix by Romano Giannetti
  \setlength{\narrowcol}{88mm}
  \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\theoddtpf@@t\empty
  \let\theeventphe@d\empty \let\theeventpf@@t\empty

  %\def\authorinfo#1{\par{\normalsize{#1}}}
  \def\authorinfo#1{\par\strut\vbox{\normalsize #1}} % fix by Romano Giannetti
  \def\member#1{}
  \def\and{\par\vskip 4mm}

  % \@maketitle changed to make bold 14pt titles
  \def\@maketitle{\newpage%
      {\parbox{\hsize}{\small IEEE Instrumentation and Measurement\\
      Technology Conference\\ \@confplacedate}}
      \vskip7mm% 
      \begin{center}
        {\Large\bfseries\normalstyle\@title\par}\vskip5mm
        {\lineskip0.5em\large\@author\par}
      \end{center}\par\vskip 4mm}

  % \@startsection, \@sect, \@ssect changed to make section titles uppercase
  \def\@startsection#1#2#3#4#5#6{\if@noskipsec \leavevmode \fi
     \par \@tempskipa #4\relax
     \@afterindenttrue
     \ifdim \@tempskipa <\z@ \@tempskipa -\@tempskipa \@afterindentfalse\fi
     \if@nobreak \everypar{}\else
       \addpenalty{\@secpenalty}\addvspace{\@tempskipa}\fi \@ifstar
       {\@glpssect{#3}{#4}{#5}{#6}{#2}}
       {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}

  \def\@sect#1#2#3#4#5#6[#7]#8{%
    \ifnum #2>\c@secnumdepth
       \def\@svsec{}
    \else
       \refstepcounter{#1}\edef\@svsec{%
       \ifnum #2=1\Roman{#1}.\fi\ifnum #2=2\Alph{#1}.\fi
       \ifnum #2>2{\csname the#1dis\endcsname}\if@technote.\fi\fi \hskip .5em}
    \fi
    \@tempskipa #5\relax
    \ifdim \@tempskipa>\z@
       \begingroup #6\relax
         \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M 
         \ifnum #2=1 \uppercase{#8}\else #8 \fi\par}%
       \endgroup
       \csname #1mark\endcsname{#7}
       \addcontentsline{toc}{#1}{\ifnum #2>\c@secnumdepth\else
                 \protect\numberline{\csname the#1\endcsname}\fi#7}
    \else
       \def\@svsechd{#6\hskip #3\@svsec #8\@punct\csname #1mark\endcsname{#7}
       \addcontentsline{toc}{#1}{\ifnum #2>\c@secnumdepth \else
                 \protect\numberline{\csname the#1\endcsname}\fi#7}}
    \fi
    \@xsect{#5}}

  \def\@glpssect#1#2#3#4#5#6{\@tempskipa #3\relax
    \ifdim \@tempskipa>\z@
       \begingroup #4\@hangfrom{\hskip #1}{\interlinepenalty \@M 
         \ifnum #5=1 \uppercase{#6}\else #6\fi\par}
       \endgroup
    \else \def\@svsechd{#4\hskip #1\relax #6\@punct}\fi
    \@xsect{#3}}

  % redefine abstract
  \def\abstract{\noindent\parskip 10pt plus 1pt minus 1pt\small\itshape
     \bfseries\def\@punct{ --}\@startsection{subparagraph}{5}%
	{\z@}{\z@}{\z@}{}{\protect\underline{\abstractname}}}
  \def\endabstract{\par\normalsize\normalstyle}

  % redefine keywords
  \def\keywords{\noindent\parskip 10pt plus 1pt minus 1pt\small\itshape
	\bfseries\def\@punct{ --}\@startsection{subparagraph}{5}%
	{\z@}{\z@}{\z@}{}{\protect\underline{\smash{\keywordsname}}}}
  \def\endkeywords{\par\normalsize\normalstyle}

  \def\section{\@startsection {section}{1}{\z@}{0.01pt plus 6pt}{0.01pt
	plus 6pt}{\centering}}
  \def\subsection{\@startsection{subsection}{2}{\z@}{0.01pt plus 6pt}{
	0.01pt plus 6pt}{\itshape}}
  \def\subsubsection{\@startsection{subsubsection}{3}{\z@}{0.01pt plus 
	6pt}{0.01pt plus 6pt}{\small\normalstyle}}
  \def\paragraph{\@startsection{paragraph}{4}{\z@}{\z@ plus 6pt}{\z@}{
     \normalstyle}}

  % redefine makecaption to center figure captions.
  \long\def\@makecaption#1#2#3{
    \ifx\figurestring#3
        \vskip 8pt\footnotesize
        \begin{minipage}{\hsize}\begin{center}{#1.~ #2}%
	\end{center}\end{minipage}
    \else
      \begin{center}
      \ifx\captionwidth\undefined {\footnotesize #1}\\{\footnotesize\scshape #2}
      \else
        \begin{minipage}{\captionwidth}
        \begin{center}{\footnotesize #1}\\{\footnotesize\scshape #2}\end{center}
        \end{minipage}
      \fi
      \end{center}\vskip 4pt
    \fi
  }
\fi

%%%%%%%%%%%%%%%%%%%%%%% End of ieeeimtc.sty  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
