This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IEEEtran_HOWTO.txt
3524 lines (3147 loc) · 148 KB
/
IEEEtran_HOWTO.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
JOURNAL OF LATEX CLASS FILES, VOL. 14, NO. 8, AUGUST 2015
1
How to Use the IEEEtran LATEX Class
Michael Shell, Member, IEEE
(Invited Paper)
Abstract—This article describes how to use the IEEEtran class
with LATEX to produce high quality typeset papers that are suitable for submission to the Institute of Electrical and Electronics
Engineers (IEEE). IEEEtran can produce conference, journal
and technical note (correspondence) papers with a suitable choice
of class options. This document was produced using IEEEtran
in journal mode.
Index Terms—Class, IEEEtran, LATEX, paper, style, template,
typesetting.
I. I NTRODUCTION
ITH a recent IEEEtran class file, a computer running
LATEX, and a basic understanding of the LATEX language,
an author can produce professional quality typeset research
papers very quickly, inexpensively, and with minimal effort.
The purpose of this article is to serve as a user guide of
IEEEtran LATEX class and to document its unique features and
behavior.
This document applies to version 1.8b and later of IEEEtran.
Prior versions do not have all of the features described here.
IEEEtran will display the version number on the user’s console
when a document using it is being compiled. The latest version
of IEEEtran and its support files can be obtained from IEEE’s
web site [1], or CTAN [2]. This latter site may have some
additional material, such as beta test versions and files related
to non-IEEE uses of IEEEtran. See the IEEEtran homepage
[3] for frequently asked questions and recent news about
IEEEtran.
Complimentary to this document are the files1 bare_con
f.tex, bare_jrnl.tex, bare_jrnl_comsoc.tex, bare_
conf_compsoc.tex, bare_jrnl_compsoc.tex and bare_
jrnl_transmag.tex, which are “bare bones” example (template) files of a conference, journal, IEEE Communications
Society journal, IEEE Computer Society conference, IEEE
Computer Society journal and IEEE T RANSACTIONS ON
M AGNETICS paper, respectively. Authors can quickly obtain
a functional document by using these files as starters for their
own work. A more advanced example featuring the use of
W
Manuscript created February 25, 2002; revised August 26, 2015. This work
was supported by the IEEE. This work is distributed under the LATEX Project
Public License (LPPL) ( http://www.latex-project.org/ ) version 1.3. A copy
of the LPPL, version 1.3, is included in the base LATEX documentation of all
distributions of LATEX released 2003/12/01 or later. The opinions expressed
here are entirely that of the author. No warranty is expressed or implied. User
assumes all risk.
See http://www.michaelshell.org/ for current contact information.
1 Note that it is the convention of this document not to hyphenate command
or file names and to display them in typewriter font. Within such
constructs, spaces are not implied at a line break and will be explicitly carried
into the beginning of the next line. This behavior is not a feature of IEEEtran,
but is used here to illustrate computer commands verbatim.
optional packages along with more complex usage techniques,
can be found in bare_adv.tex.
It is assumed that the reader has at least a basic working
knowledge of LATEX. Those so lacking are strongly encouraged
to read some of the excellent literature on the subject [4]–[6].
In particular, Tobias Oetiker’s The Not So Short Introduction
to LATEX 2ε [5], which provides a general overview of working
with LATEX, and Stefan M. Moser’s How to Typeset Equations
in LATEX [6], which focuses on the formatting of IEEE-style
equations using IEEEtran’s IEEEeqnarray commands, are both
available for free online.
General support for LATEX related questions can be obtained
in the internet newsgroup comp.text.tex. There is also a
searchable list of frequently asked questions about LATEX [7].
Please note that the appendices sections contain information
on installing the IEEEtran class file as well as tips on how to
avoid commonly made mistakes.
II. C LASS O PTIONS
There are a number of class options that can be used to
control the overall mode and behavior of IEEEtran. These are
specified in the traditional LATEX way. For example,
\documentclass[9pt,technote]{IEEEtran}
is used with correspondence/brief/technote papers. The various
categories of options will now be discussed. For each category,
the default option is shown in bold. The user must specify an
option from each category in which the default is not the one
desired. The various categories are totally orthogonal to each
other—changes in one will not affect the defaults in the others.
A. 9pt, 10pt, 11pt, 12pt
There are four possible values for the normal text size. 10pt
is used by the vast majority of papers. Notable exceptions are
technote papers, which use 9pt text and the initial submissions
to some conferences that use 11pt.
Be aware that IEEE Computer Society publications use
“PostScript” (i.e., “big point”, bp) point sizes (i.e., 72bp =
1in) rather than the traditional typesetters’ point (i.e., 72.27pt
= 1in). Also, “10pt” IEEE Computer Society journal papers
actually use a slightly smaller, 9.5bp, font size (probably to
compensate for the slightly wider nature of the Palatino font).
IEEEtran will automatically tweak the selected font size as
needed depending on the mode.
0000–0000/00$00.00 c 2015 Michael Shell
2
B. draft, draftcls, draftclsnofoot, final
IEEEtran provides for three draft modes as well as the
normal final mode. The draft modes provide a larger (double)
line spacing to allow for editing comments as well as one
inch margins on all four sides of the paper. The standard draft
option puts every package used in the document into draft
mode. With most graphics packages, this has the effect of
disabling the rendering of figures. If this is not desired, one
can use the draftcls option instead to yield a draft mode that
will be confined within the IEEEtran class so that figures will
be included as normal. draftclsnofoot is like draftcls, but does
not display the word “DRAFT” along with the date at the
foot of each page. Both draft and draftclsnofoot modes imply
draftcls (which is a subset of the other two). When using one
of the draft modes, most users will also want to select the
onecolumn option.
JOURNAL OF LATEX CLASS FILES, VOL. 14, NO. 8, AUGUST 2015
affiliations. Several commands are enabled to facilitate
this formatting (see Section IV-B2 for details).
• The spacing after the authors’ names is reduced. So is
the spacing around the section names.
• The special paper notice (if used) will appear between the
author names and the title (not after as with journals).
• The figure captions are centered.
• The following commands are intentionally disabled: \t
hanks, \IEEEPARstart, \IEEEbiography, \IEEEb
iographynophoto, \IEEEpubid, \IEEEpubidadjco
l, \IEEEmembership, and \IEEEaftertitletext. If
needed, they can be reenabled by issuing the command:
\IEEEoverridecommandlockouts.
• Various reminder (related to camera ready work) and
warning notices are enabled.
When using conference mode, most users will also want to
equalize the columns on the last page (see Section XIV).
C. conference, journal, technote, peerreview, peerreviewca
IEEEtran offers five major modes to encompass conference,
journal, correspondence (brief/technote) and peer review papers. Journal and technote modes will produce papers very
similar to those that appear in many IEEE T RANSACTIONS
journals. When using technote, most users should also select
the 9pt option. The peerreview mode is much like the journal
mode, but produces a single-column cover page (with the
title, author names and abstract) to facilitate anonymous peer
review. The title is repeated (without the author names or
abstract) on the first page after the cover page.2 Papers using
the peer review options require an \IEEEpeerreviewmaket
itle command (in addition to and after the traditional \make
title) to be executed at the place the cover page is to end—
usually just after the abstract. This command will be silently
ignored with the non-peerreview modes. See the bare template
files for an example of the placement of this command. The
peerreviewca mode is like peerreview, but allows the author
name information to be entered and formatted as is done
in conference mode (see Section IV-B2 for details) so that
author affiliation and contact information is more visible to
the editors.
1) Conference Mode Details: Conference mode makes a
number of significant changes to the way IEEEtran behaves:
• The margins are increased as the height of the text is
reduced to about 9.25in. In particular, the bottom margin
will become larger than that of the top as the IEEE wants
extra clearance at the bottom. The text height will not be
exactly 9.25in, but will vary slightly with the normal font
size to ensure an integer number of lines in a column.
• Headings and page numbers are not displayed in the
headers or footers. This, coupled with symmetric horizontal margins, means that there will not be a noticeable
difference between the one and two sided options.
• The \author text is placed within a tabular environment
to allow for multicolumn formatting of author names and
2 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. comsoc, compsoc, transmag
These mutually exclusive options invoke special modes by
which IEEEtran produces the format of the publications of the
IEEE Communications Society, IEEE Computer Society and
IEEE T RANSACTIONS ON M AGNETICS, respectively. Neither
of these are enabled by default.
1) Comsoc Mode: Comsoc mode only affects the math font
so that it will more closely match the Times Roman main text.
Either Michael Sharpe’s freely available newtxmath package
[8] (version 1.451, July 28, 2015 or later is recommended)
or the commercial MathTime [9] math fonts (as mtpro2.sty,
mt11p.sty or mathtime.sty) are acceptable. Under comsoc
mode, if one of these packages has not been loaded by the
user at the start of the document, IEEEtran will attempt to
enforce their use based on what is available on the system.
The recommended loading procedure and order for newtxmath is:
\usepackage[T1]{fontenc} % optional
\usepackage{amsmath}
\usepackage[cmintegrals]{newtxmath}
\usepackage{bm} % optional
where the cmintegrals option, which IEEEtran sets as a default
upon loading newtxmath, is needed to obtain the specific style
of integral symbol used by the IEEE Communications Society.
The optional bm package [10] provides for selective bold
math. Be aware that the AMS Math amssymb.sty package [11]
is not needed and should not be loaded as that functionality is
built into and provided by newtxmath as well as MathTime.
Also, do not load the newtxtext.sty package as doing so would
alter the main text font.
a) Comsoc Conference Mode: Comsoc conference papers are, at present, done the same way as traditional conference papers (bare_conf.tex) and so no additional example
file is required. Unless specifically instructed otherwise by
the conference that is being submitting to, do not invoke the
comsoc option with conference papers.
2) Compsoc Mode: Notable compsoc mode format features
include:
SHELL: HOW TO USE THE IEEETRAN LATEX CLASS
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 (first footnote) itemized list used for author
affiliations;
• enabling of the \IEEEtitleabstractindextext command to provide for single column abstract and index
terms (see Section V);
• various other styling changes (most of which are only
applicable under the non-conference compsoc modes)
such as the use of: a sans serif (Helvetica) font for titles,
headings, etc.; a ruled line above the first footnote area;
left aligned reference labels; etc.
•
a) Compsoc Conference Mode: IEEEtran follows the
guidelines for IEEE Computer Society conference papers.
Perhaps surprisingly, this format nullifies many of the unique
features of compsoc journals and is not so much different
from traditional conference mode. However, Arabic section
numbering is retained. It should be mentioned that Scott
Pakin’s IEEEconf LATEX class [12] also produces this format.
Be aware that many IEEE Computer Society conferences use
the traditional conference format and compsoc mode should
not be used with them.
3) Transmag Mode: For the transmag mode:
The text within \author should be entered as the long
form under conference mode;
• enabling of the \IEEEtitleabstractindextext command to provide for single column abstract and index
terms (see Section V);
• \IEEEauthorrefmark will produce arabic author affiliation symbols;
• subsection and subsubsection headings and/or their spacings are slightly different;
• a smaller, bold font than normal is used for the title.
•
The transmag mode (as well as the standard journal mode)
is also acceptable for submission to IEEE Magnetics Letters.
Authors who wish to have their figures and tables appear at
the end of the paper can use the endfloat.sty [13] package to
achieve this.
E. letterpaper, a4paper, cspaper
IEEEtran fully supports both the US letter (8.5in × 11in)
and A4 (210mm × 297mm) paper sizes. Since the IEEE
primarily uses US letter, authors should usually select the
letterpaper option before submitting their work to the IEEE—
unless told otherwise (typically by conferences held outside
the United States). Changing the paper size in the standard
journal and conference modes will not alter the typesetting of
the document—only the margins will be affected. In particular,
documents using the a4paper option will have reduced side
margins (A4 is narrower than US letter) and a longer bottom
margin (A4 is longer than US letter). For both cases, the top
3
margins will be the same and the text will be horizontally
centered.
For the compsoc conference and draft modes, it is the
margins that will remain constant, and thus the text area size
will vary, with changes in the paper size.
The cspaper option is the special “trim” paper size (7.875in
× 10.75in) used in the actual publication of IEEE Computer
Society journals. Under compsoc journal mode, this option
does not alter the typesetting of the document. Authors should
invoke this option only if requested to do so by the editors of
the specific journal they are submitting to.
Note that authors should ensure that all post-processing
(PS, PDF, etc.) uses the same paper specification as the .tex
document. Problems here are by far the number one reason
for incorrect margins. See Appendix B for more details.
For the special cspaper size, be aware that although IEEEtran will automatically configure the correct paper dimensions
for pdfLATEX’s PDF mode (which it does for all paper sizes),
dvips (the application used for DVI to PS conversion) systems
will not recognize the special “ieeecs” paper unless there is
such an entry in dvips’ config.ps configuration file:
% Special paper size for the IEEE Computer Society J
ournals
@ ieeecs 7.875in 10.75in
@+ ! %%DocumentPaperSizes: ieeecs
@+ %%BeginPaperSize: ieeecs
@+ /setpagedevice where
@+ { pop << /PageSize [567 774] >> setpagedevice }
@+ if
@+ %%EndPaperSize
Most modern PS to PDF conversion software will correctly
handle such custom paper sizes if a different specific paper
size is not explicitly requested for the conversion process.
F. oneside, twoside
These options control whether the layout follows that of
single sided or two sided (duplex) printing. Because the side
margins are normally centered, the main notable difference is
in the format of the running headings.
G. onecolumn, twocolumn
These options allow the user to select between one and
two column text formatting. Since the IEEE always uses two
column text, the onecolumn option is of interest only with
draft papers.
H. romanappendices
IEEEtran defaults to numbering appendices alphabetically
(e.g., A, B, etc.). Invoke this option to get Roman numbering.
I. captionsoff
Invoking this option will inhibit the display of captions
within figures and tables. This is done in a manner that
preserves the operation of \label within \caption. This
option is intended for journals, such as IEEE T RANSACTIONS
ON P OWER E LECTRONICS (TPE), that require figures and
tables to placed, captionless, on pages of their own at the
4
JOURNAL OF LATEX CLASS FILES, VOL. 14, NO. 8, AUGUST 2015
end of the document. Such figure placement can be achieved
with the help of the endfloat.sty package [13]:
\newcommand{\CLASSINPUTinnersidemargin}{17mm}
\documentclass{IEEEtran}
\usepackage[nomarkers]{endfloat}
will yield a document that has 17mm side margins—if only
one of the innerside/outerside (or toptext/bottomtext) margin
pair is specified, IEEEtran will assume the user wants symmetric side (or top/bottom) margins and will set both values
of the relavant pair to the (single) user specified value.
IEEEtran uses the fixed values of 12pt and 0.25in for \h
eadheight and \headsep, respectively. The position of
the header can be altered after IEEEtran is loaded, without
changing the margins as long as the sum of \topmargin,
\headheight and \headsep is preserved. For example, the
header can be shifted upwards 0.2in using:
Note that the TPE has other unusual formatting requirements
that also require the draftclassnofoot and onecolumn options
as well as the insertion of page breaks (\newpage) just prior
to the first section as well as the bibliography. Such commands
can be enabled conditionally via the \ifCLASSOPTIONcapt
ionsoff conditional (Section III-A).
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. T HE CLASSINPUT, CLASSOPTION AND
CLASSINFO C ONTROLS
IEEEtran offers three catagories of special commands that
allow information to be passed between the class file and the
user’s document:
• CLASSINPUTs are inputs that provide a way to customize 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;
• CLASSINFOs which are outputs that allow the user a
way to access additional information about the IEEEtran
runtime environment.
A. CLASSINPUTs
The available CLASSINPUTs include: \CLASSINPUTbase
linestretch which sets the line spacing of the document;
\CLASSINPUTinnersidemargin which sets the margin at
the inner (binding) edge; \CLASSINPUToutersidemargin
which sets the margin at the outer edge; \CLASSINPUTtopt
extmargin which sets the top margin; \CLASSINPUTbotto
mtextmargin which sets the bottom margin. Of course, such
parameters can be set via the traditional LATEX interface (\odd
sidemargin, \topmargin, etc.). However, the advantage of
of using the CLASSINPUT approach is that it allows IEEEtran
to adjust other internal parameters and perform any additional
calculations as needed. For example, setting the side margins
in LATEX requires a careful setting of \oddsidemargin, \e
vensidemargin and \textwidth taking into consideration
the paper size and whether or not duplex (two-sided) printing
is being used.
To invoke a CLASSINPUT, just define the relavant CLASSINPUT as desired prior to the loading of IEEEtran. For
example,
\addtolength{\headsep}{0.2in}
\addtolength{\topmargin}{-0.2in}
Likewise, \footskip, which has a default value of 0.4in, can
easily be changed to alter the position of the footer within the
bottom margin.
When using \CLASSINPUTbaselinestretch, IEEEtran
will automatically “digitize” \textheight so that an integer
number of lines will fit on a page (as is done in the draft
modes). Digitization is not done when the top or bottom
margins are set via CLASSINPUTs. Users are cautioned that
using CLASSINPUT controls can result in documents that
are not compliant with the IEEE’s standards. The intended
applications include: (1) conferences or societies that have
unusual formatting requirements; (2) producing copies with
nonstandard margins such as when binding for personal use;
and (3) non-IEEE related work.
B. CLASSOPTIONs
CLASSOPTIONs are primarily TEX \if conditionals that
are automatically set based on which IEEEtran options are
being used. Thus, for example, a construct such as
\ifCLASSOPTIONconference
\typeout{in conference mode}
\else
\typeout{not in conference mode}
\fi
can be used to provide for conditional code execution. Please
note that, as mentioned in Section II-B, the draft and draftclsnofoot options imply draftcls. So, most users will want to
test \ifCLASSOPTIONdraftcls for detecting the draft
modes.
For the document’s point size options, \CLASSOPTIONp
t is defined as a macro that expands to the numerical part
of the selected point value (e.g., 9, 10, 11 or 12). For the
paper size options, \CLASSOPTIONpaper will be a macro
that contains the paper specification (e.g., letter, a4). To use
these as conditionals will require a string macro comparison:
\newcommand{\myninestring}{9}
\ifx\CLASSOPTIONpt\myninestring
\typeout{document is 9pt}
\fi
Users should treat the CLASSOPTIONs as being “read-only”
and not attempt to manually alter their values because IEEEtran uses them internally as flags to determine which options
SHELL: HOW TO USE THE IEEETRAN LATEX CLASS
have been selected—changing these flags will likely result in
improper formatting.
C. CLASSINFOs
The available CLASSINFOs include the \ifCLASSINFOp
df conditional which works much like Heiko Oberdiek’s ifpdf.sty package [14] to indicate if PDF output (from pdfLATEX)
is in effect:
\ifCLASSINFOpdf
\typeout{PDF mode}
\fi
IEEEtran.cls also provides the lengths \CLASSINFOnorma
lsizebaselineskip, which is the \baselineskip of the
normalsize font, and \CLASSINFOnormalsizeunitybaseli
neskip, which is the \baselineskip of the normalsize font
under unity \baselinestetch.
Finally, there are the string macros (these are not conditionals or lengths) \CLASSINFOpaperwidth and \CLASSINF
Opaperheight which contain the paper dimensions in their
native specifications including units (e.g., 8.5in, 22mm, etc.).
As with CLASSOPTIONs, users should not attempt to alter
the CLASSINFOs.
IV. T HE T ITLE PAGE
The parts of the document unique to the title area are created
using the standard LATEX command \maketitle. Before this
command is called, the author must declared all of the text
objects which are to appear in the title area.
A. Paper Title
The paper title is declared like:
\title{A Heuristic Coconut-based Algorithm}
in the standard LATEX manner. Titles are generally capitalized
except for words such as a, an, and, as, at, but, by, for, in, nor,
of, on, or, the, to and up, which are usually not capitalized
unless they are the first or last word of the title. Line breaks
(\\) may be used to equalize the length of the title lines. Do
not use math or other special symbols in the title.
B. Author Names
The name and associated information is declared with the
\author command. \author behaves slightly differently
depending on the document mode.
1) Names in Journal/Technote Mode: A typical \author
command for a journal or technote paper looks something like
this:
\author{Michael˜Shell,˜\IEEEmembership{Member,˜IEEE,
} John˜Doe,˜\IEEEmembership{Fellow,˜OSA,} and˜Jane˜D
oe,˜\IEEEmembership{Life˜Fellow,˜IEEE}%
\thanks{Manuscript received January 20, 2002; revise
d August 26, 2015. This work was supported by the IE
EE.}%
\thanks{M. Shell was with the Georgia Institute of T
echnology.}}
The \IEEEmembership command is used to produce the
italic font that indicates the authors’ IEEE membership status.
5
The \thanks command produces the “first footnotes.” Because the LATEX \thanks was not designed to contain multiple
paragraphs3 , authors will have to use a separate \thanks
for each paragraph. However, if needed, regular line breaks
(\\) can be used within \thanks. In order to get proper line
breaks and spacing, it is important to correctly use and control
the spaces within \author. Use nonbreaking spaces (˜) to
ensure that name/membership pairs remain together. A minor,
but easy, mistake to make is to forget to prevent unwanted
spaces from getting between commands which use delimited
({}) arguments. Note the two % which serve to prevent the
code line break on lines ending in a } from becoming an
unwanted space. Such a space would not be ignored as an
end-of-line space because, technically, the last \thanks is
the final command on the line. “Phantom” spaces like these
would append to the end of the last author’s name, causing
the otherwise centered name line to shift very slightly to the
left.
2) Names in Conference Mode: The author name area
is more complex when in conference mode because it also
contains the authors’ affiliations. For this reason, when in
conference mode, the contents of \author{} are placed
into a modified tabular environment. The commands \IE
EEauthorblockN{} and \IEEEauthorblockA{} are also
provided so that it is easy to correctly format the author names
and affiliations, respectively. For papers with three or less
affiliations, a multicolumn format is preferred:
\author{\IEEEauthorblockN{Michael Shell}
\IEEEauthorblockA{School of Electrical and\\
Computer Engineering\\
Georgia Institute of Technology\\
Atlanta, Georgia 30332--0250\\
Email: mshell@ece.gatech.edu}
\and
\IEEEauthorblockN{Homer Simpson}
\IEEEauthorblockA{Twentieth Century Fox\\
Springfield, USA\\
Email: homer@thesimpsons.com}
\and
\IEEEauthorblockN{James Kirk\\
and Montgomery Scott}
\IEEEauthorblockA{Starfleet Academy\\
San Francisco, California 96678-2391\\
Telephone: (800) 555--1212\\
Fax: (888) 555--1212}}
Use \and to separate the affiliation columns. The columns
will automatically be centered with respect to each other and
the side margins.
If there are more than three authors and/or the text is too
wide to fit across the page, use an alternate long format:
\author{\IEEEauthorblockN{Michael Shell\IEEEauthorre
fmark{1}, Homer Simpson\IEEEauthorrefmark{2}, James K
irk\IEEEauthorrefmark{3}, Montgomery Scott\IEEEautho
rrefmark{3} and Eldon Tyrell\IEEEauthorrefmark{4}}
\IEEEauthorblockA{\IEEEauthorrefmark{1}School of Ele
ctrical and Computer Engineering\\
Georgia Institute of Technology, Atlanta, Georgia 30
332--0250\\
Email: mshell@ece.gatech.edu}
\IEEEauthorblockA{\IEEEauthorrefmark{2}Twentieth Cen
tury Fox, Springfield, USA\\
Email: homer@thesimpsons.com}
3 Although IEEEtran.cls does support it, the standard classes do not.
6
\IEEEauthorblockA{\IEEEauthorrefmark{3}Starfleet Aca
demy, San Francisco, California 96678-2391\\
Telephone: (800) 555--1212, Fax: (888) 555--1212}
\IEEEauthorblockA{\IEEEauthorrefmark{4}Tyrell Inc.,
123 Replicant Street, Los Angeles, California 90210
--4321}}
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
uthorblock’s because each block starts a new group of lines
and LATEX will ignore spaces at the very end and beginning of
lines.
3) Names in Compsoc Journal Mode: One unique feature
of IEEE Computer Society journals is that author affiliations
are formatted in an itemized list within the first (\thanks)
footnote. In compsoc mode, IEEEtran provides a special form
of \thanks, \IEEEcompsocitemizethanks, to obtain this
effect:
\author{Michael˜Shell,˜\IEEEmembership{Member,˜IEEE,
} John˜Doe,˜\IEEEmembership{Fellow,˜OSA,} and˜Jane˜D
oe,˜\IEEEmembership{Life˜Fellow,˜IEEE}%
\IEEEcompsocitemizethanks{\IEEEcompsocthanksitem M.
Shell is with the Georgia Institute of Technology.
\IEEEcompsocthanksitem J. Doe and J. Doe are with An
onymous University.}%
\thanks{Manuscript received January 20, 2002; revise
d August 26, 2015.}}
Within \IEEEcompsocitemizethanks, \IEEEcompsoctha
nksitem works like \item to provide a bulleted affiliation
group. To facilitate dual compilation, in non-compsoc mode,
IEEEtran treats \IEEEcompsocitemizethanks as \thanks
and sets \IEEEcompsocthanksitem to generate a line break
with indentation. However, this is not entirely satisfactory as
IEEE Computer Society journals place the author affiliations
before the “manuscript received” line while traditional IEEE
journals use the reverse order. If correct dual compilation is
needed, the CLASSOPTION conditionals can be employed to
swap the order as needed.
4) Names in Compsoc Conference Mode: Names in compsoc conference mode are done in the same way as traditional
conference mode.
5) Names in Transmag Journal Mode: IEEE T RANSAC TIONS ON M AGNETICS papers typically use the conference
long format for author names, but try to keep each name and
address pair on one line and without any email addresses or
phone numbers. Also, \thanks is available under transmag
journal mode even though the names are entered much like
the long format under conference mode. See the file bare_
jrnl_transmag.tex for an example of author entry under
transmag mode.
C. Running Headings
The running headings are declared with the \markboth{
}{} command. The first argument contains the journal name
information and the second contains the author name and paper
title. For example:
\markboth{Journal of Quantum Telecommunications,˜Vol
.˜1, No.˜1,˜January˜2025}{Shell \MakeLowercase{\text
it{et al.}}: A Novel Tin Can Link}
JOURNAL OF LATEX CLASS FILES, VOL. 14, NO. 8, AUGUST 2015
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.
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˜\copyright˜2015 IEEE
}
Although authors do not yet have a valid publication ID at the
time of paper submission, \IEEEpubid{} is useful because it
provides a means to see how much of the title page text area
will be unavailable in the final publication. This is especially
important in technote papers because, in some journals, the
publication ID space can consume more than one text line. If
\IEEEpubid{} is used, a second command, \IEEEpubidad
jcol must be issued somewhere in the second column of the
title page. This is needed because LATEX resets the text height
at the beginning of each column. \IEEEpubidadjcol “pulls
up” the text in the second column to prevent it from blindly
running into the publication ID.
Publication IDs are not to be placed by the author on camera
ready conference papers so \IEEEpubid{} is disabled in
conference mode. Instead the bottom margin is automatically
increased by IEEEtran when in conference mode to give the
IEEE room for such marks at the time of publication. In draft
mode, the publisher ID mark will not be printed at the bottom
of the titlepage, but room will be cleared for it.
Publication ID marks are perhaps less important with compsoc papers because IEEE Computer Society journals place the
publisher ID marks within the bottom margin so as not to
affect the amount of page space available for text.
E. Special Paper Notices
Special paper notices, such as for invited papers, can be
declared with:
\IEEEspecialpapernotice{(Invited Paper)}
Special paper notices in journal and technote papers appear
between the author names and the main text. The title page
of this document has an example. For conference papers, the
special paper notice is placed between the title and the author
names.
Much more rarely, there is sometimes a need to gain access
to the space across both columns just above the main text.
For instance, a paper may have a dedication [15]. IEEEtran
provides the command \IEEEaftertitletext{} which can
be used to insert text or to alter the spacing between the title
area and the main text:
SHELL: HOW TO USE THE IEEETRAN LATEX CLASS
\IEEEaftertitletext{\vspace{-1\baselineskip}}
Authors should be aware that IEEEtran carefully calculates
the spacing between the title area and main text to ensure that
the main text height of the first page always is equal to an
integer number of normal sized lines (unless the top or bottom
margins have been overridden by CLASSINPUTs). Failure to
do this can result in underfull vbox errors and paragraphs
being “pulled apart” in the second column of the first page
if there isn’t any rubber lengths (such as those around section
headings) in that column. The contents of \IEEEaftertitle
text{} are intentionally allowed to bypass this “dynamically
determined title spacing” mechanism, so authors may have to
manually tweak the height (by a few points) of the \IEEEa
ftertitletext{} contents (if used) to avoid an underfull
vbox warning.
V. A BSTRACT AND I NDEX T ERMS
The abstract is generally the first part of a paper after \m
aketitle. The abstract text is placed within the abstract
environment:
\begin{abstract}
We propose ...
\end{abstract}
Math, special symbols and/or citations should generally not
be used in abstracts.4
Journal and technote papers also have a list of key words
(index terms) which can be declared with:
\begin{IEEEkeywords}
Broad band networks, quality of service, WDM.
\end{IEEEkeywords}
To obtain a list of valid keywords from the IEEE, just send a
blank email to keywords@ieee.org. A list of IEEE Computer
Society approved keywords can be obtained at http://www.
computer.org/mc/keywords/keywords.htm. Do not use math or
special symbols in the keywords.
The IEEE Computer Society and IEEE T RANSACTIONS ON
M AGNETICS formats present a difficulty in that compsoc and
transmag journal (but not compsoc conference) papers place
the abstract and index terms sections in single column format
just below the author names, but the other IEEE formats place
them in the first column of the main text before the first
section. To handle this, IEEEtran offers a command, \IEEEt
itleabstractindextext, that is to be declared before \ma
ketitle, and whose single argument holds the text/sections
that are to appear in single column format after the author
names:
\IEEEtitleabstractindextext{%
\begin{abstract}
We propose ...
\end{abstract}
\begin{IEEEkeywords}
Broad band networks, quality of service, WDM.
\end{IEEEkeywords}}
7
To facilitate dual compilation, IEEEtran provides another
command, \IEEEdisplaynontitleabstractindextext,
which will “become” whatever was declared in \IEEEtitl
eabstractindextext when in non-compsoc, non-transmag
or conference mode (as compsoc conferences use the same
placement for the abstract and index terms as traditional
conferences do). That is to say, the abstract and index terms
sections can be automatically “teleported’ to the appropriate
place they need to be depending on the document mode. \IE
EEdisplaynontitleabstractindextext should typically
be placed just after \maketitle (and before \IEEEpeerre
viewmaketitle if used).
VI. S ECTIONS
Sections and their headings are declared in the usual LATEX
fashion via \section, \subsection, \subsubsection,
and \paragraph. In the non-compsoc modes, the numbering
for these sections is in upper case Roman numerals, upper case
letters, Arabic numerals and lower case letters, respectively.
In compsoc mode, Arabic numerals are used exclusively for
(sub)section numbering.
The \paragraph section is not allowed for technotes or
compsoc conferences as these generally are not permitted to
have such a deep section nesting depth. If needed, \paragra
ph can be restored by issuing the command \setcounter{
secnumdepth}{4} in the document preamble.
Note that IEEE Computer Society journals (but not conferences!) are unusual in that they raise the very first section
(the introduction) heading above the start of the text. IEEEtran
provides a command to produce this effect:
\IEEEraisesectionheading{\section{Introduction}\labe
l{sec:introduction}}
This command is not intended for any use other than the
introduction section in compsoc journal mode. Note the need
to keep any \label that is to refer to the section immediately
after \section in the above as \IEEEraisesectionheadi
ng puts \section within a raised box.
A. Initial Drop Cap Letter
The first letter of a journal paper is a large, capital, oversized
letter which descends one line below the baseline. Such a
letter is called a “drop cap” letter. The other letters in the first
word are rendered in upper case. This effect can be accurately
produced using the IEEEtran command \IEEEPARstart{}{
}. The first argument is the first letter of the first word, the
second argument contains the remaining letters of the first
word. The drop cap of this document was produced with:
\IEEEPARstart{W}{ith}
4 That said, if it is permitted or required, be aware that in order to preserve
the distinction between constructs such as vector and scalar forms, IEEEtran
defaults to using non-bold math within the abstract. However, bold math better
matches the bold text font used for the abstract text. If a bold math font is
desired, just issue a \boldmath command at the start of the abstract.
Note that some journals will also render the second word in
upper case—especially if the first word is very short. For more
usage examples, see the bare_jrnl.tex example file.
8
JOURNAL OF LATEX CLASS FILES, VOL. 14, NO. 8, AUGUST 2015
VII. C ITATIONS
Citations are made with the \cite command as usual.
IEEEtran will produce citation numbers that are individually
bracketed in IEEE style. (“[1], [5]” as opposed to the more
common “[1, 5]” form.) The base IEEEtran does not sort or
produce compressed “ranges” when there are three or more
adjacent citation numbers. However, IEEEtran pre-defines
some format control macros to facilitate easy use with Donald
Arseneau’s cite.sty package [16]. So, all an author has to do
is to call cite.sty:
\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.) Invoke
cite.sty’s noadjust option to prevent an unwanted leading space
from occurring should a citation ever need to be enclosed in
parenthesis.
One complication in compsoc mode is that the IEEE
Computer Society does not compress, but does sort, adjacent
citation numbers. Version 4.0 and later of cite.sty provides a
nocompress option that disables compression, but preserves
sorting. Thus,
\ifCLASSOPTIONcompsoc
% requires cite.sty v4.0 or later (November 2003)
\usepackage[nocompress]{cite}
\else
\usepackage{cite}
\fi
can be used with universal applicability.
Note that, if needed (e.g., next to a non-punctuation, nonspace character), cite.sty’s \cite command will automatically
add a leading space. i.e., “(\cite{mshell01})” will become
like “( [1])”. If this behavior is not desired, use the cite
package’s noadjust option (cite.sty V3.8 and later) which will
turn off the added spaces:
\usepackage[noadjust]{cite}
\cite also allows for an optional note (e.g., \cite[Th.
7.1]{mshell01}). If the \cite with note has more than
one reference, the note will be applied to the last of the listed
references. It is generally desirable that if a note is given, only
one reference should be listed in that \cite.
VIII. E QUATIONS
Equations are created using the traditional equation environment:
\begin{equation}
\label{eqn_example}
x = \sum\limits_{i=0}^{z} 2^{i}Q
\end{equation}
which yields
x=
z
X
2i Q.
(1)
i=0
Use the displaymath environment instead if no equation
number is desired. When referring to equations, articles in
IEEE publications do not typically use the word “equation,”
but rather just enclose the equation number in parentheses,
e.g.,
... as can be seen in (\ref{eqn_example}).
IEEE’s two column format puts serious constraints on how
wide an equation can be. So, a fair portion of the effort in
formatting equations usually has to be devoted to properly
breaking them. It is the author’s responsibility to ensure
that all equations fit into the given column width. In rare
circumstances, it is possible to have a few equations that span
both columns (see Section X-D1), but the vast majority of
over-length equations have to be broken across multiple lines.
IX. M ULTI - LINE E QUATIONS
Perhaps the most convenient and popular way to produce multiline equations is LATEX 2ε ’s 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) column alignment cannot be overridden within individual cells.
There are a number of vastly superior packages for formatting multiline mathematics. Perhaps the most popular is the
amsmath package [11]. Amsmath is a comprehensive work
which contains many helpful tools besides enhanced multiline
alignment environments. So, all authors should give serious
consideration to its use—regardless of what they use to generate aligned equations. One thing to be aware of is that, upon
loading, amsmath will configure LATEX to disallow page breaks
within multiline equations (even within non-amsmath defined
environments). The philosophy here is that author should
manually insert breaks where desired so as to ensure that
breaks occur only at acceptable points. To restore IEEEtran’s
ability to automatically break within multiline equations, load
amsmath like:
\usepackage{amsmath}
\interdisplaylinepenalty=2500
Another extremely powerful set of alignment tools, one
of which is a totally rewritten eqnarray environment, is
provided by mathenv.sty which is part of Mark Wooding’s
MDW Tools [17].
Finally, IEEEtran provides a fully integrated custom IEEEeqnarray family of commands (see Appendix F) that are designed to have almost universal applicability for many different
types of alignment situations.
Nevertheless, it is instructive to show a simple example
using the standard eqnarray in order to explain some of
the fine points of math spacing under LATEX. As shown in
Table I, TEX normally draws from four different spacings when
typesetting mathematics. In order to produce precise (and
SHELL: HOW TO USE THE IEEETRAN LATEX CLASS
9
TABLE I
M ATH S PACINGS U SED BY LATEX
Size
Width
Cmd.
Used for
Example
small
medium
large
negative small
1/6 em
\,
\:
\;
\!
symbols
binary operators
relational operators
misc. uses
ab
a+b
a=b
ab
2/9 em
5/18 em
−1/6 em
correct) mathematical alignments, it is crucial to understand
how to control such spacing. Consider a multiline equation
Z = x1 + x2 + x3 + x4 + x5 + x6
+a + b
(1)
+a + b
(2)
+a+b
(3)
+a+b
(4)
(in typical IEEE style) which was produced by
\setlength{\arraycolsep}{0.0em}
\begin{eqnarray}
Z&{}={}&x_1 + x_2 + x_3 + x_4 + x_5 + x_6\nonumber\\
&&+a + b\\
&&+{}a + b\\
&&{}+a + b\\
&&{+}\:a + b