% EETHE12 DOCUMENT STYLE -- Ver. 2.21 released 5 July 1991
% EETHE12 DOCUMENT STYLE -- Ver. 2.2 released 20 November 1990
% EETHE12 DOCUMENT STYLE -- Ver. 2.1 released 20 June 1989
% file EETHE12.DOC
% Adapted from report.sty for LaTeX version 2.09
% Copyright (C) 1985 by Leslie Lamport
% fixed problems with \part command 5-3-89 --- RLO
% fixed problemw with \part command 4-17-91 --- Ken
% fixed problemw with \appendix that does not reset the equation number
% that every time when \appendix start.
%
% ****************************************
% * FONTS *
% ****************************************
%
% thesis mod
\def\tocspace{\baselineskip=16pt}
\def\singlespace{\baselineskip=12pt}
\def\refspace{\baselineskip=15pt}
\def\doublespace{\baselineskip=24pt}
\def\body{
\pagenumbering{arabic}\setcounter{page}{1}
\doublespace
\setlength{\headheight}{12pt}
\pagestyle{myheadings}
\def\@thefnmark{\char32}
\@footnotetext{\normalsize Journal model is {\sl IEEE}
{\sl Transactions on Automatic Control.}}\setcounter{footnote}{0}}
%
\lineskip 1pt % \lineskip is 1pt for all font sizes.
\normallineskip 1pt
\def\baselinestretch{1}
% Each size-changing command \SIZE executes the command
% \@setsize\SIZE{BASELINESKIP}\FONTSIZE\@FONTSIZE
% where:
% BASELINESKIP = Normal value of \baselineskip for that size. (Actual
% value will be \baselinestretch * BASELINESKIP.)
%
% \FONTSIZE = Name of font-size command. The currently available
% (preloaded) font sizes are: \vpt (5pt), \vipt (6pt),
% \viipt (etc.), \viiipt, \ixpt, \xpt, \xipt, \xiipt,
% \xivpt, \xviipt, \xxpt, \xxvpt.
% \@FONTSIZE = The same as the font-size command except with an
% '@' in front---e.g., if \FONTSIZE = \xivpt then
% \@FONTSIZE = \@xivpt.
%
% For reasons of efficiency that needn't concern the designer,
% the document style defines \@normalsize instead of \normalsize . This is
% done only for \normalsize, not for any other size-changing commands.
% ****************************************
% * PAGE LAYOUT *
% ****************************************
%
% All margin dimensions measured from a point one inch from top and side
% of page.
% SIDE MARGINS:
%\if@twoside % Values for two-sided printing:
% \oddsidemargin 21pt % Left margin on odd-numbered pages.
% \evensidemargin 59pt % Left margin on even-numbered pages.
% \marginparwidth 85pt % Width of marginal notes.
%\else % Values for one-sided printing:
% \oddsidemargin 39.5pt % Note that \oddsidemargin = \evensidemargin
% \evensidemargin 39.5pt
% \marginparwidth 68pt
%\fi
%
% thesis mod
\oddsidemargin .375in
\evensidemargin .375in
\marginparwidth 68pt
%
\marginparsep 10pt % Horizontal space between outer margin and
% marginal note
% VERTICAL SPACING:
% Top of page:
%\topmargin 27pt % Nominal distance from top of page to top of
%
% thesis mod
\topmargin -.5in % *** move the page number to the center between top
\headsep 42pt % *** edge and blue line. ******** K. C. 12-4-89
%\topmargin -.15in % Nominal distance from top of page to top of
% box containing running head.
\headheight 12pt % Height of box containing running head.
%\headsep 15pt % Space between running head and text.
% \topskip = 10pt % '\baselineskip' for first line of page.
% Bottom of page:
\footheight 12pt % Height of box containing running foot.
\footskip 30pt % Distance from baseline of box containing foot
% to baseline of last line of text.
% DIMENSION OF TEXT:
%\textheight 536.5pt % Height of text (including footnotes and figures,
% % excluding running head and foot).
%\textwidth 390pt % Width of text line.
%
% thesis mod
\textheight 8.5in % Height of text (including footnotes and figures,
% excluding running head and foot).
\textwidth 6in % Width of text line.
%
% For two-column mode:
\columnsep 10pt % Space between columns
\columnseprule 0pt % Width of rule between columns.
% A \raggedbottom command causes 'ragged bottom' pages: pages set to
% natural height instead of being stretched to exactly \textheight.
% FOOTNOTES:
\footnotesep 14pt % Height of strut placed at the beginning of every
% footnote
\skip\footins 8pt plus 2pt minus 4pt % Space between last line of text and
% top of first footnote.
% FLOATS: (a float is something like a figure or table)
%
% FOR FLOATS ON A TEXT PAGE:
%
% ONE-COLUMN MODE OR SINGLE-COLUMN FLOATS IN TWO-COLUMN MODE:
\floatsep 14pt plus 2pt minus 4pt % Space between adjacent floats moved
% to top or bottom of text page.
\textfloatsep 20pt plus 2pt minus 4pt % Space between main text and floats
% at top or bottom of page.
\intextsep 14pt plus 4pt minus 4pt % Space between in-text figures and
% text.
\@maxsep 20pt % The maximum of \floatsep,
% \textfloatsep and \intextsep (minus
% the stretch and shrink).
% TWO-COLUMN FLOATS IN TWO-COLUMN MODE:
% thesis mod does not handle two-column mode
%\dblfloatsep 14pt plus 2pt minus 4pt % Same as \floatsep for double-column
% % figures in two-column mode.
%\dbltextfloatsep 20pt plus 2pt minus 4pt % \textfloatsep for double-column
% % floats.
%\@dblmaxsep 20pt % The maximum of \dblfloatsep and
% % \dbltexfloatsep.
% FOR FLOATS ON A SEPARATE FLOAT PAGE OR COLUMN:
% ONE-COLUMN MODE OR SINGLE-COLUMN FLOATS IN TWO-COLUMN MODE:
\@fptop 0pt plus 1fil % Stretch at top of float page/column. (Must be
% 0pt plus ...)
\@fpsep 10pt plus 2fil % Space between floats on float page/column.
\@fpbot 0pt plus 1fil % Stretch at bottom of float page/column. (Must be
% 0pt plus ... )
% DOUBLE-COLUMN FLOATS IN TWO-COLUMN MODE.
% thesis mod does not handle two-column mode
%\@dblfptop 0pt plus 1fil % Stretch at top of float page. (Must be 0pt plus ...)
%\@dblfpsep 10pt plus 2fil % Space between floats on float page.
%\@dblfpbot 0pt plus 1fil % Stretch at bottom of float page. (Must be
% % 0pt plus ... )
% MARGINAL NOTES:
%
\marginparpush 7pt % Minimum vertical separation between two marginal
% notes.
% ****************************************
% * PARAGRAPHING *
% ****************************************
%
%\parskip 0pt plus 1pt % Extra vertical space between paragraphs.
%\parindent 1.5em % Width of paragraph indentation.
%
% thesis mod
\parskip 0pt % No extra vertical space between paragraphs.
\parindent 2em % Width of paragraph indentation.
%
\topsep 10pt plus 4pt minus 6pt % Extra vertical space, in addition to
% \parskip, added above and below list and
% paragraphing environments.
\partopsep 3pt plus 2pt minus 2pt % Extra vertical space, in addition to
% \parskip and \topsep, added when user
% leaves blank line before environment.
\itemsep 5pt plus 2.5pt minus 1pt % Extra vertical space, in addition to
% \parskip, added between list items.
% The following page-breaking penalties are defined
\@lowpenalty 51 % Produced by \nopagebreak[1] or \nolinebreak[1]
\@medpenalty 151 % Produced by \nopagebreak[2] or \nolinebreak[2]
\@highpenalty 301 % Produced by \nopagebreak[3] or \nolinebreak[3]
\@beginparpenalty -\@lowpenalty % Before a list or paragraph environment.
\@endparpenalty -\@lowpenalty % After a list or paragraph environment.
\@itempenalty -\@lowpenalty % Between list items.
% \clubpenalty % 'Club line' at bottom of page.
% \widowpenalty % 'Widow line' at top of page.
% \displaywidowpenalty % Math display widow line.
% \predisplaypenalty % Breaking before a math display.
% \postdisplaypenalty % Breaking after a math display.
% \interlinepenalty % Breaking at a line within a paragraph.
% \brokenpenalty % Breaking after a hyphenated line.
\def\part{\par % \par is added by Ken 4-17-91
% thesis mod
% \cleardoublepage % Starts new page.
% \thispagestyle{plain} % Page style of part page is 'plain'
\stepcounter{section}
\setcounter{section}{0}
\@afterindentfalse
%
\if@twocolumn % IF two-column style
\onecolumn % THEN \onecolumn
\@tempswatrue % @tempswa := true
\else \@tempswafalse % ELSE @tempswa := false
\fi % FI
\hbox{}%\vfil % Add fil glue to center title
\bgroup \centering % BEGIN centering
\secdef\@part\@spart}
\def\@part[#1]#2{\ifnum \c@secnumdepth >-2\relax % IF secnumdepth > -2
\refstepcounter{part} % THEN step part counter
\addcontentsline{toc}{part}{\thepart % add toc line
\hspace{1em}#1}\else % ELSE add unnumbered line
\addcontentsline{toc}{part}{#1}\fi % FI
\markboth{}{}
\ifnum \c@secnumdepth >-2\relax % IF secnumdepth > -2
%
% thesis mod
% \huge\bf Part \thepart % THEN Print 'Part' and number
% \par % in \huge bold.
% \vskip 20pt \fi % Add space before title.
% \Huge \bf % FI
% #1\@endpart} % Print Title in \Huge bold.
\thepart\hspace{.6em} #1\@endpart\fi\par} % Print Title of Part
% \par is added by Ken 4-17-91
% \@endpart finishes the part page
%
\def\@endpart{\par\egroup % END centering
% \vfil\newpage % End page with 1fil glue.
\if@twoside % IF twoside printing
\hbox{} % THEN Produce totally blank page
\thispagestyle{empty}
\newpage
\fi % FI
\if@tempswa % IF @tempswa = true
\twocolumn % THEN \twocolumn
\fi} % FI
\def\@spart#1{\Huge \bf % Print title in \huge boldface
#1\@endpart}
% \@makechapterhead {TEXT} : Makes the heading for the \chapter command.
%
\def\@makechapterhead#1{ % Heading for \chapter command
% \vspace*{50pt} % Space at top of text page.
{ \parindent 0pt \raggedright
\ifnum \c@secnumdepth >\m@ne % IF secnumdepth > -1 THEN
% \huge\bf \@chapapp{} \thechapter % Print 'Chapter' and number.
%
% thesis mod
\centering \@chapapp{} \thechapter % Print 'Chapter' and number.
%
\par
\vskip 20pt \fi % Space between number and title.
% \Huge \bf % Title.
% #1\par
% Thesis mod
\uppercase{#1}\par
\nobreak % TeX penalty to prevent page break.
% \vskip 40pt % Space between title and text.
} }
% \@makeschapterhead {TEXT} : Makes the heading for the \chapter* command.
%
\def\@makeschapterhead#1{ % Heading for \chapter* command
% \vspace*{50pt} % Space at top of page.
{ \parindent 0pt \raggedright
% \Huge \bf % Title.
% thesis mod
\centering
%
% #1\par
% Thesis mod
\uppercase{#1}\par
\nobreak % TeX penalty to prevent page break.
\vskip 40pt % Space between title and text.
} }
% \secdef{UNSTARCMDS}{STARCMDS} :
% When defining a \chapter or \section command without using
% \@startsection, you can use \secdef as follows:
% \def\chapter { ... \secdef \CMDA \CMDB }
% \def\CMDA [#1]#2{ ... % Command to define \chapter[...]{...}
% \def\CMDB #1{ ... % Command to define \chapter*{...}
\def\chapter{\clearpage % Starts new page.
% \thispagestyle{plain} % Page style of chapter page is 'plain'
\global\@topnum\z@ % Prevents figures from going at top of page.
\@afterindentfalse % Suppresses indent in first paragraph. Change
\secdef\@chapter\@schapter} % to \@afterindenttrue to have indent.
\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
\refstepcounter{chapter}
\typeout{\@chapapp\space\thechapter.}
\addcontentsline{toc}{chapter}{\protect
\numberline{\thechapter}\uppercase{#1}}
\else\addcontentsline{toc}{chapter}{#1}\fi
\chaptermark{#1}
% \addtocontents{lof}{\protect\addvspace{10pt}} % Adds between-chapter space
% \addtocontents{lot}{\protect\addvspace{10pt}} % to lists of figs & tables.
\if@twocolumn % Tests for two-column mode.
\@topnewpage[\@makechapterhead{#2}]
\else \@makechapterhead{\uppercase{#2}}
\@afterheading % Routine called after chapter and
\fi} % section heading.
\def\@schapter#1{
% thesis mod
\if@twocolumn \@topnewpage[\@makeschapterhead{#1}]
\else \@makeschapterhead{#1}
\@afterheading\fi}
% \@startsection {NAME}{LEVEL}{INDENT}{BEFORESKIP}{AFTERSKIP}{STYLE}
% optional * [ALTHEADING]{HEADING}
% Generic command to start a section.
% NAME : e.g., 'subsection'
% LEVEL : a number, denoting depth of section -- e.g., chapter=1,
% section = 2, etc. A section number will be printed if
% and only if LEVEL < or = the value of the secnumdepth
% counter.
% INDENT : Indentation of heading from left margin
% BEFORESKIP : Absolute value = skip to leave above the heading.
% If negative, then paragraph indent of text following
% heading is suppressed.
% AFTERSKIP : if positive, then skip to leave below heading,
% else - skip to leave to right of run-in heading.
% STYLE : commands to set style
% If '*' missing, then increments the counter. If it is present, then
% there should be no [ALTHEADING] argument. A sectioning command
% is normally defined to \@startsection + its first six arguments.
\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus -1ex minus
% -.2ex}{2.3ex plus .2ex}{\Large\bf}}
-.2ex}{2.3ex plus .2ex}{\normalsize}}
\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus -1ex minus
% -.2ex}{1.5ex plus .2ex}{\large\bf}}
-.2ex}{1.5ex plus .2ex}{\normalsize\centering}}
\def\subsubsection{\@startsection{subsubsection}{2}{\z@}{-3.25ex plus
% -1ex minus -.2ex}{1.5ex plus .2ex}{\normalsize\bf}}
-1ex minus -.2ex}{1.5ex plus .2ex}{\normalsize}}
\def\paragraph{\@startsection
% {paragraph}{4}{\z@}{3.25ex plus 1ex minus .2ex}{-1em}{\normalsize\bf}}
{paragraph}{4}{\z@}{3.25ex plus 1ex minus .2ex}{-1em}{\normalsize}}
\def\subparagraph{\@startsection
{subparagraph}{4}{\parindent}{3.25ex plus 1ex minus
% .2ex}{-1em}{\normalsize\bf}}
.2ex}{-1em}{\normalsize}}
% The value of the counter secnumdepth gives the depth of the
% highest-level sectioning command that is to produce section numbers.
%
\setcounter{secnumdepth}{2}
% thesis mod - appendix is now defined above
% APPENDIX
%
% The \appendix command must do the following:
% -- reset the chapter counter to zero
% -- set \@chapapp to Appendix (for messages)
% -- redefine the chapter counter to produce appendix numbers
% -- reset the section counter to zero
% -- redefine the \chapter command if appendix titles and headings are
% to look different from chapter titles and headings.
% The following commands are used to set the default values for the list
% environment's parameters. See the LaTeX manual for an explanation of
% the meanings of the parameters. Defaults for the list environment are
% set as follows. First, \rightmargin, \listparindent and \itemindent
% are set to 0pt. Then, for a Kth level list, the command \@listK is
% called, where 'K' denotes 'i', 'ii', ... , 'vi'. (I.e., \@listiii is
% called for a third-level list.) By convention, \@listK should set
% \leftmargin to \leftmarginK.
%
% For efficiency, level-one list's values are defined at top level, and
% \@listi is defined to set only \leftmargin.
\leftmargin\leftmargini
\labelwidth\leftmargini\advance\labelwidth-\labelsep
\labelsep .5em
\parsep 5pt plus 2.5pt minus 1pt
\def\@listi{\leftmargin\leftmargini}
\def\@listii{\leftmargin\leftmarginii
\labelwidth\leftmarginii\advance\labelwidth-\labelsep
\topsep 5pt plus 2.5pt minus 1pt
\parsep 2.5pt plus 1pt minus 1pt
\itemsep \parsep}
\def\@listiii{\leftmargin\leftmarginiii
\labelwidth\leftmarginiii\advance\labelwidth-\labelsep
\topsep 2.5pt plus 1pt minus 1pt
\parsep \z@ \partopsep 1pt plus 0pt minus 1pt
\itemsep \topsep}