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