% msuconf.cls LaTeX 2e class for MSU CS conference paper % This is for IEEE conference proceedings format for letter size paper. % %Updates: % 2/24/2003 added \Tablewithfigure, \Tabledblwithfigure, \rotatedtablewithfigure %%%Identification \NeedsTeXFormat{LaTeX2e} \ProvidesClass{msuconf}[1999/02/18 MSU CS conference paper] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} \ProcessOptions \LoadClass[10pt,twocolumn]{article} %%%%Declarations%%% \RequirePackage{theorem} %standard LaTeX package \RequirePackage{xspace} %standard LaTeX package \RequirePackage{ifthen} %standard LaTeX package \RequirePackage[dvips]{graphicx} %standard LaTeX package \RequirePackage{epsf} %standard LaTeX package %copied from latex8 %IEEE package % latex8.sty,v 1.2 1995/09/15 15:31:13 ienne Exp % by Paolo.Ienne@di.epfl.ch % --------------------------------------------------------------- \typeout{IEEE 8.5 x 11-Inch Proceedings Style based on `latex8.sty'.} % ten point helvetica bold required for captions \font\tenhv = phvb at 10pt % eleven point times bold required for second-order headings \font\elvbf = ptmb at 11pt % set dimensions of columns, gap between columns, and paragraph indent % to conform to IEEE proceedings format sheet % see link at http://computer.org/cspress/instruct.htm \setlength{\textheight}{8.875in} %11in-1in-1.125in \setlength{\textwidth}{6.875in} \setlength{\columnsep}{0.375in} \setlength{\topmargin}{0in} \setlength{\headheight}{0in} \setlength{\headsep}{0in} \setlength{\parindent}{0.25in} \setlength{\oddsidemargin}{-0.20in} \setlength{\evensidemargin}{-0.20in} % memento from size10.clo % \normalsize{\@setfontsize\normalsize\@xpt\@xiipt} % \small{\@setfontsize\small\@ixpt{11}} % \footnotesize{\@setfontsize\footnotesize\@viiipt{9.5}} % \scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt} % \tiny{\@setfontsize\tiny\@vpt\@vipt} % \large{\@setfontsize\large\@xiipt{14}} % \Large{\@setfontsize\Large\@xivpt{18}} % \LARGE{\@setfontsize\LARGE\@xviipt{22}} % \huge{\@setfontsize\huge\@xxpt{25}} % \Huge{\@setfontsize\Huge\@xxvpt{30}} \newlength{\@ctmp} \newlength{\@figindent} \setlength{\@figindent}{1pc} \long\def\@makecaption#1#2{ \vskip 10pt \setbox\@tempboxa\hbox{\tenhv\noindent #1.~#2} \setlength{\@ctmp}{\hsize} \addtolength{\@ctmp}{-\@figindent}\addtolength{\@ctmp}{-\@figindent} % IF longer than one indented paragraph line \ifdim \wd\@tempboxa >\@ctmp % THEN set as an indented paragraph \begin{list}{}{\leftmargin\@figindent \rightmargin\leftmargin} \item[]\tenhv #1.~#2\par \end{list} \else % ELSE center \hbox to\hsize{\hfil\box\@tempboxa\hfil} \fi} % correct heading spacing and type \def\section{\@startsection {section}{1}{\z@} {14pt plus 2pt minus 2pt}{14pt plus 2pt minus 2pt} {\large\bf}} \def\subsection{\@startsection {subsection}{2}{\z@} {13pt plus 2pt minus 2pt}{13pt plus 2pt minus 2pt} {\elvbf}} % add the period after section numbers \newcommand{\Section}[1]{\section{\hskip -1em.~#1}} %MSU \newcommand{\SubSection}[1]{\subsection{\hskip -1em.~#1}} %MSU % end of selections from file latex8.sty % --------------------------------------------------------------- %%%Macros for compatibility with IEEE Conf style%%% %\Section is defined by latex8.sty %\SubSection is defined by latex8.sty \newcommand{\SubSubSection}[1]{% \stepcounter{subsubsection} \paragraph{\thesubsubsection.~#1.} } %\elvbf defined by latex8.sty \def\@maketitle %latex8 version revised for MSU { \newpage \null \vskip .375in \begin{center}\large {\Large \bf \@title \par} \vspace*{2\baselineskip} % additional two empty lines at the end of the title { \begin{tabular}[t]{c} \@author \end{tabular} \par } \vspace*{\baselineskip} \end{center} } \def\abstract %latex8 version revised for MSU {% \centerline{\large\bf Abstract \vspace{\baselineskip}}% \par\it% } \def\endabstract %latex8 version revised for MSU { % additional empty line at the end of the abstract \vspace*{12pt} } %copied from msuthesis %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \newspacing changes line spacing on the fly. For example: % \newspacing{1} produces single spacing % \newspacing{2.5} does 2 1/2 spacing % and so on. This takes effect for the current paragraph, and obeys the usual % scoping rules. Thus if you put it inside a {...} group or within some % environment (like description, quote, etc) you'll revert to the previous line % spacing when you leave the group or environment. \def\newspacing#1{% \def\baselinestretch{#1}\ifx\@currsize\normalsize % \@normalsize \else \@currsize\fi% } \newcommand{\singlespacing}{1} \newcommand{\defaultspacing}{1} %for proceedings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%Page layout%%% %most parameters set by latex8.sty \renewcommand{\topfraction}{0.9} \renewcommand{\textfraction}{0.1} \renewcommand{\floatpagefraction}{0.8} \AtBeginDocument{ \pagestyle{empty} } %for compatibility with msuthesis \newcommand{\dedicationname}{Dedication} \newcommand{\acknowledgmentsname}{Acknowledgments} %American spelling \renewcommand{\contentsname}{Table of Contents} \renewcommand{\listfigurename}{List of Figures} \renewcommand{\listtablename}{List of Tables} \newcommand{\listofsymbolsname}{List of Symbols} \newcommand{\bibname}{References} %not defined by article, but is defined by book \renewcommand{\figurename}{Figure} \renewcommand{\tablename}{Table} \newcommand{\chaptername}{Chapter} %not defined by article, but is defined by book \renewcommand{\appendixname}{Appendix} \newcommand{\booktitle}{***booktitle missing***} \newcommand{\booktitletwo}{} \newcommand{\booktitlethree}{} \newcommand{\authorname}{***authorname missing***} \newcommand{\doctypearticle}{A\xspace} %A or An \newcommand{\doctype}{***Doctype missing***} %Dissertation, Thesis, Project, etc. \newcommand{\university}{Mississippi State University} %default \newcommand{\department}{***Department missing****} \newcommand{\major}{***major missing***} \newcommand{\degree}{***degree missing****} \newcommand{\city}{Mississippi State} %default \newcommand{\state}{Mississippi} %default \newcommand{\degreemonth}{***degreemonth missing***} \newcommand{\degreeyear}{***degreeyear missing***} %commands in msuthesis.cls that are not appropriate in term paper: \newcommand{\copyrightpage}{*** Error: do not use copyrightpage command ***} \newcommand{\approvals}{*** Error: do not use approvals command ***} \newcommand{\signature}[4]{*** Error: do not use signature command ***} \newcommand{\dedication}{*** Error: do not use dedication command ***} \renewcommand{\tableofcontents}{*** Error: do not use tableofcontents command ***} \renewcommand{\listoffigures}{*** Error: do not use listoffigures command ***} \renewcommand{\listoftables}{*** Error: do not use listoftables command ***} \newcommand{\listofsymbols}{*** Error: do not use listofsymbols command ***} \newcommand{\chapter}[1]{*** Error: do not use chapter command ***} \newcommand{\frontmatter}{*** Error: do not use frontmatter command ***} \newcommand{\mainmatter}{*** Error: do not use mainmatter command ***} \newcommand{\backmatter}{*** Error: do not use backmatter command ***} %commands in msuthesis.cls that are defined differently by msutermpaper \newcommand{\papertitle}{***papertitle missing***} \newcommand{\papertitletwo}{} \newcommand{\papertitlethree}{} \renewcommand{\booktitle}{\papertitle} \renewcommand{\booktitletwo}{\papertitletwo} \renewcommand{\booktitlethree}{\papertitlethree} \newcommand{\papermonth}{***papermonth missing***} \newcommand{\paperyear}{***paperyear missing***} \renewcommand{\degreemonth}{\papermonth} \renewcommand{\degreeyear}{\paperyear} \renewcommand{\appendix}{ %MSU/CS%%%appendices should be placed after references i.e. backmatter %appendix similar to section \section*{\appendixname} %title only \setcounter{section}{0}% \renewcommand{\thesection}{\Alph{section}} } \newcommand{\oneappendix}[1]{% %MSU/CS%%%No A in chapter heading \newspacing{\defaultspacing} \renewcommand{\thesection}{A} \section*{#1} } \newcommand{\acknowledgments}{\section*{Acknowledgments}} %useful msureport commands \newcommand{\kwlist}{***key words missing***} \newcommand{\biblist}{} %comma separated list of *.bib files \newcommand{\docnumber}{} \newcommand{\firstauthor}{} \newcommand{\firstaffiliation}{} \newcommand{\secondauthor}{} \newcommand{\secondaffiliation}{} \newcommand{\thirdauthor}{} \newcommand{\thirdaffiliation}{} \newcommand{\contactaddress}{} \newcommand{\contactphone}{} \newcommand{\contactemail}{\mbox{}} \newcommand{\contactauthor}{} \newcommand{\frontfile}{frontmatter} \newcommand{\absfile}{abstract} \newcommand{\sectfile}{sections} \newcommand{\ackfile}{ack} \newcommand{\apxfile}{appendix} %useful msuthesis commands \newcommand{\lofentry}{} %different from msuthesis \newcommand{\lotentry}{} %different from msuthesis \DeclareRobustCommand*{\figureref}[1]{Figure~\ref{fig:#1}} \DeclareRobustCommand*{\Figureref}[1]{Figure~\ref{fig:#1}} %at start of sentence \DeclareRobustCommand*{\Figure}[3]{ \lofentry \newspacing{\singlespacing}\par \begin{figure} \begin{center} \noindent \epsfxsize=#2 \epsfbox{#1.eps} \end{center} \caption{#3} \label{fig:#1} \end{figure} \newspacing{\defaultspacing} } %MSU%%%Figuredbl produces the same result in a thesis as Figure. % It is provided here for compatibility with two-column paper. \DeclareRobustCommand*{\Figuredbl}[3]{ \lofentry \newspacing{\singlespacing}\par \begin{figure*} \begin{center} \noindent \epsfxsize=#2 \epsfbox{#1.eps} \end{center} \caption{#3} \label{fig:#1} \end{figure*} \newspacing{\defaultspacing} } \DeclareRobustCommand*{\rotatedfigure}[3]{ \lofentry \newspacing{\singlespacing}\par \begin{figure}[p] \rotatebox{90}{ \begin{minipage}[t]{\figwidth} \begin{center} \noindent \epsfxsize=#2 \epsfbox{#1.eps} \end{center} \protect\caption{#3} \label{fig:#1} \end{minipage} } %end rotatebox \end{figure} \newspacing{\defaultspacing} } %MSU%%%the following support MSU style tables \DeclareRobustCommand*{\tableref}[1]{Table~\ref{tab:#1}} \DeclareRobustCommand*{\Tableref}[1]{Table~\ref{tab:#1}} %at start of sentence \newcommand{\Table}[2]{% \lotentry \newspacing{\singlespacing}\par \begin{table} \caption{#2} \label{tab:#1} \begin{center} \input{#1} \end{center} \end{table} \par\newspacing{\defaultspacing} } %MSU%%%Tabledbl produces the same result in a thesis as Table. % It is provided here for compatibility with a two-column publication. \newcommand{\Tabledbl}[2]{% \lotentry \newspacing{\singlespacing}\par \begin{table*} \caption{#2} \label{tab:#1} \begin{center} \input{#1} \end{center} \end{table*} \par\newspacing{\defaultspacing} } \DeclareRobustCommand*{\rotatedtable}[2]{% \lotentry \newspacing{\singlespacing}\par \begin{table}[p] \rotatebox{90}{ \begin{minipage}[t]{\tabwidth} \protect\caption{#2} \label{tab:#1} \begin{center} \noindent \input{#1} \end{center} \end{minipage} } %end rotatebox \end{table} \newspacing{\defaultspacing} } \newcommand{\Tablewithfigure}[3]{% \lotentry \newspacing{\singlespacing}\par \begin{table} \caption{#3} \label{tab:#1} \begin{center} \noindent \epsfxsize=#2 \epsfbox{#1.eps} \end{center} \end{table} \par\newspacing{\defaultspacing} } \newcommand{\Tabledblwithfigure}[3]{% \lotentry \newspacing{\singlespacing}\par \begin{table*} \caption{#3} \label{tab:#1} \begin{center} \noindent \epsfxsize=#2 \epsfbox{#1.eps} \end{center} \end{table*} \par\newspacing{\defaultspacing} } \DeclareRobustCommand*{\rotatedtablewithfigure}[3]{% \lotentry \newspacing{\singlespacing}\par \begin{table}[p] \rotatebox{90}{ \begin{minipage}[t]{\tabwidth} \protect\caption{#3} \label{tab:#1} \begin{center} \noindent \epsfxsize=#2 \epsfbox{#1.eps} \end{center} \end{minipage} } %end rotatebox \end{table} \newspacing{\defaultspacing} } \newcommand{\Tablecontinued}[2]{% \lotentry \addtocounter{table}{-1} \newspacing{\singlespacing}\par \begin{table} \caption{#2} \label{tab:#1} \begin{center} \input{#1} \end{center} \end{table} \par\newspacing{\defaultspacing} } %math definitions%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \DeclareRobustCommand*{\eqnref}[1]{Equation~(\ref{eq:#1})} % for ordinary article \DeclareRobustCommand*{\eqnsref}[1]{Equations~(\ref{eq:#1})} % for ordinary article \DeclareRobustCommand*{\Eqnref}[1]{Equation~(\ref{eq:#1})} %at start of sentence \DeclareRobustCommand*{\Eqnsref}[1]{Equations~(\ref{eq:#1})} %at start of sentence \DeclareRobustCommand*{\andeqnref}[1]{and~(\ref{eq:#1})} % for use with \eqnsref % %\theorembodyfont{\normalfont\itshape} %MSU%%%Italic theorem not allowed? p.8 %\theoremheaderfont{\normalfont} %MSU%%%Bold theorem headings not allowed p.8 \newcommand{\qed}{\rule{1ex}{1ex}} %%%Macros for compatibility with Elsevier (eslart.cls)%%% \theoremstyle{break}\newtheorem{thm}{Theorem} \theoremstyle{break}\newtheorem{lem}{Lemma} \theoremstyle{break}\newtheorem{cor}{Corollary} \theoremstyle{break}\newtheorem{defn}{Definition} \theoremstyle{plain}\newtheorem{case}{Case} %%%environment pf required by Elsevier and Kluwer%%% \newenvironment{pf}{% \par\noindent{Proof:\xspace}% }{% \hspace*{\fill}\qed% } %for compatibility with journals: % Here cite is prior to punctuation; some journals require after punctuation \DeclareRobustCommand*{\spacecite}[1]{\ \cite{#1}\xspace} % for space delimited [1] \DeclareRobustCommand*{\commacite}[1]{ \cite{#1},} % for inline [1], style \DeclareRobustCommand*{\periodcite}[1]{ \cite{#1}.} % for inline [1], style %%%Definitions for compatibility with various journals%%%%% % \DeclareRobustCommand*{\etc}{etc.\xspace} \DeclareRobustCommand*{\ie}{i.e.\xspace} \DeclareRobustCommand*{\eg}{e.g.\xspace} \DeclareRobustCommand*{\etal}{et al.\xspace} \DeclareRobustCommand*{\vs}{{\em vs.}\xspace} %end msuconf.cls%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%