texstyles 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +50 -0
  3. data/.travis.yml +4 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +21 -0
  6. data/README.md +34 -0
  7. data/Rakefile +10 -0
  8. data/lib/texstyles.rb +26 -0
  9. data/lib/texstyles/style.rb +38 -0
  10. data/styles/a0poster-landscape.tex.erb +84 -0
  11. data/styles/a0poster-portrait.tex.erb +84 -0
  12. data/styles/aa.tex.erb +46 -0
  13. data/styles/aa_onecolumn.tex.erb +45 -0
  14. data/styles/aa_twocolumn.tex.erb +47 -0
  15. data/styles/aaai.tex.erb +29 -0
  16. data/styles/abnt.tex.erb +141 -0
  17. data/styles/acl.tex.erb +46 -0
  18. data/styles/acm.tex.erb +77 -0
  19. data/styles/acm_large.tex.erb +82 -0
  20. data/styles/acm_sig_alternate.tex.erb +116 -0
  21. data/styles/acm_sig_strict.tex.erb +90 -0
  22. data/styles/acs.tex.erb +76 -0
  23. data/styles/agu.tex.erb +211 -0
  24. data/styles/aiaa.tex.erb +84 -0
  25. data/styles/aip_preprint.tex.erb +65 -0
  26. data/styles/aip_reprint.tex.erb +67 -0
  27. data/styles/aisb2008.tex.erb +31 -0
  28. data/styles/aj_manuscript.tex.erb +76 -0
  29. data/styles/aj_preprint.tex.erb +78 -0
  30. data/styles/ajps.tex.erb +69 -0
  31. data/styles/alma.tex.erb +53 -0
  32. data/styles/ams_one.tex.erb +115 -0
  33. data/styles/ams_two.tex.erb +119 -0
  34. data/styles/apa_doc.tex.erb +21 -0
  35. data/styles/apj_emulate.tex.erb +104 -0
  36. data/styles/apj_manuscript.tex.erb +76 -0
  37. data/styles/aps.tex.erb +79 -0
  38. data/styles/aps_preprint.tex.erb +79 -0
  39. data/styles/article.tex.erb +28 -0
  40. data/styles/asp.tex.erb +26 -0
  41. data/styles/authorea-double-numbered.tex.erb +65 -0
  42. data/styles/authorea-double.tex.erb +62 -0
  43. data/styles/authorea-numbered.tex.erb +62 -0
  44. data/styles/authorea.tex.erb +59 -0
  45. data/styles/biogeosciences.tex.erb +71 -0
  46. data/styles/bioinformatics.tex.erb +34 -0
  47. data/styles/bmc.tex.erb +212 -0
  48. data/styles/book.tex.erb +22 -0
  49. data/styles/cernatsnote.tex.erb +28 -0
  50. data/styles/cernyrep.tex.erb +28 -0
  51. data/styles/chandra.tex.erb +182 -0
  52. data/styles/cogsci.tex.erb +43 -0
  53. data/styles/cornell.tex.erb +75 -0
  54. data/styles/cv.tex.erb +30 -0
  55. data/styles/development.tex.erb +55 -0
  56. data/styles/dfgproposal.tex.erb +103 -0
  57. data/styles/dod.tex.erb +221 -0
  58. data/styles/doe.tex.erb +62 -0
  59. data/styles/econf.tex.erb +174 -0
  60. data/styles/egu.tex.erb +73 -0
  61. data/styles/elsevier.tex.erb +138 -0
  62. data/styles/elsevier_review.tex.erb +140 -0
  63. data/styles/elsevier_softwarex.tex.erb +132 -0
  64. data/styles/elsevier_twocolumn.tex.erb +148 -0
  65. data/styles/empty.tex.erb +29 -0
  66. data/styles/epjc.tex.erb +78 -0
  67. data/styles/f1000.tex.erb +38 -0
  68. data/styles/frontiersENG.tex.erb +66 -0
  69. data/styles/frontiersFPHY.tex.erb +67 -0
  70. data/styles/frontiersMED.tex.erb +66 -0
  71. data/styles/frontiersSCNS.tex.erb +66 -0
  72. data/styles/g3.tex.erb +57 -0
  73. data/styles/geophysics.tex.erb +38 -0
  74. data/styles/gji.tex.erb +51 -0
  75. data/styles/hess.tex.erb +71 -0
  76. data/styles/hst.tex.erb +37 -0
  77. data/styles/iclr.tex.erb +35 -0
  78. data/styles/ieee_bare_conf.tex.erb +316 -0
  79. data/styles/ieee_bare_jrnl.tex.erb +459 -0
  80. data/styles/ieee_bare_jrnl_compsoc.tex.erb +530 -0
  81. data/styles/ifac.tex.erb +36 -0
  82. data/styles/ijcai.tex.erb +60 -0
  83. data/styles/imsart_aas.tex.erb +82 -0
  84. data/styles/imsart_as.tex.erb +82 -0
  85. data/styles/iop.tex.erb +93 -0
  86. data/styles/iram_proposal.tex.erb +93 -0
  87. data/styles/jacow.tex.erb +77 -0
  88. data/styles/jfm.tex.erb +43 -0
  89. data/styles/jhep.tex.erb +57 -0
  90. data/styles/jinst.tex.erb +46 -0
  91. data/styles/jrss.tex.erb +32 -0
  92. data/styles/jxb.tex.erb +56 -0
  93. data/styles/lncs.tex.erb +75 -0
  94. data/styles/mdpi.tex.erb +122 -0
  95. data/styles/mit.tex.erb +186 -0
  96. data/styles/mnras.tex.erb +41 -0
  97. data/styles/nasa.tex.erb +111 -0
  98. data/styles/nature.tex.erb +34 -0
  99. data/styles/nature_scirep.tex.erb +36 -0
  100. data/styles/nih.tex.erb +223 -0
  101. data/styles/nime.tex.erb +82 -0
  102. data/styles/nips.tex.erb +26 -0
  103. data/styles/nsf.tex.erb +66 -0
  104. data/styles/osaexpress.tex.erb +73 -0
  105. data/styles/osaletters.tex.erb +54 -0
  106. data/styles/peerj.tex.erb +45 -0
  107. data/styles/plos.tex.erb +69 -0
  108. data/styles/plos2015.tex.erb +237 -0
  109. data/styles/pnas.tex.erb +118 -0
  110. data/styles/report.tex.erb +17 -0
  111. data/styles/rsc.tex.erb +99 -0
  112. data/styles/sciadvances.tex.erb +120 -0
  113. data/styles/science.tex.erb +127 -0
  114. data/styles/sigchi.tex.erb +91 -0
  115. data/styles/sigplan.tex.erb +94 -0
  116. data/styles/spie.tex.erb +68 -0
  117. data/styles/spieman.tex.erb +75 -0
  118. data/styles/springer.tex.erb +92 -0
  119. data/styles/springer_twocolumn.tex.erb +92 -0
  120. data/styles/svmono.tex.erb +63 -0
  121. data/styles/trb.tex.erb +150 -0
  122. data/styles/tufte-handout.tex.erb +60 -0
  123. data/styles/uchicago.tex.erb +53 -0
  124. data/styles/ucriverside.tex.erb +79 -0
  125. data/styles/uiowa.tex.erb +78 -0
  126. data/styles/umich.tex.erb +68 -0
  127. data/styles/uvic.tex.erb +196 -0
  128. data/styles/uwollongong.tex.erb +149 -0
  129. data/texstyles.gemspec +25 -0
  130. metadata +258 -0
