% msutermpaper.cls term paper class % for term papers in Dept. of Computer Science at Mississippi State University % also for abstracts and technical reports. %% by Edward B. Allen %% Acknowledgments %% extends msuthesis.cls \NeedsTeXFormat{LaTeX2e} \ProvidesClass{msutermpaper}[2002/02/22 MSU Computer Science term paper class] %options%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \DeclareOption*{\PassOptionsToClass{\CurrentOption}{msuthesis}} \ProcessOptions \LoadClass{msuthesis} %12pt option%%%%% %Large is 17pt %\setlength{\parindent}{1.5em} %bk12.clo default %packages required by msuthesis%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % (see msuthesis.cls) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \AtBeginDocument{% % msuthesis.cls specifies \bibliographystyle{msucs} \newspacing{\defaultspacing} \pagenumbering{arabic} \markright{} \pagestyle{plain} %%%MSU 5/17/07%%% all page number bottom center \thispagestyle{empty} } %\AtEndDocument{} %definitions%%%%%%%%%%%% %commands is msuthesis.cls that are not appropriate in term paper: \renewcommand{\copyrightpage}{*** Error: do not use copyrightpage command ***} %%%approval page is not needed by term paper, but used by Project contract%%% %\renewcommand{\approvals}{*** Error: do not use approvals command ***} %\renewcommand{\signature}[4]{*** Error: do not use signature command ***} %%%%%%%%% \renewcommand{\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 ***} \renewcommand{\listofsymbols}{*** Error: do not use listofsymbols command ***} \renewcommand{\chapter}[1]{*** Error: do not use chapter command ***} \renewcommand{\frontmatter}{*** Error: do not use frontmatter command ***} \renewcommand{\mainmatter}{*** Error: do not use mainmatter command ***} \renewcommand{\backmatter}{*** Error: do not use backmatter command ***} %commands in msuthesis.cls that are defined differently: \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{\abstractpage}{\section*{Abstract}\mbox{}\hspace{\parindent}} \renewcommand{\thetable}{\arabic{table}} \renewcommand{\thefigure}{\arabic{figure}} \renewcommand{\theequation}{\arabic{equation}} \renewcommand{\thesection}{\arabic{section}.} \renewcommand{\thesubsection}{\thesection\arabic{subsection}} \renewcommand{\acknowledgments}{\section*{Acknowledgments}\mbox{}\hspace{\parindent}} \renewcommand{\msubibliography}[1]{\bibliography{#1}} \renewenvironment{thebibliography}[1]{% \section*{\bibname}% \newspacing{\singlespacing} %MSU%%bibliography single spaced \list{\@biblabel{\@arabic\c@enumiv}}{% \settowidth\labelwidth{\@biblabel{#1}}% \leftmargin\labelwidth \advance\leftmargin\labelsep \@openbib@code \usecounter{enumiv}% \let\p@enumiv\@empty \renewcommand\theenumiv{\@arabic\c@enumiv} }% \sloppy \clubpenalty50000 %MSU%%% no widows and orphans (was 4000) \@clubpenalty \clubpenalty \widowpenalty50000% %MSU%%% no widows and orphans (was 4000} \sfcode`\.\@m }{% \def\@noitemerr {\@latex@warning{Empty `thebibliography' environment}}% \endlist \newspacing{\defaultspacing} %MSU%%%bibliography single spaced } \renewcommand{\appendixname}{Appendix} %Appendix or Appendices \renewcommand{\appendix}{ %MSU/CS%%%appendices should be placed after references i.e. backmatter %appendix similar to section \section*{\appendixname} %title only \setcounter{section}{0}% \setcounter{subsection}{0}% added 1/9/03 eba \setcounter{subsubsection}{0}% added 1/9/03 eba \renewcommand{\thesection}{\Alph{section}} } \renewcommand{\oneappendix}[1]{% %MSU/CS%%%No A in chapter heading \newspacing{\defaultspacing} \renewcommand{\thesection}{A} \section*{#1}\mbox{}\hspace{\parindent}% } %end msutermpaper.cls