% $Id: usfmanus.dtx,v 2000.1 2000/07/12 20:03:59 chris Exp $ % \iffalse meta-comment % Try this % \fi %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z %% Digits \0\1\2\3\4\5\6\7\8\9 %% Exclamation \! Double quote \" Hash (number) \# %% Dollar \$ Percent \% Ampersand \& %% Acute accent \' Left paren \( Right paren \) %% Asterisk \* Plus \+ Comma \, %% Minus \- Point \. Solidus \/ %% Colon \: Semicolon \; Less than \< %% Equals \= Greater than \> Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} %% % \iffalse %<*driver> \documentclass{ltxdoc} \def\filename{usfmanus.dtx} \def\fileversion{1999.6} \def\filedate{November 12, 1999} \def\docdate{October 30, 1997} \setlength\hfuzz{15pt} \newwrite\changelog \immediate\openout\changelog = change.log\relax \def\changes#1#2#3{% \toks0=\expandafter{#1} \toks1=\expandafter{#2} \toks2=\expandafter{#3} \immediate\write\changelog{\the\toks0\space\the\toks1} \immediate\write\changelog{\the\toks2} \immediate\write\changelog{}} \EnableCrossrefs %\CodelineIndex \OnlyDescription \RecordChanges \begin{document} \DocInput{usfmanus.dtx} % \PrintIndex \RecordChanges \PrintChanges \end{document} % % \fi % % \changes{v1997.0}{30 Feb 1997}{First released. JCS} % \changes{v1997.1}{01 Jul 1997}{Added dedication, acknowledgments, and % copyright pages. Created documentation using |doc| package. JCS} % \changes{v1997.2}{29 Sep 1997}{Renamed to usfmanus; added thesis, % dissertation and vita options. H J Gohel.} % \changes{v1997.3}{30 Oct 1997}{Fixed spacing in frontmatter for the % case in which there are more than five committee members. Also % started working on and command overloading for multiple major % profs. JCS} % \changes{v1997.4}{19 Dec 1997}{Added |mylists| command to provide % simple interface for adding 'Lists of' (e.g., List of Programs, List % of Acronyms, etc.). JCS} % \changes{v1997.5}{2 Jan 1998}{Changed error reporting for missing % information. If using |final| option errors are generated. % Otherwise, it's just warnings. Played with a couple of mechanisms % for counting words. Not as easy as it seems if appendix or vita % contain (La)TeX commands/equations. JCS} % \changes{v1997.6}{7 Jan 1998}{Removed bold from chapter entries in % TOC and fixed some of the co-major stuff. Doing more will probably % require slightly changing the majorproftitle interface. Note: H J % Gohel got formatting approved by Grad School, so next release should % be first ``official'' release. JCS} % \changes{v1998.1}{25 Mar 1998}{We'll call this the first official % since others have started using it quite a bit. Well, we don't have % any other milestones anyway! Fixed (hopefully) raggedbottomness of % abstract page and orphaning of abstract signature block. Also, fixed % right justification of abstract signature block for people with % a title shorter than their name (beware of these people!). No new % improvements like co-major handling---but there isn't a demand for % this yet anyway. Need to prevent hyphenation in chapter (all?) TOC % entries. JCS} % \changes{v1998.2}{31 Mar 1998}{Fixed copyright page. JCS} % \changes{v1999.1}{10 Mar 1999}{Added sheet numbering, so that the page % numbers are output in [page.sheet] format. The advantage being one % can use the sheet number as a parameter to dvips to print specific % pages of the manuscript (with help from Donald Arseneau, % asnd@triumf.ca); typeout message for vita page; minor changes % to dissertation sample file. HJG} % \changes{v1999.2}{14 May 1999}{Subsubsections were not being numbered, % and were using italic fonts. Changed it to roman font, and % enabled subsubsection numbering. HJG} % \changes{v1999.3}{02 Jul 1999}{"An Abstract" on abstract title page % changed from roman/underlined to italics as per College of % Engineering requirements. HJG} % \changes{v1999.4}{Jul 20 1999}{(1) Reduced spacing after heading on LOT and % and LOF pages to match spacing after TOC. (2) Removed space below % signature line on Abstract signature page. Requested by J Giles % for Hitoshi Oi's dissertation. (3) On Certificate of Approval page, % spacing for member signatures was increased in the case of MS theses % with 3/4 members, as requested for Anup Singh's thesis. For 5/6 % members, spacing remains same due to lack of space. HJG and Hitoshi Oi} % \changes{v1999.5}{05 Aug 1999}{Appendix chapter heading changed to % mixed case, both in TOC and in Appendix. Requested for Donald % Anderson's thesis, J Giles (Graduate school). HJG} % \changes{v1999.6}{12 Nov 1999}{Changed case of Appendix continuation pages. % Changed spacing on certificate of approval page. Changes requested % by USF Grad School, Janet Giles. Period after chapter number and % appendix chapter entries removed in TOC, requested by K. Johnson for % Sunitha B.'s thesis. Spelling of acknowledgment made % consistent. Only American spelling "acknowledgment" is accepted! HJG} % % \GetFileInfo{usfmanus.cls} % % \title{University of South Florida \LaTeXe\\ Manuscript Class \\ % 1996-97 Version} % \author{The USF \LaTeXe\ Team\thanks{We are neither recognized nor % subsidized by the University of South Florida in any way. We just % do this to make the lives of anyone writing a thesis or dissertation % at USF a little easier. See the contributions section to find out % who's to blame.}} % \date{\docdate} % \maketitle % \begin{abstract} % This document describes the use and implementation of the USF % \LaTeX\ manuscript document class. % \end{abstract} % % \section{Introduction} % After struggling to compose my Master's thesis using \LaTeX{} by % referencing a combination of materials including the handbook % provided by the graduate school and various other attempts at thesis % classes, I decided to roll my own. My hope is that this class file % will become the one recognized class file for USF theses and % dissertations. This way, any updates will only need to be made to % this class file and everybody can contribute! (JCS) % % \section{Usage} % % \subsection{Options} % This section describes the class options available to the user. For % now they only provide capabilities to exclude the frontmatter and % produce the copyright page. The available options are: % \begin{description} % \item[thesis] Format for a Master's thesis. Vita page is optional % for a thesis, so it must be requested specifically if needed. % \item[dissertation] Format for a Ph.D. dissertation. Vita page is % required for a dissertation, so it is automatically included. % \item[nofrontmatter] Do not produce fronmatter pages, including the % approval, title, copyright, dedication, and acknowledgments pages. % \item[frontmatter] Include all frontmatter pages. This is the % default behavior but the option is provided for orthogonality. % \item[draft] The same as the |book| class option. % \item[final] The same as the |book| class option. This is the default. % \item[10pt, 11pt, 12pt] Selects the font size. Same as the |book| class % option. % \item[copyright] Produces the copyright page whenever the frontmatter is % produced. % \item[vita] For a Master's thesis, if you want to include an optional % vita page, include this in the options. % \end{description} % Considering that the USF manuscript requirements are flexible in some % areas, such as page numbering and appendix layout, it only makes sense % that we should eventually provide options for the different % possibilities. Otherwise, we should concentrate on making the % commands that control such behavior easy to modify. % % \section{Example Thesis \texttt{.tex} File} % Here we provide an example \LaTeX{} file for producing a thesis. % Generally, the |usfmanus| class is straightforward to use, only % requiring the definition of some necessary information. Hopefully, % you'll go far in preparing your thesis by only substituting your % information in place of that in the sample file. % \begin{macrocode} %<*samplet> \documentclass[11pt,frontmatter,copyright,thesis]{usfmanus} % \end{macrocode} % \begin{macro}{\title} % \begin{macro}{\author} % The |\title| and |\author| commands are like those found in the % standard \LaTeX\ classes. Note that both will be capitalized % during processing. % \begin{macro}{\degree} % The |\degree| macro provides your \emph{specific} degree of study, % such as Master of Science, or Doctor of Philosophy. % \begin{macro}{\department} % \begin{macro}{\college} % The |\department| such as Mathematics or Computer Science and % Engineering, and |\college| such as Arts and Sciences or Engineering. % \begin{macro}{\majorprofessor} % \begin{macro}{\majorproftitle} % You must provide your major professor's name (including any % Ph.D. title) with the |\majorprofessor| command. Furthermore, give % his or her title with the |\majorproftitle| command. % \begin{macro}{\members} % List committee members using the |\members| command. Separate the % members using the provided |\and| command. % \begin{macro}{\presentdate} % \begin{macro}{\graddate} % \begin{macro}{\copyrightyear} % The |\presentdate| command provides either your presentation date or % the date upon which your thesis was signed. The |\graddate| command % is used to provide the month (April/May, August, or December) and year of your % graduation (Congratulations!). If you use the \textbf{copyright} % option, you must provide the copyright year using % |\copyrightyear|. % \begin{macrocode} \title{Maximum Likelihood Estimation of Multipath Arrival Time\\ Parameters for Indoor Wireless Channels} \author{John C. Sperandio} \degree{Master of Science in Electrical Engineering} \department{Electrical Engineering} \college{Engineering} \majorprofessor{Paul G. Flikkema, Ph.D.} \majorproftitle{Assistant Professor, Department of Electrical Engineering} \members{Lawrence Dunleavy, Ph.D. \and Ravi Sankar, Ph.D.} \presentdate{November 26, 1996} \graddate{December 1996} \copyrightyear{1996} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \begin{macro}{\abstract} % \begin{macro}{\dedication} % \begin{macro}{\acknowledgments} % \begin{macro}{\vita} % You can specify the text for your abstract with the |\abstract| % command. Likewise, the |\dedication| and |\acknowledgments| % commands allow you to create the optional dedication and % acknowledgement pages. These sections will only be created if their % text is specified through these commands. |\vita| may be required % or optional depending on the format, but is specified the same way. % Note that it may be more convenient to include the text with the |\input| % command as in the |\acknowledgments| command in the % example file below. In this case, you would write the text in a % separate file. Also note the American spelling of |\acknowledgments| % as opposed to the British. % \begin{macrocode} \abstract{This is some abstract text} \dedication{To my friends and family} %\acknowledgments{\input{acknowledgments.tex}} %\vita{\input{vita.tex}} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \begin{macrocode} \begin{document} \chapter{Introduction} \chapter{Conclusion} % \end{macrocode} % \begin{macro}{\bibliographystyle} % \begin{macro}{\bibliography} % These commands usually wouldn't normally be commented out! % \begin{macrocode} %\bibliographystyle{} %\bibliography{} % \end{macrocode} % \end{macro} % \end{macro} % \begin{macro}{\appendix} % The command |\appendix| produces the title page for the thesis % appendix and alters the sectioning commands (most notably % |\chapter|). % \begin{macrocode} \appendix % \end{macrocode} % \end{macro} % \begin{macrocode} \chapter{Programs} Try some material here \chapter{Calculations} Some more here! \end{document} % % \end{macrocode} % \section{Example Dissertation \texttt{.tex} File} % Here we provide an example \LaTeX{} file for producing a dissertation. % Note that it generally does not differ greatly from the thesis sample. % \begin{macrocode} %<*sampled> \documentclass[11pt,frontmatter,copyright,dissertation]{usfmanus} \title{Warp: A method for Interactive Shape Design} \author{Himanshu J. Gohel} \degree{Doctor of Philosophy in Computer Science and Engineering} \department{Computer Science and Engineering} \college{Engineering} \majorprofessor{Les A. Piegl, Ph.D.} \majorproftitle{Professor, Department of Computer Science and Engineering} \members{Dewey Rundus, Ph.D. \and Dmitry Goldgof, Ph.D. \and Ralph Oberste-Vorth, Ph.D. \and Glenn Besterfield, Ph.D. \and Bruce Marsh, M.F.A} \presentdate{November 18, 1999} \graddate{November 1999} \copyrightyear{1999} \abstract{This is some abstract text} \dedication{To my friends and family} \vita{A narrative of less than 150 words about me...where I got my BS/MS etc. This should be double-spaced, and listed in the Table of Contents, though without a page number, just ``End Page''.} \begin{document} \chapter{Introduction} Use standard LaTeX2e methods for including tables, figures etc. For references, try BibTeX. Online documentation on both CSEE and ENG systems is available at the following URL: file://localhost/usr/local/apps/teTeX/texmf/doc/index.html \chapter{Conclusion} \appendix \chapter{Programs} Try some material here \end{document} % % \end{macrocode} % % \section{Wish List} % Listed below are changes or additions that should probably be made. %\begin{itemize} % \item Clean it up. This class file is essentially a hack of the % |book| class and thus contains some code probably not necessary, % especially in the way of the bibliography (maybe) and the index. % \item Provide different options for the page layout. % \item Finish implementing the |\and| overloading for the case in % which there are multiple co-major professors. % \item Provide different appendix options. % \item Work out the appendix sections. (This may be all right, as is.) % \item Fix the index. Where should this go if you have one? Does USF % even allow them? % \item Provide commands for producing a List of Symbols. There are % various packages in the \LaTeX{} world for doing this. We might % want to pick one to load with |\RequirePackage| and then configure % it appropriately. Or, we could roll or own (probably not too % involved for our needs). % \item Improve the documentation. This includes documenting the source % code so that new additions can be made easily. % \item Some more esoteric features, like counting the words in the % abstract and vita and producing a warning if the allowed maximum is % exceeded. %\end{itemize} % Please feel free to add to this list. Even more greatly appreciated % would be some implementations of the above items. The % cleanup is probably most % important. The page and appendix layout options might be provided % better by way of packages (or maybe not) that are loaded by the class % file. All sources should be kept in the |usfmanus.dtx| file. We can % decide once more layout options are implemented. % % \section*{Contributors} % So far this manuscript class has been the work of two people. John % ``Chris'' Sperandio (JCS) wrote the original implementation, which only % handled Masters Theses, and the original documentation. Himanshu % Gohel (HJG) added a \textbf{dissertation} option as well as the % accompanying \textbf{vita} option. JCS then provided some code for % twiddling frontmatter spacing in the case of more than five committee % members. HJG then had the final implementation approved with the % Graduate School (pending). If you would like to see your name in % this list, \emph{please} feel free to add to the rich features of % this class. % % \section{Feedback} % Please send any bug reports, including the inevitable formatting % problem, suggestions, or comments to |sperandi@eng.usf.edu|. % I plan to support this class file, with the help of others like % yourself, for the duration of my studies at USF. Please refrain % from making changes directly to your copy of the class file but % instead make them to the |usfmanus.dtx| file and send them to % me. This way, all of us benefit from your contributions. Thanks. % I hope you find this class file useful. (JCS) % % % % \StopEventually{% % \begin{thebibliography}{9} % \bibitem{usfdishand} \emph{Thesis and Dissertation % Handbook}, 1996-97, University of South Florida Graduate School, % \texttt{http://www.grad.usf.edu/gradhand/grdhndbk.htm} % \bibitem{usfmanushome} \texttt{usfmanus.cls} \emph{Home % Page}, \texttt{http://www.eng.usf.edu/$\sim$sperandi/LaTeX} % \end{thebibliography} % } % % \section{Implementation} % \begin{macrocode} %<*class> \NeedsTeXFormat{LaTeX2e}[1995/06/01] \ProvidesClass{usfmanus}[1999/11/12 v1999.6 ^^J University of South Florida Manuscript Class] \RequirePackage{setspace} \def\thepage{\roman{page}} \newcommand\@ptsize{} \newif\if@frontmatter \newif\if@copyrightpage \@copyrightpagefalse \newif\if@openbib \@openbibfalse % Setup variable for vita page - true for dissertation option % or can be forced true by setting the vita option for MS \newif\ifvitarequired \vitarequiredfalse \newif\if@final \@finaltrue \DeclareOption{10pt}{\renewcommand\@ptsize{0}} \DeclareOption{11pt}{\renewcommand\@ptsize{1}} \DeclareOption{12pt}{\renewcommand\@ptsize{2}} \DeclareOption{draft}{\setlength\overfullrule{5pt}\@finalfalse} \DeclareOption{final}{\setlength\overfullrule{0pt}\@frontmattertrue\@finaltrue} \DeclareOption{copyright}{\@copyrightpagetrue} \DeclareOption{frontmatter}{\@frontmattertrue} \DeclareOption{nofrontmatter}{\@frontmatterfalse} \DeclareOption{leqno}{\input{leqno.clo}} \DeclareOption{fleqn}{\input{fleqn.clo}} \DeclareOption{openbib}{\@openbibtrue} \DeclareOption{thesis}{ \newcommand\reporttypeshort{thesis} \newcommand\reporttypelong{Master's Thesis} } \DeclareOption{dissertation}{ \newcommand\reporttypeshort{dissertation} \newcommand\reporttypelong{Ph.D. Dissertation} \vitarequiredtrue % create vitapage } \DeclareOption{vita}{ \vitarequiredtrue % create vitapage even for MS } \ExecuteOptions{10pt,final,frontmatter} \ProcessOptions \input{size1\@ptsize.clo} \setlength\lineskip{1\p@} \setlength\normallineskip{1\p@} \renewcommand\baselinestretch{} \setlength\parskip{0\p@ \@plus \p@} \@lowpenalty 51 \@medpenalty 151 \@highpenalty 301 \setcounter{topnumber}{2} \renewcommand\topfraction{.7} \setcounter{bottomnumber}{1} \renewcommand\bottomfraction{.3} \setcounter{totalnumber}{3} \renewcommand\textfraction{.2} \renewcommand\floatpagefraction{.5} \setcounter{dbltopnumber}{2} \renewcommand\dbltopfraction{.7} \renewcommand\dblfloatpagefraction{.5} \setlength\arraycolsep{5\p@} \setlength\tabcolsep{6\p@} \setlength\arrayrulewidth{.4\p@} \setlength\doublerulesep{2\p@} \setlength\tabbingsep{\labelsep} \skip\@mpfootins = \skip\footins \setlength\fboxsep{3\p@} \setlength\fboxrule{.4\p@} \renewcommand\theequation{\arabic{equation}} \paperheight 11in \paperwidth 8.5in \voffset 0pt \topmargin 0pt \headheight 0pt \headsep 0pt \textheight 9.0in \oddsidemargin 0.5in \evensidemargin 0in \marginparwidth 0.0in \textwidth 6.0in \widowpenalty \@MM \clubpenalty \@MM \def\ps@headings{% \let\@oddfoot\@empty \def\@oddhead{{\slshape\rightmark}\hfil\thepage}% \let\@mkboth\markboth \def\chaptermark##1{% \markright {\uppercase{\ifnum \c@secnumdepth >\m@ne \@chapapp\ \thechapter. \ \fi ##1}}}} \def\ps@myheadings{% \let\@oddfoot\@empty\let\@evenfoot\@empty \def\@evenhead{\thepage\hfil\slshape\leftmark}% \def\@oddhead{{\slshape\rightmark}\hfil\thepage}% \let\@mkboth\@gobbletwo \let\chaptermark\@gobble \let\sectionmark\@gobble} \pagestyle{plain} \newcommand\chaptermark[1]{} % secnumdepth of 2 does not allow for subsubsection numbering! \setcounter {secnumdepth}{3} \newcounter {chapter} \newcounter {section}[chapter] \newcounter {subsection}[section] \newcounter {subsubsection}[subsection] \newcounter {paragraph}[subsubsection] \newcounter {subparagraph}[paragraph] \renewcommand\thechapter {\arabic{chapter}} \renewcommand\thesection {\thechapter.\arabic{section}} \renewcommand\thesubsection {\thesection.\arabic{subsection}} \renewcommand\thesubsubsection {\thesubsection .\arabic{subsubsection}} \renewcommand\theparagraph {\thesubsubsection.\arabic{paragraph}} \renewcommand\thesubparagraph {\theparagraph.\arabic{subparagraph}} \newcommand\@chapapp{\chaptername} \newcommand\chapter{% \clearpage \singlespacing \thispagestyle{plain} \global\@topnum\z@ \@afterindentfalse \secdef\@chapter\@schapter} \def\@chapter[#1]#2{% \refstepcounter{chapter}% \typeout{\@chapapp\space\thechapter. #1}% % 1999.6 Period after chapter number removed in TOC. HJG \addcontentsline{toc}{chapter}{\protect\numberline{% \uppercase{\@chapapp\space\thechapter}}\uppercase{#1}}% \chaptermark{#1}% \@makechapterhead{#2}% \@afterheading} \def\@makechapterhead#1{% \vspace*{0.8in}% {\centering \ifnum \c@secnumdepth >\m@ne \bfseries \@chapapp\space\thechapter \par \fi \vspace*{10\p@} \bfseries\uppercase{#1} \par\nobreak \vspace*{20\p@}} % HJG: The following line controls spacing in the chapters \if@final \doublespacing \else \onehalfspacing \fi} \def\@schapter#1{% \addcontentsline{toc}{chapter}{\protect\numberline{\uppercase{#1}}}% \@makeschapterhead{#1}% \@afterheading} \def\@makeschapterhead#1{% \vspace*{0.8in} {\centering \bfseries#1 \par\nobreak \vspace*{20\p@}}} \newcommand\section{\@startsection {section}{1}{\z@}% {-3.5ex \@plus -1ex \@minus -.2ex}% {2.3ex \@plus.2ex}% {\reset@font\bfseries}} \newcommand\subsection{\@startsection{subsection}{2}{\z@}% {-3.25ex\@plus -1ex \@minus -.2ex}% {1.5ex \@plus .2ex}% {\reset@font\bfseries\centering}} \newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}% {-0.75ex\@plus -0.5ex \@minus -.2ex} {-2.0ex\@plus .2ex} {\reset@font\normalsize\bfseries}} \newcommand\paragraph{\@startsection{paragraph}{4}{\z@}% {3.25ex \@plus1ex \@minus.2ex}% {-1em}% {\reset@font\normalsize\bfseries}} \newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}% {3.25ex \@plus1ex \@minus .2ex}% {-1em}% {\reset@font\normalsize\bfseries}} \setlength\leftmargini {2.5em} \setlength\leftmarginii {2.2em} \setlength\leftmarginiii {1.87em} \setlength\leftmarginiv {1.7em} \setlength\leftmarginv {1em} \setlength\leftmarginvi {1em} \setlength\leftmargin {\leftmargini} \setlength \labelsep {.5em} \setlength \labelwidth{\leftmargini} \addtolength\labelwidth{-\labelsep} \@beginparpenalty -\@lowpenalty \@endparpenalty -\@lowpenalty \@itempenalty -\@lowpenalty \renewcommand\theenumi{\arabic{enumi}} \renewcommand\theenumii{\alph{enumii}} \renewcommand\theenumiii{\roman{enumiii}} \renewcommand\theenumiv{\Alph{enumiv}} \newcommand\labelenumi{\theenumi.} \newcommand\labelenumii{(\theenumii)} \newcommand\labelenumiii{\theenumiii.} \newcommand\labelenumiv{\theenumiv.} \renewcommand\p@enumii{\theenumi} \renewcommand\p@enumiii{\theenumi(\theenumii)} \renewcommand\p@enumiv{\p@enumiii\theenumiii} \newcommand\labelitemi{$\m@th\bullet$} \newcommand\labelitemii{\normalfont\bfseries --} \newcommand\labelitemiii{$\m@th\ast$} \newcommand\labelitemiv{$\m@th\cdot$} \newenvironment{description} {\list{}{\labelwidth\z@ \itemindent-\leftmargin \let\makelabel\descriptionlabel}} {\endlist} \newcommand\descriptionlabel[1]{\hspace\labelsep \normalfont\bfseries #1} \newenvironment{verse} {\let\\=\@centercr \list{}{\itemsep \z@ \itemindent -1.5em% \listparindent\itemindent \rightmargin \leftmargin \advance\leftmargin 1.5em}% \item[]} {\endlist} \newenvironment{quotation} {\list{}{\listparindent 1.5em% \itemindent \listparindent \rightmargin \leftmargin \parsep \z@ \@plus\p@}% \item[]} {\endlist} \newenvironment{quote} {\list{}{\rightmargin\leftmargin}% \item[]} {\endlist} % \end{macrocode} % \begin{macro}{\appendix} % \begin{macrocode} \newlength{\appendixheadheight}\setlength{\appendixheadheight}{23\p@} \newlength{\appendixheadsep} \setlength{\appendixheadsep}{20\p@} \newcommand\appendix{% \setcounter{chapter}{0} \setcounter{section}{0} \renewcommand\thechapter{\Alph{chapter}} \newpage \par\null\vfill \def\@appname{\appendicesname} \textbf{\hfill\@appname\hfill} \par\vfill\par \addcontentsline{toc}{chapter}{\protect\numberline{% \uppercase{\@appname}}} \let\chapter=\appendixchapter \addtolength{\textheight}{-\appendixheadheight} \addtolength{\textheight}{-\appendixheadsep}} \newcommand{\appendixchapter}[1]{% \clearpage \refstepcounter{chapter} \doublespacing \addcontentsline{toc}{appendix}{% \protect\numberline{% % v1999.5, HJG: appendix chapter entry in TOC changed to mixed case. % v1999.6, HJG: Period after appendix chapter nubmer removed \appendixchaptername\space\thechapter}% \ignorespaces{#1}} \@makeappendixhead{#1}} \newsavebox{\appendixfirsthead} \def\ps@appendixchapterfirstpage{\relax} \def\@makeappendixhead#1{% \setlength{\headheight}{\appendixheadheight} \setlength{\headsep}{\appendixheadsep} \renewcommand{\ps@appendixchapterfirstpage}{% \renewcommand{\@oddhead}{% \protect\parbox[b][\appendixheadheight][t]{\textwidth}{% \def\baselinestretch{1}\normalsize \protect\centering \textbf{\appendixchaptername\space\thechapter}\\ % \textbf{\uppercase{#1}}}}% % v1999.5, HJG: appendix chapter entry appendices changed to mixed case. \textbf{#1}}}% \renewcommand{\@evenhead}{\@oddhead}% \renewcommand{\@evenfoot}{\hfil\thepage\hfil}% \renewcommand{\@oddfoot}{\@evenfoot}} \renewcommand{\ps@plain}{% \renewcommand{\@oddhead}{% \protect\parbox[b][\appendixheadheight][t]{\textwidth}{% \def\baselinestretch{1}\normalsize \protect\centering % 1999.6: "CONTINUED" changed to mixed case. HJG \textbf{\appendixchaptername\space\thechapter\space(Continued)}}} \renewcommand{\@evenhead}{\@oddhead}% \renewcommand{\@evenfoot}{\hfil\thepage\hfil}% \renewcommand{\@oddfoot}{\@evenfoot}} \pagestyle{plain} \thispagestyle{appendixchapterfirstpage}} % \end{macrocode} % \end{macro} % \begin{macrocode} \def\caption{\refstepcounter\@captype \@dblarg{\@caption\@captype}} \long\def\@caption#1[#2]#3{% \par\addcontentsline{\csname ext@#1\endcsname}{#1}% {\protect\numberline{\csname #1name\endcsname\space\csname the#1\endcsname\figurenamesep\ }{\ignorespaces #2}} \addtocontents{\csname ext@#1\endcsname}{\protect\vspace{10\p@}} \begingroup \@parboxrestore \normalsize \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par \endgroup} \newlength\abovecaptionskip \newlength\belowcaptionskip \setlength\abovecaptionskip{10\p@} \setlength\belowcaptionskip{0\p@} \long\def\@makecaption#1#2{% \vskip\abovecaptionskip \sbox\@tempboxa{#1\figurenamesep\ #2}% \ifdim \wd\@tempboxa >\hsize #1\figurenamesep\ #2\par \else \hbox to\hsize{\hfil\box\@tempboxa\hfil}% \fi \vskip\belowcaptionskip} \newcounter{figure} \renewcommand\thefigure{\@arabic\c@figure} \def\fps@figure{tbp} \def\ftype@figure{1} \def\ext@figure{lof} \def\fnum@figure{\figurename~\thefigure} \newenvironment{figure}{\@float{figure}}{\end@float} \newenvironment{figure*}{\@dblfloat{figure}{\end@dblfloat}} \newcounter{table} \renewcommand\thetable{\@arabic\c@table} \def\fps@table{tbp} \def\ftype@table{2} \def\ext@table{lot} \def\fnum@table{\tablename~\thetable} \newenvironment{table} {\@float{table}} {\end@float} \newenvironment{table*} {\@dblfloat{table}} {\end@dblfloat} \newcommand\@pnumwidth{2.55em} \newcommand\@tocrmarg {2.55em} \newcommand\@dotsep{400} \setcounter{tocdepth}{3} \newcommand\tableofcontents{% \clearpage\singlespace \pagenumbering{roman} \global\@topnum\z@ \@afterindentfalse \@makeschapterhead{\contentsname} \@afterheading \pagestyle{plain} \@starttoc{toc}} \newcommand\l@part[2]{% \ifnum \c@tocdepth >-2\relax \addpenalty{-\@highpenalty}% \addvspace{2.25em \@plus\p@}% \begingroup \setlength\@tempdima{3em}% \parindent \z@ \rightskip \@pnumwidth \parfillskip -\@pnumwidth {\leavevmode \bfseries #1\hfil \hbox to\@pnumwidth{\hss #2}}\par \nobreak \global\@nobreaktrue \everypar{\global\@nobreakfalse\everypar{}} \endgroup \fi} \newcommand\l@chapter[2]{% \ifnum \c@tocdepth >\m@ne \addpenalty{-\@highpenalty}% \vskip 1.0em \@plus\p@ \setlength\@tempdima{8em}% \begingroup %\hyphenpenalty=10000\exhyphenpenalty=10000% \parindent \z@ \rightskip \@pnumwidth \parfillskip -\@pnumwidth \leavevmode \advance\leftskip\@tempdima \hskip -\leftskip {#1}% \nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss #2}\par \penalty\@highpenalty \endgroup \fi} \newcommand\l@section {\@dottedtocline{1}{0.5in}{2.3em}} \newcommand\l@subsection {\@dottedtocline{2}{1.0in}{3.2em}} \newcommand\l@subsubsection{\@dottedtocline{3}{1.5in}{4.1em}} \newcommand\l@paragraph {\@dottedtocline{4}{2.0in}{5em}} \newcommand\l@subparagraph {\@dottedtocline{5}{2.5in}{6em}} \newcommand\l@appendix {\@dottedtocline{1}{0.5in}{8em}} \newcommand\listoffigures{% \chapter*{\listfigurename \@mkboth{\uppercase{\listfigurename}}{\uppercase{\listfigurename}}}% % original spacing modified by HJG 7/20/99 % \vspace*{20\p@} \vspace*{11\p@} \pagestyle{plain} \@starttoc{lof}}% \newcommand\l@figure{\@dottedtocline{1}{0pt}{5em}} \newcommand\listoftables{% \chapter*{\listtablename \@mkboth{\uppercase{\listtablename}}{\uppercase{\listtablename}}}% % original spacing modified by HJG 7/20/99 % \vspace*{20\p@} \vspace*{11\p@} \pagestyle{plain} \@starttoc{lot}}% \let\l@table\l@figure \newdimen\bibindent \bibindent=1.5em \newenvironment{thebibliography}[1] {\chapter*{\bibname \@mkboth{\uppercase{\bibname}}{\uppercase{\bibname}}}% \vspace*{\baselineskip} \list{\@biblabel{\arabic{enumiv}}}% {\settowidth\labelwidth{\@biblabel{#1}}% \leftmargin\labelwidth \advance\leftmargin\labelsep \if@openbib \advance\leftmargin\bibindent \itemindent -\bibindent \listparindent \itemindent \parsep \z@ \fi \usecounter{enumiv}% \let\p@enumiv\@empty \renewcommand\theenumiv{\arabic{enumiv}}}% \if@openbib \renewcommand\newblock{\par} \else \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}% \fi \sloppy\clubpenalty4000\widowpenalty4000% \sfcode`\.=\@m} {\def\@noitemerr {\@latex@warning{Empty `thebibliography' environment}}% \endlist} \newcommand\newblock{} \if@final% \def\missingalert#1{\ClassError{usfmanus}{#1}{% Use the appropriate class command to provide the necessary \MessageBreak information. See the usfsampt.tex and usfsampd.tex\MessageBreak files for examples. You may use empty definitions, e.g.\MessageBreak \protect\title{}, or use the draft class option. Otherwise, just try \MessageBreak pressing .}} \else% \def\missingalert#1{\ClassWarningNoLine{usfmanus}{#1}} \fi \def\title#1{\def\@title{\uppercase{#1}}} \def\@title{\missingalert{No \noexpand\title given}} \def\author#1{\def\@author{#1}} \def\@author{\missingalert{No \noexpand\author given}} \def\degree#1{\def\@degree{#1}} \def\@degree{\missingalert{No \noexpand\degree given}} \def\department#1{\def\@department{#1}} \def\@department{\missingalert{No \noexpand\department given}} \def\college#1{\def\@college{#1}} \def\@college{\missingalert{No \noexpand\college given}} \def\graddate#1{\def\@graddate{#1}} \def\@graddate{\missingalert{No \noexpand\graddate given}} \def\presentdate#1{\def\@presentdate{#1}} \def\@presentdate{\missingalert{No \noexpand\presentdate given}} \def\copyrightyear#1{\def\@copyrightyear{#1}} \def\@copyrightyear{\missingalert{No \noexpand\copyrightyear given}} \def\majorprofessor#1{\def\@majorprofessor{#1}} \def\@majorprofessor{\missingalert{No \noexpand\majorprofessor given}} \def\majorproftitle#1{\def\@majorproftitle{#1}} \def\@majorproftitle{\missingalert{No \noexpand\majorproftitle given}} \def\members#1{\def\@members{#1}} \def\@members{\missingalert{No \noexpand\members given}} \long\def\dedication#1{\long\def\@dedication{#1}} \long\def\acknowledgments#1{\long\def\@acknowledgments{#1}} \ifvitarequired \long\def\vita#1{\long\def\@vita{#1}} \def\@vita{\missingalert{\No \noexpand\vita given}} \fi \long\def\abstract#1{% \long\def\@abstract{#1}} % \countwords{#1} %\ifnum\@wordcount>350 % \ClassWarningNoLine{usfmanus}{Abstract contains more than 350 % words (more or less). \MessageBreak % You probably want to count yourself to make sure} % \fi} \def\@abstract{\missingalert{No \noexpand\abstract given}} %\long\def\countwords#1{\StartCountingWords\@abstract\StopCountingWords} %\def\StartCountingWords% % {\bgroup % \setbox0=\hbox\bgroup} %\def\StopCountingWords% % {\egroup % \unhcopy0 % \setbox0=\vbox % \bgroup % \hsize0pt % \hyphenpenalty10000 % \hfuzz=\maxdimen % \unhbox0\par % \xdef\NumberOfWords{\the\prevgraf} % \egroup % \egroup} % This command can be changed in the thesis document preamble to % include other lists (e.g., list of programs, etc.). Don't forget to % surround it by \makeatletter and \makeatother \def\@mylists{\relax} \def\mylists#1{\def\@mylists{#1}} \def\makefrontmatter{% \approvalpage \titlepage \copyrightpage \dedicationpage \acknowledgmentspage \tableofcontents \listoftables \listoffigures \@mylists \abstracttitlepage \raggedbottom \begin{doublespace} \noindent\@abstract\nopagebreak\par \abstractsignatures \end{doublespace}} \def\titlepage{% \newpage \thispagestyle{empty} \vspace*{0.8in} {\centering% \begin{doublespace}\@title\end{doublespace} \vspace*{3\baselineskip} by \\ \vspace*{3\baselineskip} \MakeUppercase{\@author} \\ \vspace*{5\baselineskip} A \reporttypeshort\ submitted in partial fulfillment\\ of the requirements for the degree of\\ \@degree \\ Department of \@department \\ College of \@college \\ University of South Florida \\ \vspace*{5\baselineskip} \@graddate \\ \vspace*{5\baselineskip} \def\and{\\\@majorprofname:\ } \@majorprofname:\ \@majorprofessor \\}} \def\approvalpage{% \countands{\@majorprofessor} \majorcount\andcount \advance\majorcount by 1 \ifnum\majorcount<2 \def\@majorprofname{\majorname} \else \def\@majorprofname{\comajorname} \fi \countands{\@members} \membercount\andcount \advance\membercount by 1 \totalmembers\majorcount \advance\totalmembers by \membercount \newpage \let\tempheight=\textheight \vsize 10in \singlespace \thispagestyle{empty} % NOTE: The following condition handles upto 6 total members % nicely. If you have 7 or more, you may want to reduce the % \vspace argument in the else condition to maintain top and % bottom margins. \ifnum\totalmembers<6 \vspace*{0.8in} \else \vspace*{0.25in} \fi {\centering% Graduate School\\ University of South Florida\\ Tampa, Florida \\ \vspace*{2\baselineskip} CERTIFICATE OF APPROVAL \\ \hbox to 4in{\hfil\shortstack{\vrule width 2in height 0.4pt}} \vspace{0.1in} \reporttypelong\ \\ \hbox to 4in{\hfil\shortstack{\vrule width 2in height 0.4pt}} \vspace*{0.5\baselineskip} This is to certify that the \reporttypelong\ of \\ \vspace*{3\baselineskip} \MakeUppercase{\@author}\\ \vspace*{3\baselineskip} with a major in \@department\ has been approved by \\ the Examining Committee on \@presentdate\\ as satisfactory for the \reporttypeshort\ requirement \\ for the \@degree\ degree \\} \vspace*{3\baselineskip} % 1999.6: the \\ after the following line removed. HJG \noindent Examining Committee: % 1999.6: moved member name close to signature line. HJG \def\and{\par\hrulefill\\[-0.25\baselineskip]\@majorprofname:\space} \begin{list}{}{% \topsep % 1999.6: We skip 2x for 3/4 member committee, and 1.5 for 5/6: \ifnum\totalmembers<5 2\baselineskip \else 1.5\baselineskip \fi \parskip 0pt% \parsep % 1999.6: We skip 2x for 3/4 member committee, and 1.5 for 5/6: \ifnum\totalmembers<5 2\baselineskip \else 1.5\baselineskip \fi \leftmargin 1.25in% \rightmargin 1.25in}\item[]% \and\@majorprofessor % 1999.6: moved member name close to signature line. HJG \def\and{\par\hrulefill\\[-0.25\baselineskip]\membername:\space} \and\@members \end{list} \newpage\vsize\tempheight} \newcount\andcount \newcount\totalmembers \newcount\majorcount \newcount\membercount \def\countands#1{\andcount=0 \expandafter\countand #1\end} \def\countand#1{% \ifx#1\end% \let\next=\relax% \else% \let\next=\countand% \ifx#1\and% \advance\andcount by 1% \fi% \fi% \next} \def\abstracttitlepage{% \newpage \thispagestyle{plain} \addcontentsline{toc}{chapter}{\abstractname} \vspace*{0.8in} {\centering% \begin{doublespace}\@title\end{doublespace} \vspace*{3\baselineskip} by\\ \vspace*{3\baselineskip} \MakeUppercase{\@author}\\ \vspace*{3\baselineskip} \textit{An Abstract}\\ \vspace*{3\baselineskip} Of a \reporttypeshort\ submitted in partial fulfillment\\ of the requirements for the degree of \\ \@degree \\ Department of \@department\\ College of \@college\\ University of South Florida \\ \vspace*{3\baselineskip} \@graddate\\ \vspace*{3\baselineskip} \def\and{\\\@majorprofname:\ } \@majorprofname:\ \@majorprofessor\\ \newpage}} \newlength{\siglinelength} \newlength{\@majorproftitlelength} \newlength{\@majorprofnamelength} \def\abstractsignatures{% \settowidth{\@majorprofnamelength}{\@majorprofname:\ % \@majorprofessor}% \settowidth{\@majorproftitlelength}{\@majorproftitle}% \ifdim\@majorproftitlelength>\@majorprofnamelength% \siglinelength\@majorproftitlelength% \else% \siglinelength\@majorprofnamelength% \fi% \noindent\parbox{\textwidth}{% \singlespace\vspace*{2\baselineskip} % Spacing after signature line reduced v1999.4, HJG. Abstract Approved: \hrulefill \vspace*{-0.75\baselineskip} \begin{flushright} \def\and{\@majorprofname:\ } \parbox{\siglinelength}{\and\@majorprofessor \\ \@majorproftitle \\[\baselineskip] Date Approved: \hrulefill} \end{flushright}}} \def\copyrightpage{% \if@copyrightpage% \clearpage \thispagestyle{empty} \null\vfill \begin{center} \copyright Copyright by\ \@author\ \@copyrightyear \\ All rights reserved \end{center} \vfill \fi} \def\dedicationpage{% \ifx\@dedication\@undefined \else \clearpage\thispagestyle{empty} \@makeschapterhead{\dedicationname} \begin{doublespace} \@dedication \end{doublespace} \fi} \def\acknowledgmentspage{% \ifx\@acknowledgments\@undefined \else \clearpage\thispagestyle{empty} \@makeschapterhead{\acknowledgmentsname} \begin{doublespace} \@acknowledgments \end{doublespace} \fi} % Index %\newenvironment{theindex} %\@makeschapterhead{\indexname}% %\@mkboth{\uppercase{\indexname}}% %{\uppercase{\indexname}}% %\thispagestyle{plain}\parindent\z@ %\parskip\z@ \@plus .3\p@\relax %\let\item\@idxitem} %\clearpage %\newcommand\@idxitem {\par\hangindent 40\p@} %\newcommand\subitem {\par\hangindent 40\p@ \hspace*{20\p@}} %\newcommand\subsubitem{\par\hangindent 40\p@ \hspace*{30\p@}} %\newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax} \renewcommand\footnoterule{% \kern-3\p@ \hrule width .4\columnwidth \kern 2.6\p@} \@addtoreset{footnote}{chapter} \long\def\@makefntext#1{% \parindent 1em% \noindent \hbox to 1.8em{\hss\@makefnmark}#1} \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl} \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc} \newcommand{\pcal}{\@fontswitch{\relax}{\mathcal}} \newcommand{\pmit}{\@fontswitch{\relax}{\mathnormal}} \newcommand\contentsname{TABLE OF CONTENTS} \newcommand\listfigurename{LIST OF FIGURES} \newcommand\listtablename{LIST OF TABLES} \newcommand\bibname{REFERENCES} \newcommand\indexname{INDEX} \newcommand\dedicationname{DEDICATION} \newcommand\acknowledgmentsname{ACKNOWLEDGMENTS} \newcommand\figurename{Figure} % figurename separator is used after the figure number in the LOF \newcommand\figurenamesep{.} \newcommand\tablename{Table} \newcommand\partname{Part} \newcommand\chaptername{CHAPTER} % \appendixname doesn't seem to be used anywhere! \newcommand\appendixname{APPENDIX} \newcommand\appendicesname{APPENDICES} % v1999.5, HJG: appendix chapter entry appendices changed to mixed case. \newcommand\appendixchaptername{Appendix} \newcommand\abstractname{ABSTRACT} \newcommand\today{\ifcase\month\or January\or February\or March\or April\or May\or June\or July\or August\or September\or October\or November\or December\fi \space\number\day, \number\year} \newcommand\vitaname{VITA} \newcommand\majorname{Major Professor} \newcommand\comajorname{Co-Major Professor} \newcommand\membername{Member} \def\vitapage{ % Vita page layout \newpage \pagestyle{empty} \typeout{\vitaname.} \addtocontents{toc}{\protect\contentsline{chapter}% {\vitaname}{End Page}} \@makeschapterhead{\vitaname} \begin{doublespace} \raggedbottom\noindent\@vita \end{doublespace} \newpage } \AtBeginDocument{ % next four lines add the sheet numbering to page numbering \countdef\c@sheet=1 \def\thesheet{\@arabic\c@sheet} \def\cl@page{\stepcounter{sheet}} \setcounter{sheet}{1} \if@frontmatter\makefrontmatter\clearpage\fi \setcounter{page}{1} \def\thepage{\arabic{page}} \raggedbottom} \AtEndDocument{ \ifvitarequired \vitapage \fi } % % \end{macrocode} % \Finale % \PrintIndex \PrintChanges \endinput