1 | |
---|
2 | %% bare_jrnl.tex |
---|
3 | %% V1.3 |
---|
4 | %% 2007/01/11 |
---|
5 | %% by Michael Shell |
---|
6 | %% see http://www.michaelshell.org/ |
---|
7 | %% for current contact information. |
---|
8 | %% |
---|
9 | %% This is a skeleton file demonstrating the use of IEEEtran.cls |
---|
10 | %% (requires IEEEtran.cls version 1.7 or later) with an IEEE journal paper. |
---|
11 | %% |
---|
12 | %% Support sites: |
---|
13 | %% http://www.michaelshell.org/tex/ieeetran/ |
---|
14 | %% http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/ |
---|
15 | %% and |
---|
16 | %% http://www.ieee.org/ |
---|
17 | |
---|
18 | |
---|
19 | |
---|
20 | % *** Authors should verify (and, if needed, correct) their LaTeX system *** |
---|
21 | % *** with the testflow diagnostic prior to trusting their LaTeX platform *** |
---|
22 | % *** with production work. IEEE's font choices can trigger bugs that do *** |
---|
23 | % *** not appear when using other class files. *** |
---|
24 | % The testflow support page is at: |
---|
25 | % http://www.michaelshell.org/tex/testflow/ |
---|
26 | |
---|
27 | |
---|
28 | %%************************************************************************* |
---|
29 | %% Legal Notice: |
---|
30 | %% This code is offered as-is without any warranty either expressed or |
---|
31 | %% implied; without even the implied warranty of MERCHANTABILITY or |
---|
32 | %% FITNESS FOR A PARTICULAR PURPOSE! |
---|
33 | %% User assumes all risk. |
---|
34 | %% In no event shall IEEE or any contributor to this code be liable for |
---|
35 | %% any damages or losses, including, but not limited to, incidental, |
---|
36 | %% consequential, or any other damages, resulting from the use or misuse |
---|
37 | %% of any information contained here. |
---|
38 | %% |
---|
39 | %% All comments are the opinions of their respective authors and are not |
---|
40 | %% necessarily endorsed by the IEEE. |
---|
41 | %% |
---|
42 | %% This work is distributed under the LaTeX Project Public License (LPPL) |
---|
43 | %% ( http://www.latex-project.org/ ) version 1.3, and may be freely used, |
---|
44 | %% distributed and modified. A copy of the LPPL, version 1.3, is included |
---|
45 | %% in the base LaTeX documentation of all distributions of LaTeX released |
---|
46 | %% 2003/12/01 or later. |
---|
47 | %% Retain all contribution notices and credits. |
---|
48 | %% ** Modified files should be clearly indicated as such, including ** |
---|
49 | %% ** renaming them and changing author support contact information. ** |
---|
50 | %% |
---|
51 | %% File list of work: IEEEtran.cls, IEEEtran_HOWTO.pdf, bare_adv.tex, |
---|
52 | %% bare_conf.tex, bare_jrnl.tex, bare_jrnl_compsoc.tex |
---|
53 | %%************************************************************************* |
---|
54 | |
---|
55 | % Note that the a4paper option is mainly intended so that authors in |
---|
56 | % countries using A4 can easily print to A4 and see how their papers will |
---|
57 | % look in print - the typesetting of the document will not typically be |
---|
58 | % affected with changes in paper size (but the bottom and side margins will). |
---|
59 | % Use the testflow package mentioned above to verify correct handling of |
---|
60 | % both paper sizes by the user's LaTeX system. |
---|
61 | % |
---|
62 | % Also note that the "draftcls" or "draftclsnofoot", not "draft", option |
---|
63 | % should be used if it is desired that the figures are to be displayed in |
---|
64 | % draft mode. |
---|
65 | % |
---|
66 | \documentclass[journal]{IEEEtran} |
---|
67 | % |
---|
68 | % If IEEEtran.cls has not been installed into the LaTeX system files, |
---|
69 | % manually specify the path to it like: |
---|
70 | % \documentclass[journal]{../sty/IEEEtran} |
---|
71 | |
---|
72 | |
---|
73 | |
---|
74 | |
---|
75 | |
---|
76 | % Some very useful LaTeX packages include: |
---|
77 | % (uncomment the ones you want to load) |
---|
78 | |
---|
79 | |
---|
80 | % *** MISC UTILITY PACKAGES *** |
---|
81 | % |
---|
82 | %\usepackage{ifpdf} |
---|
83 | % Heiko Oberdiek's ifpdf.sty is very useful if you need conditional |
---|
84 | % compilation based on whether the output is pdf or dvi. |
---|
85 | % usage: |
---|
86 | % \ifpdf |
---|
87 | % % pdf code |
---|
88 | % \else |
---|
89 | % % dvi code |
---|
90 | % \fi |
---|
91 | % The latest version of ifpdf.sty can be obtained from: |
---|
92 | % http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/ |
---|
93 | % Also, note that IEEEtran.cls V1.7 and later provides a builtin |
---|
94 | % \ifCLASSINFOpdf conditional that works the same way. |
---|
95 | % When switching from latex to pdflatex and vice-versa, the compiler may |
---|
96 | % have to be run twice to clear warning/error messages. |
---|
97 | |
---|
98 | |
---|
99 | |
---|
100 | |
---|
101 | |
---|
102 | |
---|
103 | % *** CITATION PACKAGES *** |
---|
104 | % |
---|
105 | %\usepackage{cite} |
---|
106 | % cite.sty was written by Donald Arseneau |
---|
107 | % V1.6 and later of IEEEtran pre-defines the format of the cite.sty package |
---|
108 | % \cite{} output to follow that of IEEE. Loading the cite package will |
---|
109 | % result in citation numbers being automatically sorted and properly |
---|
110 | % "compressed/ranged". e.g., [1], [9], [2], [7], [5], [6] without using |
---|
111 | % cite.sty will become [1], [2], [5]--[7], [9] using cite.sty. cite.sty's |
---|
112 | % \cite will automatically add leading space, if needed. Use cite.sty's |
---|
113 | % noadjust option (cite.sty V3.8 and later) if you want to turn this off. |
---|
114 | % cite.sty is already installed on most LaTeX systems. Be sure and use |
---|
115 | % version 4.0 (2003-05-27) and later if using hyperref.sty. cite.sty does |
---|
116 | % not currently provide for hyperlinked citations. |
---|
117 | % The latest version can be obtained at: |
---|
118 | % http://www.ctan.org/tex-archive/macros/latex/contrib/cite/ |
---|
119 | % The documentation is contained in the cite.sty file itself. |
---|
120 | |
---|
121 | |
---|
122 | |
---|
123 | |
---|
124 | |
---|
125 | |
---|
126 | % *** GRAPHICS RELATED PACKAGES *** |
---|
127 | % |
---|
128 | \ifCLASSINFOpdf |
---|
129 | % \usepackage[pdftex]{graphicx} |
---|
130 | % declare the path(s) where your graphic files are |
---|
131 | % \graphicspath{{../pdf/}{../jpeg/}} |
---|
132 | % and their extensions so you won't have to specify these with |
---|
133 | % every instance of \includegraphics |
---|
134 | % \DeclareGraphicsExtensions{.pdf,.jpeg,.png} |
---|
135 | \else |
---|
136 | % or other class option (dvipsone, dvipdf, if not using dvips). graphicx |
---|
137 | % will default to the driver specified in the system graphics.cfg if no |
---|
138 | % driver is specified. |
---|
139 | % \usepackage[dvips]{graphicx} |
---|
140 | % declare the path(s) where your graphic files are |
---|
141 | % \graphicspath{{../eps/}} |
---|
142 | % and their extensions so you won't have to specify these with |
---|
143 | % every instance of \includegraphics |
---|
144 | % \DeclareGraphicsExtensions{.eps} |
---|
145 | \fi |
---|
146 | % graphicx was written by David Carlisle and Sebastian Rahtz. It is |
---|
147 | % required if you want graphics, photos, etc. graphicx.sty is already |
---|
148 | % installed on most LaTeX systems. The latest version and documentation can |
---|
149 | % be obtained at: |
---|
150 | % http://www.ctan.org/tex-archive/macros/latex/required/graphics/ |
---|
151 | % Another good source of documentation is "Using Imported Graphics in |
---|
152 | % LaTeX2e" by Keith Reckdahl which can be found as epslatex.ps or |
---|
153 | % epslatex.pdf at: http://www.ctan.org/tex-archive/info/ |
---|
154 | % |
---|
155 | % latex, and pdflatex in dvi mode, support graphics in encapsulated |
---|
156 | % postscript (.eps) format. pdflatex in pdf mode supports graphics |
---|
157 | % in .pdf, .jpeg, .png and .mps (metapost) formats. Users should ensure |
---|
158 | % that all non-photo figures use a vector format (.eps, .pdf, .mps) and |
---|
159 | % not a bitmapped formats (.jpeg, .png). IEEE frowns on bitmapped formats |
---|
160 | % which can result in "jaggedy"/blurry rendering of lines and letters as |
---|
161 | % well as large increases in file sizes. |
---|
162 | % |
---|
163 | % You can find documentation about the pdfTeX application at: |
---|
164 | % http://www.tug.org/applications/pdftex |
---|
165 | |
---|
166 | |
---|
167 | |
---|
168 | |
---|
169 | |
---|
170 | % *** MATH PACKAGES *** |
---|
171 | % |
---|
172 | %\usepackage[cmex10]{amsmath} |
---|
173 | % A popular package from the American Mathematical Society that provides |
---|
174 | % many useful and powerful commands for dealing with mathematics. If using |
---|
175 | % it, be sure to load this package with the cmex10 option to ensure that |
---|
176 | % only type 1 fonts will utilized at all point sizes. Without this option, |
---|
177 | % it is possible that some math symbols, particularly those within |
---|
178 | % footnotes, will be rendered in bitmap form which will result in a |
---|
179 | % document that can not be IEEE Xplore compliant! |
---|
180 | % |
---|
181 | % Also, note that the amsmath package sets \interdisplaylinepenalty to 10000 |
---|
182 | % thus preventing page breaks from occurring within multiline equations. Use: |
---|
183 | %\interdisplaylinepenalty=2500 |
---|
184 | % after loading amsmath to restore such page breaks as IEEEtran.cls normally |
---|
185 | % does. amsmath.sty is already installed on most LaTeX systems. The latest |
---|
186 | % version and documentation can be obtained at: |
---|
187 | % http://www.ctan.org/tex-archive/macros/latex/required/amslatex/math/ |
---|
188 | |
---|
189 | |
---|
190 | |
---|
191 | |
---|
192 | |
---|
193 | % *** SPECIALIZED LIST PACKAGES *** |
---|
194 | % |
---|
195 | %\usepackage{algorithmic} |
---|
196 | % algorithmic.sty was written by Peter Williams and Rogerio Brito. |
---|
197 | % This package provides an algorithmic environment fo describing algorithms. |
---|
198 | % You can use the algorithmic environment in-text or within a figure |
---|
199 | % environment to provide for a floating algorithm. Do NOT use the algorithm |
---|
200 | % floating environment provided by algorithm.sty (by the same authors) or |
---|
201 | % algorithm2e.sty (by Christophe Fiorio) as IEEE does not use dedicated |
---|
202 | % algorithm float types and packages that provide these will not provide |
---|
203 | % correct IEEE style captions. The latest version and documentation of |
---|
204 | % algorithmic.sty can be obtained at: |
---|
205 | % http://www.ctan.org/tex-archive/macros/latex/contrib/algorithms/ |
---|
206 | % There is also a support site at: |
---|
207 | % http://algorithms.berlios.de/index.html |
---|
208 | % Also of interest may be the (relatively newer and more customizable) |
---|
209 | % algorithmicx.sty package by Szasz Janos: |
---|
210 | % http://www.ctan.org/tex-archive/macros/latex/contrib/algorithmicx/ |
---|
211 | |
---|
212 | |
---|
213 | |
---|
214 | |
---|
215 | % *** ALIGNMENT PACKAGES *** |
---|
216 | % |
---|
217 | %\usepackage{array} |
---|
218 | % Frank Mittelbach's and David Carlisle's array.sty patches and improves |
---|
219 | % the standard LaTeX2e array and tabular environments to provide better |
---|
220 | % appearance and additional user controls. As the default LaTeX2e table |
---|
221 | % generation code is lacking to the point of almost being broken with |
---|
222 | % respect to the quality of the end results, all users are strongly |
---|
223 | % advised to use an enhanced (at the very least that provided by array.sty) |
---|
224 | % set of table tools. array.sty is already installed on most systems. The |
---|
225 | % latest version and documentation can be obtained at: |
---|
226 | % http://www.ctan.org/tex-archive/macros/latex/required/tools/ |
---|
227 | |
---|
228 | |
---|
229 | %\usepackage{mdwmath} |
---|
230 | %\usepackage{mdwtab} |
---|
231 | % Also highly recommended is Mark Wooding's extremely powerful MDW tools, |
---|
232 | % especially mdwmath.sty and mdwtab.sty which are used to format equations |
---|
233 | % and tables, respectively. The MDWtools set is already installed on most |
---|
234 | % LaTeX systems. The lastest version and documentation is available at: |
---|
235 | % http://www.ctan.org/tex-archive/macros/latex/contrib/mdwtools/ |
---|
236 | |
---|
237 | |
---|
238 | % IEEEtran contains the IEEEeqnarray family of commands that can be used to |
---|
239 | % generate multiline equations as well as matrices, tables, etc., of high |
---|
240 | % quality. |
---|
241 | |
---|
242 | |
---|
243 | %\usepackage{eqparbox} |
---|
244 | % Also of notable interest is Scott Pakin's eqparbox package for creating |
---|
245 | % (automatically sized) equal width boxes - aka "natural width parboxes". |
---|
246 | % Available at: |
---|
247 | % http://www.ctan.org/tex-archive/macros/latex/contrib/eqparbox/ |
---|
248 | |
---|
249 | |
---|
250 | |
---|
251 | |
---|
252 | |
---|
253 | % *** SUBFIGURE PACKAGES *** |
---|
254 | %\usepackage[tight,footnotesize]{subfigure} |
---|
255 | % subfigure.sty was written by Steven Douglas Cochran. This package makes it |
---|
256 | % easy to put subfigures in your figures. e.g., "Figure 1a and 1b". For IEEE |
---|
257 | % work, it is a good idea to load it with the tight package option to reduce |
---|
258 | % the amount of white space around the subfigures. subfigure.sty is already |
---|
259 | % installed on most LaTeX systems. The latest version and documentation can |
---|
260 | % be obtained at: |
---|
261 | % http://www.ctan.org/tex-archive/obsolete/macros/latex/contrib/subfigure/ |
---|
262 | % subfigure.sty has been superceeded by subfig.sty. |
---|
263 | |
---|
264 | |
---|
265 | |
---|
266 | %\usepackage[caption=false]{caption} |
---|
267 | %\usepackage[font=footnotesize]{subfig} |
---|
268 | % subfig.sty, also written by Steven Douglas Cochran, is the modern |
---|
269 | % replacement for subfigure.sty. However, subfig.sty requires and |
---|
270 | % automatically loads Axel Sommerfeldt's caption.sty which will override |
---|
271 | % IEEEtran.cls handling of captions and this will result in nonIEEE style |
---|
272 | % figure/table captions. To prevent this problem, be sure and preload |
---|
273 | % caption.sty with its "caption=false" package option. This is will preserve |
---|
274 | % IEEEtran.cls handing of captions. Version 1.3 (2005/06/28) and later |
---|
275 | % (recommended due to many improvements over 1.2) of subfig.sty supports |
---|
276 | % the caption=false option directly: |
---|
277 | %\usepackage[caption=false,font=footnotesize]{subfig} |
---|
278 | % |
---|
279 | % The latest version and documentation can be obtained at: |
---|
280 | % http://www.ctan.org/tex-archive/macros/latex/contrib/subfig/ |
---|
281 | % The latest version and documentation of caption.sty can be obtained at: |
---|
282 | % http://www.ctan.org/tex-archive/macros/latex/contrib/caption/ |
---|
283 | |
---|
284 | |
---|
285 | |
---|
286 | |
---|
287 | % *** FLOAT PACKAGES *** |
---|
288 | % |
---|
289 | %\usepackage{fixltx2e} |
---|
290 | % fixltx2e, the successor to the earlier fix2col.sty, was written by |
---|
291 | % Frank Mittelbach and David Carlisle. This package corrects a few problems |
---|
292 | % in the LaTeX2e kernel, the most notable of which is that in current |
---|
293 | % LaTeX2e releases, the ordering of single and double column floats is not |
---|
294 | % guaranteed to be preserved. Thus, an unpatched LaTeX2e can allow a |
---|
295 | % single column figure to be placed prior to an earlier double column |
---|
296 | % figure. The latest version and documentation can be found at: |
---|
297 | % http://www.ctan.org/tex-archive/macros/latex/base/ |
---|
298 | |
---|
299 | |
---|
300 | |
---|
301 | %\usepackage{stfloats} |
---|
302 | % stfloats.sty was written by Sigitas Tolusis. This package gives LaTeX2e |
---|
303 | % the ability to do double column floats at the bottom of the page as well |
---|
304 | % as the top. (e.g., "\begin{figure*}[!b]" is not normally possible in |
---|
305 | % LaTeX2e). It also provides a command: |
---|
306 | %\fnbelowfloat |
---|
307 | % to enable the placement of footnotes below bottom floats (the standard |
---|
308 | % LaTeX2e kernel puts them above bottom floats). This is an invasive package |
---|
309 | % which rewrites many portions of the LaTeX2e float routines. It may not work |
---|
310 | % with other packages that modify the LaTeX2e float routines. The latest |
---|
311 | % version and documentation can be obtained at: |
---|
312 | % http://www.ctan.org/tex-archive/macros/latex/contrib/sttools/ |
---|
313 | % Documentation is contained in the stfloats.sty comments as well as in the |
---|
314 | % presfull.pdf file. Do not use the stfloats baselinefloat ability as IEEE |
---|
315 | % does not allow \baselineskip to stretch. Authors submitting work to the |
---|
316 | % IEEE should note that IEEE rarely uses double column equations and |
---|
317 | % that authors should try to avoid such use. Do not be tempted to use the |
---|
318 | % cuted.sty or midfloat.sty packages (also by Sigitas Tolusis) as IEEE does |
---|
319 | % not format its papers in such ways. |
---|
320 | |
---|
321 | |
---|
322 | %\ifCLASSOPTIONcaptionsoff |
---|
323 | % \usepackage[nomarkers]{endfloat} |
---|
324 | % \let\MYoriglatexcaption\caption |
---|
325 | % \renewcommand{\caption}[2][\relax]{\MYoriglatexcaption[#2]{#2}} |
---|
326 | %\fi |
---|
327 | % endfloat.sty was written by James Darrell McCauley and Jeff Goldberg. |
---|
328 | % This package may be useful when used in conjunction with IEEEtran.cls' |
---|
329 | % captionsoff option. Some IEEE journals/societies require that submissions |
---|
330 | % have lists of figures/tables at the end of the paper and that |
---|
331 | % figures/tables without any captions are placed on a page by themselves at |
---|
332 | % the end of the document. If needed, the draftcls IEEEtran class option or |
---|
333 | % \CLASSINPUTbaselinestretch interface can be used to increase the line |
---|
334 | % spacing as well. Be sure and use the nomarkers option of endfloat to |
---|
335 | % prevent endfloat from "marking" where the figures would have been placed |
---|
336 | % in the text. The two hack lines of code above are a slight modification of |
---|
337 | % that suggested by in the endfloat docs (section 8.3.1) to ensure that |
---|
338 | % the full captions always appear in the list of figures/tables - even if |
---|
339 | % the user used the short optional argument of \caption[]{}. |
---|
340 | % IEEE papers do not typically make use of \caption[]'s optional argument, |
---|
341 | % so this should not be an issue. A similar trick can be used to disable |
---|
342 | % captions of packages such as subfig.sty that lack options to turn off |
---|
343 | % the subcaptions: |
---|
344 | % For subfig.sty: |
---|
345 | % \let\MYorigsubfloat\subfloat |
---|
346 | % \renewcommand{\subfloat}[2][\relax]{\MYorigsubfloat[]{#2}} |
---|
347 | % For subfigure.sty: |
---|
348 | % \let\MYorigsubfigure\subfigure |
---|
349 | % \renewcommand{\subfigure}[2][\relax]{\MYorigsubfigure[]{#2}} |
---|
350 | % However, the above trick will not work if both optional arguments of |
---|
351 | % the \subfloat/subfig command are used. Furthermore, there needs to be a |
---|
352 | % description of each subfigure *somewhere* and endfloat does not add |
---|
353 | % subfigure captions to its list of figures. Thus, the best approach is to |
---|
354 | % avoid the use of subfigure captions (many IEEE journals avoid them anyway) |
---|
355 | % and instead reference/explain all the subfigures within the main caption. |
---|
356 | % The latest version of endfloat.sty and its documentation can obtained at: |
---|
357 | % http://www.ctan.org/tex-archive/macros/latex/contrib/endfloat/ |
---|
358 | % |
---|
359 | % The IEEEtran \ifCLASSOPTIONcaptionsoff conditional can also be used |
---|
360 | % later in the document, say, to conditionally put the References on a |
---|
361 | % page by themselves. |
---|
362 | |
---|
363 | |
---|
364 | |
---|
365 | |
---|
366 | |
---|
367 | % *** PDF, URL AND HYPERLINK PACKAGES *** |
---|
368 | % |
---|
369 | %\usepackage{url} |
---|
370 | % url.sty was written by Donald Arseneau. It provides better support for |
---|
371 | % handling and breaking URLs. url.sty is already installed on most LaTeX |
---|
372 | % systems. The latest version can be obtained at: |
---|
373 | % http://www.ctan.org/tex-archive/macros/latex/contrib/misc/ |
---|
374 | % Read the url.sty source comments for usage information. Basically, |
---|
375 | % \url{my_url_here}. |
---|
376 | |
---|
377 | |
---|
378 | |
---|
379 | |
---|
380 | |
---|
381 | % *** Do not adjust lengths that control margins, column widths, etc. *** |
---|
382 | % *** Do not use packages that alter fonts (such as pslatex). *** |
---|
383 | % There should be no need to do such things with IEEEtran.cls V1.6 and later. |
---|
384 | % (Unless specifically asked to do so by the journal or conference you plan |
---|
385 | % to submit to, of course. ) |
---|
386 | |
---|
387 | |
---|
388 | % correct bad hyphenation here |
---|
389 | \hyphenation{op-tical net-works semi-conduc-tor} |
---|
390 | |
---|
391 | |
---|
392 | \begin{document} |
---|
393 | % |
---|
394 | % paper title |
---|
395 | % can use linebreaks \\ within to get better formatting as desired |
---|
396 | \title{Bare Demo of IEEEtran.cls for Journals} |
---|
397 | % |
---|
398 | % |
---|
399 | % author names and IEEE memberships |
---|
400 | % note positions of commas and nonbreaking spaces ( ~ ) LaTeX will not break |
---|
401 | % a structure at a ~ so this keeps an author's name from being broken across |
---|
402 | % two lines. |
---|
403 | % use \thanks{} to gain access to the first footnote area |
---|
404 | % a separate \thanks must be used for each paragraph as LaTeX2e's \thanks |
---|
405 | % was not built to handle multiple paragraphs |
---|
406 | % |
---|
407 | |
---|
408 | \author{Michael~Shell,~\IEEEmembership{Member,~IEEE,} |
---|
409 | John~Doe,~\IEEEmembership{Fellow,~OSA,} |
---|
410 | and~Jane~Doe,~\IEEEmembership{Life~Fellow,~IEEE}% <-this % stops a space |
---|
411 | \thanks{M. Shell is with the Department |
---|
412 | of Electrical and Computer Engineering, Georgia Institute of Technology, Atlanta, |
---|
413 | GA, 30332 USA e-mail: (see http://www.michaelshell.org/contact.html).}% <-this % stops a space |
---|
414 | \thanks{J. Doe and J. Doe are with Anonymous University.}% <-this % stops a space |
---|
415 | \thanks{Manuscript received April 19, 2005; revised January 11, 2007.}} |
---|
416 | |
---|
417 | % note the % following the last \IEEEmembership and also \thanks - |
---|
418 | % these prevent an unwanted space from occurring between the last author name |
---|
419 | % and the end of the author line. i.e., if you had this: |
---|
420 | % |
---|
421 | % \author{....lastname \thanks{...} \thanks{...} } |
---|
422 | % ^------------^------------^----Do not want these spaces! |
---|
423 | % |
---|
424 | % a space would be appended to the last name and could cause every name on that |
---|
425 | % line to be shifted left slightly. This is one of those "LaTeX things". For |
---|
426 | % instance, "\textbf{A} \textbf{B}" will typeset as "A B" not "AB". To get |
---|
427 | % "AB" then you have to do: "\textbf{A}\textbf{B}" |
---|
428 | % \thanks is no different in this regard, so shield the last } of each \thanks |
---|
429 | % that ends a line with a % and do not let a space in before the next \thanks. |
---|
430 | % Spaces after \IEEEmembership other than the last one are OK (and needed) as |
---|
431 | % you are supposed to have spaces between the names. For what it is worth, |
---|
432 | % this is a minor point as most people would not even notice if the said evil |
---|
433 | % space somehow managed to creep in. |
---|
434 | |
---|
435 | |
---|
436 | |
---|
437 | % The paper headers |
---|
438 | \markboth{Journal of \LaTeX\ Class Files,~Vol.~6, No.~1, January~2007}% |
---|
439 | {Shell \MakeLowercase{\textit{et al.}}: Bare Demo of IEEEtran.cls for Journals} |
---|
440 | % The only time the second header will appear is for the odd numbered pages |
---|
441 | % after the title page when using the twoside option. |
---|
442 | % |
---|
443 | % *** Note that you probably will NOT want to include the author's *** |
---|
444 | % *** name in the headers of peer review papers. *** |
---|
445 | % You can use \ifCLASSOPTIONpeerreview for conditional compilation here if |
---|
446 | % you desire. |
---|
447 | |
---|
448 | |
---|
449 | |
---|
450 | |
---|
451 | % If you want to put a publisher's ID mark on the page you can do it like |
---|
452 | % this: |
---|
453 | %\IEEEpubid{0000--0000/00\$00.00~\copyright~2007 IEEE} |
---|
454 | % Remember, if you use this you must call \IEEEpubidadjcol in the second |
---|
455 | % column for its text to clear the IEEEpubid mark. |
---|
456 | |
---|
457 | |
---|
458 | |
---|
459 | % use for special paper notices |
---|
460 | %\IEEEspecialpapernotice{(Invited Paper)} |
---|
461 | |
---|
462 | |
---|
463 | |
---|
464 | |
---|
465 | % make the title area |
---|
466 | \maketitle |
---|
467 | |
---|
468 | |
---|
469 | \begin{abstract} |
---|
470 | %\boldmath |
---|
471 | The abstract goes here. |
---|
472 | \end{abstract} |
---|
473 | % IEEEtran.cls defaults to using nonbold math in the Abstract. |
---|
474 | % This preserves the distinction between vectors and scalars. However, |
---|
475 | % if the journal you are submitting to favors bold math in the abstract, |
---|
476 | % then you can use LaTeX's standard command \boldmath at the very start |
---|
477 | % of the abstract to achieve this. Many IEEE journals frown on math |
---|
478 | % in the abstract anyway. |
---|
479 | |
---|
480 | % Note that keywords are not normally used for peerreview papers. |
---|
481 | \begin{IEEEkeywords} |
---|
482 | IEEEtran, journal, \LaTeX, paper, template. |
---|
483 | \end{IEEEkeywords} |
---|
484 | |
---|
485 | |
---|
486 | |
---|
487 | |
---|
488 | |
---|
489 | |
---|
490 | % For peer review papers, you can put extra information on the cover |
---|
491 | % page as needed: |
---|
492 | % \ifCLASSOPTIONpeerreview |
---|
493 | % \begin{center} \bfseries EDICS Category: 3-BBND \end{center} |
---|
494 | % \fi |
---|
495 | % |
---|
496 | % For peerreview papers, this IEEEtran command inserts a page break and |
---|
497 | % creates the second title. It will be ignored for other modes. |
---|
498 | \IEEEpeerreviewmaketitle |
---|
499 | |
---|
500 | |
---|
501 | |
---|
502 | \section{Introduction} |
---|
503 | % The very first letter is a 2 line initial drop letter followed |
---|
504 | % by the rest of the first word in caps. |
---|
505 | % |
---|
506 | % form to use if the first word consists of a single letter: |
---|
507 | % \IEEEPARstart{A}{demo} file is .... |
---|
508 | % |
---|
509 | % form to use if you need the single drop letter followed by |
---|
510 | % normal text (unknown if ever used by IEEE): |
---|
511 | % \IEEEPARstart{A}{}demo file is .... |
---|
512 | % |
---|
513 | % Some journals put the first two words in caps: |
---|
514 | % \IEEEPARstart{T}{his demo} file is .... |
---|
515 | % |
---|
516 | % Here we have the typical use of a "T" for an initial drop letter |
---|
517 | % and "HIS" in caps to complete the first word. |
---|
518 | \IEEEPARstart{T}{his} demo file is intended to serve as a ``starter file'' |
---|
519 | for IEEE journal papers produced under \LaTeX\ using |
---|
520 | IEEEtran.cls version 1.7 and later. |
---|
521 | % You must have at least 2 lines in the paragraph with the drop letter |
---|
522 | % (should never be an issue) |
---|
523 | I wish you the best of success. |
---|
524 | |
---|
525 | \hfill mds |
---|
526 | |
---|
527 | \hfill January 11, 2007 |
---|
528 | |
---|
529 | \subsection{Subsection Heading Here} |
---|
530 | Subsection text here. |
---|
531 | |
---|
532 | % needed in second column of first page if using \IEEEpubid |
---|
533 | %\IEEEpubidadjcol |
---|
534 | |
---|
535 | \subsubsection{Subsubsection Heading Here} |
---|
536 | Subsubsection text here. |
---|
537 | |
---|
538 | |
---|
539 | % An example of a floating figure using the graphicx package. |
---|
540 | % Note that \label must occur AFTER (or within) \caption. |
---|
541 | % For figures, \caption should occur after the \includegraphics. |
---|
542 | % Note that IEEEtran v1.7 and later has special internal code that |
---|
543 | % is designed to preserve the operation of \label within \caption |
---|
544 | % even when the captionsoff option is in effect. However, because |
---|
545 | % of issues like this, it may be the safest practice to put all your |
---|
546 | % \label just after \caption rather than within \caption{}. |
---|
547 | % |
---|
548 | % Reminder: the "draftcls" or "draftclsnofoot", not "draft", class |
---|
549 | % option should be used if it is desired that the figures are to be |
---|
550 | % displayed while in draft mode. |
---|
551 | % |
---|
552 | %\begin{figure}[!t] |
---|
553 | %\centering |
---|
554 | %\includegraphics[width=2.5in]{myfigure} |
---|
555 | % where an .eps filename suffix will be assumed under latex, |
---|
556 | % and a .pdf suffix will be assumed for pdflatex; or what has been declared |
---|
557 | % via \DeclareGraphicsExtensions. |
---|
558 | %\caption{Simulation Results} |
---|
559 | %\label{fig_sim} |
---|
560 | %\end{figure} |
---|
561 | |
---|
562 | % Note that IEEE typically puts floats only at the top, even when this |
---|
563 | % results in a large percentage of a column being occupied by floats. |
---|
564 | |
---|
565 | |
---|
566 | % An example of a double column floating figure using two subfigures. |
---|
567 | % (The subfig.sty package must be loaded for this to work.) |
---|
568 | % The subfigure \label commands are set within each subfloat command, the |
---|
569 | % \label for the overall figure must come after \caption. |
---|
570 | % \hfil must be used as a separator to get equal spacing. |
---|
571 | % The subfigure.sty package works much the same way, except \subfigure is |
---|
572 | % used instead of \subfloat. |
---|
573 | % |
---|
574 | %\begin{figure*}[!t] |
---|
575 | %\centerline{\subfloat[Case I]\includegraphics[width=2.5in]{subfigcase1}% |
---|
576 | %\label{fig_first_case}} |
---|
577 | %\hfil |
---|
578 | %\subfloat[Case II]{\includegraphics[width=2.5in]{subfigcase2}% |
---|
579 | %\label{fig_second_case}}} |
---|
580 | %\caption{Simulation results} |
---|
581 | %\label{fig_sim} |
---|
582 | %\end{figure*} |
---|
583 | % |
---|
584 | % Note that often IEEE papers with subfigures do not employ subfigure |
---|
585 | % captions (using the optional argument to \subfloat), but instead will |
---|
586 | % reference/describe all of them (a), (b), etc., within the main caption. |
---|
587 | |
---|
588 | |
---|
589 | % An example of a floating table. Note that, for IEEE style tables, the |
---|
590 | % \caption command should come BEFORE the table. Table text will default to |
---|
591 | % \footnotesize as IEEE normally uses this smaller font for tables. |
---|
592 | % The \label must come after \caption as always. |
---|
593 | % |
---|
594 | %\begin{table}[!t] |
---|
595 | %% increase table row spacing, adjust to taste |
---|
596 | %\renewcommand{\arraystretch}{1.3} |
---|
597 | % if using array.sty, it might be a good idea to tweak the value of |
---|
598 | % \extrarowheight as needed to properly center the text within the cells |
---|
599 | %\caption{An Example of a Table} |
---|
600 | %\label{table_example} |
---|
601 | %\centering |
---|
602 | %% Some packages, such as MDW tools, offer better commands for making tables |
---|
603 | %% than the plain LaTeX2e tabular which is used here. |
---|
604 | %\begin{tabular}{|c||c|} |
---|
605 | %\hline |
---|
606 | %One & Two\\ |
---|
607 | %\hline |
---|
608 | %Three & Four\\ |
---|
609 | %\hline |
---|
610 | %\end{tabular} |
---|
611 | %\end{table} |
---|
612 | |
---|
613 | |
---|
614 | % Note that IEEE does not put floats in the very first column - or typically |
---|
615 | % anywhere on the first page for that matter. Also, in-text middle ("here") |
---|
616 | % positioning is not used. Most IEEE journals use top floats exclusively. |
---|
617 | % Note that, LaTeX2e, unlike IEEE journals, places footnotes above bottom |
---|
618 | % floats. This can be corrected via the \fnbelowfloat command of the |
---|
619 | % stfloats package. |
---|
620 | |
---|
621 | |
---|
622 | |
---|
623 | \section{Conclusion} |
---|
624 | The conclusion goes here. |
---|
625 | |
---|
626 | |
---|
627 | |
---|
628 | |
---|
629 | |
---|
630 | % if have a single appendix: |
---|
631 | %\appendix[Proof of the Zonklar Equations] |
---|
632 | % or |
---|
633 | %\appendix % for no appendix heading |
---|
634 | % do not use \section anymore after \appendix, only \section* |
---|
635 | % is possibly needed |
---|
636 | |
---|
637 | % use appendices with more than one appendix |
---|
638 | % then use \section to start each appendix |
---|
639 | % you must declare a \section before using any |
---|
640 | % \subsection or using \label (\appendices by itself |
---|
641 | % starts a section numbered zero.) |
---|
642 | % |
---|
643 | |
---|
644 | |
---|
645 | \appendices |
---|
646 | \section{Proof of the First Zonklar Equation} |
---|
647 | Appendix one text goes here. |
---|
648 | |
---|
649 | % you can choose not to have a title for an appendix |
---|
650 | % if you want by leaving the argument blank |
---|
651 | \section{} |
---|
652 | Appendix two text goes here. |
---|
653 | |
---|
654 | |
---|
655 | % use section* for acknowledgement |
---|
656 | \section*{Acknowledgment} |
---|
657 | |
---|
658 | |
---|
659 | The authors would like to thank... |
---|
660 | |
---|
661 | |
---|
662 | % Can use something like this to put references on a page |
---|
663 | % by themselves when using endfloat and the captionsoff option. |
---|
664 | \ifCLASSOPTIONcaptionsoff |
---|
665 | \newpage |
---|
666 | \fi |
---|
667 | |
---|
668 | |
---|
669 | |
---|
670 | % trigger a \newpage just before the given reference |
---|
671 | % number - used to balance the columns on the last page |
---|
672 | % adjust value as needed - may need to be readjusted if |
---|
673 | % the document is modified later |
---|
674 | %\IEEEtriggeratref{8} |
---|
675 | % The "triggered" command can be changed if desired: |
---|
676 | %\IEEEtriggercmd{\enlargethispage{-5in}} |
---|
677 | |
---|
678 | % references section |
---|
679 | |
---|
680 | % can use a bibliography generated by BibTeX as a .bbl file |
---|
681 | % BibTeX documentation can be easily obtained at: |
---|
682 | % http://www.ctan.org/tex-archive/biblio/bibtex/contrib/doc/ |
---|
683 | % The IEEEtran BibTeX style support page is at: |
---|
684 | % http://www.michaelshell.org/tex/ieeetran/bibtex/ |
---|
685 | %\bibliographystyle{IEEEtran} |
---|
686 | % argument is your BibTeX string definitions and bibliography database(s) |
---|
687 | %\bibliography{IEEEabrv,../bib/paper} |
---|
688 | % |
---|
689 | % <OR> manually copy in the resultant .bbl file |
---|
690 | % set second argument of \begin to the number of references |
---|
691 | % (used to reserve space for the reference number labels box) |
---|
692 | \begin{thebibliography}{1} |
---|
693 | |
---|
694 | \bibitem{IEEEhowto:kopka} |
---|
695 | H.~Kopka and P.~W. Daly, \emph{A Guide to \LaTeX}, 3rd~ed.\hskip 1em plus |
---|
696 | 0.5em minus 0.4em\relax Harlow, England: Addison-Wesley, 1999. |
---|
697 | |
---|
698 | \end{thebibliography} |
---|
699 | |
---|
700 | % biography section |
---|
701 | % |
---|
702 | % If you have an EPS/PDF photo (graphicx package needed) extra braces are |
---|
703 | % needed around the contents of the optional argument to biography to prevent |
---|
704 | % the LaTeX parser from getting confused when it sees the complicated |
---|
705 | % \includegraphics command within an optional argument. (You could create |
---|
706 | % your own custom macro containing the \includegraphics command to make things |
---|
707 | % simpler here.) |
---|
708 | %\begin{biography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{mshell}}]{Michael Shell} |
---|
709 | % or if you just want to reserve a space for a photo: |
---|
710 | |
---|
711 | \begin{IEEEbiography}{Michael Shell} |
---|
712 | Biography text here. |
---|
713 | \end{IEEEbiography} |
---|
714 | |
---|
715 | % if you will not have a photo at all: |
---|
716 | \begin{IEEEbiographynophoto}{John Doe} |
---|
717 | Biography text here. |
---|
718 | \end{IEEEbiographynophoto} |
---|
719 | |
---|
720 | % insert where needed to balance the two columns on the last page with |
---|
721 | % biographies |
---|
722 | %\newpage |
---|
723 | |
---|
724 | \begin{IEEEbiographynophoto}{Jane Doe} |
---|
725 | Biography text here. |
---|
726 | \end{IEEEbiographynophoto} |
---|
727 | |
---|
728 | % You can push biographies down or up by placing |
---|
729 | % a \vfill before or after them. The appropriate |
---|
730 | % use of \vfill depends on what kind of text is |
---|
731 | % on the last page and whether or not the columns |
---|
732 | % are being equalized. |
---|
733 | |
---|
734 | %\vfill |
---|
735 | |
---|
736 | % Can be used to pull up biographies so that the bottom of the last one |
---|
737 | % is flush with the other column. |
---|
738 | %\enlargethispage{-5in} |
---|
739 | |
---|
740 | |
---|
741 | |
---|
742 | % that's all folks |
---|
743 | \end{document} |
---|
744 | |
---|
745 | |
---|