Debian Codegraph @

texmf-dist/doc/latex/ieeetran/bare_adv.tex

raw
1
2 %% bare_adv.tex
3 %% V1.4b
4 %% 2015/08/26
5 %% by Michael Shell
6 %% See:
7 %% http://www.michaelshell.org/
8 %% for current contact information.
9 %%
10 %% This is a skeleton file demonstrating the advanced use of IEEEtran.cls
11 %% (requires IEEEtran.cls version 1.8b or later) with an IEEE Computer
12 %% Society journal paper.
13 %%
14 %% Support sites:
15 %% http://www.michaelshell.org/tex/ieeetran/
16 %% http://www.ctan.org/pkg/ieeetran
17 %% and
18 %% http://www.ieee.org/
19
20 %%*************************************************************************
21 %% Legal Notice:
22 %% This code is offered as-is without any warranty either expressed or
23 %% implied; without even the implied warranty of MERCHANTABILITY or
24 %% FITNESS FOR A PARTICULAR PURPOSE!
25 %% User assumes all risk.
26 %% In no event shall the IEEE or any contributor to this code be liable for
27 %% any damages or losses, including, but not limited to, incidental,
28 %% consequential, or any other damages, resulting from the use or misuse
29 %% of any information contained here.
30 %%
31 %% All comments are the opinions of their respective authors and are not
32 %% necessarily endorsed by the IEEE.
33 %%
34 %% This work is distributed under the LaTeX Project Public License (LPPL)
35 %% ( http://www.latex-project.org/ ) version 1.3, and may be freely used,
36 %% distributed and modified. A copy of the LPPL, version 1.3, is included
37 %% in the base LaTeX documentation of all distributions of LaTeX released
38 %% 2003/12/01 or later.
39 %% Retain all contribution notices and credits.
40 %% ** Modified files should be clearly indicated as such, including **
41 %% ** renaming them and changing author support contact information. **
42 %%*************************************************************************
43
44
45 % *** Authors should verify (and, if needed, correct) their LaTeX system ***
46 % *** with the testflow diagnostic prior to trusting their LaTeX platform ***
47 % *** with production work. The IEEE's font choices and paper sizes can ***
48 % *** trigger bugs that do not appear when using other class files. *** ***
49 % The testflow support page is at:
50 % http://www.michaelshell.org/tex/testflow/
51
52
53 % IEEEtran V1.7 and later provides for these CLASSINPUT macros to allow the
54 % user to reprogram some IEEEtran.cls defaults if needed. These settings
55 % override the internal defaults of IEEEtran.cls regardless of which class
56 % options are used. Do not use these unless you have good reason to do so as
57 % they can result in nonIEEE compliant documents. User beware. ;)
58 %
59 %\newcommand{\CLASSINPUTbaselinestretch}{1.0} % baselinestretch
60 %\newcommand{\CLASSINPUTinnersidemargin}{1in} % inner side margin
61 %\newcommand{\CLASSINPUToutersidemargin}{1in} % outer side margin
62 %\newcommand{\CLASSINPUTtoptextmargin}{1in} % top text margin
63 %\newcommand{\CLASSINPUTbottomtextmargin}{1in}% bottom text margin
64
65
66
67
68 %
69 \documentclass[10pt,journal,compsoc]{IEEEtran}
70 % If IEEEtran.cls has not been installed into the LaTeX system files,
71 % manually specify the path to it like:
72 % \documentclass[10pt,journal,compsoc]{../sty/IEEEtran}
73
74
75 % For Computer Society journals, IEEEtran defaults to the use of
76 % Palatino/Palladio as is done in IEEE Computer Society journals.
77 % To go back to Times Roman, you can use this code:
78 %\renewcommand{\rmdefault}{ptm}\selectfont
79
80
81
82
83
84 % Some very useful LaTeX packages include:
85 % (uncomment the ones you want to load)
86
87
88
89 % *** MISC UTILITY PACKAGES ***
90 %
91 %\usepackage{ifpdf}
92 % Heiko Oberdiek's ifpdf.sty is very useful if you need conditional
93 % compilation based on whether the output is pdf or dvi.
94 % usage:
95 % \ifpdf
96 % % pdf code
97 % \else
98 % % dvi code
99 % \fi
100 % The latest version of ifpdf.sty can be obtained from:
101 % http://www.ctan.org/pkg/ifpdf
102 % Also, note that IEEEtran.cls V1.7 and later provides a builtin
103 % \ifCLASSINFOpdf conditional that works the same way.
104 % When switching from latex to pdflatex and vice-versa, the compiler may
105 % have to be run twice to clear warning/error messages.
106
107
108
109
110
111
112 % *** CITATION PACKAGES ***
113 %
114 \ifCLASSOPTIONcompsoc
115 % The IEEE Computer Society needs nocompress option
116 % requires cite.sty v4.0 or later (November 2003)
117 \usepackage[nocompress]{cite}
118 \else
119 % normal IEEE
120 \usepackage{cite}
121 \fi
122 % cite.sty was written by Donald Arseneau
123 % V1.6 and later of IEEEtran pre-defines the format of the cite.sty package
124 % \cite{} output to follow that of the IEEE. Loading the cite package will
125 % result in citation numbers being automatically sorted and properly
126 % "compressed/ranged". e.g., [1], [9], [2], [7], [5], [6] without using
127 % cite.sty will become [1], [2], [5]--[7], [9] using cite.sty. cite.sty's
128 % \cite will automatically add leading space, if needed. Use cite.sty's
129 % noadjust option (cite.sty V3.8 and later) if you want to turn this off
130 % such as if a citation ever needs to be enclosed in parenthesis.
131 % cite.sty is already installed on most LaTeX systems. Be sure and use
132 % version 5.0 (2009-03-20) and later if using hyperref.sty.
133 % The latest version can be obtained at:
134 % http://www.ctan.org/pkg/cite
135 % The documentation is contained in the cite.sty file itself.
136 %
137 % Note that some packages require special options to format as the Computer
138 % Society requires. In particular, Computer Society papers do not use
139 % compressed citation ranges as is done in typical IEEE papers
140 % (e.g., [1]-[4]). Instead, they list every citation separately in order
141 % (e.g., [1], [2], [3], [4]). To get the latter we need to load the cite
142 % package with the nocompress option which is supported by cite.sty v4.0
143 % and later.
144
145
146
147
148
149 % *** GRAPHICS RELATED PACKAGES ***
150 %
151 \ifCLASSINFOpdf
152 % \usepackage[pdftex]{graphicx}
153 % declare the path(s) where your graphic files are
154 % \graphicspath{{../pdf/}{../jpeg/}}
155 % and their extensions so you won't have to specify these with
156 % every instance of \includegraphics
157 % \DeclareGraphicsExtensions{.pdf,.jpeg,.png}
158 \else
159 % or other class option (dvipsone, dvipdf, if not using dvips). graphicx
160 % will default to the driver specified in the system graphics.cfg if no
161 % driver is specified.
162 % \usepackage[dvips]{graphicx}
163 % declare the path(s) where your graphic files are
164 % \graphicspath{{../eps/}}
165 % and their extensions so you won't have to specify these with
166 % every instance of \includegraphics
167 % \DeclareGraphicsExtensions{.eps}
168 \fi
169 % graphicx was written by David Carlisle and Sebastian Rahtz. It is
170 % required if you want graphics, photos, etc. graphicx.sty is already
171 % installed on most LaTeX systems. The latest version and documentation
172 % can be obtained at:
173 % http://www.ctan.org/pkg/graphicx
174 % Another good source of documentation is "Using Imported Graphics in
175 % LaTeX2e" by Keith Reckdahl which can be found at:
176 % http://www.ctan.org/pkg/epslatex
177 %
178 % latex, and pdflatex in dvi mode, support graphics in encapsulated
179 % postscript (.eps) format. pdflatex in pdf mode supports graphics
180 % in .pdf, .jpeg, .png and .mps (metapost) formats. Users should ensure
181 % that all non-photo figures use a vector format (.eps, .pdf, .mps) and
182 % not a bitmapped formats (.jpeg, .png). The IEEE frowns on bitmapped formats
183 % which can result in "jaggedy"/blurry rendering of lines and letters as
184 % well as large increases in file sizes.
185 %
186 % You can find documentation about the pdfTeX application at:
187 % http://www.tug.org/applications/pdftex
188
189
190
191
192
193 % *** MATH PACKAGES ***
194 %
195 %\usepackage{amsmath}
196 % A popular package from the American Mathematical Society that provides
197 % many useful and powerful commands for dealing with mathematics.
198 %
199 % Note that the amsmath package sets \interdisplaylinepenalty to 10000
200 % thus preventing page breaks from occurring within multiline equations. Use:
201 %\interdisplaylinepenalty=2500
202 % after loading amsmath to restore such page breaks as IEEEtran.cls normally
203 % does. amsmath.sty is already installed on most LaTeX systems. The latest
204 % version and documentation can be obtained at:
205 % http://www.ctan.org/pkg/amsmath
206
207
208
209
210
211 % *** SPECIALIZED LIST PACKAGES ***
212 %\usepackage{acronym}
213 % acronym.sty was written by Tobias Oetiker. This package provides tools for
214 % managing documents with large numbers of acronyms. (You don't *have* to
215 % use this package - unless you have a lot of acronyms, you may feel that
216 % such package management of them is bit of an overkill.)
217 % Do note that the acronym environment (which lists acronyms) will have a
218 % problem when used under IEEEtran.cls because acronym.sty relies on the
219 % description list environment - which IEEEtran.cls has customized for
220 % producing IEEE style lists. A workaround is to declared the longest
221 % label width via the IEEEtran.cls \IEEEiedlistdecl global control:
222 %
223 % \renewcommand{\IEEEiedlistdecl}{\IEEEsetlabelwidth{SONET}}
224 % \begin{acronym}
225 %
226 % \end{acronym}
227 % \renewcommand{\IEEEiedlistdecl}{\relax}% remember to reset \IEEEiedlistdecl
228 %
229 % instead of using the acronym environment's optional argument.
230 % The latest version and documentation can be obtained at:
231 % http://www.ctan.org/pkg/acronym
232
233
234 %\usepackage{algorithmic}
235 % algorithmic.sty was written by Peter Williams and Rogerio Brito.
236 % This package provides an algorithmic environment fo describing algorithms.
237 % You can use the algorithmic environment in-text or within a figure
238 % environment to provide for a floating algorithm. Do NOT use the algorithm
239 % floating environment provided by algorithm.sty (by the same authors) or
240 % algorithm2e.sty (by Christophe Fiorio) as the IEEE does not use dedicated
241 % algorithm float types and packages that provide these will not provide
242 % correct IEEE style captions. The latest version and documentation of
243 % algorithmic.sty can be obtained at:
244 % http://www.ctan.org/pkg/algorithms
245 % Also of interest may be the (relatively newer and more customizable)
246 % algorithmicx.sty package by Szasz Janos:
247 % http://www.ctan.org/pkg/algorithmicx
248
249
250
251
252 % *** ALIGNMENT PACKAGES ***
253 %
254 %\usepackage{array}
255 % Frank Mittelbach's and David Carlisle's array.sty patches and improves
256 % the standard LaTeX2e array and tabular environments to provide better
257 % appearance and additional user controls. As the default LaTeX2e table
258 % generation code is lacking to the point of almost being broken with
259 % respect to the quality of the end results, all users are strongly
260 % advised to use an enhanced (at the very least that provided by array.sty)
261 % set of table tools. array.sty is already installed on most systems. The
262 % latest version and documentation can be obtained at:
263 % http://www.ctan.org/pkg/array
264
265
266 %\usepackage{mdwmath}
267 %\usepackage{mdwtab}
268 % Also highly recommended is Mark Wooding's extremely powerful MDW tools,
269 % especially mdwmath.sty and mdwtab.sty which are used to format equations
270 % and tables, respectively. The MDWtools set is already installed on most
271 % LaTeX systems. The lastest version and documentation is available at:
272 % http://www.ctan.org/pkg/mdwtools
273
274
275 % IEEEtran contains the IEEEeqnarray family of commands that can be used to
276 % generate multiline equations as well as matrices, tables, etc., of high
277 % quality.
278
279
280 %\usepackage{eqparbox}
281 % Also of notable interest is Scott Pakin's eqparbox package for creating
282 % (automatically sized) equal width boxes - aka "natural width parboxes".
283 % Available at:
284 % http://www.ctan.org/pkg/eqparbox
285
286
287
288
289 % *** SUBFIGURE PACKAGES ***
290 %\ifCLASSOPTIONcompsoc
291 % \usepackage[caption=false,font=footnotesize,labelfont=sf,textfont=sf]{subfig}
292 %\else
293 % \usepackage[caption=false,font=footnotesize]{subfig}
294 %\fi
295 % subfig.sty, written by Steven Douglas Cochran, is the modern replacement
296 % for subfigure.sty, the latter of which is no longer maintained and is
297 % incompatible with some LaTeX packages including fixltx2e. However,
298 % subfig.sty requires and automatically loads Axel Sommerfeldt's caption.sty
299 % which will override IEEEtran.cls' handling of captions and this will result
300 % in non-IEEE style figure/table captions. To prevent this problem, be sure
301 % and invoke subfig.sty's "caption=false" package option (available since
302 % subfig.sty version 1.3, 2005/06/28) as this is will preserve IEEEtran.cls
303 % handling of captions.
304 % Note that the Computer Society format requires a sans serif font rather
305 % than the serif font used in traditional IEEE formatting and thus the need
306 % to invoke different subfig.sty package options depending on whether
307 % compsoc mode has been enabled.
308 %
309 % The latest version and documentation of subfig.sty can be obtained at:
310 % http://www.ctan.org/pkg/subfig
311
312
313
314
315 % *** FLOAT PACKAGES ***
316 %
317 %\usepackage{fixltx2e}
318 % fixltx2e, the successor to the earlier fix2col.sty, was written by
319 % Frank Mittelbach and David Carlisle. This package corrects a few problems
320 % in the LaTeX2e kernel, the most notable of which is that in current
321 % LaTeX2e releases, the ordering of single and double column floats is not
322 % guaranteed to be preserved. Thus, an unpatched LaTeX2e can allow a
323 % single column figure to be placed prior to an earlier double column
324 % figure.
325 % Be aware that LaTeX2e kernels dated 2015 and later have fixltx2e.sty's
326 % corrections already built into the system in which case a warning will
327 % be issued if an attempt is made to load fixltx2e.sty as it is no longer
328 % needed.
329 % The latest version and documentation can be found at:
330 % http://www.ctan.org/pkg/fixltx2e
331
332
333 %\usepackage{stfloats}
334 % stfloats.sty was written by Sigitas Tolusis. This package gives LaTeX2e
335 % the ability to do double column floats at the bottom of the page as well
336 % as the top. (e.g., "\begin{figure*}[!b]" is not normally possible in
337 % LaTeX2e). It also provides a command:
338 %\fnbelowfloat
339 % to enable the placement of footnotes below bottom floats (the standard
340 % LaTeX2e kernel puts them above bottom floats). This is an invasive package
341 % which rewrites many portions of the LaTeX2e float routines. It may not work
342 % with other packages that modify the LaTeX2e float routines. The latest
343 % version and documentation can be obtained at:
344 % http://www.ctan.org/pkg/stfloats
345 % Do not use the stfloats baselinefloat ability as the IEEE does not allow
346 % \baselineskip to stretch. Authors submitting work to the IEEE should note
347 % that the IEEE rarely uses double column equations and that authors should try
348 % to avoid such use. Do not be tempted to use the cuted.sty or midfloat.sty
349 % packages (also by Sigitas Tolusis) as the IEEE does not format its papers in
350 % such ways.
351 % Do not attempt to use stfloats with fixltx2e as they are incompatible.
352 % Instead, use Morten Hogholm'a dblfloatfix which combines the features
353 % of both fixltx2e and stfloats:
354 %
355 % \usepackage{dblfloatfix}
356 % The latest version can be found at:
357 % http://www.ctan.org/pkg/dblfloatfix
358
359
360 %\ifCLASSOPTIONcaptionsoff
361 % \usepackage[nomarkers]{endfloat}
362 % \let\MYoriglatexcaption\caption
363 % \renewcommand{\caption}[2][\relax]{\MYoriglatexcaption[#2]{#2}}
364 %\fi
365 % endfloat.sty was written by James Darrell McCauley, Jeff Goldberg and
366 % Axel Sommerfeldt. This package may be useful when used in conjunction with
367 % IEEEtran.cls' captionsoff option. Some IEEE journals/societies require that
368 % submissions have lists of figures/tables at the end of the paper and that
369 % figures/tables without any captions are placed on a page by themselves at
370 % the end of the document. If needed, the draftcls IEEEtran class option or
371 % \CLASSINPUTbaselinestretch interface can be used to increase the line
372 % spacing as well. Be sure and use the nomarkers option of endfloat to
373 % prevent endfloat from "marking" where the figures would have been placed
374 % in the text. The two hack lines of code above are a slight modification of
375 % that suggested by in the endfloat docs (section 8.4.1) to ensure that
376 % the full captions always appear in the list of figures/tables - even if
377 % the user used the short optional argument of \caption[]{}.
378 % IEEE papers do not typically make use of \caption[]'s optional argument,
379 % so this should not be an issue. A similar trick can be used to disable
380 % captions of packages such as subfig.sty that lack options to turn off
381 % the subcaptions:
382 % For subfig.sty:
383 % \let\MYorigsubfloat\subfloat
384 % \renewcommand{\subfloat}[2][\relax]{\MYorigsubfloat[]{#2}}
385 % However, the above trick will not work if both optional arguments of
386 % the \subfloat command are used. Furthermore, there needs to be a
387 % description of each subfigure *somewhere* and endfloat does not add
388 % subfigure captions to its list of figures. Thus, the best approach is to
389 % avoid the use of subfigure captions (many IEEE journals avoid them anyway)
390 % and instead reference/explain all the subfigures within the main caption.
391 % The latest version of endfloat.sty and its documentation can obtained at:
392 % http://www.ctan.org/pkg/endfloat
393 %
394 % The IEEEtran \ifCLASSOPTIONcaptionsoff conditional can also be used
395 % later in the document, say, to conditionally put the References on a
396 % page by themselves.
397
398
399
400
401
402 % *** PDF, URL AND HYPERLINK PACKAGES ***
403 %
404 %\usepackage{url}
405 % url.sty was written by Donald Arseneau. It provides better support for
406 % handling and breaking URLs. url.sty is already installed on most LaTeX
407 % systems. The latest version and documentation can be obtained at:
408 % http://www.ctan.org/pkg/url
409 % Basically, \url{my_url_here}.
410
411
412 % NOTE: PDF thumbnail features are not required in IEEE papers
413 % and their use requires extra complexity and work.
414 %\ifCLASSINFOpdf
415 % \usepackage[pdftex]{thumbpdf}
416 %\else
417 % \usepackage[dvips]{thumbpdf}
418 %\fi
419 % thumbpdf.sty and its companion Perl utility were written by Heiko Oberdiek.
420 % It allows the user a way to produce PDF documents that contain fancy
421 % thumbnail images of each of the pages (which tools like acrobat reader can
422 % utilize). This is possible even when using dvi->ps->pdf workflow if the
423 % correct thumbpdf driver options are used. thumbpdf.sty incorporates the
424 % file containing the PDF thumbnail information (filename.tpm is used with
425 % dvips, filename.tpt is used with pdftex, where filename is the base name of
426 % your tex document) into the final ps or pdf output document. An external
427 % utility, the thumbpdf *Perl script* is needed to make these .tpm or .tpt
428 % thumbnail files from a .ps or .pdf version of the document (which obviously
429 % does not yet contain pdf thumbnails). Thus, one does a:
430 %
431 % thumbpdf filename.pdf
432 %
433 % to make a filename.tpt, and:
434 %
435 % thumbpdf --mode dvips filename.ps
436 %
437 % to make a filename.tpm which will then be loaded into the document by
438 % thumbpdf.sty the NEXT time the document is compiled (by pdflatex or
439 % latex->dvips->ps2pdf). Users must be careful to regenerate the .tpt and/or
440 % .tpm files if the main document changes and then to recompile the
441 % document to incorporate the revised thumbnails to ensure that thumbnails
442 % match the actual pages. It is easy to forget to do this!
443 %
444 % Unix systems come with a Perl interpreter. However, MS Windows users
445 % will usually have to install a Perl interpreter so that the thumbpdf
446 % script can be run. The Ghostscript PS/PDF interpreter is also required.
447 % See the thumbpdf docs for details. The latest version and documentation
448 % can be obtained at.
449 % http://www.ctan.org/pkg/thumbpdf
450
451
452 % NOTE: PDF hyperlink and bookmark features are not required in IEEE
453 % papers and their use requires extra complexity and work.
454 % *** IF USING HYPERREF BE SURE AND CHANGE THE EXAMPLE PDF ***
455 % *** TITLE/SUBJECT/AUTHOR/KEYWORDS INFO BELOW!! ***
456 \newcommand\MYhyperrefoptions{bookmarks=true,bookmarksnumbered=true,
457 pdfpagemode={UseOutlines},plainpages=false,pdfpagelabels=true,
458 colorlinks=true,linkcolor={black},citecolor={black},urlcolor={black},
459 pdftitle={Bare Demo of IEEEtran.cls for Computer Society Journals},%<!CHANGE!
460 pdfsubject={Typesetting},%<!CHANGE!
461 pdfauthor={Michael D. Shell},%<!CHANGE!
462 pdfkeywords={Computer Society, IEEEtran, journal, LaTeX, paper,
463 template}}%<^!CHANGE!
464 %\ifCLASSINFOpdf
465 %\usepackage[\MYhyperrefoptions,pdftex]{hyperref}
466 %\else
467 %\usepackage[\MYhyperrefoptions,breaklinks=true,dvips]{hyperref}
468 %\usepackage{breakurl}
469 %\fi
470 % One significant drawback of using hyperref under DVI output is that the
471 % LaTeX compiler cannot break URLs across lines or pages as can be done
472 % under pdfLaTeX's PDF output via the hyperref pdftex driver. This is
473 % probably the single most important capability distinction between the
474 % DVI and PDF output. Perhaps surprisingly, all the other PDF features
475 % (PDF bookmarks, thumbnails, etc.) can be preserved in
476 % .tex->.dvi->.ps->.pdf workflow if the respective packages/scripts are
477 % loaded/invoked with the correct driver options (dvips, etc.).
478 % As most IEEE papers use URLs sparingly (mainly in the references), this
479 % may not be as big an issue as with other publications.
480 %
481 % That said, Vilar Camara Neto created his breakurl.sty package which
482 % permits hyperref to easily break URLs even in dvi mode.
483 % Note that breakurl, unlike most other packages, must be loaded
484 % AFTER hyperref. The latest version of breakurl and its documentation can
485 % be obtained at:
486 % http://www.ctan.org/pkg/breakurl
487 % breakurl.sty is not for use under pdflatex pdf mode.
488 %
489 % The advanced features offer by hyperref.sty are not required for IEEE
490 % submission, so users should weigh these features against the added
491 % complexity of use.
492 % The package options above demonstrate how to enable PDF bookmarks
493 % (a type of table of contents viewable in Acrobat Reader) as well as
494 % PDF document information (title, subject, author and keywords) that is
495 % viewable in Acrobat reader's Document_Properties menu. PDF document
496 % information is also used extensively to automate the cataloging of PDF
497 % documents. The above set of options ensures that hyperlinks will not be
498 % colored in the text and thus will not be visible in the printed page,
499 % but will be active on "mouse over". USING COLORS OR OTHER HIGHLIGHTING
500 % OF HYPERLINKS CAN RESULT IN DOCUMENT REJECTION BY THE IEEE, especially if
501 % these appear on the "printed" page. IF IN DOUBT, ASK THE RELEVANT
502 % SUBMISSION EDITOR. You may need to add the option hypertexnames=false if
503 % you used duplicate equation numbers, etc., but this should not be needed
504 % in normal IEEE work.
505 % The latest version of hyperref and its documentation can be obtained at:
506 % http://www.ctan.org/pkg/hyperref
507
508
509
510
511
512 % *** Do not adjust lengths that control margins, column widths, etc. ***
513 % *** Do not use packages that alter fonts (such as pslatex). ***
514 % There should be no need to do such things with IEEEtran.cls V1.6 and later.
515 % (Unless specifically asked to do so by the journal or conference you plan
516 % to submit to, of course. )
517
518
519 % correct bad hyphenation here
520 \hyphenation{op-tical net-works semi-conduc-tor}
521
522
523 \begin{document}
524 %
525 % paper title
526 % Titles are generally capitalized except for words such as a, an, and, as,
527 % at, but, by, for, in, nor, of, on, or, the, to and up, which are usually
528 % not capitalized unless they are the first or last word of the title.
529 % Linebreaks \\ can be used within to get better formatting as desired.
530 % Do not put math or special symbols in the title.
531 \title{Bare Advanced Demo of IEEEtran.cls for\\ IEEE Computer Society Journals}
532 %
533 %
534 % author names and IEEE memberships
535 % note positions of commas and nonbreaking spaces ( ~ ) LaTeX will not break
536 % a structure at a ~ so this keeps an author's name from being broken across
537 % two lines.
538 % use \thanks{} to gain access to the first footnote area
539 % a separate \thanks must be used for each paragraph as LaTeX2e's \thanks
540 % was not built to handle multiple paragraphs
541 %
542 %
543 %\IEEEcompsocitemizethanks is a special \thanks that produces the bulleted
544 % lists the Computer Society journals use for "first footnote" author
545 % affiliations. Use \IEEEcompsocthanksitem which works much like \item
546 % for each affiliation group. When not in compsoc mode,
547 % \IEEEcompsocitemizethanks becomes like \thanks and
548 % \IEEEcompsocthanksitem becomes a line break with idention. This
549 % facilitates dual compilation, although admittedly the differences in the
550 % desired content of \author between the different types of papers makes a
551 % one-size-fits-all approach a daunting prospect. For instance, compsoc
552 % journal papers have the author affiliations above the "Manuscript
553 % received ..." text while in non-compsoc journals this is reversed. Sigh.
554
555 \author{Michael~Shell,~\IEEEmembership{Member,~IEEE,}
556 John~Doe,~\IEEEmembership{Fellow,~OSA,}
557 and~Jane~Doe,~\IEEEmembership{Life~Fellow,~IEEE}% <-this % stops a space
558 \IEEEcompsocitemizethanks{\IEEEcompsocthanksitem M. Shell was with the Department
559 of Electrical and Computer Engineering, Georgia Institute of Technology, Atlanta,
560 GA, 30332.\protect\\
561 % note need leading \protect in front of \\ to get a newline within \thanks as
562 % \\ is fragile and will error, could use \hfil\break instead.
563 E-mail: see http://www.michaelshell.org/contact.html
564 \IEEEcompsocthanksitem J. Doe and J. Doe are with Anonymous University.}% <-this % stops a space
565 \thanks{Manuscript received April 19, 2005; revised August 26, 2015.}}
566
567 % note the % following the last \IEEEmembership and also \thanks -
568 % these prevent an unwanted space from occurring between the last author name
569 % and the end of the author line. i.e., if you had this:
570 %
571 % \author{....lastname \thanks{...} \thanks{...} }
572 % ^------------^------------^----Do not want these spaces!
573 %
574 % a space would be appended to the last name and could cause every name on that
575 % line to be shifted left slightly. This is one of those "LaTeX things". For
576 % instance, "\textbf{A} \textbf{B}" will typeset as "A B" not "AB". To get
577 % "AB" then you have to do: "\textbf{A}\textbf{B}"
578 % \thanks is no different in this regard, so shield the last } of each \thanks
579 % that ends a line with a % and do not let a space in before the next \thanks.
580 % Spaces after \IEEEmembership other than the last one are OK (and needed) as
581 % you are supposed to have spaces between the names. For what it is worth,
582 % this is a minor point as most people would not even notice if the said evil
583 % space somehow managed to creep in.
584
585
586
587 % The paper headers
588 \markboth{Journal of \LaTeX\ Class Files,~Vol.~14, No.~8, August~2015}%
589 {Shell \MakeLowercase{\textit{et al.}}: Bare Advanced Demo of IEEEtran.cls for IEEE Computer Society Journals}
590 % The only time the second header will appear is for the odd numbered pages
591 % after the title page when using the twoside option.
592 %
593 % *** Note that you probably will NOT want to include the author's ***
594 % *** name in the headers of peer review papers. ***
595 % You can use \ifCLASSOPTIONpeerreview for conditional compilation here if
596 % you desire.
597
598
599
600 % The publisher's ID mark at the bottom of the page is less important with
601 % Computer Society journal papers as those publications place the marks
602 % outside of the main text columns and, therefore, unlike regular IEEE
603 % journals, the available text space is not reduced by their presence.
604 % If you want to put a publisher's ID mark on the page you can do it like
605 % this:
606 %\IEEEpubid{0000--0000/00\$00.00~\copyright~2015 IEEE}
607 % or like this to get the Computer Society new two part style.
608 %\IEEEpubid{\makebox[\columnwidth]{\hfill 0000--0000/00/\$00.00~\copyright~2015 IEEE}%
609 %\hspace{\columnsep}\makebox[\columnwidth]{Published by the IEEE Computer Society\hfill}}
610 % Remember, if you use this you must call \IEEEpubidadjcol in the second
611 % column for its text to clear the IEEEpubid mark (Computer Society journal
612 % papers don't need this extra clearance.)
613
614
615
616 % use for special paper notices
617 %\IEEEspecialpapernotice{(Invited Paper)}
618
619
620
621 % for Computer Society papers, we must declare the abstract and index terms
622 % PRIOR to the title within the \IEEEtitleabstractindextext IEEEtran
623 % command as these need to go into the title area created by \maketitle.
624 % As a general rule, do not put math, special symbols or citations
625 % in the abstract or keywords.
626 \IEEEtitleabstractindextext{%
627 \begin{abstract}
628 The abstract goes here.
629 \end{abstract}
630
631 % Note that keywords are not normally used for peerreview papers.
632 \begin{IEEEkeywords}
633 Computer Society, IEEE, IEEEtran, journal, \LaTeX, paper, template.
634 \end{IEEEkeywords}}
635
636
637 % make the title area
638 \maketitle
639
640
641 % To allow for easy dual compilation without having to reenter the
642 % abstract/keywords data, the \IEEEtitleabstractindextext text will
643 % not be used in maketitle, but will appear (i.e., to be "transported")
644 % here as \IEEEdisplaynontitleabstractindextext when compsoc mode
645 % is not selected <OR> if conference mode is selected - because compsoc
646 % conference papers position the abstract like regular (non-compsoc)
647 % papers do!
648 \IEEEdisplaynontitleabstractindextext
649 % \IEEEdisplaynontitleabstractindextext has no effect when using
650 % compsoc under a non-conference mode.
651
652
653 % For peer review papers, you can put extra information on the cover
654 % page as needed:
655 % \ifCLASSOPTIONpeerreview
656 % \begin{center} \bfseries EDICS Category: 3-BBND \end{center}
657 % \fi
658 %
659 % For peerreview papers, this IEEEtran command inserts a page break and
660 % creates the second title. It will be ignored for other modes.
661 \IEEEpeerreviewmaketitle
662
663
664 \ifCLASSOPTIONcompsoc
665 \IEEEraisesectionheading{\section{Introduction}\label{sec:introduction}}
666 \else
667 \section{Introduction}
668 \label{sec:introduction}
669 \fi
670 % Computer Society journal (but not conference!) papers do something unusual
671 % with the very first section heading (almost always called "Introduction").
672 % They place it ABOVE the main text! IEEEtran.cls does not automatically do
673 % this for you, but you can achieve this effect with the provided
674 % \IEEEraisesectionheading{} command. Note the need to keep any \label that
675 % is to refer to the section immediately after \section in the above as
676 % \IEEEraisesectionheading puts \section within a raised box.
677
678
679
680
681 % The very first letter is a 2 line initial drop letter followed
682 % by the rest of the first word in caps (small caps for compsoc).
683 %
684 % form to use if the first word consists of a single letter:
685 % \IEEEPARstart{A}{demo} file is ....
686 %
687 % form to use if you need the single drop letter followed by
688 % normal text (unknown if ever used by the IEEE):
689 % \IEEEPARstart{A}{}demo file is ....
690 %
691 % Some journals put the first two words in caps:
692 % \IEEEPARstart{T}{his demo} file is ....
693 %
694 % Here we have the typical use of a "T" for an initial drop letter
695 % and "HIS" in caps to complete the first word.
696 \IEEEPARstart{T}{his} demo file is intended to serve as a ``starter file''
697 for IEEE Computer Society journal papers produced under \LaTeX\ using
698 IEEEtran.cls version 1.8b and later.
699 % You must have at least 2 lines in the paragraph with the drop letter
700 % (should never be an issue)
701 I wish you the best of success.
702
703 \hfill mds
704
705 \hfill August 26, 2015
706
707 \subsection{Subsection Heading Here}
708 Subsection text here.
709
710 % needed in second column of first page if using \IEEEpubid
711 %\IEEEpubidadjcol
712
713 \subsubsection{Subsubsection Heading Here}
714 Subsubsection text here.
715
716
717 % An example of a floating figure using the graphicx package.
718 % Note that \label must occur AFTER (or within) \caption.
719 % For figures, \caption should occur after the \includegraphics.
720 % Note that IEEEtran v1.7 and later has special internal code that
721 % is designed to preserve the operation of \label within \caption
722 % even when the captionsoff option is in effect. However, because
723 % of issues like this, it may be the safest practice to put all your
724 % \label just after \caption rather than within \caption{}.
725 %
726 % Reminder: the "draftcls" or "draftclsnofoot", not "draft", class
727 % option should be used if it is desired that the figures are to be
728 % displayed while in draft mode.
729 %
730 %\begin{figure}[!t]
731 %\centering
732 %\includegraphics[width=2.5in]{myfigure}
733 % where an .eps filename suffix will be assumed under latex,
734 % and a .pdf suffix will be assumed for pdflatex; or what has been declared
735 % via \DeclareGraphicsExtensions.
736 %\caption{Simulation results for the network.}
737 %\label{fig_sim}
738 %\end{figure}
739
740 % Note that the IEEE typically puts floats only at the top, even when this
741 % results in a large percentage of a column being occupied by floats.
742 % However, the Computer Society has been known to put floats at the bottom.
743
744
745 % An example of a double column floating figure using two subfigures.
746 % (The subfig.sty package must be loaded for this to work.)
747 % The subfigure \label commands are set within each subfloat command,
748 % and the \label for the overall figure must come after \caption.
749 % \hfil is used as a separator to get equal spacing.
750 % Watch out that the combined width of all the subfigures on a
751 % line do not exceed the text width or a line break will occur.
752 %
753 %\begin{figure*}[!t]
754 %\centering
755 %\subfloat[Case I]{\includegraphics[width=2.5in]{box}%
756 %\label{fig_first_case}}
757 %\hfil
758 %\subfloat[Case II]{\includegraphics[width=2.5in]{box}%
759 %\label{fig_second_case}}
760 %\caption{Simulation results for the network.}
761 %\label{fig_sim}
762 %\end{figure*}
763 %
764 % Note that often IEEE papers with subfigures do not employ subfigure
765 % captions (using the optional argument to \subfloat[]), but instead will
766 % reference/describe all of them (a), (b), etc., within the main caption.
767 % Be aware that for subfig.sty to generate the (a), (b), etc., subfigure
768 % labels, the optional argument to \subfloat must be present. If a
769 % subcaption is not desired, just leave its contents blank,
770 % e.g., \subfloat[].
771
772
773 % An example of a floating table. Note that, for IEEE style tables, the
774 % \caption command should come BEFORE the table and, given that table
775 % captions serve much like titles, are usually capitalized except for words
776 % such as a, an, and, as, at, but, by, for, in, nor, of, on, or, the, to
777 % and up, which are usually not capitalized unless they are the first or
778 % last word of the caption. Table text will default to \footnotesize as
779 % the IEEE normally uses this smaller font for tables.
780 % The \label must come after \caption as always.
781 %
782 %\begin{table}[!t]
783 %% increase table row spacing, adjust to taste
784 %\renewcommand{\arraystretch}{1.3}
785 % if using array.sty, it might be a good idea to tweak the value of
786 % \extrarowheight as needed to properly center the text within the cells
787 %\caption{An Example of a Table}
788 %\label{table_example}
789 %\centering
790 %% Some packages, such as MDW tools, offer better commands for making tables
791 %% than the plain LaTeX2e tabular which is used here.
792 %\begin{tabular}{|c||c|}
793 %\hline
794 %One & Two\\
795 %\hline
796 %Three & Four\\
797 %\hline
798 %\end{tabular}
799 %\end{table}
800
801
802 % Note that the IEEE does not put floats in the very first column
803 % - or typically anywhere on the first page for that matter. Also,
804 % in-text middle ("here") positioning is typically not used, but it
805 % is allowed and encouraged for Computer Society conferences (but
806 % not Computer Society journals). Most IEEE journals/conferences use
807 % top floats exclusively.
808 % Note that, LaTeX2e, unlike IEEE journals/conferences, places
809 % footnotes above bottom floats. This can be corrected via the
810 % \fnbelowfloat command of the stfloats package.
811
812
813
814
815 \section{Conclusion}
816 The conclusion goes here.
817
818
819
820
821
822 % if have a single appendix:
823 %\appendix[Proof of the Zonklar Equations]
824 % or
825 %\appendix % for no appendix heading
826 % do not use \section anymore after \appendix, only \section*
827 % is possibly needed
828
829 % use appendices with more than one appendix
830 % then use \section to start each appendix
831 % you must declare a \section before using any
832 % \subsection or using \label (\appendices by itself
833 % starts a section numbered zero.)
834 %
835
836
837 \appendices
838 \section{Proof of the First Zonklar Equation}
839 Appendix one text goes here.
840
841 % you can choose not to have a title for an appendix
842 % if you want by leaving the argument blank
843 \section{}
844 Appendix two text goes here.
845
846
847 % use section* for acknowledgment
848 \ifCLASSOPTIONcompsoc
849 % The Computer Society usually uses the plural form
850 \section*{Acknowledgments}
851 \else
852 % regular IEEE prefers the singular form
853 \section*{Acknowledgment}
854 \fi
855
856
857 The authors would like to thank...
858
859
860 % Can use something like this to put references on a page
861 % by themselves when using endfloat and the captionsoff option.
862 \ifCLASSOPTIONcaptionsoff
863 \newpage
864 \fi
865
866
867
868 % trigger a \newpage just before the given reference
869 % number - used to balance the columns on the last page
870 % adjust value as needed - may need to be readjusted if
871 % the document is modified later
872 %\IEEEtriggeratref{8}
873 % The "triggered" command can be changed if desired:
874 %\IEEEtriggercmd{\enlargethispage{-5in}}
875
876 % references section
877
878 % can use a bibliography generated by BibTeX as a .bbl file
879 % BibTeX documentation can be easily obtained at:
880 % http://mirror.ctan.org/biblio/bibtex/contrib/doc/
881 % The IEEEtran BibTeX style support page is at:
882 % http://www.michaelshell.org/tex/ieeetran/bibtex/
883 %\bibliographystyle{IEEEtran}
884 % argument is your BibTeX string definitions and bibliography database(s)
885 %\bibliography{IEEEabrv,../bib/paper}
886 %
887 % <OR> manually copy in the resultant .bbl file
888 % set second argument of \begin to the number of references
889 % (used to reserve space for the reference number labels box)
890 \begin{thebibliography}{1}
891
892 \bibitem{IEEEhowto:kopka}
893 H.~Kopka and P.~W. Daly, \emph{A Guide to {\LaTeX}}, 3rd~ed.\hskip 1em plus
894 0.5em minus 0.4em\relax Harlow, England: Addison-Wesley, 1999.
895
896 \end{thebibliography}
897
898 % biography section
899 %
900 % If you have an EPS/PDF photo (graphicx package needed) extra braces are
901 % needed around the contents of the optional argument to biography to prevent
902 % the LaTeX parser from getting confused when it sees the complicated
903 % \includegraphics command within an optional argument. (You could create
904 % your own custom macro containing the \includegraphics command to make things
905 % simpler here.)
906 %\begin{IEEEbiography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{mshell}}]{Michael Shell}
907 % or if you just want to reserve a space for a photo:
908
909 \begin{IEEEbiography}{Michael Shell}
910 Biography text here.
911 \end{IEEEbiography}
912
913 % if you will not have a photo at all:
914 \begin{IEEEbiographynophoto}{John Doe}
915 Biography text here.
916 \end{IEEEbiographynophoto}
917
918 % insert where needed to balance the two columns on the last page with
919 % biographies
920 %\newpage
921
922 \begin{IEEEbiographynophoto}{Jane Doe}
923 Biography text here.
924 \end{IEEEbiographynophoto}
925
926 % You can push biographies down or up by placing
927 % a \vfill before or after them. The appropriate
928 % use of \vfill depends on what kind of text is
929 % on the last page and whether or not the columns
930 % are being equalized.
931
932 %\vfill
933
934 % Can be used to pull up biographies so that the bottom of the last one
935 % is flush with the other column.
936 %\enlargethispage{-5in}
937
938
939
940 % that's all folks
941 \end{document}
942
943