Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2016
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.30 KB | None | 0 0
  1. %%
  2. %% This is file `unmeethesis.cls', generated
  3. %% on <1995/10/31> with the jwhhacks utility (v3.2zzz).
  4. %%
  5. %% The original source files were:
  6. %%
  7. %% unmeethesis.dtx
  8. %%
  9. %%
  10. %% This is a generated file.
  11. %%
  12. %% Copyright 1995 by James W. Howse IV. All rights reserved.
  13. %% Modified with permission by Neall E. Doren, January 27, 2000.
  14. %% Further mods as per D. Bader, EECE, by N. Doren, March 07, 2000.
  15. %%
  16. %% This file is distributed in the hope that it will be useful,
  17. %% but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  19. %%
  20. %% This file is a modified form of the standard book format book.cls. It is
  21. %% based on book.cls version 1.3g dated 1995/06/26.
  22. %% Modification history:
  23. %% /9/17/01: Slight margin changes (top and bottom). N. Doren
  24. %% /3/27/02: Slight margin changes for title boxes. N. Doren
  25. %% /8/24/11: Removed box from thesis/dissertation title page.
  26. %% Removed Abstract title page.
  27. %% Removed 'final' mode (ignored if used)
  28. %% Minor margin changes. N. Doren
  29. %% The names of the source files used are shown above.
  30. %%
  31. %%
  32. %% \CharacterTable
  33. %% {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
  34. %% 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
  35. %% Digits \0\1\2\3\4\5\6\7\8\9
  36. %% Exclamation \! Double quote \" Hash (number) \#
  37. %% Dollar \$ Percent \% Ampersand \&
  38. %% Acute accent \' Left paren \( Right paren \)
  39. %% Asterisk \* Plus \+ Comma \,
  40. %% Minus \- Point \. Solidus \/
  41. %% Colon \: Semicolon \; Less than \<
  42. %% Equals \= Greater than \> Question mark \?
  43. %% Commercial at \@ Left bracket \[ Backslash \\
  44. %% Right bracket \] Circumflex \^ Underscore \_
  45. %% Grave accent \` Left brace \{ Vertical bar \|
  46. %% Right brace \} Tilde \~}
  47. \NeedsTeXFormat{LaTeX2e}
  48. \ProvidesClass{unmeethesis}
  49. [1995/10/31
  50. UNM EECE dissertation class-mod 03/27/02]
  51. \newcommand\@ptsize{}
  52. \newif\if@restonecol
  53. \newif\if@openright
  54. \newif\if@openbib
  55. \newif\if@draft
  56. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  57. % Added an 'if' to check whether the 'draft' or 'final' option is
  58. % selected
  59. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  60. \newif\if@draft
  61. \newif\if@nobox
  62. \newif\if@botnum
  63. \@openbibfalse
  64. \newif\if@mainmatter \@mainmattertrue
  65. \DeclareOption{a4paper}
  66. {\setlength\paperheight {297mm}%
  67. \setlength\paperwidth {210mm}}
  68. \DeclareOption{a5paper}
  69. {\setlength\paperheight {210mm}%
  70. \setlength\paperwidth {148mm}}
  71. \DeclareOption{b5paper}
  72. {\setlength\paperheight {250mm}%
  73. \setlength\paperwidth {176mm}}
  74. \DeclareOption{letterpaper}
  75. {\setlength\paperheight {10.92in}%
  76. \setlength\paperwidth {8.5in}}
  77. \DeclareOption{legalpaper}
  78. {\setlength\paperheight {14in}%
  79. \setlength\paperwidth {8.5in}}
  80. \DeclareOption{executivepaper}
  81. {\setlength\paperheight {10.5in}%
  82. \setlength\paperwidth {7.25in}}
  83. \DeclareOption{landscape}
  84. {\setlength\@tempdima {\paperheight}%
  85. \setlength\paperheight {\paperwidth}%
  86. \setlength\paperwidth {\@tempdima}}
  87. \DeclareOption{10pt}{\renewcommand\@ptsize{0}}
  88. \DeclareOption{11pt}{\renewcommand\@ptsize{1}}
  89. \DeclareOption{12pt}{\renewcommand\@ptsize{2}}
  90. \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
  91. \DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
  92. \DeclareOption{botnum}{\@botnumtrue}
  93. \DeclareOption{draft}{\@drafttrue \setlength\overfullrule{5pt}}
  94. \DeclareOption{final}{\@drafttrue \setlength\overfullrule{5pt}}
  95. %\DeclareOption{final}{\@draftfalse \setlength\overfullrule{0pt}}
  96. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  97. % Removed 'notitlepage' option
  98. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  99. \DeclareOption{openright}{\@openrighttrue}
  100. \DeclareOption{openany}{\@openrightfalse}
  101. \DeclareOption{nobox}{\@noboxtrue}
  102. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  103. % Removed 'twocolumn' option
  104. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  105. \DeclareOption{leqno}{\input{leqno.clo}}
  106. \DeclareOption{fleqn}{\input{fleqn.clo}}
  107. \DeclareOption{openbib}{\@openbibtrue}
  108. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  109. % Changed the default option from final to draft
  110. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  111. \ExecuteOptions{letterpaper,12pt,oneside,draft,nobox,openright}
  112. \ProcessOptions
  113. \if@botnum
  114. \setlength\paperheight {10.7in}%
  115. \fi
  116. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  117. % In order to generate the red box around the title pages, the 'color'
  118. % package MUST be loaded
  119. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  120. \if@draft
  121. \else
  122. \RequirePackage{color}
  123. \fi
  124. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  125. % Changed the input file from {bk1\@ptsize.clo} since the bk??.clo
  126. % files only support two-sided formatting
  127. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  128. \input{unm1\@ptsize.clo}
  129. \setlength\lineskip{1\p@}
  130. \setlength\normallineskip{1\p@}
  131. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  132. % Modified \baselinestretch to appear "double" spaced.
  133. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  134. \renewcommand\baselinestretch{1.45}
  135. \newlength\@chosenpointsize
  136. \setlength\@chosenpointsize{1\@ptsize\p@}
  137. \newlength\@scaledpointsize
  138. \setlength\@scaledpointsize{\baselinestretch\@chosenpointsize}
  139. %\setlength\parskip{0.5\@scaledpointsize \@plus \p@}
  140. \setlength\parskip{0.3\@scaledpointsize }
  141. \@lowpenalty 51
  142. \@medpenalty 151
  143. \@highpenalty 301
  144. \setcounter{topnumber}{2}
  145. \renewcommand\topfraction{.7}
  146. \setcounter{bottomnumber}{1}
  147. \renewcommand\bottomfraction{.7}
  148. \setcounter{totalnumber}{3}
  149. \renewcommand\textfraction{0}
  150. \renewcommand\floatpagefraction{1}
  151. \setcounter{dbltopnumber}{2}
  152. \renewcommand\dbltopfraction{.7}
  153. \renewcommand\dblfloatpagefraction{.5}
  154. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  155. % Made the following changes to the default headings.
  156. %
  157. % 1) The headings are no longer upper case.
  158. % 2) Removed the \MakeUppercase command from the 'tableofcontents',
  159. % 'listoffigures', and 'listoftables' commands and from the
  160. % 'thebibliography', and 'theindex' environments.
  161. % 3) Due to Graduate Studies requirements the frontmatter and the
  162. % mainmatter have different headings. Specifically, the frontmatter
  163. % has the page numbers at the bottom center of the page, and the
  164. % mainmatter has the page numbers at the top right corner of the page.
  165. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  166. \if@twoside
  167. \def\ps@mainheadings{%
  168. \if@botnum
  169. \def\@oddfoot{\hfil\thepage\hfil}\let\@evenfoot\@oddfoot
  170. \def\@evenhead{\hfil{\slshape\leftmark}}%
  171. \def\@oddhead{{\slshape\rightmark}\hfil}%
  172. \else
  173. \let\@oddfoot\@empty\let\@evenfoot\@empty
  174. \def\@evenhead{\thepage\hfil{\slshape\leftmark}}%
  175. \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
  176. \fi
  177. \let\@mkboth\markboth
  178. \def\chaptermark##1{%
  179. \markboth {%
  180. \ifnum \c@secnumdepth >\m@ne
  181. \if@mainmatter
  182. \@chapapp\ \thechapter. \ %
  183. \fi
  184. \fi
  185. ##1}{}}%
  186. \def\sectionmark##1{%
  187. \markright {%
  188. \ifnum \c@secnumdepth >\z@
  189. \thesection. \ %
  190. \fi
  191. ##1}}}
  192. \else
  193. \def\ps@mainheadings{%
  194. \let\@oddfoot\@empty
  195.  
  196. \if@botnum
  197. \def\@oddfoot{\hfil\thepage\hfil}
  198. \else
  199. \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
  200. \fi
  201.  
  202. % \def\@evenhead{\thepage\hfil{\slshape\leftmark}}%
  203. \let\@mkboth\markboth
  204. \def\chaptermark##1{%
  205. \markright {%
  206. \ifnum \c@secnumdepth >\m@ne
  207. \if@mainmatter
  208. \@chapapp\ \thechapter. \ %
  209. \fi
  210. \fi
  211. ##1}}}
  212. \fi
  213.  
  214. \if@twoside
  215. \def\ps@frontheadings{%
  216.  
  217. \if@botnum
  218. \def\@oddhead{{\slshape\rightmark}\hfil}%
  219. \def\@evenhead{\hfil{\slshape\leftmark}}%
  220. \def\@oddfoot{\hfil\thepage\hfil}\let\@evenfoot\@oddfoot
  221. \else
  222. \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
  223. \def\@evenhead{\thepage\hfil{\slshape\leftmark}}%
  224. \let\@oddfoot\@empty
  225. \fi
  226.  
  227. % \def\@evenhead{\hfil{\slshape\leftmark}}%
  228. \let\@mkboth\markboth
  229. \def\chaptermark##1{%
  230. \markboth {##1}{}}%
  231. \def\sectionmark##1{%
  232. \markright {##1}}}
  233. \else
  234. \def\ps@frontheadings{%
  235. \let\@oddfoot\@empty
  236. \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
  237.  
  238. \if@botnum
  239. \def\@oddfoot{\hfil\thepage\hfil}
  240. \def\@oddhead{{\slshape\rightmark}\hfil}%
  241. \else
  242. \def\@evenhead{\thepage\hfil{\slshape\leftmark}}%
  243. \fi
  244.  
  245. \let\@mkboth\markboth
  246. \def\chaptermark##1{%
  247. \markright {##1}}}
  248. \fi
  249.  
  250. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  251. \def\ps@myheadings{%
  252. \let\@oddfoot\@empty\let\@evenfoot\@empty
  253. \def\@evenhead{\thepage\hfil\slshape\leftmark}%
  254. \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
  255. \let\@mkboth\@gobbletwo
  256. \let\chaptermark\@gobble
  257. \let\sectionmark\@gobble
  258. }
  259. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  260. % comment out whole routine between colon separators for bottom page numbering
  261. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  262. \if@botnum
  263. \else
  264. \def\ps@plain{%
  265. \let\@oddfoot\@empty\let\@evenfoot\@empty
  266. % \def\@evenhead{\thepage\hfil\slshape\leftmark}%
  267. % \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
  268. \def\@oddhead{\hfil\thepage}%
  269. \let\@mkboth\@gobbletwo
  270. \let\chaptermark\@gobble
  271. \let\sectionmark\@gobble
  272. }
  273. \fi
  274.  
  275. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  276. % This material was taken from fancybox.sty by Timothy Van Zandt. It is all
  277. % part of the definition for the command '\thisfancypage' which allows a box
  278. % to be put around an entire page.
  279. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  280.  
  281. \newbox\@fancybox
  282. \@ifundefined{@tempdimc}{\newdimen\@tempdimc}{}
  283.  
  284. % \singlebox
  285.  
  286. \def\singlebox{\VerbBox\@singlebox}
  287. \def\@singlebox#1{%
  288. \begingroup
  289. \setbox\@fancybox\hbox{{#1}}%
  290. \if@nobox
  291. \fboxrule=0pt%
  292. \else
  293. \fboxrule=2pt%
  294. \fi
  295. \if@draft
  296. \if@nobox
  297. \fbox{\hspace{-2pt} \box\@fancybox}%
  298. \else
  299. \fbox{\box\@fancybox}%
  300. \fi
  301.  
  302. \else
  303. \fcolorbox{red}{white}{\box\@fancybox}%
  304. \fi
  305. \endgroup}
  306.  
  307. % \VerbBox
  308.  
  309. \newtoks\do@VerbBox
  310.  
  311. \def\VerbBox#1{%
  312. \do@VerbBox{#1}%
  313. \afterassignment\begin@VerbBox
  314. \setbox\@fancybox=\hbox}
  315. \def\begin@VerbBox{\aftergroup\end@VerbBox}
  316. \def\end@VerbBox{\the\do@VerbBox{\box\@fancybox}}%
  317.  
  318. % \fb@outputpage
  319. % This is a modification of the version of \@outputpage copied from the file
  320. % latex.ltx, stored in /usr/local/texmf/lib/tex/latex/misc.
  321.  
  322. \def\fb@outputpage{%
  323. \let \protect \noexpand
  324. \shipout \vbox{%
  325. \set@typeset@protect
  326. \aftergroup\set@typeset@protect
  327. \if@specialpage
  328. \global\@specialpagefalse\@nameuse{ps@\@specialstyle}%
  329. \fi
  330. \if@twoside
  331. \ifodd\count\z@ \let\@thehead\@oddhead \let\@thefoot\@oddfoot
  332. \let\@themargin\oddsidemargin
  333. \else \let\@thehead\@evenhead
  334. \let\@thefoot\@evenfoot \let\@themargin\evensidemargin
  335. \fi
  336. \fi
  337. \reset@font
  338. \normalsize
  339. \baselineskip\z@skip \lineskip\z@skip \lineskiplimit\z@
  340. % \@shipoutsetup
  341. \@begindvi
  342. %
  343. \ifx\this@fancypage\@empty\else
  344. \this@fancypage
  345. \gdef\this@fancypage{}%
  346. \fi
  347. \ifx\the@fancypage\@empty\else
  348. \setbox\@outputbox\hbox{\the@fancypage{\box\@outputbox}}%
  349. \fi
  350. %
  351. \setbox\@outputbox \vbox{%
  352. \setbox\@tempboxa \vbox to\headheight{%
  353. \vfil
  354. \color@hbox
  355. \normalcolor
  356. \hb@xt@\textwidth {%
  357. \let \label \@gobble
  358. \let \index \@gobble
  359. \let \glossary \@gobble %% 21 Jun 91
  360. \@thehead
  361. }%
  362. \color@endbox
  363. }% %% 22 Feb 87
  364. \dp\@tempboxa \z@
  365. \box\@tempboxa
  366. \vskip \headsep
  367. \box\@outputbox
  368. \baselineskip \footskip
  369. \color@hbox
  370. \normalcolor
  371. \hb@xt@\textwidth{%
  372. \let \label \@gobble
  373. \let \index \@gobble %% 22 Feb 87
  374. \let \glossary \@gobble %% 21 Jun 91
  375. \@thefoot
  376. }%
  377. \color@endbox
  378. }%
  379. %
  380. \ifx\the@@fancypage\@empty\else
  381. \setbox\@outputbox\hbox{\the@@fancypage{\box\@outputbox}}%
  382. \fi
  383. %
  384. \vbox{%
  385. %
  386. % \ifnum\fancyput@flag>-1 \do@fancyput\fi
  387. %
  388. \vskip \topmargin
  389. %\moveright\@themargin\box\@outputbox
  390. \box\@outputbox
  391. }%
  392. }%
  393. \global \@colht \textheight
  394. \stepcounter{page}%
  395. \let\firstmark\botmark
  396. }
  397.  
  398. % \fancypage
  399.  
  400.  
  401. \def\fmfont{\fontsize\@xiipt{14.5}\selectfont}
  402.  
  403. \def\the@fancypage{}
  404. \def\the@@fancypage{}
  405. \def\this@fancypage{}
  406.  
  407.  
  408. \def\fancypage#1#2{%
  409. \def\the@fancypage{#1}%
  410. \def\the@@fancypage{#2}%
  411. \def\@outputpage{\fb@outputpage}}
  412.  
  413. \def\thisfancypage#1#2{%
  414. \gdef\@outputpage{\fb@outputpage}%
  415. \gdef\this@fancypage{\def\the@fancypage{#1}\def\the@@fancypage{#2}}}
  416.  
  417. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  418. % The following commands define the title page
  419. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  420. \def\title#1{\gdef\@title{#1}}
  421. \def\author#1{\gdef\@author{#1}}
  422. \def\previousdegrees#1{\gdef\@previousdegrees{#1}}
  423. \def\date#1{\gdef\@date{#1}}
  424. \date{\today}
  425. \def\degree#1{\gdef\@degree{#1}}
  426. \degree{Doctor of Philosophy \\ Engineering}
  427. \def\degreesubject#1{\gdef\@degreesubject{#1}}
  428. \degreesubject{Ph.D., Electrical Engineering}
  429. \def\documenttype#1{\gdef\@documenttype{#1}}
  430. \documenttype{Dissertation}
  431. \def\schoolname#1{\gdef\@schoolname{#1}}
  432. \schoolname{University of South Florida}
  433. \def\schooladdress#1{\gdef\@schooladdress{#1}}
  434. \schooladdress{Tampa, Florida}
  435. \def\degreetext#1{\gdef\@degreetext{#1}}
  436. \degreetext{submitted in partial fulfillment \\ of the requirements for the degree of \\}
  437. \def \professor#1{\gdef \@professor{#1}}
  438. \def \keywords#1{\gdef \@keywords{#1}}
  439.  
  440.  
  441. \newlength\@temptextheight
  442. \setlength\@temptextheight{\textheight}
  443. \newlength\@temptextwidth
  444. \setlength\@temptextwidth{\textwidth}
  445. \newlength\@temptopmargin
  446. \setlength\@temptopmargin{\topmargin}
  447. \newlength\@tempheadheight
  448. \setlength\@tempheadheight{\headheight}
  449. \newlength\@tempheadsep
  450. \setlength\@tempheadsep{\headsep}
  451. \newlength\@tempfootskip
  452. \setlength\@tempfootskip{\footskip}
  453.  
  454. \newcommand\@resetpagesize{%
  455. \setlength{\topmargin}{\@temptopmargin}%
  456. \setlength{\headheight}{\@tempheadheight}%
  457. \setlength{\headsep}{\@tempheadsep}%
  458. \setlength{\footskip}{\@tempfootskip}%
  459. \setlength{\textheight}{\@temptextheight}%
  460. \setlength{\textwidth}{\@temptextwidth}%
  461. }
  462.  
  463. \newcommand\maketitle{%
  464. \thisfancypage{}{%
  465. \setlength{\fboxsep}{-6pt}%
  466. \singlebox
  467. }
  468. \@maketitle
  469. \clearpage%
  470. \mbox{\@resetpagesize}%
  471. \if@twoside%
  472. \thispagestyle{empty}%
  473. \mbox{}%
  474. \clearpage%
  475. \fi
  476. }
  477.  
  478. \def\@maketitle{%
  479. \thispagestyle{empty}
  480. %
  481. \setlength{\textheight}{648pt}
  482. \setlength{\textwidth}{427.5pt}
  483. \if@botnum
  484. \setlength{\topmargin}{-6pt}
  485. \else
  486. \setlength{\topmargin}{-4pt}
  487. \fi
  488.  
  489. \setlength{\headheight}{21pt}
  490. \setlength{\headsep}{9pt}
  491. \if@botnum
  492. \setlength{\footskip}{4pt}
  493. \else
  494. \setlength{\footskip}{2pt}
  495. \fi
  496. %
  497. \let\footnotesize\small
  498. % \let\footnoterule\relax
  499. \if@twoside%
  500. %\setcounter{page}{1}%
  501. \else
  502. %\setcounter{page}{1}%
  503. %\setcounter{page}{2}%
  504. %Rolled back counter from 2 to 1 to correct a page error D. Murrell
  505. \fi
  506. %\null\vfil%
  507. \begin{center}%
  508. \renewcommand\baselinestretch{1}\selectfont
  509. %{\LARGE\bf \@title}
  510. \vspace*{4\baselineskip}
  511. {\@title}
  512. \par\vskip 36pt plus2pt minus30pt
  513. by
  514. \par\vskip 36pt plus2pt minus30pt
  515. %\par\vskip 9pt
  516. %{\large\bf \@author}
  517. {\@author}
  518. %\par\vskip 48pt plus2pt minus30pt
  519. %\par\vskip 24pt
  520. %{\large \@previousdegrees}
  521. %\par\vskip 120pt plus6pt minus35pt
  522. \par\vskip 60pt plus6pt minus35pt
  523. %{\large \MakeUppercase{\@documenttype}}
  524. A {\@documenttype} \@degreetext
  525. %\par\vskip 12pt
  526. %\par
  527. \@degree
  528. %\par\vskip 12pt
  529. %{\large \@degree}
  530. %\par\vskip 6pt
  531. %\par
  532. \@schoolname
  533. \par \vskip 36pt plus2pt minus30pt
  534. \@professor
  535. %\par \@schooladdress
  536. \par\vskip 24pt plus2pt minus30pt
  537. \par Date of Approval: \\ \@date
  538. \par \vskip 36pt plus2pt minus30pt
  539. Keywords: \@keywords
  540. \par \vskip 6pt
  541. %\vfill
  542. Copyright \copyright {} \thisyear, \hskip 0.5em \@author
  543. \end{center}
  544. \vfil\null%
  545. \setcounter{footnote}{0}%
  546. % \if@twoside\begin{titlepage} \setcounter{page}{0}\mbox{} \end{titlepage}\fi
  547. \let\maketitle\relax}%
  548.  
  549. %\newcount\@Signatures
  550. %\def\Signatures#1{\global\@Signatures=#1\relax}
  551. % \Signatures{3} % number of signature lines
  552. \renewcommand\baselinestretch{2.0}
  553.  
  554. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  555. % The following commands define the copywrite page
  556. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  557. \newcommand\makecopyright{%
  558.  
  559. \thispagestyle{plain}
  560. \if@botnum
  561. \setlength{\headsep}{-50pt}
  562. \setlength{\topmargin}{3pt}
  563. % extra:
  564. \setlength{\footskip}{58pt}
  565. \else
  566. \setlength{\topmargin}{-8pt}
  567. \fi
  568. \null\vfil%
  569. \begin{center}%
  570. \vspace{+0.56in}
  571. \copyright \thisyear, \hskip 0.5em \@author
  572. \end{center}%
  573. \vfil\vfil\null%
  574. \if@twoside%
  575. \clearpage%
  576. \thispagestyle{plain}%
  577. \mbox{}%
  578. \fi
  579. \clearpage
  580. \let\makecopyright\relax}
  581.  
  582.  
  583.  
  584. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  585. % The following commands define the approve page
  586. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  587. \def \approvalpage{
  588. \thispagestyle{empty}
  589. {
  590.  
  591. \begin{singlespace}
  592.  
  593. \noindent {\bf We approve the thesis of Hao Bai.} \hfill \\
  594. \vspace{0.1in} \hfill
  595. \begin{minipage} {2.5in} \center {\bf Date of Signature}
  596. \end{minipage}
  597.  
  598. \vspace{1.2in}
  599.  
  600.  
  601. \noindent
  602. \begin {minipage} {5.45in}
  603. \vrule width 3in height 0.4pt \hfill \vrule width 1.5in height 0.4pt \\ Dr. Nasir Ghani \\ {\small Professor of USF in Engineering \\ Thesis Advisor, Chair of Committee }
  604. \end {minipage}
  605.  
  606. \vspace{0.5in}
  607.  
  608. \noindent
  609. \begin {minipage} {5.45in}
  610. \vrule width 3in height 0.4pt \hfill \vrule width 1.5in height 0.4pt \\ Dr. Richard Gitlin \\ {\small Professor of USF in Engineering }
  611. \end {minipage}
  612.  
  613.  
  614. \vspace{0.5in}
  615.  
  616. \noindent
  617. \begin {minipage} {5.45in}
  618. \vrule width 3in height 0.4pt \hfill \vrule width 1.5in height 0.4pt \\ Dr. Huseyin Arslan \\ {\small Professor of USF in Engineering }
  619. \end {minipage}
  620.  
  621.  
  622. \vspace{0.5in}
  623.  
  624. \noindent
  625. \begin {minipage} {5.45in}
  626. \vrule width 3in height 0.4pt \hfill \vrule width 1.5in height 0.4pt \\ Dr. Srinivas Katkoori \\ {\small Professor of USF in Computer Science }
  627. \end {minipage}
  628.  
  629.  
  630. \vspace{0.5in}
  631.  
  632. \noindent
  633. \begin {minipage} {5.45in}
  634. \vrule width 3in height 0.4pt \hfill \vrule width 1.5in height 0.4pt \\ Dr. Biswanath Mukherjee \\ {\small Professor of University of California, Davis \\ in Computer Science}
  635. \end {minipage}
  636.  
  637. \end{singlespace}
  638.  
  639. }
  640. \clearpage
  641.  
  642.  
  643. }
  644.  
  645.  
  646.  
  647.  
  648.  
  649. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  650. % The following commands define the dedication page
  651. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  652. \newenvironment{dedication}{%
  653. %\clearpage
  654. %removed extra unnecessary clearpage -D. Murrell
  655. \renewcommand\baselinestretch{2.0}\selectfont
  656. \vspace*{24.5\p@}%
  657. \thispagestyle{plain}
  658. \if@botnum
  659. % \setlength{\headsep}{-42pt}
  660. % \setlength{\topmargin}{-6pt}
  661. \else
  662. % \setlength{\headheight}{-2pt}
  663. % \setlength{\topmargin}{-666pt}
  664. \fi
  665. %\null\vfil%
  666.  
  667. \begin{center}
  668. %\if@botnum
  669. % \vspace{.82in} %change this if "Dedication" is too high/low
  670. %\else
  671. % \vspace{-.12in} %change this if "Dedication" is too high/low
  672. %\fi
  673. %\Huge \bfseries Dedication
  674. \bfseries Dedication
  675. \end{center}
  676. %\itshape
  677. %\null\vfil%
  678.  
  679. %\vspace{\p@}
  680. \begin{center}}%
  681. {\end{center}%\par\vfil\vfil\null%
  682. \if@twoside%
  683. \clearpage%
  684. \thispagestyle{plain}%
  685. \mbox{}%
  686. \fi%
  687. }
  688. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  689. % The following commands define the 'singlespace' environment
  690. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  691. \def\singlespace{%
  692. % \vskip\parskip%
  693. % \vskip\baselineskip%
  694. \def\baselinestretch{1}%
  695. \ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
  696. % \vskip-\parskip%
  697. % \vskip-\baselineskip%
  698. }
  699.  
  700. \def\endsinglespace{\null}%\par
  701.  
  702.  
  703.  
  704. \def\halfspace{%
  705. % \vskip\parskip%
  706. % \vskip\baselineskip%
  707. \def\baselinestretch{0.5}%
  708. \ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
  709. % \vskip-\parskip%
  710. % \vskip-\baselineskip%
  711. }
  712.  
  713. \def\endhalfspace{\null}%\par
  714. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  715. % The following commands define the acknowledgments page
  716. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  717. \newenvironment{acknowledgments}{%
  718. %\clearpage
  719. %removed extra unnecessary clearpage -D. Murrell
  720. \renewcommand\baselinestretch{2}\selectfont
  721. \thispagestyle{plain}
  722. \if@botnum
  723. % \setlength{\headsep}{-42pt}
  724. % \setlength{\topmargin}{-6pt}
  725. \else
  726. % \setlength{\headheight}{-2pt}
  727. % \setlength{\topmargin}{-666pt}
  728. \fi
  729. %\null\vfil%
  730. \clearpage
  731. \vspace*{6.5\p@}%
  732. \begin{center}
  733. %\if@botnum
  734. % \vspace{.82in} %change this if "Dedication" is too high/low
  735. %\else
  736. % \vspace{-.12in} %change this if "Dedication" is too high/low
  737. %\fi
  738. %\Huge \bfseries Dedication
  739. {\bfseries Acknowledgments}
  740. \end{center}
  741. %\itshape
  742. %\null\vfil%
  743.  
  744. %\vspace{\p@}
  745. }%
  746. {%\par\vfil\vfil\null%
  747. \if@twoside%
  748. \clearpage%
  749. \thispagestyle{plain}%
  750. \mbox{}%
  751. \fi%
  752. }
  753.  
  754. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  755. % The following commands define the abstract title page
  756. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  757. \newcommand\maketitleabstract{%
  758. %\clearpage
  759. \thisfancypage{}{%
  760. \setlength{\fboxsep}{-6pt}%
  761. \singlebox
  762. }
  763. %\@maketitleabstract
  764. % \if@twoside\begin{titlepage}\mbox{}\end{titlepage}\fi
  765. %\clearpage
  766. \@resetpagesize
  767. % \addcontentsline{toc}{chapter}{Abstract}%
  768. \if@twoside%
  769. \thispagestyle{empty}%
  770. \mbox{}%
  771. %\clearpage%
  772. \fi
  773. }
  774.  
  775. \newcommand\@maketitleabstract{%
  776. %\thispagestyle{empty}
  777. %
  778. \setlength{\textheight}{614pt}
  779. \setlength{\textwidth}{427.5pt}
  780. \setlength{\topmargin}{-4pt}
  781. \setlength{\headheight}{4pt}
  782. \setlength{\headsep}{4pt}
  783. \setlength{\footskip}{4pt}
  784. %
  785. \let\footnotesize\small
  786. % \let\footnoterule\relax
  787. \null\vfil%
  788. \begin{center}%
  789. {\LARGE\bf \@title}
  790. \par\vskip 60pt plus2pt minus30pt
  791. by
  792. \par\vskip 9pt
  793. {\large\bf \@author}
  794. \par\vskip 20pt plus6pt minus51pt
  795. {\large \MakeUppercase{\abstractname\ of \@documenttype}}
  796. \par\vskip 12pt
  797. \@degreetext
  798. \par\vskip 12pt
  799. {\large \@degree}
  800. \par\vskip 6pt
  801. The \@schoolname \par
  802. \@schooladdress
  803. \par\vskip 6pt
  804. \@date
  805. \par
  806. \end{center}
  807. \vfil\null%
  808. %\if@twoside\begin{titlepage} \setcounter{page}{0}\mbox{} \end{titlepage}\fi
  809. \let\maketitleabstract\relax}%
  810. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  811. % The following commands define the abstract page
  812. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  813. \newenvironment{abstract}{%
  814. \if@botnum
  815. %\setlength{\headsep}{07pt}
  816. \setlength{\headsep}{-22pt}
  817. \else
  818. \setlength{\headsep}{22pt}
  819. \setlength{\headheight}{30pt}
  820. \fi
  821. \if@twoside
  822. \setlength{\headsep}{25pt}
  823. \fi
  824. \thispagestyle{plain}
  825. % \null\vfil%
  826. \null%
  827. \begin{center}%
  828. {\LARGE\bf \@title}
  829. \par\vskip 20pt plus2pt minus9pt
  830. by
  831. \par\vskip 6pt
  832. {\large\bf \@author}
  833. \par\vskip 12pt
  834. {\large \@previousdegrees}
  835. \par
  836. {\large \@degreesubject, \@schoolname, \thisyear}
  837. \par\vskip 36pt
  838. \large \bfseries \abstractname
  839. \@endparpenalty\@M
  840. \end{center}}%
  841.  
  842. {\vfill}
  843. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  844. \newcommand*\chaptermark[1]{}
  845. \setcounter{secnumdepth}{2}
  846. \newcounter {part}
  847. \newcounter {chapter}
  848. \newcounter {section}[chapter]
  849. \newcounter {subsection}[section]
  850. \newcounter {subsubsection}[subsection]
  851. \newcounter {paragraph}[subsubsection]
  852. \newcounter {subparagraph}[paragraph]
  853. \renewcommand\thepart {\@Roman\c@part}
  854. \renewcommand\thechapter {\@arabic\c@chapter}
  855. \renewcommand\thesection {\thechapter.\@arabic\c@section}
  856. \renewcommand\thesubsection {\thesection.\@arabic\c@subsection}
  857. \renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection}
  858. \renewcommand\theparagraph {\thesubsubsection.\@arabic\c@paragraph}
  859. \renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
  860. \newcommand\@chapapp{\chaptername}
  861. \newcommand\frontmatter{\cleardoublepage
  862. \@mainmatterfalse\pagestyle{plain}\pagenumbering{roman}}
  863. \newcommand\mainmatter{\cleardoublepage
  864. \@mainmattertrue\pagestyle{plain}\pagenumbering{arabic}}
  865. \newcommand\backmatter{\if@openright\cleardoublepage\else\clearpage\fi
  866. \@mainmatterfalse}
  867. \newcommand\part{\cleardoublepage
  868. \thispagestyle{plain}%
  869. \hbox{}\vfil
  870. \secdef\@part\@spart}
  871.  
  872. \def\@part[#1]#2{%
  873. \ifnum \c@secnumdepth >-2\relax
  874. \refstepcounter{part}%
  875. \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
  876. \else
  877. \addcontentsline{toc}{part}{#1}%
  878. \fi
  879. \markboth{}{}
  880. {\centering
  881. \interlinepenalty \@M
  882. \normalfont
  883. \ifnum \c@secnumdepth >-2\relax
  884. \huge\bfseries \partname~\thepart
  885. \par
  886. \vskip 20\p@
  887. \fi
  888. \Huge \bfseries #2\par}%
  889. \@endpart}
  890. \def\@spart#1{%
  891. {\centering
  892. \interlinepenalty \@M
  893. \normalfont
  894. \Huge \bfseries #1\par}%
  895. \@endpart}
  896. \def\@endpart{\vfil\newpage
  897. \if@twoside
  898. \hbox{}%
  899. \thispagestyle{plain}%
  900. \newpage
  901. \fi}
  902. \newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
  903. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  904. % Modified from \thispagestyle{plain} in order to conform to
  905. % specifications in the dissertation submission guidelines.
  906. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  907. \thispagestyle{plain}%
  908. \global\@topnum\z@
  909. \@afterindentfalse
  910. \secdef\@chapter\@schapter}
  911. \def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
  912. \if@mainmatter
  913. \refstepcounter{chapter}%
  914. \typeout{\@chapapp\space\thechapter.}%
  915. \addcontentsline{toc}{chapter}%
  916. {{Chapter}{} \protect\numberline{\thechapter}#1}%
  917. \else
  918. \addcontentsline{toc}{chapter}{#1}%
  919. \fi
  920. \else
  921. \addcontentsline{toc}{chapter}{#1}%
  922. \fi
  923. \chaptermark{#1}%
  924. \addtocontents{lof}{\protect\addvspace{0\p@}}%
  925. \addtocontents{lot}{\protect\addvspace{0\p@}}%
  926. \@makechapterhead{#2}%
  927. \@afterheading}
  928. \def\@makechapterhead#1{%
  929. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  930. % Changed spacing from 50pt to 40pt
  931. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  932. %\setlength{\textheight}{-11pt}
  933. %\begin{flushright}
  934. % \raisebox{0in}{\thepage}
  935. %\end{flushright}
  936.  
  937. %chapter 1
  938. \vspace*{13.5\p@}%
  939. {\parindent \z@ \raggedright \normalfont
  940. \ifnum \c@secnumdepth >\m@ne
  941. \if@mainmatter
  942. \centering \bfseries {\@chapapp}{} \thechapter {} {#1}
  943. \par\nobreak
  944. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  945. % Changed spacing from 20pt to 15pt
  946. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  947.  
  948. %Introduction name
  949. \vskip 13.5\p@
  950. \fi
  951. \fi
  952. %\interlinepenalty\@M
  953. %\Huge \bfseries \MakeUppercase{#1}\par\nobreak
  954. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  955. % Changed spacing from 40pt to 35pt
  956. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  957.  
  958. %Contents, List of Figures, List of Tables
  959. %\vskip 45\p@
  960. }}
  961. \def\@schapter#1{\@makeschapterhead{#1}%
  962. \@afterheading}
  963. \def\@makeschapterhead#1{%
  964. \vspace*{26\p@}%
  965. {\parindent \z@ \raggedright
  966. \normalfont
  967. \interlinepenalty\@M
  968. \vspace*{1\baselineskip}
  969. \centering \bfseries #1\par\nobreak
  970. \vskip 13.5\p@
  971. %\vskip 40\p@
  972. }}
  973. \newcommand\section{\@startsection {section}{1}{\z@}%
  974. %{-3.5ex \@plus -1ex \@minus -.2ex}%
  975. {0ex}
  976. %{2.3ex \@plus.2ex}%
  977. %{1.5ex \@plus .2ex}%
  978. {0.00001pt}
  979. {\normalfont \bfseries}}
  980. \newcommand\subsection{\@startsection{subsection}{2}{\z@}%
  981. %{-3.25ex\@plus -1ex \@minus -.2ex}%
  982. {0ex}
  983. %{1.5ex \@plus .2ex}%
  984. {0.0001pt}
  985. {\normalfont \bfseries}}
  986. \newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
  987. {-3.25ex\@plus -1ex \@minus -.2ex}%
  988. {1.5ex \@plus .2ex}%
  989. {\normalfont\normalsize\bfseries}}
  990. \newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
  991. {3.25ex \@plus1ex \@minus.2ex}%
  992. {-1em}%
  993. {\normalfont\normalsize\bfseries}}
  994. \newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
  995. {3.25ex \@plus1ex \@minus .2ex}%
  996. {-1em}%
  997. {\normalfont\normalsize\bfseries}}
  998. \setlength\leftmargini {2.5em}
  999. \setlength\leftmarginii {2.2em}
  1000. \setlength\leftmarginiii {1.87em}
  1001. \setlength\leftmarginiv {1.7em}
  1002. \setlength\leftmarginv {1em}
  1003. \setlength\leftmarginvi {1em}
  1004. \setlength\leftmargin {\leftmargini}
  1005. \setlength \labelsep {.5em}
  1006. \setlength \labelwidth{\leftmargini}
  1007. \addtolength\labelwidth{-\labelsep}
  1008. \@beginparpenalty -\@lowpenalty
  1009. \@endparpenalty -\@lowpenalty
  1010. \@itempenalty -\@lowpenalty
  1011. \renewcommand\theenumi{\@arabic\c@enumi}
  1012. \renewcommand\theenumii{\@alph\c@enumii}
  1013. \renewcommand\theenumiii{\@roman\c@enumiii}
  1014. \renewcommand\theenumiv{\@Alph\c@enumiv}
  1015. \newcommand\labelenumi{\theenumi.}
  1016. \newcommand\labelenumii{(\theenumii)}
  1017. \newcommand\labelenumiii{\theenumiii.}
  1018. \newcommand\labelenumiv{\theenumiv.}
  1019. \renewcommand\p@enumii{\theenumi}
  1020. \renewcommand\p@enumiii{\theenumi(\theenumii)}
  1021. \renewcommand\p@enumiv{\p@enumiii\theenumiii}
  1022. \newcommand\labelitemi{$\m@th\bullet$}
  1023. \newcommand\labelitemii{\normalfont\bfseries --}
  1024. \newcommand\labelitemiii{$\m@th\ast$}
  1025. \newcommand\labelitemiv{$\m@th\cdot$}
  1026. \newenvironment{description}
  1027. {\list{}{\labelwidth\z@ \itemindent-\leftmargin
  1028. \let\makelabel\descriptionlabel}}
  1029. {\endlist}
  1030. \newcommand*\descriptionlabel[1]{\hspace\labelsep
  1031. \normalfont\bfseries #1}
  1032. \newenvironment{verse}
  1033. {\let\\=\@centercr
  1034. \list{}{\itemsep \z@
  1035. \itemindent -1.5em%
  1036. \listparindent\itemindent
  1037. \rightmargin \leftmargin
  1038. \advance\leftmargin 1.5em}%
  1039. \item[]}
  1040. {\endlist}
  1041. \newenvironment{quotation}
  1042. {\list{}{\listparindent 1.5em%
  1043. \itemindent \listparindent
  1044. \rightmargin \leftmargin
  1045. \parsep \z@ \@plus\p@}%
  1046. \item[]}
  1047. {\endlist}
  1048. \newenvironment{quote}
  1049. {\list{}{\rightmargin\leftmargin}%
  1050. \item[]}
  1051. {\endlist}
  1052. \newenvironment{titlepage}
  1053. {%
  1054. \cleardoublepage
  1055. \newpage
  1056. \thispagestyle{empty}%
  1057. \if@compatibility
  1058. \setcounter{page}{0}
  1059. \fi}%
  1060. {\newpage}
  1061. \newcommand\appendix{\par
  1062. \setcounter{chapter}{0}%
  1063. \setcounter{section}{0}%
  1064. \renewcommand\@chapapp{\appendixname}%
  1065. \renewcommand\thechapter{\@Alph\c@chapter}}
  1066. \setlength\arraycolsep{5\p@}
  1067. \setlength\tabcolsep{6\p@}
  1068. \setlength\arrayrulewidth{.4\p@}
  1069. \setlength\doublerulesep{2\p@}
  1070. \setlength\tabbingsep{\labelsep}
  1071. \skip\@mpfootins = \skip\footins
  1072. \setlength\fboxsep{3\p@}
  1073. \setlength\fboxrule{.4\p@}
  1074. \@addtoreset{equation}{chapter}
  1075. \renewcommand\theequation{\thechapter.\@arabic\c@equation}
  1076. \newcounter{figure}[chapter]
  1077. \renewcommand\thefigure{\thechapter.\@arabic\c@figure}
  1078. \def\fps@figure{tbp}
  1079. \def\ftype@figure{1}
  1080. \def\ext@figure{lof}
  1081. \def\fnum@figure{\figurename~\thefigure}
  1082. \newenvironment{figure}
  1083. {\singlespace\@float{figure}}
  1084. {\endsinglespace\end@float}
  1085. \newenvironment{figure*}
  1086. {\singlespace\@dblfloat{figure}}
  1087. {\endsinglespace\end@dblfloat}
  1088. \newcounter{table}[chapter]
  1089. \renewcommand\thetable{\thechapter.\@arabic\c@table}
  1090. \def\fps@table{tbp}
  1091. \def\ftype@table{2}
  1092. \def\ext@table{lot}
  1093. \def\fnum@table{\tablename~\thetable}
  1094. \newenvironment{table}
  1095. {\singlespace\@float{table}}
  1096. {\endsinglespace\end@float}
  1097. \newenvironment{table*}
  1098. {\singlespace\@dblfloat{table}}
  1099. {\endsinglespace\end@dblfloat}
  1100. \newlength\abovecaptionskip
  1101. \newlength\belowcaptionskip
  1102. \setlength\abovecaptionskip{10\p@}
  1103. \setlength\belowcaptionskip{0\p@}
  1104. \long\def\@makecaption#1#2{%
  1105. \vskip\abovecaptionskip
  1106. \sbox\@tempboxa{#1: #2}%
  1107. \ifdim \wd\@tempboxa >\hsize
  1108. #1: #2\par
  1109. \else
  1110. \global \@minipagefalse
  1111. \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
  1112. \fi
  1113. \vskip\belowcaptionskip}
  1114. \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
  1115. \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
  1116. \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
  1117. \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
  1118. \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
  1119. \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
  1120. \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
  1121. \DeclareRobustCommand*\cal{\@fontswitch{\relax}{\mathcal}}
  1122. \DeclareRobustCommand*\mit{\@fontswitch{\relax}{\mathnormal}}
  1123. \newcommand\@pnumwidth{1.55em}
  1124. \newcommand\@tocrmarg{2.55em}
  1125. %below define the dot type (like in toc) set it to a large number will vanish the dot
  1126. %\newcommand\@dotsep{4.5}
  1127. \newcommand\@dotsep{1000}
  1128. \setcounter{tocdepth}{2}
  1129. \newcommand\tableofcontents{%
  1130. \begin{halfspace}
  1131. \chapter*{\contentsname
  1132. \vspace*{6\p@}
  1133. \@mkboth{%
  1134. \contentsname}{\contentsname}}%
  1135. \thispagestyle{plain}
  1136. \@starttoc{toc}%
  1137. \end{halfspace}
  1138. }
  1139. \newcommand*\l@part[2]{%
  1140. \ifnum \c@tocdepth >-2\relax
  1141. \addpenalty{-\@highpenalty}%
  1142. \addvspace{2.25em \@plus\p@}%
  1143. \begingroup
  1144. \setlength\@tempdima{3em}%
  1145. \parindent \z@ \rightskip \@pnumwidth
  1146. \parfillskip -\@pnumwidth
  1147. {\leavevmode
  1148. \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
  1149. \nobreak
  1150. \global\@nobreaktrue
  1151. \everypar{\global\@nobreakfalse\everypar{}}
  1152. \endgroup
  1153. \fi}
  1154. \newcommand*\l@chapter[2]{%
  1155. \ifnum \c@tocdepth >\m@ne
  1156. \addpenalty{-\@highpenalty}%
  1157. %below define space between each chapter in TOC
  1158. \vskip 1em \@plus\p@
  1159. \setlength\@tempdima{1.5em}%
  1160. \begingroup
  1161. \parindent \z@ \rightskip \@pnumwidth
  1162. \parfillskip -\@pnumwidth
  1163. %below define the format of each section in toc
  1164. \leavevmode %\bfseries
  1165. \advance\leftskip\@tempdima
  1166. \hskip -\leftskip
  1167. #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
  1168. \penalty\@highpenalty
  1169. \endgroup
  1170. \fi}
  1171. \newcommand*\l@section{\@dottedtocline{1}{3.8em}{2.3em}}
  1172. \newcommand*\l@subsection{\@dottedtocline{2}{7.6em}{3.2em}}
  1173. \newcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}}
  1174. \newcommand*\l@paragraph{\@dottedtocline{4}{10em}{5em}}
  1175. \newcommand*\l@subparagraph{\@dottedtocline{5}{12em}{6em}}
  1176. \newcommand\listoffigures{
  1177. \begin{halfspace}
  1178. \chapter*{\listfigurename
  1179. \addcontentsline{toc}{chapter}{List of Figures}%
  1180. \vspace*{16\p@}
  1181. \@mkboth{\listfigurename}%
  1182. {\listfigurename}}%
  1183. \thispagestyle{plain}
  1184. \@starttoc{lof}%
  1185. \end{halfspace}
  1186. }
  1187. \newcommand*\l@figure{\@dottedtocline{2}{1.5em}{2.8em}}
  1188. \newcommand\listoftables{%
  1189. \begin{halfspace}
  1190. \chapter*{\listtablename
  1191. \addcontentsline{toc}{chapter}{List of Tables}%
  1192. \vspace*{18.5\p@}
  1193. \@mkboth{%
  1194. \listtablename}{\listtablename} }%
  1195. \thispagestyle{plain}
  1196. \@starttoc{lot}%
  1197. \end{halfspace}
  1198. }
  1199. \let\l@table\l@figure
  1200. \newdimen\bibindent
  1201. \bibindent=1.5em
  1202. \newenvironment{thebibliography}[1]
  1203. {\chapter*{\bibname
  1204. \@mkboth{\bibname}{\bibname}}%
  1205. \addcontentsline{toc}{chapter}{References}%
  1206. \vspace*{13.5\p@}
  1207.  
  1208. \list{\@biblabel{\@arabic\c@enumiv}}%
  1209. {\settowidth\labelwidth{\@biblabel{#1}}%
  1210. \leftmargin\labelwidth
  1211. \advance\leftmargin\labelsep
  1212. \if@openbib
  1213. \advance\leftmargin\bibindent
  1214. \itemindent -\bibindent
  1215. \listparindent \itemindent
  1216. \parsep \z@
  1217. \fi
  1218. % remove next line if double-spacing the bibliography.
  1219. % Single spacing is allowed for more than 60 references.
  1220. \singlespace
  1221. \usecounter{enumiv}%
  1222. \let\p@enumiv\@empty
  1223. \renewcommand\theenumiv{\@arabic\c@enumiv}}%
  1224. \if@openbib
  1225. \renewcommand\newblock{\par}%
  1226. \else
  1227. \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}%
  1228. \fi
  1229. \sloppy\clubpenalty4000\widowpenalty4000%
  1230. \sfcode`\.=\@m}
  1231. {\def\@noitemerr
  1232. {\@latex@warning{Empty `thebibliography' environment}}%
  1233. \endlist}
  1234. \newcommand\newblock{}
  1235. \newenvironment{theindex}
  1236. {\columnseprule \z@
  1237. \columnsep 35\p@
  1238. \twocolumn[\@makeschapterhead{\indexname}]%
  1239. \@mkboth{\indexname}%
  1240. {\indexname}%
  1241. \thispagestyle{plain}\parindent\z@
  1242. \parskip\z@ \@plus .3\p@\relax
  1243. \let\item\@idxitem}
  1244. {\clearpage}
  1245. \newcommand\@idxitem{\par\hangindent 40\p@}
  1246. \newcommand\subitem{\par\hangindent 40\p@ \hspace*{20\p@}}
  1247. \newcommand\subsubitem{\par\hangindent 40\p@ \hspace*{30\p@}}
  1248. \newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
  1249. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  1250. % Redefined the environment 'glossary'
  1251. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  1252. \renewenvironment{glossary}[1]%
  1253. {\chapter*{\vspace*{-29\p@} \glossaryname
  1254. \addcontentsline{toc}{chapter}{Glossary}%
  1255. \@mkboth{\glossaryname}{\glossaryname}}%
  1256. \singlespace
  1257. \vspace*{13.5\p@}
  1258. \thispagestyle{plain}
  1259. \singlespace
  1260. \list{}{
  1261. \let\makelabel\glossarylabel%
  1262. \settowidth\labelwidth{#1}%
  1263. \labelsep 2\labelsep%
  1264. \itemindent 0in%
  1265. \leftmargin \labelwidth%
  1266. \advance\leftmargin\labelsep}}
  1267. {\endlist}
  1268. \newcommand*\glossarylabel[1]{#1\hfil}
  1269. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  1270. \renewcommand\footnoterule{%
  1271. \kern-3\p@
  1272. \hrule\@width.4\columnwidth
  1273. \kern2.6\p@}
  1274. \@addtoreset{footnote}{chapter}
  1275. \long\def\@makefntext#1{%
  1276. \singlespace
  1277. \parindent 1em%
  1278. \noindent
  1279. \hb@xt@1.8em{\hss\@makefnmark}#1\endsinglespace}
  1280. \newcommand\contentsname{Table of Contents}
  1281. \newcommand\listfigurename{List of Figures}
  1282. \newcommand\listtablename{List of Tables}
  1283. \newcommand\bibname{References}
  1284. \newcommand\indexname{Index}
  1285. \newcommand\figurename{Figure}
  1286. \newcommand\tablename{Table}
  1287. \newcommand\partname{Part}
  1288. \newcommand\chaptername{Chapter}
  1289. \newcommand\appendixname{Appendix}
  1290. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  1291. % Defined new commands \abstractname, \acknowledgname and \glossaryname.
  1292. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  1293. \newcommand\abstractname{Abstract}
  1294. \newcommand\acknowledgname{Acknowledgments}
  1295. \newcommand\glossaryname{Glossary}
  1296. \newcommand\symbolsname{Symbols}
  1297. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  1298. % Modified \today to return just the month and year.
  1299. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  1300. \newcommand\today{\ifcase\month\or
  1301. January\or February\or March\or April\or May\or June\or
  1302. July\or August\or September\or October\or November\or December\fi
  1303. , \number\year}
  1304. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  1305. % Defined new command \thisyear.
  1306. %::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  1307. \newcommand\thisyear{\number\year}
  1308. \setlength\columnsep{10\p@}
  1309. \setlength\columnseprule{0\p@}
  1310. \pagestyle{plain}
  1311. \pagenumbering{arabic}
  1312. \onecolumn
  1313. \endinput
  1314. %%
  1315. %% End of file `unmeethesis.cls'.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement