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,140 @@
|
|
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
|
+
|
114
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
115
|
+
<%= @alternative_author_string %>
|
116
|
+
<% else %>
|
117
|
+
\author[first]{<%=@first_author%>}
|
118
|
+
\address[first]{<%=@first_affiliation%>}
|
119
|
+
|
120
|
+
<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
|
121
|
+
\author[<%=i%>]{<%=@coauthor_list[i]%>}
|
122
|
+
\address[<%=i%>]{<%=@coauthor_affiliations[i]%>}
|
123
|
+
<% end %>
|
124
|
+
<% end %>
|
125
|
+
<% end %>
|
126
|
+
|
127
|
+
|
128
|
+
<%= @abstract_begin_end %>
|
129
|
+
|
130
|
+
|
131
|
+
%\begin{keyword}
|
132
|
+
%% keywords here, in the form: keyword \sep keyword
|
133
|
+
|
134
|
+
%% MSC codes here, in the form: \MSC code \sep code
|
135
|
+
%% or \MSC[2008] code \sep code (2000 is the default)
|
136
|
+
|
137
|
+
%\end{keyword}
|
138
|
+
|
139
|
+
\end{frontmatter}
|
140
|
+
|
@@ -0,0 +1,132 @@
|
|
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
|
+
\documentclass[preprint,12pt, a4paper]{elsarticle}
|
23
|
+
|
24
|
+
%% Use the option review to obtain double line spacing
|
25
|
+
%% \documentclass[preprint,review,12pt]{elsarticle}
|
26
|
+
|
27
|
+
%% Use the options 1p,twocolumn; 3p; 3p,twocolumn; 5p; or 5p,twocolumn
|
28
|
+
%% for a journal layout:
|
29
|
+
%% \documentclass[final,1p,times]{elsarticle}
|
30
|
+
%% \documentclass[final,1p,times,twocolumn]{elsarticle}
|
31
|
+
%% \documentclass[final,3p,times]{elsarticle}
|
32
|
+
%% \documentclass[final,3p,times,twocolumn]{elsarticle}
|
33
|
+
%% \documentclass[final,5p,times]{elsarticle}
|
34
|
+
%% \documentclass[final,5p,times,twocolumn]{elsarticle}
|
35
|
+
|
36
|
+
%% if you use PostScript figures in your article
|
37
|
+
%% use the graphics package for simple commands
|
38
|
+
%% \usepackage{graphics}
|
39
|
+
%% or use the graphicx package for more complicated commands
|
40
|
+
%% \usepackage{graphicx}
|
41
|
+
%% or use the epsfig package if you prefer to use the old commands
|
42
|
+
%% \usepackage{epsfig}
|
43
|
+
|
44
|
+
%% The amssymb package provides various useful mathematical symbols
|
45
|
+
\usepackage{amssymb}
|
46
|
+
%% The amsthm package provides extended theorem environments
|
47
|
+
%% \usepackage{amsthm}
|
48
|
+
|
49
|
+
%% The lineno packages adds line numbers. Start line numbering with
|
50
|
+
%% \begin{linenumbers}, end it with \end{linenumbers}. Or switch it on
|
51
|
+
%% for the whole article with \linenumbers after \end{frontmatter}.
|
52
|
+
\usepackage{lineno}
|
53
|
+
|
54
|
+
%% natbib.sty is loaded by default. However, natbib options can be
|
55
|
+
%% provided with \biboptions{...} command. Following options are
|
56
|
+
%% valid:
|
57
|
+
|
58
|
+
%% round - round parentheses are used (default)
|
59
|
+
%% square - square brackets are used [option]
|
60
|
+
%% curly - curly braces are used {option}
|
61
|
+
%% angle - angle brackets are used <option>
|
62
|
+
%% semicolon - multiple citations separated by semi-colon
|
63
|
+
%% colon - same as semicolon, an earlier confusion
|
64
|
+
%% comma - separated by comma
|
65
|
+
%% numbers- selects numerical citations
|
66
|
+
%% super - numerical citations as superscripts
|
67
|
+
%% sort - sorts multiple citations according to order in ref. list
|
68
|
+
%% sort&compress - like sort, but also compresses numerical citations
|
69
|
+
%% compress - compresses without sorting
|
70
|
+
%%
|
71
|
+
%% \biboptions{comma,round}
|
72
|
+
|
73
|
+
% \biboptions{}
|
74
|
+
|
75
|
+
<%=@default_packages%>
|
76
|
+
|
77
|
+
<%=@header%>
|
78
|
+
|
79
|
+
\journal{SoftwareX}
|
80
|
+
|
81
|
+
\begin{document}
|
82
|
+
|
83
|
+
\begin{frontmatter}
|
84
|
+
|
85
|
+
%% Title, authors and addresses
|
86
|
+
|
87
|
+
%% use the tnoteref command within \title for footnotes;
|
88
|
+
%% use the tnotetext command for the associated footnote;
|
89
|
+
%% use the fnref command within \author or \address for footnotes;
|
90
|
+
%% use the fntext command for the associated footnote;
|
91
|
+
%% use the corref command within \author for corresponding author footnotes;
|
92
|
+
%% use the cortext command for the associated footnote;
|
93
|
+
%% use the ead command for the email address,
|
94
|
+
%% and the form \ead[url] for the home page:
|
95
|
+
%%
|
96
|
+
%% \title{Title\tnoteref{label1}}
|
97
|
+
%% \tnotetext[label1]{}
|
98
|
+
%% \author{Name\corref{cor1}\fnref{label2}}
|
99
|
+
%% \ead{email address}
|
100
|
+
%% \ead[url]{home page}
|
101
|
+
%% \fntext[label2]{}
|
102
|
+
%% \cortext[cor1]{}
|
103
|
+
%% \address{Address\fnref{label3}}
|
104
|
+
%% \fntext[label3]{}
|
105
|
+
|
106
|
+
\title{<%=@long_title%>}
|
107
|
+
|
108
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
109
|
+
<%= @alternative_author_string %>
|
110
|
+
<% else %>
|
111
|
+
\author[first]{<%=@first_author%>}
|
112
|
+
\address[first]{<%=@first_affiliation%>}
|
113
|
+
|
114
|
+
<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
|
115
|
+
\author[<%=i%>]{<%=@coauthor_list[i]%>}
|
116
|
+
\address[<%=i%>]{<%=@coauthor_affiliations[i]%>}
|
117
|
+
<% end %>
|
118
|
+
<% end %>
|
119
|
+
<% end %>
|
120
|
+
|
121
|
+
<%= @abstract_begin_end %>
|
122
|
+
|
123
|
+
|
124
|
+
%\begin{keyword}
|
125
|
+
%% keywords here, in the form: keyword \sep keyword
|
126
|
+
|
127
|
+
%% MSC codes here, in the form: \MSC code \sep code
|
128
|
+
%% or \MSC[2008] code \sep code (2000 is the default)
|
129
|
+
|
130
|
+
%\end{keyword}
|
131
|
+
|
132
|
+
\end{frontmatter}
|
@@ -0,0 +1,148 @@
|
|
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
|
+
|
85
|
+
|
86
|
+
% Authorea add-on: we want to allow long links in a two-column style, we'll need to patch some floats.
|
87
|
+
\usepackage{etoolbox}
|
88
|
+
\makeatletter
|
89
|
+
\patchcmd\@combinedblfloats{\box\@outputbox}{\unvbox\@outputbox}{}{%
|
90
|
+
\errmessage{\noexpand\@combinedblfloats could not be patched}%
|
91
|
+
}%
|
92
|
+
\makeatother
|
93
|
+
|
94
|
+
\journal{Elsevier Journal}
|
95
|
+
|
96
|
+
\begin{document}
|
97
|
+
|
98
|
+
\begin{frontmatter}
|
99
|
+
|
100
|
+
%% Title, authors and addresses
|
101
|
+
|
102
|
+
%% use the tnoteref command within \title for footnotes;
|
103
|
+
%% use the tnotetext command for the associated footnote;
|
104
|
+
%% use the fnref command within \author or \address for footnotes;
|
105
|
+
%% use the fntext command for the associated footnote;
|
106
|
+
%% use the corref command within \author for corresponding author footnotes;
|
107
|
+
%% use the cortext command for the associated footnote;
|
108
|
+
%% use the ead command for the email address,
|
109
|
+
%% and the form \ead[url] for the home page:
|
110
|
+
%%
|
111
|
+
%% \title{Title\tnoteref{label1}}
|
112
|
+
%% \tnotetext[label1]{}
|
113
|
+
%% \author{Name\corref{cor1}\fnref{label2}}
|
114
|
+
%% \ead{email address}
|
115
|
+
%% \ead[url]{home page}
|
116
|
+
%% \fntext[label2]{}
|
117
|
+
%% \cortext[cor1]{}
|
118
|
+
%% \address{Address\fnref{label3}}
|
119
|
+
%% \fntext[label3]{}
|
120
|
+
|
121
|
+
\title{<%=@long_title%>}
|
122
|
+
|
123
|
+
|
124
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
125
|
+
<%= @alternative_author_string %>
|
126
|
+
<% else %>
|
127
|
+
\author[first]{<%=@first_author%>}
|
128
|
+
\address[first]{<%=@first_affiliation%>}
|
129
|
+
|
130
|
+
<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
|
131
|
+
\author[<%=i%>]{<%=@coauthor_list[i]%>}
|
132
|
+
\address[<%=i%>]{<%=@coauthor_affiliations[i]%>}
|
133
|
+
<% end %>
|
134
|
+
<% end %>
|
135
|
+
<% end %>
|
136
|
+
|
137
|
+
<%= @abstract_begin_end %>
|
138
|
+
|
139
|
+
|
140
|
+
%\begin{keyword}
|
141
|
+
%% keywords here, in the form: keyword \sep keyword
|
142
|
+
|
143
|
+
%% MSC codes here, in the form: \MSC code \sep code
|
144
|
+
%% or \MSC[2008] code \sep code (2000 is the default)
|
145
|
+
|
146
|
+
%\end{keyword}
|
147
|
+
|
148
|
+
\end{frontmatter}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
\documentclass{article}
|
2
|
+
|
3
|
+
% header.tex
|
4
|
+
<%=@header%>
|
5
|
+
|
6
|
+
\begin{document}
|
7
|
+
|
8
|
+
% document metadata:
|
9
|
+
{\centerline{\LARGE{\bf
|
10
|
+
{<%=@long_title%>}
|
11
|
+
}}}
|
12
|
+
|
13
|
+
\bigskip
|
14
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
15
|
+
<%= @alternative_author_string %>
|
16
|
+
<% else %>
|
17
|
+
\centerline{\bf {<%=@first_author%>}}
|
18
|
+
<% @coauthor_list.to_a.each do |coau| %>\centerline{\bf {<%=coau%>}}
|
19
|
+
<% end %>
|
20
|
+
<% end %>
|
21
|
+
|
22
|
+
\bigskip
|
23
|
+
|
24
|
+
% abstract (optional)
|
25
|
+
% \section{Abstract}
|
26
|
+
<%= @abstract %>
|
27
|
+
|
28
|
+
% document body
|
29
|
+
|