Professional Documents
Culture Documents
I. INTRODUCTION
bare_c
onf.tex, bare_jrnl.tex and bare_jrnl_compsoc.te x which are
work was supported by the IEEE. This work is distributed under the L TEX
2
A
A blank page may be inserted after the cover page when using the
twoside (duplex printing) option so that the beginning of the paper
does not appear on the back side of the cover page.
D. compsoc
This option invokes a mode by which IEEEtran mimics
the format of the publications of the IEEE Computer
Society. Notable compsoc mode format features include:
the default text font is changed from Times
Roman to Palatino/Palladio (non-conference compsoc
modes only);
revised margins;
Arabic section numbering;
enabling of the \IEEEcompsocitemizethanks and \I
EEEcompsocthanksitem commands to provide for the \thanks
The special paper notice (if used) will appear between the
author names and the title (not after as with journals).
F. oneside, twoside
G. onecolumn, twocolumn
These options allow the user to select between one and two
column text formatting. Since IEEE always uses two column
text, the onecolumn option is of interest only with draft papers.
H. romanappendices
CLASSINPUTs
I. captionsoff
J. nofonttune
IEEEtran normally alters the default interword spacing to
be like that used in IEEE publications. The result is text
that requires less hyphenation and generally looks more
pleasant, especially for two column text. The nofonttune
option will disable the adjustment of these font
parameters. This option should be of interest only to
those who are using fonts specifically designed or
modified for use with two column work.
III. THE CLASSINPUT, CLASSOPTION AND
CLASSINFO CONTROLS
IEEEtran offers three catagories of special commands
that allow information to be passed between the class
file and the users document:
CLASSINPUTs are inputs that provide a way to cus-tomize
the operation of IEEEtran by overriding some of the default
settings (at the time IEEEtran is loaded);
CLASSOPTIONs which are outputs that allow for conditional compilation based on which IEEEtran class
options have been selected;
\newcommand{\CLASSINPUTinnersidemargin}{17mm}
\documentclass{IEEEtran}
B. CLASSOPTIONs
will yield a document that has 17mm side marginsif only one
of the innerside/outerside (or toptext/bottomtext) margin pair is
specified, IEEEtran will assume the user wants sym-metric
side (or top/bottom) margins and will set both values of the
relavant pair to the (single) user specified value.
4
A
Users should treat the CLASSOPTIONs as being readonly and not attempt to manually alter their values
because IEEE-tran uses them internally as flags to
determine which options have been selectedchanging
these flags will likely result in improper formatting.
C. CLASSINFOs
A. Paper Title
The paper title is declared like:
B. Author Names
The name and associated information is declared with
the \author command. \author behaves slightly differently
depending on the document mode.
The \IEEEauthorrefmark{} command will generate a footnote symbol corresponding to the number in its
argument. Use this to link the author names to their
respective affiliations. It is not necessary prevent spaces
from being between the \IEEEa uthorblocks because each
Note that because the text in the running headings is automatically capitalized, the \MakeLowercase{} command must be used
to obtain lower case text. The second argument is used as a
page heading only for the odd number pages after the title
page for two sided (duplex) journal papers. This page is such
an example. Technote papers do not utilize the second
argument. Conference papers do not have running headings,
so \markboth{}{} has no effect when in conference mode. Authors
should not put any name information in the headings (if used)
of anonymous peer review papers.
4) Names in Compsoc Conference Mode: Names in comp-soc
conference mode are done in the same way as traditional
conference mode. However, because the compsoc conference
mode uses much larger margins, there is typically room for
only two (rather than three) affiliation columns before the
alternate single column format is required.
C. Running Headings
The running headings are declared with the \markboth{ }
{} command. The first argument contains the journal name
D. Publication ID Marks
Publication ID marks can be placed on the title page of
journal and technote papers via the \IEEEpubid{} command:
\IEEEpubid{0000--0000/00\$00.00\copyright2007 IEEE
}
http://www.computer. org/mc/keywords/keywords.htm.
6
environment:
\begin{abstract} %\boldmath We propose ...
\end{abstract}
\begin{IEEEkeywords}
Broad band networks, quality of service, WDM. \end{IEEEkeywords}}
VI. SECTIONS
Note that some journals will also render the second word in
upper caseespecially if the first word is very short. For
more usage examples, see the bare_jrnl.tex example file.
VII. CITATIONS
\usepackage{cite}
which yields
\label{eqn_example}
\begin{equation}
\usepackage[noadjust]{cite}
\fi
\else
\usepackage{cite}
and the adjacent citation numbers will automatically be sorted and compressed (ranged) IEEE style. (Of course,
multiple adjacent citations should always all be declared within a single \cite, comma separated, for this to work.)
One complication in compsoc mode is that the Computer Society does not compress, but does sort, adjacent
citation numbers. Version 4.0 and later of cite.sty provides a nocom-press option that disables compression, but
preserves sorting. Thus,
\ifCLASSOPTIONcompsoc
Perhaps the most convenient and popular way to pro-duce multiline equations is L TEX 2s eqnarray environment. However, eqnarray
has several serious shortcomings:
1)
the use of 2\arraycolsep for a column separation space does not provide natural math spacing in the default
configuration;
2) column definitions cannot be altered;
3) it is limited to three alignment columns;
4)
Note that, if needed (e.g., next to a non-punctuation/nonalignment environments. So, all authors should give serious
space character), cite.stys \cite command will automatically
consideration to its useregardless of what they use to genadd a leading space. i.e., (\cite{mshell01}) will become
erate aligned equations. One thing to be aware of is that, upon
like ( [1]). If this behavior is not desired, use the cite
A
amsmath like:
one reference, the note will be applied to the last of the listed
\usepackage[cmex10]{amsmath}
VIII. EQUATIONS
employ fonts for some of the smaller sizes (such as can occur
Equations are created using the traditional equation envi(for most TEX systems). Thus, the cmex10 option will ensure
ronment:
Xplore compliance.
x = \sum\limits_{i=0}^{z} 2^{i}Q
x=
i
2 Q.
(1)
Finally, IEEEtran provides a fully integrated custom IEEEe-
=0
Xi
signed to have almost universal applicability for many different
Use the
displaymath environment instead
if no equation
number
is desired. When referring to equations, articles in
Nevertheless, it
is instructive to show a
simple
example
IEEE publications do not typically use the word equation,
explain
some of
but rather just enclose the
equation number
in parentheses,
e.g.,
Z = x1 + x2 + x3 + x4 + x5 + x6
(1)
that all
equations fit into the given column
width. In rare
+a + b
(2)
circumstances, it is possible to have a few equations that span
+a+b
(3)
both columns (see Section X-D1), but the vast majority of
+a+b
(4)
around operators can be inhibited by enclosing them within
braces (e.g., {=}) or forced by surrounding them with empty
ords (e.g., {}={}). It is important to understand that the empty
ords do not have width themselves. However, their presence
TABLE I
small
1/6 em
\,
symbols
ab
medium
2/9 em
\:
binary operators
a+b
large
5/18 em
\;
relational operators
a=b
negative small
This assumes that 1 em in the text font has the same width as 1 em
in the math font. For the standard fonts, this is indeed the case.
1/6 em
\!
misc. uses
ab
IEEE normally wants all of the lines left aligned, but there are cases
when such an indention may be desirable.
for x 0
(2a)
A. Figures
A
x,
Note that (1) figures should be centered via the L TEX \cent
for x < 0
(2b)
because those built from the array or amsmath cases
envi-ronments will have a single equation number that
encompasses both branches.
X. FLOATING STRUCTURES
Authors should keep in mind when choosing an appropriate
optional placement argument for the figure/table environments
that most IEEE journals strongly favor the positioning of floats
to the top of the page and rarely, if ever, use bottom floats.
Computer Society journals also favor top floats, but do
occasionally employ bottom floats. Furthermore, IEEE journals
never place floats in the first column of the first page and rarely
A
L TEX 2 guide [19]. Also, for some example code, see the
comments in the bare_adv.tex file.
1) Subfigures: Subfigures can be obtain via the use of Steven
Douglas Cochrans subfigure [22] or subfig [23] pack-ages.
The latter is considered to be the updated replacement for the
former. However, the former is more self-contained in that it,
unlike the latter, does not depend on caption.sty.
sf]{subfig}
\else
\usepackage[caption=false]{caption}
\usepackage[font=footnotesize]{subfig}
\fi
B. Algorithms
IEEE publications use the figure environment to contain
algorithms that are not to be a part of the main text flow. Peter
Williams and Rogerio Britos algorithmic.sty package [24] or
Szsz Jnos algorithmicx.sty package [25] (the latter is
designed to be more customizable than the former) may be of
help in producing algorithm-like structures (although authors
A
10
TABLE II
A SIMPLE EXAMPLE TABLE
C. Tables
First
Next
\begin{table}[!t]
1.0
2.0
results in Table II. Note that IEEE places table captions before
the tables. Within the table environment, the default text size is
footnotesize which is what IEEE typically uses for tables.
When using the tabular environment to construct tables, it is
usually a good idea to increase the value of \arraystretch above
unity to open up the table rows a tad. Also, IEEE often uses
tables with open sides, (without vertical lines along each
side) although the closed side form (e.g., Table I) is more
commonly used for the tables within this document.
A
of
AND Mu(H) + HX
H(Mu) + F2
H(Mu) + Cl2
(H)
80.9
83.2
(Mu)
TABLE III
86.7
87.7
for the abstraction reaction, Mu + HX MuH + X.
b
which may not work with versions of L TEX other than the
A
11
x = 5 + 7 + 9 + 11 + 13 + 15 + 17 + 19 + 21 + 23 + 25 + 27 + 29 + 31
(6)
y = 4 + 6 + 8 + 10 + 12 + 14 + 16 + 18 + 20 + 22 + 24 + 26 + 28 + 30
(7)
(3) manually set the double column equation numbers and (4)
increment the equation counter at the point the double column
equations are referenced in the text so that they are accounted
for in the numbering of the regular equations after that point.
\vspace*{-3pt}
\newcounter{MYtempeqncnt}
further is the fact that L TEX 2 will not place double column
equations on the same page on which they are defined.
Finally, IEEE does not generally allow other figures or tables to
come between the double column equations and the main text
(which are separated from each other by a rule). All of this
means that the place where a double column equation must be
defined has to be disconnected from the place where it will
eventually be referred to in the textand the user will have to
manually intervene in the equation numbering system.
Therefore, users have to (1) define double column equations on
the page prior to the one that they are to appear; (2) reset the
equation counter when the double column equations are defined
\begin{figure*}[!t]
ensure that we have normalsize text \normalsize
Store the current equation number. \setcounter{MYtempeqncnt}
{\value{equation}}
Set the equation number to one less than the one
desired for the first equation here.
The value here will have to changed if equations
are added or removed prior to the place these
equations are referenced in the main text. \setcounter{equation}{5}
\begin{equation} \label{eqn_dbl_x}
x = 5 + 7 + 9 + 11 + 13 + 15 + 17 + 19 + 21+ 23 + 25
27 + 29 + 31
\end{equation}
\begin{equation} \label{eqn_dbl_y}
y = 4 + 6 + 8 + 10 + 12 + 14 + 16 + 18 + 20+ 22 + 24 + 26 + 28 + 30
\end{equation}
Restore the current equation number. \setcounter{equation}
{\value{MYtempeqncnt}}
IEEE uses as a separator
\hrulefill
12
A
}|
{
|
\labelwidth
\leftmargin
\labelsep
{z
}|
List Text
This contrasts with IEEE lists which use the label box as
the reference point for the list structure. i.e., for a given
circumstance, the list labels will be indented by a certain
amount, the list text block will be indented from the label
boxes by a given amount and these spacings will
determine the position of the list text.
For these reasons, IEEEtran provides enhanced IED list
environments that make it much easier to produce IEEE style
lists. The underlying \list remains the same as in traditional
A
Label
\labelwidth
\labelsep
\renewcommand{\IEEEiedlistdecl}{\settowidth{\labelwi
dth}{Hello}}
\begin{itemize}[\IEEEsetlabelwidth{$\gamma$}]
}|
List Text
Within an IED list, the local control is executed just after the global
control and therefore, the commands in the local control can both
augment and countermand those in the global control. Please note
that the code in the local and global controls are executed in the
A
The default spacings the IED lists use are stored in various
length (not macro) commands. Changes to these master
defaults are rarely needed and should be done only at the
beginning of the document, not in the IED list controls.
These constants will now be briefly explained.
Label
}|
{
itemized list label boxes are indented from the left margin.
IEEE seems to use at least two different values. For example,
in the IEEE/OSA JOURNAL OF LIGHTWAVE TECHNOLOGY and the
IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, they tend to use an indention equal to \parinde
{z
\IEEElabelindent
spacing between the IED list label boxes and the list text.
\IEEEiedmathlabelsep: For nomenclature description lists
put above and below each IED list. IEEE usually puts a little
extra spacing around each list. However, this extra spacing
is barely noticeable.
\IEEElabelindentfactori through \IEEElabelinden tfactorvi:
A. Itemize
The itemized lists will normally automatically calculate the
width of whatever symbol the current list level is using so
that a user can just call \begin{itemize}...\end{itemize} without
doing anything special. Furthermore, the auto-label-width
feature will work properly even if \labelitemX has been
redefined (where X indicates i,ii, .. iv, whichever is
appropriate) before the list begins. However, if any item
symbols are to be specified via \item[X] (this is rare and may
well be nonstandard as far as IEEE related work is
concerned), then the following form can be used:
13
the labels are using a font that is not the normal size and
style;
the enumerated list is nested (i.e., not at the top level) and
is therefore not using Arabic digits as labels.
For example:
\begin{enumerate}[\IEEEsetlabelwidth{12)}] \item blah
\item blah
.
.
% 12 items total \end{enumerate}
C. Description
Generally speaking, the longest label width will always
have to be specified for description lists. Furthermore,
the author may wish to use \IEEEmathlabelsep for \labelsep
when building a math symbol list. For example:
\begin{description}[\IEEEsetlabelwidth{$\alpha\omega
\pi\theta\mu$}\IEEEusemathlabelsep] \item[$\gamma\delta\beta$] Is
the index of.. \item[$\alpha\omega\pi\theta\mu$] Gives the..
.
.
\end{description}
14
A. Proofs
Proofs are easily handled by the predefined IEEEproof
environment:
\begin{IEEEproof}
.
.
\end{IEEEproof}
B. Acknowledgements
Acknowledgements and other unnumbered sections are
cre-ated using the \section* command:
\section*{Acknowledgment} \addcontentsline{toc}{section}
{Acknowledgment}
C. Bibliographies
15
D. Biographies
Biographies for journal articles are created using the
IEEE-biography environment which supports an optional
argument for the inclusion of a photo:
\begin{IEEEbiography}[{\includegraphics[width=1in,he
ight=1.25in,clip,keepaspectratio]{./shell}}]{Michael
Shell}
.
.
\end{IEEEbiography}
Note the extra set of braces that are required to prevent the
A
Note that manually set break points or page sizes will have
to be readjusted if the document content ever changes.
A
10
APPENDIX A
INSTALLING IEEETRAN
First of all, users should ensure that the relevant package files
(.bst, .cls, .sty, .tex, etc.) use the correct type of end-of-line
characters for the target operating system (OS). Unix systems
use line feed <lf> (0x0A), MS Windows use carriage return/line
feed pairs <cr><lf> (0x0D 0x0A), and Macintosh systems use
carriage return <cr> (Ox0D) characters to signal the end of
in that most L TEX systems for it are sensitive to the end-ofline convention used. Mac users should suspect
10
The fact that different conventions exist for plain text is, of course, an
absurdity in itself. The situation is even more absurd considering that
the current Mac OS is Unix based.
16
A
L TEX.
APPENDIX C
OTHER USEFUL OR RELATED EXTERNAL PACKAGES
A. The acronym.sty Package
Tobias Oetikers acronym.sty [33] may be useful with
papers that have a lot of acronyms. However, beware of
a compatibility issue between the acronym environment
and the IEEEtran description lists (see Appendix E).
initexmf -u
texhash
APPENDIX B
POSTSCRIPT/PDF OUTPUT
A
L TEX setupsespecially those that were installed prior to mid2002. This has been a chronic and very aggravating issue for
many organizations that accept work created using
APPENDIX D
COMMON USER MISTAKES
Many user mistakes with IEEEtran involve doing too
much rather than too little. Older class files may have
required hacks in order to get the formatting closer to
that of IEEE. These tweaks are no longer needed. Users
should carefully check all the loaded packages to ensure
that they are still useful under the latest version of
IEEEtran. Dont load packages just because this is the
way it always has been done. The same is true for
manually adjusted spacing, margins, paper sizes, etc.
Below are a few of the more commonly encountered
mis-takes to avoid.
acronym.sty: The acronym environment will have a problem with IEEEtran because of the modified IEEE style
description list environment. The optional argument of
the acronym environment cannot be used to set the
width of the longest label. A workaround is to use
\IEEEiedlistdecl to accomplish the same thing:
11
\renewcommand{\IEEEiedlistdecl}{\IEEEsetlabelwidth{S
ONET}}
\begin{acronym}
.
.
\end{acronym} \renewcommand{\IEEEiedlistdecl}{\relax}% reset back
APPENDIX F
THE IEEEEQNARRAY COMMANDS
(Optionalfor advanced users)
Small caps font variations: The small caps font used in the free
A
18
TABLE IV
IEEEEQNARRAY PREDEFINED COLUMN TYPES
I.D.
Description
I.D.
Description
l
left math
v
vertical rule
c
centered math
A. IEEEeqnarray
vv
two vertical rules
r
right math
V
double vertical rule
L
left math with ords
VV
two double vertical rules
C
centered math with ords
h
horizontal rule
R
right math with ords
!
H
double horizontal rule
s
left text
1/6 em
.
0.5\arraycolsep
1/6 em
x
empty
t
centered text
/
1.0\arraycolsep
:
2/9 em
X
empty math
u
right text
?
2.0\arraycolsep
;
5/18 em
TABLE V
IEEEEQNARRAY PREDEFINED COLUMN SEPARATION (GLUE) TYPES
*
0pt plus 1fil
1 em
+
1000pt minus 1000pt
"
2 em
I.D.
Width
0pt
*
All em values are referenced to the math font.
1 em = \quad,
I.D.
Width
2 em = \qquad
12
\IEEEeqnarraydefcol{g}{\hfil$\clubsuit$}{$\diamondsu it$\hfil}
This is not to say that its impossible with the existing capability, just ugly.
Thus allowing new predefined column types to be added without breaking existing code.
19
width\arrayrulewidth} \IEEEeqnarraydefcol{VV}{\vrule
width\arrayrulewidth\hskip\do ublerulesep\vrule width\arrayrulewidth\hfil}%
{\hfil\vrule width\arrayrulewidth\hskip\doublerulesep\vrule width\arrayrulewidth}
% horizontal rules
\IEEEeqnarraydefcol{h}{}{\leaders\hrule height\arrayrulewidt h\hfil}
\IEEEeqnarraydefcol{H}{}{\leaders\vbox{\hrule width\arrayrul
ewidth\vskip\doublerulesep\hrule width\arrayrulewidth}\hfil} % plain
\IEEEeqnarraydefcol{x}{}{} \IEEEeqnarraydefcol{X}{$}{$}
defines a column type named myp that will place text within a
0.5 inch wide parbox which is centered on the cells baseline.
Note that because the column type name consists of more
than one letter, it has to be enclosed within an extra set of
braces in the column specifications or else it would be
interpreted as three adjacent columns m, y and p. Also,
the contents of the cell must be enclosed within braces so that
(1) the \par box command sees the entire contents as its
argument; and (2) the newline within the parbox will not be
interpreted as being the end of the alignment row. Be aware that it
can happen that a column is given an empty cell, such as in the
second row in the example, or when entering blank separator
rows. When this happens, a \relax will appear in the column which
will be acquired as the commands argument. Therefore,
commands in column definitions that acquire arguments from the
cells should not choke if fed \relax.
% math \IEEEeqnarraydefcol{l}{$\IEEEeqnarraymathstyle}{$\hfil}
\IEEEeqnarraydefcol{c}{\hfil$\IEEEeqnarraymathstyle}{$\hfil}
\IEEEeqnarraydefcol{r}{\hfil$\IEEEeqnarraymathstyle}{$} \IEEEeqnarraydefcol{L}
{$\IEEEeqnarraymathstyle{}}{{}$\hfil} \IEEEeqnarraydefcol{C}
{\hfil$\IEEEeqnarraymathstyle{}}{{}$\h fil} \IEEEeqnarraydefcol{R}
{\hfil$\IEEEeqnarraymathstyle{}}{{}$}
20
A
&+\:a + b\IEEEyessubnumber\label{myfirstsubeqn}\\
label will reference the equation number that would have been
used if there had not been a request for a subnumber. To
support this feature, IEEEtran defines its own IEEEsubequa tion
counter (reset with changes to equation) and \theI
15
\begin{IEEEeqnarray}{rCl}
EEEsubequation command.
The first line without an \IE
EEyessubnumber will revert back to conventional equation
The aliases \nonumber and \yesnumber are also provided. However, their use is not
recommended because some packages (such as MDW tools) redefine them in an
IEEEeqnarray incompatible way.
What is actually displayed is the \theIEEEsubequationdis com-mand.
E. Equation Numbering
14
G. IEEEeqnarraybox
\IEEEeqnarray is not suitable for producing structures such
the default glue at the outer ends of the first and last
columns is 0 pt (-), not + centering glue as with \I
EEEeqnarray;
the entire contents are wrapped within a box and therefore, can be nested within other display or alignment
structures (such as \equation, \IEEEeqnarray or even another
\IEEEeqnarraybox). Note that, like all box structures, page
breaks are not allowed between the rows of an
\IEEEeqnarraybox;
21
close to it). Many L TEX users are not aware of this minor distinction.
Within IEEEtran.cls, \lineskiplimit and \lineskip are zeroif things get too close it is the
authors responsibility to correct the problem without having IEEEtran.cls second guessing the
authors intent.
19
\begin{IEEEeqnarraybox}[decl][pos][width]{cols}
.
\end{IEEEeqnarraybox}
20
This system is designed to better facilitate nested IEEEeqnarraybox structures as well as to help prevent the user
from encountering seemingly uncontrollable spacing
behavior (e.g., How do I get rid of that unwanted space?!).
specifiers/definitions as \IEEEeqnarray.
18
\IEEEeqnarraystrutsize{0.5\baselineskip}{}[\large]
There is also a
will set the default strut height to half the baselineskip used
by the large font size, even if the current baselineskip
(and/or font size) is different. The commands which are
executed within the optional argument are contained within
their own environment so as not to have any effects outside
of the \IEEEeqnarra ystrutsize command. For mimicking the
\IEEEeqnarraystrutsizeadd{height}{depth}[decl]
Within IEEEtran.cls, the nominal value of \jot is 25% of the baseli-neskip for the normalsize
font.
As long as rows cannot be of negative height.
Note that this not the normalsize baselineskip, but the normal baselineskip for the current font
size.
22
A
also be used at the end of the last column to alter the strut
size used for a particular row (the default strut values of the
other rows will not be affected).
There is also a
\IEEEstrut[height][depth][decl]
23
Those familiar with TEX may be interested to know that TEXs \omit,
23
which will override all the column definitions with one that
produces a horizontal rule. If the optional rule thickness is
not specified, the value of \arrayrulewidth will be used.
the same size even though one has tall symbols and
the other not.
The opposite of \hphantom{} is \rlap{} which displays its
contents, but with zero width. There is also an \llap{}
which does the same thing, but the contained object will
appear just to the left of the given point, rather than after
as with \rlap. For example, look closely at the first Width
column heading in Table V. The word Width is centered
irrespective of the asterisk. That is because the width of the
asterisk was zeroed:
Width\rlap{\textsuperscript{*}}
\IEEEeqnarraydblrulerow[rule_thickness][spacing]
The TEX \noalign{} command can be used within IEEEeqnarray family to inject text which is outside of the
alignment structure. For example,
\begin{IEEEeqnarray}{rCl} A_1&=&7\IEEEyessubnumber\\
A_2&=&b+1\IEEEyessubnumber\\
\end{IEEEeqnarray} produces
A
\phantom{} produces an invisible box with the width, height and
=7
(3a)
A2
=b+1
(3b)
and
A3
=d+2
(3c)
24
\noalign{\hbox{and therefore}}
When employed, \noalign must be the very first command in a roweven before any \IEEEeqnarraymulticol,
24
A
\IEEEeqnarraybox:
100
I= 010
(6)
However, once
the building
blocks
and
core
concepts
are
understood, the
user
may
find
that
is
easier
to use
the
001
I = \left(\begin{IEEEeqnarraybox*}[][c]{,c/c/c,}
0&1&0\\
\end{IEEEeqnarraybox*}\right)
\end{equation}
x,
for x 0
|x| = x,
for x < 0
(4)
one can use the star form of \IEEEeqnarraybox to turn off
which was produced using the code:
\begin{equation}
the matrix, the nonstar form would be the better choice. \ar
\setlength{\nulldelimiterspace}{0pt}
|x|=\left\{\begin{IEEEeqnarraybox}[\relax][c]{ls}
\end{equation}
enclosing parentheses.
Note the use of the large \quad (1 em) spacing before the
26
It is instructive to show how to construct a small matrix ,
S=
i
3/4
(7)
ce, an optional step, eliminates the width of the nonvisible
25
\newcommand{\mysmallarraydecl}{\renewcommand{%
\IEEEeqnarraymathstyle}{\scriptscriptstyle}%
\settowidth{\normalbaselineskip}{\scriptsize
\hspace{\baselinestretch\baselineskip}}%
\setlength{\jot}{0.25\normalbaselineskip}%
\setlength{\arraycolsep}{2pt}}
x,
for x 0
(5a)
%
x
=
\begin{equation}
}[\mysmallarraydecl]
||
x,
for x < 0
(5b)
S=\left[\begin{IEEEeqnarraybox
*
[c]{,c/c,}
1/2&0\\
0&3/4%
\begin{IEEEeqnarray}[\setlength{\nulldelimiterspace}
\end{IEEEeqnarraybox*}\right]
{0pt}]{rls}
\end{equation}
\smash{|x|=\left\{\IEEEstrut[3\jot][3\jot]\right.}&&
value, but
suppose that the
and the extra line spacing (which consists of \baselinesk
IEEEtran.cls.) must be
removed, half from above and
half
25
The width of null delimiters is typically only 1.2 pt, and so can usually
be safely ignored.
26
IEEE authors should note that the use of small matrices is not recommended as IEEE does not usually reduce font sizes in equations or alter
the main text baselineskip to accommodate in-text mathematics.
25
TABLE VI
TABLE VII
NETWORK DELAY AS A FUNCTION OF LOAD
POSSIBLE FUNCTIONS
(m)
Average Delay
min
max
x<0
(m) =
1
0.057
0.172
Ki
10
0.124
0.536
=0
100
0.830
*
0.905
Xi
x0
(m) =
limited usability
m
Range
A
more is the fact that most L TEX class files will not
allow the user to execute text font size commands within
math mode and the matrix is within an equation. So,
\scriptsize cannot be used to directly set the \baselineskip.
The first step is to set the math and text columns to their
desired styles. Then \baselinestretch is setup to be used
like \arraystretch. The trick is to run \scriptsize within a
\settowidth command which stores the \basel ineskip of
the \scriptsize font, multiplied by \baseli nestretch, in
\end{IEEEeqnarraybox}
\end{table}
Because this table has lines, the first step is to enable strut
mode line spacing. The strut height is then increased by a
couple of points to provide a little more headroom above the
27
letters. This table uses cutting horizontal rules and open
sides as is commonly done in IEEE publications. There are
three extra x columns which serve as place holders. The x
columns at each end serve as a quick way to get the horizontal
rules to extend a little past the contents of the table. The
middle x column serves as an attachment point for the
horizontal rule that is below Average Delay. Without this
extra column, the left side of that horizontal rule would cut
28
26
Some may even think it would be better that way, but we want to
show some tricks in these examples.
and Ken Rawson of the IEEE for their help and support in
making this work possible. The knowledge and prior work of
TEX gurus such as Donald Arseneau, Fred Bartlett, David
Carlisle, Tony Liu, Frank Mittelbach, Piet van Oostrum, Roland
Winkler and Mark Wooding were instrumental in de-veloping
the complex IEEEeqnarray family of commands. The author is
also grateful to Peter Wilson and Donald Arseneau for allowing
the inclusion of their \@ifmtarg command.
Finally, this work might not have been possible had it not
been for the efforts of the prior IEEEtran developers:
Gerry Murray, Silvano Balemi, Jon Dixion, Peter Nchter
H. Kopka and P. W. Daly, Guide to L TEX, 4th ed. Harlow, England: AddisonWesley, 2003.
A
[6] T.
Oetiker,
H. Partl, I. Hyna,
and E. Schlegl. (2006, May)
The
not so
short introduction
A
http://www.ctan.org/tex-archive/info/lshort/
R. Fairbairns. (2007, Jan.) The TEX FAQ. [Online]. Available:
http://www.tex.ac.uk/cgi-bin/texfaq2html/
[26]
F. Mittelbach and D. Carlisle. (2006, May) The array.sty
package. [Online]. Available: http://www.ctan.org/tex-archive/macros/
latex/required/tools/
D. Arseneau. (2003, Jul.) The threeparttable.sty package. [Online].
Available: http://www.ctan.org/tex-archive/macros/latex/contrib/misc/
D. Carlisle. (1999, Apr.) The fix2col.sty package. [Online]. Available:
http://www.ctan.org/tex-archive/macros/latex/contrib/carlisle/
M. Shell. (2007, Jan.) The IEEEtran BIBTEX style. [Online]. Available:
http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/bibtex/
[35]
M. Shell. (2007, Jan.) The IEEEtrantools.sty package. [Online]. Available: http://www.ctan.org/tex-archive/macros/latex/contrib/
IEEEtran/tools/
Michael Shell (M87) received the B.E.E., M.S.E.E. and Ph.D. degrees in
electrical engineering all from the Georgia Institute of Technology, Atlanta,
in 1991, 1993 and 2004 respectively. He has developed several all-optical
packet-switched network subsys-tems and node demonstrations. His
research interests include all-optical packet-switched networks, high speed
opto-electronic interface design, discrete sim-ulation and exact Markov
models for buffered packet switches.
Dr. Shell is also the author of the most recent versions of the IEEEtran
A
L TEX class and BIBTEX style packages and is the current maintainer
of both.