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,62 @@
1
+ \documentclass[12pt]{article}
2
+
3
+ % Set the margins to 1 inch at all sides
4
+ \usepackage[
5
+ paper=letterpaper,
6
+ lmargin=1in,
7
+ rmargin=1in,
8
+ tmargin=1in,
9
+ bmargin=1in]{geometry}
10
+
11
+ % Modify the captions so that they look better, the way I like them at least...
12
+ \usepackage[font={small,bf},textfont=md,format=hang,margin=20pt,
13
+ singlelinecheck=false]{caption}
14
+
15
+ % Make fancy headers and everything...
16
+ \usepackage{fancyhdr}
17
+ \pagestyle{fancy}
18
+ % Headers - left, center and right.
19
+ \lhead{Topic}
20
+ \chead{Proposal}
21
+ \rhead{<%=@short_title%>}
22
+ % Footers - as before
23
+ \cfoot{\small \thepage}
24
+ \renewcommand{\headrulewidth}{0.5pt}
25
+ \renewcommand{\footrulewidth}{0.5pt}
26
+
27
+ \fancypagestyle{plain}{%
28
+ \fancyhead{} % get rid of headers on plain pages
29
+ \renewcommand{\headrulewidth}{0pt} % and the line
30
+ }
31
+
32
+ <%=@default_packages%>
33
+
34
+ <%=@header%>
35
+
36
+
37
+ % Use the times package to change font if you really have to....
38
+ \usepackage{times}
39
+ \usepackage[affil-it]{authblk}
40
+
41
+
42
+ \begin{document}
43
+
44
+ \title{<%=@long_title%>}
45
+ <% if !@alternative_author_string.to_s.empty? %>
46
+ <%= @alternative_author_string %>
47
+ <% else %>
48
+ \author{<%=@first_author%>}
49
+ \affil{<%=@first_affiliation%>}
50
+ <% if !@coauthor_list.to_a.empty? %>
51
+ <% for i in (0..@coauthor_list.length-1) %>
52
+ \author{<%=@coauthor_list[i]%>}
53
+ \affil{<%=@coauthor_affiliations[i]%>}
54
+ <% end %>
55
+ <% end %>
56
+ <% end %>
57
+
58
+ \maketitle
59
+
60
+ <%= @abstract_begin_end %>
61
+
62
+
@@ -0,0 +1,174 @@
1
+ %% TEMPLATE for articles submitted to the full-tex econf proceedings
2
+ %%
3
+ %%
4
+ %% Please do not remove lines commented out with %+
5
+ %% these are for the editors' use.
6
+ %%
7
+ %% Questions? Send email to : mpeskin@slac.stanford.edu
8
+ %%
9
+
10
+ \documentclass[12pt]{article}
11
+ <%= @default_packages %>
12
+ \usepackage{epsfig}
13
+
14
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
15
+ %% Do not change these:
16
+ \textwidth=6.0in \textheight=8.25in
17
+
18
+ %% Adjust these for your printer:
19
+ \leftmargin=-0.3in \topmargin=-0.20in
20
+
21
+
22
+
23
+
24
+ %%% useful macros for econf proceedings articles:
25
+
26
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
27
+ %% basic formatting macros:
28
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
29
+
30
+ %% single-line equations:
31
+
32
+ \def\beq{\begin{equation}}
33
+ \def\eeq#1{\label{#1}\end{equation}}
34
+ \def\eeqn{\end{equation}}
35
+
36
+ %% multiple-line equations (use \CR as the carriage return):
37
+
38
+ \def\beqa{\begin{eqnarray}}
39
+ \def\eeqa#1{\label{#1}\end{eqnarray}}
40
+ \def\eeqan{\end{eqnarray}}
41
+ \def\CR{\nonumber \\ }
42
+
43
+ %% reference to an equation number:
44
+
45
+ \def\leqn#1{(\ref{#1})}
46
+
47
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
48
+
49
+ %% bibliographic entries (use this or the SPIRES LaTeX output)
50
+
51
+ %% Journal or bibliographic formatting macros are obsolete!
52
+ %% The SLAC/SPIRES database supplies properly formatted citations;
53
+ %% click on LaTeX(US) or LaTeX(EU)
54
+
55
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
56
+
57
+ %% sizing and bars
58
+
59
+ \def\st{\scriptstyle}
60
+ \def\sst{\scriptscriptstyle}
61
+
62
+ \def\overbar#1{\overline{#1}}
63
+ \let\littlebar=\bar
64
+ \let\bar=\overbar
65
+
66
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
67
+
68
+ %% text-mode macros:
69
+
70
+ \def\etal{{\it et al.}}
71
+ \def\ie{{\it i.e.}}
72
+ \def\eg{{\it e.g.}}
73
+
74
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
75
+
76
+ %% expectation values:
77
+
78
+ \def\VEV#1{\left\langle{ #1} \right\rangle}
79
+ \def\bra#1{\left\langle{ #1} \right|}
80
+ \def\ket#1{\left| {#1} \right\rangle}
81
+ \def\vev#1{\langle #1 \rangle}
82
+
83
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
84
+
85
+ %% caligraphic letters (for matrix elements, luminosity, etc.)
86
+
87
+ \def\D{{\cal D}}
88
+ \def\L{{\cal L}}
89
+ \def\M{{\cal M}}
90
+ \def\O{{\cal O}}
91
+ \def\W{{\cal W}}
92
+
93
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
94
+
95
+ %% matrix operations and fractions:
96
+
97
+ \def\One{{\bf 1}}
98
+ \def\hc{{\mbox{\rm h.c.}}}
99
+ \def\tr{{\mbox{\rm tr}}}
100
+ \def\half{\frac{1}{2}}
101
+ \def\thalf{\frac{3}{2}}
102
+ \def\third{\frac{1}{3}}
103
+ \def\tthird{\frac{2}{3}}
104
+
105
+ \def\Dslash{\not{\hbox{\kern-4pt $D$}}}
106
+ \def\dslash{\not{\hbox{\kern-2pt $\del$}}}
107
+
108
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
109
+
110
+ %% high-energy physics terminology:
111
+
112
+ \def\Pl{{\mbox{\scriptsize Pl}}}
113
+ \def\eff{{\mbox{\scriptsize eff}}}
114
+ \def\CM{{\mbox{\scriptsize CM}}}
115
+ \def\BR{\mbox{\rm BR}}
116
+ \def\ee{e^+e^-}
117
+ \def\sstw{\sin^2\theta_w}
118
+ \def\cstw{\cos^2\theta_w}
119
+ \def\mz{m_Z}
120
+ \def\gz{\Gamma_Z}
121
+ \def\mw{m_W}
122
+ \def\mt{m_t}
123
+ \def\gt{\Gamma_t}
124
+ \def\mh{m_h}
125
+ \def\gmu{G_\mu}
126
+ \def\GF{G_F}
127
+ \def\alphas{\alpha_s}
128
+ \def\msb{{\bar{\ssstyle M \kern -1pt S}}}
129
+ \def\lmsb{\Lambda_{\msb}}
130
+ \def\ELER{e^-_Le^+_R}
131
+ \def\EREL{e^-_Re^+_L}
132
+ \def\ELEL{e^-_Le^+_L}
133
+ \def\ERER{e^-_Re^+_R}
134
+ \def\eps{\epsilon}
135
+
136
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
137
+
138
+ %% supersymmetry:
139
+
140
+ \def\ch#1{\widetilde\chi^+_{#1}}
141
+ \def\chm#1{\widetilde\chi^-_{#1}}
142
+ \def\neu#1{\widetilde\chi^0_{#1}}
143
+ \def\s#1{\widetilde{#1}}
144
+
145
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5
146
+
147
+ \def\Title#1{\begin{center} {\Large {\bf #1} } \end{center}}
148
+
149
+ \begin{document}
150
+
151
+
152
+ \Title{<%=@long_title%>}
153
+
154
+ \bigskip\bigskip
155
+
156
+ %+\addtocontents{toc}{{\it D. Reggiano}}
157
+ %+\label{ReggianoStart}
158
+
159
+ \begin{raggedright}
160
+ <% if !@alternative_author_string.to_s.empty? %>
161
+ <%= @alternative_author_string %>
162
+ <% else %>
163
+ {\it <%=@first_author%>\\
164
+ <%=@first_affiliation%>}
165
+ \bigskip\bigskip
166
+
167
+ <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
168
+ {\it <%=@coauthor_list[i]%>\\
169
+ <%=@coauthor_affiliations[i]%> }
170
+ \bigskip\bigskip
171
+ <% end %><% end %>
172
+ <% end %>
173
+ \end{raggedright}
174
+
@@ -0,0 +1,73 @@
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[journal abbreviation]{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
+ \linenumbers
31
+
32
+ \title{<%=@long_title%>}
33
+
34
+ <% if !@alternative_author_string.to_s.empty? %>
35
+ <%= @alternative_author_string %>
36
+ <% else %>
37
+ \author[1]{<%=@first_author%>}
38
+ <% if !@coauthor_list.to_a.empty? %>
39
+ <% for i in (0..@coauthor_list.length-1) %>
40
+ \author[<%=i+2%>]{<%=@coauthor_list[i]%>}
41
+ <% end %><% end %>
42
+
43
+ \affil[1]{<%=@first_affiliation%>}
44
+ <% if !@coauthor_list.to_a.empty? %>
45
+ <% for i in (0..@coauthor_list.length-1) %>
46
+ \affil[<%=i+2%>]{<%=@coauthor_affiliations[i]%>}
47
+ <% end %><% end %>
48
+ <% end %>
49
+ %% The [] brackets identify the author to the corresponding affiliation, 1, 2, 3, etc. should be inserted.
50
+
51
+
52
+
53
+ \runningtitle{<%=@long_title%>}
54
+
55
+ \runningauthor{<%=@first_author%>}
56
+
57
+ \correspondence{<%=@first_author%>}
58
+
59
+ \received{}
60
+ \pubdiscuss{} %% only important for two-stage journals
61
+ \revised{}
62
+ \accepted{}
63
+ \published{}
64
+
65
+ %% These dates will be inserted by the Publication Production Office during the typesetting process.
66
+
67
+
68
+ \firstpage{1}
69
+
70
+ \maketitle %% Please note that for the copernicus2.cls this command needs to be inserted after \abstract{TEXT}
71
+
72
+
73
+ <%= @abstract_begin_end %>
@@ -0,0 +1,138 @@
1
+ %%
2
+ %% Copyright 2007, 2008, 2009 Elsevier Ltd
3
+ %%
4
+ %% This file is part of the 'Elsarticle Bundle'.
5
+ %% ---------------------------------------------
6
+ %%
7
+ %% It may be distributed under the conditions of the LaTeX Project Public
8
+ %% License, either version 1.2 of this license or (at your option) any
9
+ %% later version. The latest version of this license is in
10
+ %% http://www.latex-project.org/lppl.txt
11
+ %% and version 1.2 or later is part of all distributions of LaTeX
12
+ %% version 1999/12/01 or later.
13
+ %%
14
+ %% The list of all files belonging to the 'Elsarticle Bundle' is
15
+ %% given in the file `manifest.txt'.
16
+ %%
17
+
18
+ %% Template article for Elsevier's document class `elsarticle'
19
+ %% with numbered style bibliographic references
20
+ %% SP 2008/03/01
21
+ %%
22
+ %%
23
+ %%
24
+ %% $Id: elsarticle-template-num.tex 4 2009-10-24 08:22:58Z rishi $
25
+ %%
26
+ %%
27
+ \documentclass[preprint,12pt,3p]{elsarticle}
28
+
29
+ %% Use the option review to obtain double line spacing
30
+ %% \documentclass[preprint,review,12pt]{elsarticle}
31
+
32
+ %% Use the options 1p,twocolumn; 3p; 3p,twocolumn; 5p; or 5p,twocolumn
33
+ %% for a journal layout:
34
+ %% \documentclass[final,1p,times]{elsarticle}
35
+ %% \documentclass[final,1p,times,twocolumn]{elsarticle}
36
+ %% \documentclass[final,3p,times]{elsarticle}
37
+ %% \documentclass[final,3p,times,twocolumn]{elsarticle}
38
+ %% \documentclass[final,5p,times]{elsarticle}
39
+ %% \documentclass[final,5p,times,twocolumn]{elsarticle}
40
+
41
+ %% if you use PostScript figures in your article
42
+ %% use the graphics package for simple commands
43
+ %% \usepackage{graphics}
44
+ %% or use the graphicx package for more complicated commands
45
+ %% \usepackage{graphicx}
46
+ %% or use the epsfig package if you prefer to use the old commands
47
+ %% \usepackage{epsfig}
48
+
49
+ %% The amssymb package provides various useful mathematical symbols
50
+ \usepackage{amssymb}
51
+ %% The amsthm package provides extended theorem environments
52
+ %% \usepackage{amsthm}
53
+
54
+ %% The lineno packages adds line numbers. Start line numbering with
55
+ %% \begin{linenumbers}, end it with \end{linenumbers}. Or switch it on
56
+ %% for the whole article with \linenumbers after \end{frontmatter}.
57
+ %% \usepackage{lineno}
58
+
59
+ %% natbib.sty is loaded by default. However, natbib options can be
60
+ %% provided with \biboptions{...} command. Following options are
61
+ %% valid:
62
+
63
+ %% round - round parentheses are used (default)
64
+ %% square - square brackets are used [option]
65
+ %% curly - curly braces are used {option}
66
+ %% angle - angle brackets are used <option>
67
+ %% semicolon - multiple citations separated by semi-colon
68
+ %% colon - same as semicolon, an earlier confusion
69
+ %% comma - separated by comma
70
+ %% numbers- selects numerical citations
71
+ %% super - numerical citations as superscripts
72
+ %% sort - sorts multiple citations according to order in ref. list
73
+ %% sort&compress - like sort, but also compresses numerical citations
74
+ %% compress - compresses without sorting
75
+ %%
76
+ %% \biboptions{comma,round}
77
+
78
+ % \biboptions{}
79
+
80
+ <%=@default_packages%>
81
+
82
+ <%=@header%>
83
+
84
+ \journal{Elsevier Journal}
85
+
86
+ \begin{document}
87
+
88
+ \begin{frontmatter}
89
+
90
+ %% Title, authors and addresses
91
+
92
+ %% use the tnoteref command within \title for footnotes;
93
+ %% use the tnotetext command for the associated footnote;
94
+ %% use the fnref command within \author or \address for footnotes;
95
+ %% use the fntext command for the associated footnote;
96
+ %% use the corref command within \author for corresponding author footnotes;
97
+ %% use the cortext command for the associated footnote;
98
+ %% use the ead command for the email address,
99
+ %% and the form \ead[url] for the home page:
100
+ %%
101
+ %% \title{Title\tnoteref{label1}}
102
+ %% \tnotetext[label1]{}
103
+ %% \author{Name\corref{cor1}\fnref{label2}}
104
+ %% \ead{email address}
105
+ %% \ead[url]{home page}
106
+ %% \fntext[label2]{}
107
+ %% \cortext[cor1]{}
108
+ %% \address{Address\fnref{label3}}
109
+ %% \fntext[label3]{}
110
+
111
+ \title{<%=@long_title%>}
112
+
113
+ <% if !@alternative_author_string.to_s.empty? %>
114
+ <%= @alternative_author_string %>
115
+ <% else %>
116
+ \author[first]{<%=@first_author%>}
117
+ \address[first]{<%=@first_affiliation%>}
118
+
119
+ <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
120
+ \author[<%=i%>]{<%=@coauthor_list[i]%>}
121
+ \address[<%=i%>]{<%=@coauthor_affiliations[i]%>}
122
+ <% end %>
123
+ <% end %>
124
+ <% end %>
125
+
126
+ <%= @abstract_begin_end %>
127
+
128
+
129
+ %\begin{keyword}
130
+ %% keywords here, in the form: keyword \sep keyword
131
+
132
+ %% MSC codes here, in the form: \MSC code \sep code
133
+ %% or \MSC[2008] code \sep code (2000 is the default)
134
+
135
+ %\end{keyword}
136
+
137
+ \end{frontmatter}
138
+