@@ -0,0 +1,38 @@
1
+ \documentclass[manuscript,revised]{geophysics}
2
+
3
+ <%=@default_packages%>
4
+
5
+ % An example of defining macros
6
+ \newcommand{\rs}[1]{\mathstrut\mbox{\scriptsize\rm #1}}
7
+ \newcommand{\rr}[1]{\mbox{\rm #1}}
8
+
9
+ <%=@header%>
10
+
11
+ \begin{document}
12
+
13
+ \title{<%=@long_title%>}
14
+
15
+ \renewcommand{\thefootnote}{\fnsymbol{footnote}}
16
+
17
+ %\ms{} % manuscript number
18
+ <% if !@alternative_author_string.to_s.empty? %>
19
+ <%= @alternative_author_string %>
20
+ <% else %>
21
+ \address{
22
+ \footnotemark[1]<%=@first_affiliation%><% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
23
+ \footnotemark[<%=i+2%>]<%=@coauthor_affiliations[i]%><% end %><% end %>
24
+ }
25
+
26
+ \author{<%=@first_author%>\footnotemark[1]<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %> and <%=@coauthor_list[i]%>\footnotemark[<%=i+2%>]<% end %><% end %>}
27
+
28
+ %\footer{}
29
+ \lefthead{<%=@first_author%>}
30
+ <% end %>
31
+ \righthead{<%=@long_title%>}
32
+
33
+ \maketitle
34
+
35
+ <%= @abstract_begin_end %>
36
+
37
+
38
+
@@ -0,0 +1,51 @@
1
+ % gjilguid2e.tex
2
+ % V2.0 released 1998 December 18
3
+ % V2.1 released 2003 October 7 -- Gregor Hutton, updated the web address for the style files.
4
+
5
+ \documentclass{gji}
6
+ \usepackage{timet}
7
+
8
+ <%=@default_packages%>
9
+ <%=@header%>
10
+
11
+ \title[<%=@short_title%>]
12
+ {<%=@long_title%>}
13
+
14
+ <% if !@alternative_author_string.to_s.empty? %>
15
+ <%= @alternative_author_string %>
16
+ <% else %>
17
+ \author[<%=@first_author%>]
18
+ {<%=@first_author%>$^1$ \\
19
+ $^1$ <%=@first_affiliation%>
20
+ }
21
+ <% end %>
22
+
23
+ %\date{Received 1998 December 18; in original form 1998 November 22}
24
+ %\pagerange{\pageref{firstpage}--\pageref{lastpage}}
25
+ %\volume{200}
26
+ %\pubyear{1998}
27
+
28
+ %\def\LaTeX{L\kern-.36em\raise.3ex\hbox{{\small A}}\kern-.15em
29
+ % T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}
30
+ %\def\LATeX{L\kern-.36em\raise.3ex\hbox{{\Large A}}\kern-.15em
31
+ % T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}
32
+ % Authors with AMS fonts and mssymb.tex can comment out the following
33
+ % line to get the correct symbol for Geophysical Journal International.
34
+ \let\leqslant=\leq
35
+
36
+ \newtheorem{theorem}{Theorem}[section]
37
+
38
+ \begin{document}
39
+
40
+ \label{firstpage}
41
+
42
+ \maketitle
43
+
44
+
45
+ \begin{summary}
46
+ <%= @abstract %>
47
+ \end{summary}
48
+
49
+ %\begin{keywords}
50
+ % \LaTeXe\ -- class files: \verb"gji.cls"\ -- sample text -- user guide.
51
+ %\end{keywords}
@@ -0,0 +1,71 @@
1
+ %% Copernicus Publications Manuscript Preparation Template for LaTeX Submissions
2
+ %% ---------------------------------
3
+ %% This template should be used for the following class files: copernicus.cls, copernicus2.cls, copernicus_discussions.cls
4
+ %% The class files, the Copernicus LaTeX Manual with detailed explanations regarding the comments
5
+ %% and some style files are bundled in the Copernicus Latex Package which can be downloaded from the different journal webpages.
6
+ %% For further assistance please contact the Publication Production Office (production@copernicus.org).
7
+ %% http://publications.copernicus.org
8
+
9
+
10
+ %% Differing commands regarding the specific class files are highlighted.
11
+
12
+
13
+ %% copernicus.cls
14
+ \documentclass[hess, manuscript]{copernicus}
15
+
16
+ %% copernicus2.cls
17
+ %\documentclass[journal abbreviation]{copernicus2}
18
+
19
+ %% copernicus_discussions.cls
20
+ %\documentclass[journal abbreviation, hvmath, online]{copernicus_discussions}
21
+
22
+
23
+
24
+ <%=@default_packages%>
25
+
26
+ <%=@header%>
27
+
28
+ \begin{document}
29
+
30
+ \title{<%=@long_title%>}
31
+
32
+ <% if !@alternative_author_string.to_s.empty? %>
33
+ <%= @alternative_author_string %>
34
+ <% else %>
35
+ \author[1]{<%=@first_author%>}
36
+ <% if !@coauthor_list.to_a.empty? %>
37
+ <% for i in (0..@coauthor_list.length-1) %>
38
+ \author[<%=i+2%>]{<%=@coauthor_list[i]%>}
39
+ <% end %><% end %>
40
+
41
+ \affil[1]{<%=@first_affiliation%>}
42
+ <% if !@coauthor_list.to_a.empty? %>
43
+ <% for i in (0..@coauthor_list.length-1) %>
44
+ \affil[<%=i+2%>]{<%=@coauthor_affiliations[i]%>}
45
+ <% end %><% end %>
46
+ <% end %>
47
+ %% The [] brackets identify the author to the corresponding affiliation, 1, 2, 3, etc. should be inserted.
48
+
49
+
50
+
51
+ \runningtitle{<%=@long_title%>}
52
+
53
+ \runningauthor{<%=@first_author%>}
54
+
55
+ \correspondence{<%=@first_author%>}
56
+
57
+ \received{}
58
+ \pubdiscuss{} %% only important for two-stage journals
59
+ \revised{}
60
+ \accepted{}
61
+ \published{}
62
+
63
+ %% These dates will be inserted by the Publication Production Office during the typesetting process.
64
+
65
+
66
+ \firstpage{1}
67
+
68
+ \maketitle %% Please note that for the copernicus2.cls this command needs to be inserted after \abstract{TEXT}
69
+
70
+
71
+ <%= @abstract_begin_end %>
@@ -0,0 +1,37 @@
1
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
+ %
3
+ % phase1-GO.tex (use only for General Observer and Snapshot proposals;
4
+ % use phase1-AR.tex for Archival Research and
5
+ % Theory proposals use phase1-DD.tex for GO/DD proposals).
6
+ %
7
+ % HUBBLE SPACE TELESCOPE
8
+ % PHASE I OBSERVING PROPOSAL TEMPLATE
9
+ % FOR CYCLE 22 (2014)
10
+ %
11
+ % Version 1.0, January 06, 2014.
12
+ %
13
+ % Guidelines and assistance
14
+ % =========================
15
+ % Cycle 22 Announcement Web Page:
16
+ %
17
+ % http://www.stsci.edu/hst/proposing/docs/cycle22announce
18
+ %
19
+ % Please contact the STScI Help Desk if you need assistance with any
20
+ % aspect of proposing for and using HST. Either send e-mail to
21
+ % help@stsci.edu, or call 1-800-544-8125; from outside the United
22
+ % States, call [1] 410-338-1082.
23
+ %
24
+ %
25
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
26
+
27
+ % The template begins here. Please do not modify the font size from 12 point.
28
+
29
+ \documentclass[12pt]{article}
30
+ <%= @default_packages %>
31
+
32
+ \usepackage{phase1}
33
+ <%=@header%>
34
+
35
+ \begin{document}
36
+
37
+
@@ -0,0 +1,35 @@
1
+ \documentclass{article} % For LaTeX2e
2
+ \usepackage{iclr2015,times}
3
+ \usepackage{hyperref}
4
+ \usepackage{url}
5
+
6
+ <%=@default_packages%>
7
+ <%=@header%>
8
+
9
+ \title{<%=@long_title%>}
10
+ <% if !@alternative_author_string.to_s.empty? %>
11
+ <%= @alternative_author_string %>
12
+ <% else %>
13
+ \author{
14
+ <%=@first_author%>\\
15
+ <%=@first_affiliation%>\\
16
+ <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
17
+ \And
18
+ <%=@coauthor_list[i]%>\\
19
+ <%=@coauthor_affiliations[i]%>\\<% end %><% end %>}
20
+ <% end %>
21
+
22
+ \newcommand{\fix}{\marginpar{FIX}}
23
+ \newcommand{\new}{\marginpar{NEW}}
24
+
25
+ %\iclrfinalcopy % Uncomment for camera-ready version
26
+
27
+ %\iclrconference % Uncomment if submitted as conference paper instead of workshop
28
+
29
+ \begin{document}
30
+
31
+
32
+ \maketitle
33
+
34
+ <%= @abstract_begin_end %>
35
+
@@ -0,0 +1,316 @@
1
+ %% bare_conf.tex
2
+ %% V1.3
3
+ %% 2007/01/11
4
+ %% by Michael Shell
5
+ %% See:
6
+ %% 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 conference 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
+ %% Legal Notice:
20
+ %% This code is offered as-is without any warranty either expressed or
21
+ %% implied; without even the implied warranty of MERCHANTABILITY or
22
+ %% FITNESS FOR A PARTICULAR PURPOSE!
23
+ %% User assumes all risk.
24
+ %% In no event shall IEEE or any contributor to this code be liable for
25
+ %% any damages or losses, including, but not limited to, incidental,
26
+ %% consequential, or any other damages, resulting from the use or misuse
27
+ %% of any information contained here.
28
+ %%
29
+ %% All comments are the opinions of their respective authors and are not
30
+ %% necessarily endorsed by the IEEE.
31
+ %%
32
+ %% This work is distributed under the LaTeX Project Public License (LPPL)
33
+ %% ( http://www.latex-project.org/ ) version 1.3, and may be freely used,
34
+ %% distributed and modified. A copy of the LPPL, version 1.3, is included
35
+ %% in the base LaTeX documentation of all distributions of LaTeX released
36
+ %% 2003/12/01 or later.
37
+ %% Retain all contribution notices and credits.
38
+ %% ** Modified files should be clearly indicated as such, including **
39
+ %% ** renaming them and changing author support contact information. **
40
+ %%
41
+ %% File list of work: IEEEtran.cls, IEEEtran_HOWTO.pdf, bare_adv.tex,
42
+ %% bare_conf.tex, bare_jrnl.tex, bare_jrnl_compsoc.tex
43
+ %%*************************************************************************
44
+
45
+ % *** Authors should verify (and, if needed, correct) their LaTeX system ***
46
+ % *** with the testflow diagnostic prior to trusting their LaTeX platform ***
47
+ % *** with production work. IEEE's font choices can trigger bugs that do ***
48
+ % *** not appear when using other class files. ***
49
+ % The testflow support page is at:
50
+ % http://www.michaelshell.org/tex/testflow/
51
+
52
+
53
+
54
+ % Note that the a4paper option is mainly intended so that authors in
55
+ % countries using A4 can easily print to A4 and see how their papers will
56
+ % look in print - the typesetting of the document will not typically be
57
+ % affected with changes in paper size (but the bottom and side margins will).
58
+ % Use the testflow package mentioned above to verify correct handling of
59
+ % both paper sizes by the user's LaTeX system.
60
+ %
61
+ % Also note that the "draftcls" or "draftclsnofoot", not "draft", option
62
+ % should be used if it is desired that the figures are to be displayed in
63
+ % draft mode.
64
+ %
65
+ \documentclass[conference]{IEEEtran}
66
+ % Add the compsoc option for Computer Society conferences.
67
+ %
68
+ % If IEEEtran.cls has not been installed into the LaTeX system files,
69
+ % manually specify the path to it like:
70
+ % \documentclass[conference]{../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
+ <%=@default_packages%>
100
+
101
+
102
+ % *** CITATION PACKAGES ***
103
+ %
104
+ \usepackage{cite}
105
+ % cite.sty was written by Donald Arseneau
106
+ % V1.6 and later of IEEEtran pre-defines the format of the cite.sty package
107
+ % \cite{} output to follow that of IEEE. Loading the cite package will
108
+ % result in citation numbers being automatically sorted and properly
109
+ % "compressed/ranged". e.g., [1], [9], [2], [7], [5], [6] without using
110
+ % cite.sty will become [1], [2], [5]--[7], [9] using cite.sty. cite.sty's
111
+ % \cite will automatically add leading space, if needed. Use cite.sty's
112
+ % noadjust option (cite.sty V3.8 and later) if you want to turn this off.
113
+ % cite.sty is already installed on most LaTeX systems. Be sure and use
114
+ % version 4.0 (2003-05-27) and later if using hyperref.sty. cite.sty does
115
+ % not currently provide for hyperlinked citations.
116
+ % The latest version can be obtained at:
117
+ % http://www.ctan.org/tex-archive/macros/latex/contrib/cite/
118
+ % The documentation is contained in the cite.sty file itself.
119
+
120
+
121
+
122
+ % *** MATH PACKAGES ***
123
+ %
124
+ %\usepackage[cmex10]{amsmath}
125
+ % A popular package from the American Mathematical Society that provides
126
+ % many useful and powerful commands for dealing with mathematics. If using
127
+ % it, be sure to load this package with the cmex10 option to ensure that
128
+ % only type 1 fonts will utilized at all point sizes. Without this option,
129
+ % it is possible that some math symbols, particularly those within
130
+ % footnotes, will be rendered in bitmap form which will result in a
131
+ % document that can not be IEEE Xplore compliant!
132
+ %
133
+ % Also, note that the amsmath package sets \interdisplaylinepenalty to 10000
134
+ % thus preventing page breaks from occurring within multiline equations. Use:
135
+ %\interdisplaylinepenalty=2500
136
+ % after loading amsmath to restore such page breaks as IEEEtran.cls normally
137
+ % does. amsmath.sty is already installed on most LaTeX systems. The latest
138
+ % version and documentation can be obtained at:
139
+ % http://www.ctan.org/tex-archive/macros/latex/required/amslatex/math/
140
+
141
+
142
+
143
+
144
+
145
+ % *** SPECIALIZED LIST PACKAGES ***
146
+ %
147
+ %\usepackage{algorithmic}
148
+ % algorithmic.sty was written by Peter Williams and Rogerio Brito.
149
+ % This package provides an algorithmic environment fo describing algorithms.
150
+ % You can use the algorithmic environment in-text or within a figure
151
+ % environment to provide for a floating algorithm. Do NOT use the algorithm
152
+ % floating environment provided by algorithm.sty (by the same authors) or
153
+ % algorithm2e.sty (by Christophe Fiorio) as IEEE does not use dedicated
154
+ % algorithm float types and packages that provide these will not provide
155
+ % correct IEEE style captions. The latest version and documentation of
156
+ % algorithmic.sty can be obtained at:
157
+ % http://www.ctan.org/tex-archive/macros/latex/contrib/algorithms/
158
+ % There is also a support site at:
159
+ % http://algorithms.berlios.de/index.html
160
+ % Also of interest may be the (relatively newer and more customizable)
161
+ % algorithmicx.sty package by Szasz Janos:
162
+ % http://www.ctan.org/tex-archive/macros/latex/contrib/algorithmicx/
163
+
164
+
165
+
166
+
167
+ % *** ALIGNMENT PACKAGES ***
168
+ %
169
+ %\usepackage{array}
170
+ % Frank Mittelbach's and David Carlisle's array.sty patches and improves
171
+ % the standard LaTeX2e array and tabular environments to provide better
172
+ % appearance and additional user controls. As the default LaTeX2e table
173
+ % generation code is lacking to the point of almost being broken with
174
+ % respect to the quality of the end results, all users are strongly
175
+ % advised to use an enhanced (at the very least that provided by array.sty)
176
+ % set of table tools. array.sty is already installed on most systems. The
177
+ % latest version and documentation can be obtained at:
178
+ % http://www.ctan.org/tex-archive/macros/latex/required/tools/
179
+
180
+
181
+ %\usepackage{mdwmath}
182
+ %\usepackage{mdwtab}
183
+ % Also highly recommended is Mark Wooding's extremely powerful MDW tools,
184
+ % especially mdwmath.sty and mdwtab.sty which are used to format equations
185
+ % and tables, respectively. The MDWtools set is already installed on most
186
+ % LaTeX systems. The lastest version and documentation is available at:
187
+ % http://www.ctan.org/tex-archive/macros/latex/contrib/mdwtools/
188
+
189
+
190
+ % IEEEtran contains the IEEEeqnarray family of commands that can be used to
191
+ % generate multiline equations as well as matrices, tables, etc., of high
192
+ % quality.
193
+
194
+
195
+ %\usepackage{eqparbox}
196
+ % Also of notable interest is Scott Pakin's eqparbox package for creating
197
+ % (automatically sized) equal width boxes - aka "natural width parboxes".
198
+ % Available at:
199
+ % http://www.ctan.org/tex-archive/macros/latex/contrib/eqparbox/
200
+
201
+
202
+
203
+
204
+
205
+ % *** SUBFIGURE PACKAGES ***
206
+ %\usepackage[tight,footnotesize]{subfigure}
207
+ % subfigure.sty was written by Steven Douglas Cochran. This package makes it
208
+ % easy to put subfigures in your figures. e.g., "Figure 1a and 1b". For IEEE
209
+ % work, it is a good idea to load it with the tight package option to reduce
210
+ % the amount of white space around the subfigures. subfigure.sty is already
211
+ % installed on most LaTeX systems. The latest version and documentation can
212
+ % be obtained at:
213
+ % http://www.ctan.org/tex-archive/obsolete/macros/latex/contrib/subfigure/
214
+ % subfigure.sty has been superceeded by subfig.sty.
215
+
216
+
217
+
218
+ %\usepackage[caption=false]{caption}
219
+ %\usepackage[font=footnotesize]{subfig}
220
+ % subfig.sty, also written by Steven Douglas Cochran, is the modern
221
+ % replacement for subfigure.sty. However, subfig.sty requires and
222
+ % automatically loads Axel Sommerfeldt's caption.sty which will override
223
+ % IEEEtran.cls handling of captions and this will result in nonIEEE style
224
+ % figure/table captions. To prevent this problem, be sure and preload
225
+ % caption.sty with its "caption=false" package option. This is will preserve
226
+ % IEEEtran.cls handing of captions. Version 1.3 (2005/06/28) and later
227
+ % (recommended due to many improvements over 1.2) of subfig.sty supports
228
+ % the caption=false option directly:
229
+ %\usepackage[caption=false,font=footnotesize]{subfig}
230
+ %
231
+ % The latest version and documentation can be obtained at:
232
+ % http://www.ctan.org/tex-archive/macros/latex/contrib/subfig/
233
+ % The latest version and documentation of caption.sty can be obtained at:
234
+ % http://www.ctan.org/tex-archive/macros/latex/contrib/caption/
235
+
236
+
237
+
238
+
239
+ % *** FLOAT PACKAGES ***
240
+ %
241
+ %\usepackage{fixltx2e}
242
+ % fixltx2e, the successor to the earlier fix2col.sty, was written by
243
+ % Frank Mittelbach and David Carlisle. This package corrects a few problems
244
+ % in the LaTeX2e kernel, the most notable of which is that in current
245
+ % LaTeX2e releases, the ordering of single and double column floats is not
246
+ % guaranteed to be preserved. Thus, an unpatched LaTeX2e can allow a
247
+ % single column figure to be placed prior to an earlier double column
248
+ % figure. The latest version and documentation can be found at:
249
+ % http://www.ctan.org/tex-archive/macros/latex/base/
250
+
251
+
252
+
253
+ %\usepackage{stfloats}
254
+ % stfloats.sty was written by Sigitas Tolusis. This package gives LaTeX2e
255
+ % the ability to do double column floats at the bottom of the page as well
256
+ % as the top. (e.g., "\begin{figure*}[!b]" is not normally possible in
257
+ % LaTeX2e). It also provides a command:
258
+ %\fnbelowfloat
259
+ % to enable the placement of footnotes below bottom floats (the standard
260
+ % LaTeX2e kernel puts them above bottom floats). This is an invasive package
261
+ % which rewrites many portions of the LaTeX2e float routines. It may not work
262
+ % with other packages that modify the LaTeX2e float routines. The latest
263
+ % version and documentation can be obtained at:
264
+ % http://www.ctan.org/tex-archive/macros/latex/contrib/sttools/
265
+ % Documentation is contained in the stfloats.sty comments as well as in the
266
+ % presfull.pdf file. Do not use the stfloats baselinefloat ability as IEEE
267
+ % does not allow \baselineskip to stretch. Authors submitting work to the
268
+ % IEEE should note that IEEE rarely uses double column equations and
269
+ % that authors should try to avoid such use. Do not be tempted to use the
270
+ % cuted.sty or midfloat.sty packages (also by Sigitas Tolusis) as IEEE does
271
+ % not format its papers in such ways.
272
+
273
+
274
+
275
+
276
+ <%=@header%>
277
+
278
+ \begin{document}
279
+ %
280
+ % paper title
281
+ % can use linebreaks \\ within to get better formatting as desired
282
+ % Do not put math or special symbols in the title.
283
+
284
+ \title{<%=@long_title%>}
285
+
286
+ <% if !@alternative_author_string.to_s.empty? %>
287
+ <%= @alternative_author_string %>
288
+ <% else %>
289
+ \author{%
290
+ \IEEEauthorblockN{%
291
+ <%=@first_author%><% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>,
292
+ <%=@coauthor_list[i]%><% end %>
293
+ <% end %>}% <-this % stops a space
294
+ \IEEEauthorblockA{%
295
+ <%=@first_affiliation%><% if !@coauthor_affiliations.to_a.empty? %><% for i in (0..@coauthor_affiliations.length-1) %>
296
+ \thanks{<%=@coauthor_list[i]%> is with <%=@coauthor_affiliations[i]%>}<% end %><% end %>% <-this % stops a space
297
+ }}
298
+ <% end %>
299
+
300
+ % make the title area
301
+ \maketitle
302
+
303
+ % As a general rule, do not put math, special symbols or citations
304
+ % in the abstract
305
+
306
+ <%= @abstract_begin_end %>
307
+
308
+
309
+ % no keywords
310
+
311
+ % *** Do not adjust lengths that control margins, column widths, etc. ***
312
+ % *** Do not use packages that alter fonts (such as pslatex). ***
313
+ % There should be no need to do such things with IEEEtran.cls V1.6 and later.
314
+ % (Unless specifically asked to do so by the journal or conference you plan
315
+ % to submit to, of course. )
316
+