texstyles 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +50 -0
- data/.travis.yml +4 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +34 -0
- data/Rakefile +10 -0
- data/lib/texstyles.rb +26 -0
- data/lib/texstyles/style.rb +38 -0
- data/styles/a0poster-landscape.tex.erb +84 -0
- data/styles/a0poster-portrait.tex.erb +84 -0
- data/styles/aa.tex.erb +46 -0
- data/styles/aa_onecolumn.tex.erb +45 -0
- data/styles/aa_twocolumn.tex.erb +47 -0
- data/styles/aaai.tex.erb +29 -0
- data/styles/abnt.tex.erb +141 -0
- data/styles/acl.tex.erb +46 -0
- data/styles/acm.tex.erb +77 -0
- data/styles/acm_large.tex.erb +82 -0
- data/styles/acm_sig_alternate.tex.erb +116 -0
- data/styles/acm_sig_strict.tex.erb +90 -0
- data/styles/acs.tex.erb +76 -0
- data/styles/agu.tex.erb +211 -0
- data/styles/aiaa.tex.erb +84 -0
- data/styles/aip_preprint.tex.erb +65 -0
- data/styles/aip_reprint.tex.erb +67 -0
- data/styles/aisb2008.tex.erb +31 -0
- data/styles/aj_manuscript.tex.erb +76 -0
- data/styles/aj_preprint.tex.erb +78 -0
- data/styles/ajps.tex.erb +69 -0
- data/styles/alma.tex.erb +53 -0
- data/styles/ams_one.tex.erb +115 -0
- data/styles/ams_two.tex.erb +119 -0
- data/styles/apa_doc.tex.erb +21 -0
- data/styles/apj_emulate.tex.erb +104 -0
- data/styles/apj_manuscript.tex.erb +76 -0
- data/styles/aps.tex.erb +79 -0
- data/styles/aps_preprint.tex.erb +79 -0
- data/styles/article.tex.erb +28 -0
- data/styles/asp.tex.erb +26 -0
- data/styles/authorea-double-numbered.tex.erb +65 -0
- data/styles/authorea-double.tex.erb +62 -0
- data/styles/authorea-numbered.tex.erb +62 -0
- data/styles/authorea.tex.erb +59 -0
- data/styles/biogeosciences.tex.erb +71 -0
- data/styles/bioinformatics.tex.erb +34 -0
- data/styles/bmc.tex.erb +212 -0
- data/styles/book.tex.erb +22 -0
- data/styles/cernatsnote.tex.erb +28 -0
- data/styles/cernyrep.tex.erb +28 -0
- data/styles/chandra.tex.erb +182 -0
- data/styles/cogsci.tex.erb +43 -0
- data/styles/cornell.tex.erb +75 -0
- data/styles/cv.tex.erb +30 -0
- data/styles/development.tex.erb +55 -0
- data/styles/dfgproposal.tex.erb +103 -0
- data/styles/dod.tex.erb +221 -0
- data/styles/doe.tex.erb +62 -0
- data/styles/econf.tex.erb +174 -0
- data/styles/egu.tex.erb +73 -0
- data/styles/elsevier.tex.erb +138 -0
- data/styles/elsevier_review.tex.erb +140 -0
- data/styles/elsevier_softwarex.tex.erb +132 -0
- data/styles/elsevier_twocolumn.tex.erb +148 -0
- data/styles/empty.tex.erb +29 -0
- data/styles/epjc.tex.erb +78 -0
- data/styles/f1000.tex.erb +38 -0
- data/styles/frontiersENG.tex.erb +66 -0
- data/styles/frontiersFPHY.tex.erb +67 -0
- data/styles/frontiersMED.tex.erb +66 -0
- data/styles/frontiersSCNS.tex.erb +66 -0
- data/styles/g3.tex.erb +57 -0
- data/styles/geophysics.tex.erb +38 -0
- data/styles/gji.tex.erb +51 -0
- data/styles/hess.tex.erb +71 -0
- data/styles/hst.tex.erb +37 -0
- data/styles/iclr.tex.erb +35 -0
- data/styles/ieee_bare_conf.tex.erb +316 -0
- data/styles/ieee_bare_jrnl.tex.erb +459 -0
- data/styles/ieee_bare_jrnl_compsoc.tex.erb +530 -0
- data/styles/ifac.tex.erb +36 -0
- data/styles/ijcai.tex.erb +60 -0
- data/styles/imsart_aas.tex.erb +82 -0
- data/styles/imsart_as.tex.erb +82 -0
- data/styles/iop.tex.erb +93 -0
- data/styles/iram_proposal.tex.erb +93 -0
- data/styles/jacow.tex.erb +77 -0
- data/styles/jfm.tex.erb +43 -0
- data/styles/jhep.tex.erb +57 -0
- data/styles/jinst.tex.erb +46 -0
- data/styles/jrss.tex.erb +32 -0
- data/styles/jxb.tex.erb +56 -0
- data/styles/lncs.tex.erb +75 -0
- data/styles/mdpi.tex.erb +122 -0
- data/styles/mit.tex.erb +186 -0
- data/styles/mnras.tex.erb +41 -0
- data/styles/nasa.tex.erb +111 -0
- data/styles/nature.tex.erb +34 -0
- data/styles/nature_scirep.tex.erb +36 -0
- data/styles/nih.tex.erb +223 -0
- data/styles/nime.tex.erb +82 -0
- data/styles/nips.tex.erb +26 -0
- data/styles/nsf.tex.erb +66 -0
- data/styles/osaexpress.tex.erb +73 -0
- data/styles/osaletters.tex.erb +54 -0
- data/styles/peerj.tex.erb +45 -0
- data/styles/plos.tex.erb +69 -0
- data/styles/plos2015.tex.erb +237 -0
- data/styles/pnas.tex.erb +118 -0
- data/styles/report.tex.erb +17 -0
- data/styles/rsc.tex.erb +99 -0
- data/styles/sciadvances.tex.erb +120 -0
- data/styles/science.tex.erb +127 -0
- data/styles/sigchi.tex.erb +91 -0
- data/styles/sigplan.tex.erb +94 -0
- data/styles/spie.tex.erb +68 -0
- data/styles/spieman.tex.erb +75 -0
- data/styles/springer.tex.erb +92 -0
- data/styles/springer_twocolumn.tex.erb +92 -0
- data/styles/svmono.tex.erb +63 -0
- data/styles/trb.tex.erb +150 -0
- data/styles/tufte-handout.tex.erb +60 -0
- data/styles/uchicago.tex.erb +53 -0
- data/styles/ucriverside.tex.erb +79 -0
- data/styles/uiowa.tex.erb +78 -0
- data/styles/umich.tex.erb +68 -0
- data/styles/uvic.tex.erb +196 -0
- data/styles/uwollongong.tex.erb +149 -0
- data/texstyles.gemspec +25 -0
- metadata +258 -0
@@ -0,0 +1,530 @@
|
|
1
|
+
|
2
|
+
%% bare_jrnl_compsoc.tex
|
3
|
+
%% V1.3
|
4
|
+
%% 2007/01/11
|
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 use of IEEEtran.cls
|
11
|
+
%% (requires IEEEtran.cls version 1.7 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_jrnl_compsoc.tex
|
45
|
+
%%*************************************************************************
|
46
|
+
|
47
|
+
% *** Authors should verify (and, if needed, correct) their LaTeX system ***
|
48
|
+
% *** with the testflow diagnostic prior to trusting their LaTeX platform ***
|
49
|
+
% *** with production work. IEEE's font choices can trigger bugs that do ***
|
50
|
+
% *** not appear when using other class files. ***
|
51
|
+
% The testflow support page is at:
|
52
|
+
% http://www.michaelshell.org/tex/testflow/
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
% Note that the a4paper option is mainly intended so that authors in
|
58
|
+
% countries using A4 can easily print to A4 and see how their papers will
|
59
|
+
% look in print - the typesetting of the document will not typically be
|
60
|
+
% affected with changes in paper size (but the bottom and side margins will).
|
61
|
+
% Use the testflow package mentioned above to verify correct handling of
|
62
|
+
% both paper sizes by the user's LaTeX system.
|
63
|
+
%
|
64
|
+
% Also note that the "draftcls" or "draftclsnofoot", not "draft", option
|
65
|
+
% should be used if it is desired that the figures are to be displayed in
|
66
|
+
% draft mode.
|
67
|
+
%
|
68
|
+
% The Computer Society usually requires 12pt for submissions.
|
69
|
+
%
|
70
|
+
\documentclass[12pt,journal,compsoc]{IEEEtran}
|
71
|
+
%
|
72
|
+
% If IEEEtran.cls has not been installed into the LaTeX system files,
|
73
|
+
% manually specify the path to it like:
|
74
|
+
% \documentclass[12pt,journal,compsoc]{../sty/IEEEtran}
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
% Some very useful LaTeX packages include:
|
81
|
+
% (uncomment the ones you want to load)
|
82
|
+
|
83
|
+
|
84
|
+
% *** MISC UTILITY PACKAGES ***
|
85
|
+
%
|
86
|
+
\usepackage{ifpdf}
|
87
|
+
% Heiko Oberdiek's ifpdf.sty is very useful if you need conditional
|
88
|
+
% compilation based on whether the output is pdf or dvi.
|
89
|
+
% usage:
|
90
|
+
% \ifpdf
|
91
|
+
% % pdf code
|
92
|
+
% \else
|
93
|
+
% % dvi code
|
94
|
+
% \fi
|
95
|
+
% The latest version of ifpdf.sty can be obtained from:
|
96
|
+
% http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/
|
97
|
+
% Also, note that IEEEtran.cls V1.7 and later provides a builtin
|
98
|
+
% \ifCLASSINFOpdf conditional that works the same way.
|
99
|
+
% When switching from latex to pdflatex and vice-versa, the compiler may
|
100
|
+
% have to be run twice to clear warning/error messages.
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
<%=@default_packages%>
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
% *** CITATION PACKAGES ***
|
109
|
+
%
|
110
|
+
\ifCLASSOPTIONcompsoc
|
111
|
+
% IEEE Computer Society needs nocompress option
|
112
|
+
% requires cite.sty v4.0 or later (November 2003)
|
113
|
+
\usepackage[nocompress]{cite}
|
114
|
+
\else
|
115
|
+
% normal IEEE
|
116
|
+
\usepackage{cite}
|
117
|
+
\fi
|
118
|
+
% cite.sty was written by Donald Arseneau
|
119
|
+
% V1.6 and later of IEEEtran pre-defines the format of the cite.sty package
|
120
|
+
% \cite{} output to follow that of IEEE. Loading the cite package will
|
121
|
+
% result in citation numbers being automatically sorted and properly
|
122
|
+
% "compressed/ranged". e.g., [1], [9], [2], [7], [5], [6] without using
|
123
|
+
% cite.sty will become [1], [2], [5]--[7], [9] using cite.sty. cite.sty's
|
124
|
+
% \cite will automatically add leading space, if needed. Use cite.sty's
|
125
|
+
% noadjust option (cite.sty V3.8 and later) if you want to turn this off.
|
126
|
+
% cite.sty is already installed on most LaTeX systems. Be sure and use
|
127
|
+
% version 4.0 (2003-05-27) and later if using hyperref.sty. cite.sty does
|
128
|
+
% not currently provide for hyperlinked citations.
|
129
|
+
% The latest version can be obtained at:
|
130
|
+
% http://www.ctan.org/tex-archive/macros/latex/contrib/cite/
|
131
|
+
% The documentation is contained in the cite.sty file itself.
|
132
|
+
%
|
133
|
+
% Note that some packages require special options to format as the Computer
|
134
|
+
% Society requires. In particular, Computer Society papers do not use
|
135
|
+
% compressed citation ranges as is done in typical IEEE papers
|
136
|
+
% (e.g., [1]-[4]). Instead, they list every citation separately in order
|
137
|
+
% (e.g., [1], [2], [3], [4]). To get the latter we need to load the cite
|
138
|
+
% package with the nocompress option which is supported by cite.sty v4.0
|
139
|
+
% and later. Note also the use of a CLASSOPTION conditional provided by
|
140
|
+
% IEEEtran.cls V1.7 and later.
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
% *** MATH PACKAGES ***
|
148
|
+
%
|
149
|
+
%\usepackage[cmex10]{amsmath}
|
150
|
+
% A popular package from the American Mathematical Society that provides
|
151
|
+
% many useful and powerful commands for dealing with mathematics. If using
|
152
|
+
% it, be sure to load this package with the cmex10 option to ensure that
|
153
|
+
% only type 1 fonts will utilized at all point sizes. Without this option,
|
154
|
+
% it is possible that some math symbols, particularly those within
|
155
|
+
% footnotes, will be rendered in bitmap form which will result in a
|
156
|
+
% document that can not be IEEE Xplore compliant!
|
157
|
+
%
|
158
|
+
% Also, note that the amsmath package sets \interdisplaylinepenalty to 10000
|
159
|
+
% thus preventing page breaks from occurring within multiline equations. Use:
|
160
|
+
%\interdisplaylinepenalty=2500
|
161
|
+
% after loading amsmath to restore such page breaks as IEEEtran.cls normally
|
162
|
+
% does. amsmath.sty is already installed on most LaTeX systems. The latest
|
163
|
+
% version and documentation can be obtained at:
|
164
|
+
% http://www.ctan.org/tex-archive/macros/latex/required/amslatex/math/
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
% *** SPECIALIZED LIST PACKAGES ***
|
171
|
+
%
|
172
|
+
%\usepackage{algorithmic}
|
173
|
+
% algorithmic.sty was written by Peter Williams and Rogerio Brito.
|
174
|
+
% This package provides an algorithmic environment fo describing algorithms.
|
175
|
+
% You can use the algorithmic environment in-text or within a figure
|
176
|
+
% environment to provide for a floating algorithm. Do NOT use the algorithm
|
177
|
+
% floating environment provided by algorithm.sty (by the same authors) or
|
178
|
+
% algorithm2e.sty (by Christophe Fiorio) as IEEE does not use dedicated
|
179
|
+
% algorithm float types and packages that provide these will not provide
|
180
|
+
% correct IEEE style captions. The latest version and documentation of
|
181
|
+
% algorithmic.sty can be obtained at:
|
182
|
+
% http://www.ctan.org/tex-archive/macros/latex/contrib/algorithms/
|
183
|
+
% There is also a support site at:
|
184
|
+
% http://algorithms.berlios.de/index.html
|
185
|
+
% Also of interest may be the (relatively newer and more customizable)
|
186
|
+
% algorithmicx.sty package by Szasz Janos:
|
187
|
+
% http://www.ctan.org/tex-archive/macros/latex/contrib/algorithmicx/
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
% *** ALIGNMENT PACKAGES ***
|
193
|
+
%
|
194
|
+
%\usepackage{array}
|
195
|
+
% Frank Mittelbach's and David Carlisle's array.sty patches and improves
|
196
|
+
% the standard LaTeX2e array and tabular environments to provide better
|
197
|
+
% appearance and additional user controls. As the default LaTeX2e table
|
198
|
+
% generation code is lacking to the point of almost being broken with
|
199
|
+
% respect to the quality of the end results, all users are strongly
|
200
|
+
% advised to use an enhanced (at the very least that provided by array.sty)
|
201
|
+
% set of table tools. array.sty is already installed on most systems. The
|
202
|
+
% latest version and documentation can be obtained at:
|
203
|
+
% http://www.ctan.org/tex-archive/macros/latex/required/tools/
|
204
|
+
|
205
|
+
|
206
|
+
%\usepackage{mdwmath}
|
207
|
+
%\usepackage{mdwtab}
|
208
|
+
% Also highly recommended is Mark Wooding's extremely powerful MDW tools,
|
209
|
+
% especially mdwmath.sty and mdwtab.sty which are used to format equations
|
210
|
+
% and tables, respectively. The MDWtools set is already installed on most
|
211
|
+
% LaTeX systems. The lastest version and documentation is available at:
|
212
|
+
% http://www.ctan.org/tex-archive/macros/latex/contrib/mdwtools/
|
213
|
+
|
214
|
+
|
215
|
+
% IEEEtran contains the IEEEeqnarray family of commands that can be used to
|
216
|
+
% generate multiline equations as well as matrices, tables, etc., of high
|
217
|
+
% quality.
|
218
|
+
|
219
|
+
|
220
|
+
%\usepackage{eqparbox}
|
221
|
+
% Also of notable interest is Scott Pakin's eqparbox package for creating
|
222
|
+
% (automatically sized) equal width boxes - aka "natural width parboxes".
|
223
|
+
% Available at:
|
224
|
+
% http://www.ctan.org/tex-archive/macros/latex/contrib/eqparbox/
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
% *** SUBFIGURE PACKAGES ***
|
231
|
+
%\ifCLASSOPTIONcompsoc
|
232
|
+
%\usepackage[tight,normalsize,sf,SF]{subfigure}
|
233
|
+
%\else
|
234
|
+
%\usepackage[tight,footnotesize]{subfigure}
|
235
|
+
%\fi
|
236
|
+
% subfigure.sty was written by Steven Douglas Cochran. This package makes it
|
237
|
+
% easy to put subfigures in your figures. e.g., "Figure 1a and 1b". For IEEE
|
238
|
+
% work, it is a good idea to load it with the tight package option to reduce
|
239
|
+
% the amount of white space around the subfigures. Computer Society papers
|
240
|
+
% use a larger font and \sffamily font for their captions, hence the
|
241
|
+
% additional options needed under compsoc mode. subfigure.sty is already
|
242
|
+
% installed on most LaTeX systems. The latest version and documentation can
|
243
|
+
% be obtained at:
|
244
|
+
% http://www.ctan.org/tex-archive/obsolete/macros/latex/contrib/subfigure/
|
245
|
+
% subfigure.sty has been superceeded by subfig.sty.
|
246
|
+
|
247
|
+
|
248
|
+
%\ifCLASSOPTIONcompsoc
|
249
|
+
% \usepackage[caption=false]{caption}
|
250
|
+
% \usepackage[font=normalsize,labelfont=sf,textfont=sf]{subfig}
|
251
|
+
%\else
|
252
|
+
% \usepackage[caption=false]{caption}
|
253
|
+
% \usepackage[font=footnotesize]{subfig}
|
254
|
+
%\fi
|
255
|
+
% subfig.sty, also written by Steven Douglas Cochran, is the modern
|
256
|
+
% replacement for subfigure.sty. However, subfig.sty requires and
|
257
|
+
% automatically loads Axel Sommerfeldt's caption.sty which will override
|
258
|
+
% IEEEtran.cls handling of captions and this will result in nonIEEE style
|
259
|
+
% figure/table captions. To prevent this problem, be sure and preload
|
260
|
+
% caption.sty with its "caption=false" package option. This is will preserve
|
261
|
+
% IEEEtran.cls handing of captions. Version 1.3 (2005/06/28) and later
|
262
|
+
% (recommended due to many improvements over 1.2) of subfig.sty supports
|
263
|
+
% the caption=false option directly:
|
264
|
+
%\ifCLASSOPTIONcompsoc
|
265
|
+
% \usepackage[caption=false,font=normalsize,labelfont=sf,textfont=sf]{subfig}
|
266
|
+
%\else
|
267
|
+
% \usepackage[caption=false,font=footnotesize]{subfig}
|
268
|
+
%\fi
|
269
|
+
%
|
270
|
+
% The latest version and documentation can be obtained at:
|
271
|
+
% http://www.ctan.org/tex-archive/macros/latex/contrib/subfig/
|
272
|
+
% The latest version and documentation of caption.sty can be obtained at:
|
273
|
+
% http://www.ctan.org/tex-archive/macros/latex/contrib/caption/
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
|
278
|
+
% *** FLOAT PACKAGES ***
|
279
|
+
%
|
280
|
+
%\usepackage{fixltx2e}
|
281
|
+
% fixltx2e, the successor to the earlier fix2col.sty, was written by
|
282
|
+
% Frank Mittelbach and David Carlisle. This package corrects a few problems
|
283
|
+
% in the LaTeX2e kernel, the most notable of which is that in current
|
284
|
+
% LaTeX2e releases, the ordering of single and double column floats is not
|
285
|
+
% guaranteed to be preserved. Thus, an unpatched LaTeX2e can allow a
|
286
|
+
% single column figure to be placed prior to an earlier double column
|
287
|
+
% figure. The latest version and documentation can be found at:
|
288
|
+
% http://www.ctan.org/tex-archive/macros/latex/base/
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
%\usepackage{stfloats}
|
293
|
+
% stfloats.sty was written by Sigitas Tolusis. This package gives LaTeX2e
|
294
|
+
% the ability to do double column floats at the bottom of the page as well
|
295
|
+
% as the top. (e.g., "\begin{figure*}[!b]" is not normally possible in
|
296
|
+
% LaTeX2e). It also provides a command:
|
297
|
+
%\fnbelowfloat
|
298
|
+
% to enable the placement of footnotes below bottom floats (the standard
|
299
|
+
% LaTeX2e kernel puts them above bottom floats). This is an invasive package
|
300
|
+
% which rewrites many portions of the LaTeX2e float routines. It may not work
|
301
|
+
% with other packages that modify the LaTeX2e float routines. The latest
|
302
|
+
% version and documentation can be obtained at:
|
303
|
+
% http://www.ctan.org/tex-archive/macros/latex/contrib/sttools/
|
304
|
+
% Documentation is contained in the stfloats.sty comments as well as in the
|
305
|
+
% presfull.pdf file. Do not use the stfloats baselinefloat ability as IEEE
|
306
|
+
% does not allow \baselineskip to stretch. Authors submitting work to the
|
307
|
+
% IEEE should note that IEEE rarely uses double column equations and
|
308
|
+
% that authors should try to avoid such use. Do not be tempted to use the
|
309
|
+
% cuted.sty or midfloat.sty packages (also by Sigitas Tolusis) as IEEE does
|
310
|
+
% not format its papers in such ways.
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
%\ifCLASSOPTIONcaptionsoff
|
316
|
+
% \usepackage[nomarkers]{endfloat}
|
317
|
+
% \let\MYoriglatexcaption\caption
|
318
|
+
% \renewcommand{\caption}[2][\relax]{\MYoriglatexcaption[#2]{#2}}
|
319
|
+
%\fi
|
320
|
+
% endfloat.sty was written by James Darrell McCauley and Jeff Goldberg.
|
321
|
+
% This package may be useful when used in conjunction with IEEEtran.cls'
|
322
|
+
% captionsoff option. Some IEEE journals/societies require that submissions
|
323
|
+
% have lists of figures/tables at the end of the paper and that
|
324
|
+
% figures/tables without any captions are placed on a page by themselves at
|
325
|
+
% the end of the document. If needed, the draftcls IEEEtran class option or
|
326
|
+
% \CLASSINPUTbaselinestretch interface can be used to increase the line
|
327
|
+
% spacing as well. Be sure and use the nomarkers option of endfloat to
|
328
|
+
% prevent endfloat from "marking" where the figures would have been placed
|
329
|
+
% in the text. The two hack lines of code above are a slight modification of
|
330
|
+
% that suggested by in the endfloat docs (section 8.3.1) to ensure that
|
331
|
+
% the full captions always appear in the list of figures/tables - even if
|
332
|
+
% the user used the short optional argument of \caption[]{}.
|
333
|
+
% IEEE papers do not typically make use of \caption[]'s optional argument,
|
334
|
+
% so this should not be an issue. A similar trick can be used to disable
|
335
|
+
% captions of packages such as subfig.sty that lack options to turn off
|
336
|
+
% the subcaptions:
|
337
|
+
% For subfig.sty:
|
338
|
+
% \let\MYorigsubfloat\subfloat
|
339
|
+
% \renewcommand{\subfloat}[2][\relax]{\MYorigsubfloat[]{#2}}
|
340
|
+
% For subfigure.sty:
|
341
|
+
% \let\MYorigsubfigure\subfigure
|
342
|
+
% \renewcommand{\subfigure}[2][\relax]{\MYorigsubfigure[]{#2}}
|
343
|
+
% However, the above trick will not work if both optional arguments of
|
344
|
+
% the \subfloat/subfig command are used. Furthermore, there needs to be a
|
345
|
+
% description of each subfigure *somewhere* and endfloat does not add
|
346
|
+
% subfigure captions to its list of figures. Thus, the best approach is to
|
347
|
+
% avoid the use of subfigure captions (many IEEE journals avoid them anyway)
|
348
|
+
% and instead reference/explain all the subfigures within the main caption.
|
349
|
+
% The latest version of endfloat.sty and its documentation can obtained at:
|
350
|
+
% http://www.ctan.org/tex-archive/macros/latex/contrib/endfloat/
|
351
|
+
%
|
352
|
+
% The IEEEtran \ifCLASSOPTIONcaptionsoff conditional can also be used
|
353
|
+
% later in the document, say, to conditionally put the References on a
|
354
|
+
% page by themselves.
|
355
|
+
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
% *** PDF, URL AND HYPERLINK PACKAGES ***
|
360
|
+
%
|
361
|
+
%\usepackage{url}
|
362
|
+
% url.sty was written by Donald Arseneau. It provides better support for
|
363
|
+
% handling and breaking URLs. url.sty is already installed on most LaTeX
|
364
|
+
% systems. The latest version can be obtained at:
|
365
|
+
% http://www.ctan.org/tex-archive/macros/latex/contrib/misc/
|
366
|
+
% Read the url.sty source comments for usage information. Basically,
|
367
|
+
% \url{my_url_here}.
|
368
|
+
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
% *** Do not adjust lengths that control margins, column widths, etc. ***
|
374
|
+
% *** Do not use packages that alter fonts (such as pslatex). ***
|
375
|
+
% There should be no need to do such things with IEEEtran.cls V1.6 and later.
|
376
|
+
% (Unless specifically asked to do so by the journal or conference you plan
|
377
|
+
% to submit to, of course. )
|
378
|
+
|
379
|
+
|
380
|
+
% correct bad hyphenation here
|
381
|
+
\hyphenation{op-tical net-works semi-conduc-tor}
|
382
|
+
|
383
|
+
<%=@header%>
|
384
|
+
|
385
|
+
|
386
|
+
\begin{document}
|
387
|
+
%
|
388
|
+
% paper title
|
389
|
+
% can use linebreaks \\ within to get better formatting as desired
|
390
|
+
\title{<%=@long_title%>}
|
391
|
+
%
|
392
|
+
%
|
393
|
+
% author names and IEEE memberships
|
394
|
+
% note positions of commas and nonbreaking spaces ( ~ ) LaTeX will not break
|
395
|
+
% a structure at a ~ so this keeps an author's name from being broken across
|
396
|
+
% two lines.
|
397
|
+
% use \thanks{} to gain access to the first footnote area
|
398
|
+
% a separate \thanks must be used for each paragraph as LaTeX2e's \thanks
|
399
|
+
% was not built to handle multiple paragraphs
|
400
|
+
%
|
401
|
+
%
|
402
|
+
%\IEEEcompsocitemizethanks is a special \thanks that produces the bulleted
|
403
|
+
% lists the Computer Society journals use for "first footnote" author
|
404
|
+
% affiliations. Use \IEEEcompsocthanksitem which works much like \item
|
405
|
+
% for each affiliation group. When not in compsoc mode,
|
406
|
+
% \IEEEcompsocitemizethanks becomes like \thanks and
|
407
|
+
% \IEEEcompsocthanksitem becomes a line break with idention. This
|
408
|
+
% facilitates dual compilation, although admittedly the differences in the
|
409
|
+
% desired content of \author between the different types of papers makes a
|
410
|
+
% one-size-fits-all approach a daunting prospect. For instance, compsoc
|
411
|
+
% journal papers have the author affiliations above the "Manuscript
|
412
|
+
% received ..." text while in non-compsoc journals this is reversed. Sigh.
|
413
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
414
|
+
<%= @alternative_author_string %>
|
415
|
+
<% else %>
|
416
|
+
\author{<%=@first_author%><% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>, <%=@coauthor_list[i]%><% end %>
|
417
|
+
<% end %>% <-this % stops a space
|
418
|
+
\IEEEcompsocitemizethanks{\IEEEcompsocthanksitem <%=@first_author%> is with <%=@first_affiliation%>\protect\\
|
419
|
+
% note need leading \protect in front of \\ to get a newline within \thanks as
|
420
|
+
% \\ is fragile and will error, could use \hfil\break instead.
|
421
|
+
\IEEEcompsocthanksitem <% if !@coauthor_affiliations.to_a.empty? %><% for i in (0..@coauthor_affiliations.length-1) %><%=@coauthor_list[i]%> is with <%=@coauthor_affiliations[i]%>. <% end %><% end %>}}% <-this % stops a space
|
422
|
+
%\thanks{Manuscript received \today;}
|
423
|
+
|
424
|
+
|
425
|
+
% note the % following the last \IEEEmembership and also \thanks -
|
426
|
+
% these prevent an unwanted space from occurring between the last author name
|
427
|
+
% and the end of the author line. i.e., if you had this:
|
428
|
+
%
|
429
|
+
% \author{....lastname \thanks{...} \thanks{...} }
|
430
|
+
% ^------------^------------^----Do not want these spaces!
|
431
|
+
%
|
432
|
+
% a space would be appended to the last name and could cause every name on that
|
433
|
+
% line to be shifted left slightly. This is one of those "LaTeX things". For
|
434
|
+
% instance, "\textbf{A} \textbf{B}" will typeset as "A B" not "AB". To get
|
435
|
+
% "AB" then you have to do: "\textbf{A}\textbf{B}"
|
436
|
+
% \thanks is no different in this regard, so shield the last } of each \thanks
|
437
|
+
% that ends a line with a % and do not let a space in before the next \thanks.
|
438
|
+
% Spaces after \IEEEmembership other than the last one are OK (and needed) as
|
439
|
+
% you are supposed to have spaces between the names. For what it is worth,
|
440
|
+
% this is a minor point as most people would not even notice if the said evil
|
441
|
+
% space somehow managed to creep in.
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
% The paper headers
|
446
|
+
\markboth{Computer Science Journal of IEEE,~Vol.~1, No.~1, 2013}%
|
447
|
+
{<%=@first_author%> <% if !@coauthor_list.to_a.empty? %>{et~al.}<% end %>: <%= @short_title %>}
|
448
|
+
% The only time the second header will appear is for the odd numbered pages
|
449
|
+
% after the title page when using the twoside option.
|
450
|
+
%
|
451
|
+
% *** Note that you probably will NOT want to include the author's ***
|
452
|
+
% *** name in the headers of peer review papers. ***
|
453
|
+
% You can use \ifCLASSOPTIONpeerreview for conditional compilation here if
|
454
|
+
% you desire.
|
455
|
+
<% end %>
|
456
|
+
|
457
|
+
|
458
|
+
% The publisher's ID mark at the bottom of the page is less important with
|
459
|
+
% Computer Society journal papers as those publications place the marks
|
460
|
+
% outside of the main text columns and, therefore, unlike regular IEEE
|
461
|
+
% journals, the available text space is not reduced by their presence.
|
462
|
+
% If you want to put a publisher's ID mark on the page you can do it like
|
463
|
+
% this:
|
464
|
+
%\IEEEpubid{0000--0000/00\$00.00~\copyright~2007 IEEE}
|
465
|
+
% or like this to get the Computer Society new two part style.
|
466
|
+
%\IEEEpubid{\makebox[\columnwidth]{\hfill 0000--0000/00/\$00.00~\copyright~2007 IEEE}%
|
467
|
+
%\hspace{\columnsep}\makebox[\columnwidth]{Published by the IEEE Computer Society\hfill}}
|
468
|
+
% Remember, if you use this you must call \IEEEpubidadjcol in the second
|
469
|
+
% column for its text to clear the IEEEpubid mark (Computer Society jorunal
|
470
|
+
% papers don't need this extra clearance.)
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
% use for special paper notices
|
475
|
+
%\IEEEspecialpapernotice{(Invited Paper)}
|
476
|
+
|
477
|
+
|
478
|
+
|
479
|
+
% for Computer Society papers, we must declare the abstract and index terms
|
480
|
+
% PRIOR to the title within the \IEEEcompsoctitleabstractindextext IEEEtran
|
481
|
+
% command as these need to go into the title area created by \maketitle.
|
482
|
+
\IEEEcompsoctitleabstractindextext{%
|
483
|
+
<%= @abstract_begin_end %>
|
484
|
+
|
485
|
+
% IEEEtran.cls defaults to using nonbold math in the Abstract.
|
486
|
+
% This preserves the distinction between vectors and scalars. However,
|
487
|
+
% if the journal you are submitting to favors bold math in the abstract,
|
488
|
+
% then you can use LaTeX's standard command \boldmath at the very start
|
489
|
+
% of the abstract to achieve this. Many IEEE journals frown on math
|
490
|
+
% in the abstract anyway. In particular, the Computer Society does
|
491
|
+
% not want either math or citations to appear in the abstract.
|
492
|
+
|
493
|
+
% Note that keywords are not normally used for peerreview papers.
|
494
|
+
%\begin{IEEEkeywords}
|
495
|
+
%Computer Society, IEEEtran, journal, \LaTeX, paper, template.
|
496
|
+
%\end{IEEEkeywords}
|
497
|
+
}
|
498
|
+
|
499
|
+
|
500
|
+
% make the title area
|
501
|
+
\maketitle
|
502
|
+
|
503
|
+
|
504
|
+
% To allow for easy dual compilation without having to reenter the
|
505
|
+
% abstract/keywords data, the \IEEEcompsoctitleabstractindextext text will
|
506
|
+
% not be used in maketitle, but will appear (i.e., to be "transported")
|
507
|
+
% here as \IEEEdisplaynotcompsoctitleabstractindextext when compsoc mode
|
508
|
+
% is not selected <OR> if conference mode is selected - because compsoc
|
509
|
+
% conference papers position the abstract like regular (non-compsoc)
|
510
|
+
% papers do!
|
511
|
+
\IEEEdisplaynotcompsoctitleabstractindextext
|
512
|
+
% \IEEEdisplaynotcompsoctitleabstractindextext has no effect when using
|
513
|
+
% compsoc under a non-conference mode.
|
514
|
+
|
515
|
+
|
516
|
+
% For peer review papers, you can put extra information on the cover
|
517
|
+
% page as needed:
|
518
|
+
% \ifCLASSOPTIONpeerreview
|
519
|
+
% \begin{center} \bfseries EDICS Category: 3-BBND \end{center}
|
520
|
+
% \fi
|
521
|
+
%
|
522
|
+
% For peerreview papers, this IEEEtran command inserts a page break and
|
523
|
+
% creates the second title. It will be ignored for other modes.
|
524
|
+
\IEEEpeerreviewmaketitle
|
525
|
+
|
526
|
+
|
527
|
+
|
528
|
+
|
529
|
+
|
530
|
+
|