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,78 @@
1
+ %%%%%%%%%%%%%%%%%%%%%%% file template.tex %%%%%%%%%%%%%%%%%%%%%%%%%
2
+ %
3
+ % This is a template file for the LaTeX package SVJour3 width change file svepjc3.clo
4
+ % for Springer journal:
5
+ % The European Physical Journal C
6
+ %
7
+ % Copy it to a new file with a new name and use it as the basis
8
+ % for your article. Delete % signs as needed.
9
+ %
10
+ % This template includes a few options for different layouts and
11
+ % content for various journals. Please consult a previous issue of
12
+ % your journal as needed.
13
+ %
14
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
15
+ %
16
+ % First comes an example EPS file -- just ignore it and
17
+ % proceed on the \documentclass line
18
+ % your LaTeX will extract the file if required
19
+
20
+
21
+ \documentclass[twocolumn,epjc3]{svjour3}
22
+ %
23
+ \smartqed % flush right qed marks, e.g. at end of proof
24
+ %
25
+ \RequirePackage{graphicx}
26
+ %
27
+ % \RequirePackage{mathptmx} % use Times fonts if available on your TeX system
28
+ %
29
+ % insert here the call for the packages your document requires
30
+ %\RequirePackage{latexsym}
31
+ %\RequirePackage[numbers,sort&compress]{natbib}
32
+ %\RequirePackage[colorlinks,citecolor=blue,urlcolor=blue,linkcolor=blue]{hyperref}
33
+ % etc.
34
+ %
35
+ % please place your own definitions here and don't use \def but
36
+ % \newcommand{}{}
37
+ %
38
+
39
+ <%=@header%>
40
+
41
+
42
+ \journalname{Eur. Phys. J. C}
43
+ %
44
+ \begin{document}
45
+
46
+ \title{<%=@long_title%>}
47
+
48
+ \titlerunning{<%=@short_title%>} % if too long for running head
49
+
50
+
51
+ <% if !@alternative_author_string.to_s.empty? %>
52
+ <%= @alternative_author_string %>
53
+ <% else %>
54
+ \author{<%=@first_author%>\thanksref{1}
55
+ <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
56
+ \and <%=@coauthor_list[i]%>\thanksref{<%=i+2%>}<% end %><% end %>}
57
+
58
+ \institute{<%=@first_affiliation%>\label{1}
59
+ <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
60
+ \and <%=@coauthor_affiliations[i]%>\label{<%=i+2%>}
61
+ <% end %><% end %>}
62
+ <% end %>
63
+
64
+
65
+ \date{Received: date / Accepted: date}
66
+ % The correct dates will be entered by the editor
67
+
68
+
69
+ \maketitle
70
+
71
+ <%= @abstract_begin_end %>
72
+
73
+ % BibTeX users please use one of
74
+ %\bibliographystyle{spbasic} % basic style, author-year citations
75
+ %\bibliographystyle{spmpsci} % mathematics and physical sciences
76
+ %\bibliographystyle{spphys} % APS-like style for physics
77
+ %\bibliography{} % name your BibTeX data base
78
+
@@ -0,0 +1,38 @@
1
+ \documentclass[10pt,a4paper,twocolumn]{article}
2
+ <%=@default_packages%>
3
+
4
+ \usepackage{f1000_styles}
5
+
6
+ <%=@header%>
7
+
8
+ \title{<%=@long_title%>}
9
+
10
+ <% if !@alternative_author_string.to_s.empty? %>
11
+ <%= @alternative_author_string %>
12
+ <% else %>
13
+ \author[1]{<%=@first_author%>}
14
+ <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
15
+ \author[<%=i+2%>]{<%=@coauthor_list[i]%>}
16
+ <% end %><% end %>
17
+
18
+ \affil[1]{<%=@first_affiliation%>}
19
+ <% if !@coauthor_affiliations.to_a.empty? %><% for i in (0..@coauthor_affiliations.length-1) %>
20
+ \affil[<%=i+2%>]{<%=@coauthor_affiliations[i]%>}
21
+ <% end %><% end %>
22
+ <% end %>
23
+ \begin{document}
24
+
25
+ \maketitle
26
+ \thispagestyle{fancy}
27
+
28
+ <%= @abstract_begin_end %>
29
+
30
+
31
+ \clearpage
32
+
33
+ %\begin{keywords}
34
+ %circumstellar matter -- infrared: stars.
35
+ %\end{keywords}
36
+
37
+
38
+
@@ -0,0 +1,66 @@
1
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
+ % This is just a template to use when submitting manuscripts to Frontiers, it is not mandatory to use frontiers.cls nor frontiers.tex %
3
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4
+
5
+ \documentclass{frontiersENG} % for Engineering articles
6
+ %\documentclass{frontiersSCNS} % for Science articles
7
+ %\documentclass{frontiersMED} % for Medicine articles
8
+
9
+ <%=@default_packages%>
10
+
11
+
12
+ \usepackage{url,lineno}
13
+ \linenumbers
14
+
15
+ <%=@header%>
16
+
17
+ % Leave a blank line between paragraphs in stead of using \\
18
+
19
+ \copyrightyear{}
20
+ \pubyear{}
21
+
22
+ \def\journal{Engineering}%%% write here for which journal %%%
23
+ \def\DOI{}
24
+ \def\articleType{Research Article}
25
+ \def\keyFont{\fontsize{8}{11}\helveticabold }
26
+ \def\firstAuthorLast{<%=@first_author%> <% if !@coauthor_list.to_a.empty? %>{et~al.}<% end %>} %use et al only if is more than 1 author
27
+ \def\Authors{<%=@first_author%>\,$^{1,*}$ <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
28
+ , <%=@coauthor_list[i]%>\,$^{<%=i+2%>}$<% end %><% end %>}
29
+
30
+ % Affiliations should be keyed to the author's name with superscript numbers and be listed as follows: Laboratory, Institute, Department, Organization, City, State abbreviation (USA, Canada, Australia), and Country (without detailed address information such as city zip codes or street names).
31
+ % If one of the authors has a change of address, list the new address below the correspondence details using a superscript symbol and use the same symbol to indicate the author in the author list.
32
+ \def\Address{$^{1}$<%=@first_affiliation%> \\
33
+ <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
34
+ $^{<%=i+2%>}$ <%=@coauthor_affiliations[i]%> \\ <% end %><% end %> }
35
+ % The Corresponding Author should be marked with an asterisk
36
+ % Provide the exact contact address (this time including street name and city zip code) and email of the corresponding author
37
+ \def\corrAuthor{<%=@first_author%>}
38
+ \def\corrAddress{<%=@first_affiliation%>}
39
+ \def\corrEmail{email@uni.edu}
40
+
41
+ % \color{FrontiersColor} Is the color used in the Journal name, in the title, and the names of the sections
42
+
43
+ \begin{document}
44
+ \onecolumn
45
+ \firstpage{1}
46
+
47
+ \title[<%=@short_title%>]{<%=@long_title%>}
48
+ <% if !@alternative_author_string.to_s.empty? %>
49
+ <%= @alternative_author_string %>
50
+ <% else %>
51
+ \author[\firstAuthorLast ]{\Authors}
52
+ <% end %>
53
+ \address{}
54
+ \correspondance{}
55
+ \extraAuth{}% If there are more than 1 additional author, comment this line and uncomment the next one
56
+ %\extraAuth{corresponding Author2 \\ Laboratory X2, Institute X2, Department X2, Organization X2, Street X2, City X2 , State XX2 (only USA, Canada and Australia), Zip Code2, X2 Country X2, email2@uni2.edu}
57
+ %\topic{Research Topic}
58
+
59
+ \maketitle
60
+
61
+ <%= @abstract_begin_end %>
62
+
63
+
64
+ %\bibliographystyle{frontiersinSCNS&ENG} % for Science and Engineering articles
65
+ %\bibliographystyle{frontiersinMED} % for Medicine articles
66
+
@@ -0,0 +1,67 @@
1
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
+ % This is just a template to use when submitting manuscripts to Frontiers, it is not mandatory to use frontiers.cls nor frontiers.tex %
3
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4
+
5
+ %\documentclass{frontiersENG} % for Engineering articles
6
+ %\documentclass{frontiersSCNS} % for Science articles
7
+ %\documentclass{frontiersMED} % for Medicine articles
8
+ \documentclass{frontiersFPHY} % for phys articles
9
+
10
+ <%=@default_packages%>
11
+
12
+
13
+ \usepackage{url,lineno}
14
+ \linenumbers
15
+
16
+ <%=@header%>
17
+
18
+ % Leave a blank line between paragraphs in stead of using \\
19
+
20
+ \copyrightyear{}
21
+ \pubyear{}
22
+
23
+ \def\journal{Physics}%%% write here for which journal %%%
24
+ \def\DOI{}
25
+ \def\articleType{Research Article}
26
+ \def\keyFont{\fontsize{8}{11}\helveticabold }
27
+ \def\firstAuthorLast{<%=@first_author%> <% if !@coauthor_list.to_a.empty? %>{et~al.}<% end %>} %use et al only if is more than 1 author
28
+ \def\Authors{<%=@first_author%>\,$^{1,*}$ <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
29
+ , <%=@coauthor_list[i]%>\,$^{<%=i+2%>}$<% end %><% end %>}
30
+
31
+ % Affiliations should be keyed to the author's name with superscript numbers and be listed as follows: Laboratory, Institute, Department, Organization, City, State abbreviation (USA, Canada, Australia), and Country (without detailed address information such as city zip codes or street names).
32
+ % If one of the authors has a change of address, list the new address below the correspondence details using a superscript symbol and use the same symbol to indicate the author in the author list.
33
+ \def\Address{$^{1}$<%=@first_affiliation%> \\
34
+ <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
35
+ $^{<%=i+2%>}$ <%=@coauthor_affiliations[i]%> \\ <% end %><% end %> }
36
+ % The Corresponding Author should be marked with an asterisk
37
+ % Provide the exact contact address (this time including street name and city zip code) and email of the corresponding author
38
+ \def\corrAuthor{<%=@first_author%>}
39
+ \def\corrAddress{<%=@first_affiliation%>}
40
+ \def\corrEmail{email@uni.edu}
41
+
42
+ % \color{FrontiersColor} Is the color used in the Journal name, in the title, and the names of the sections
43
+
44
+ \begin{document}
45
+ \onecolumn
46
+ \firstpage{1}
47
+
48
+ \title[<%=@short_title%>]{<%=@long_title%>}
49
+ <% if !@alternative_author_string.to_s.empty? %>
50
+ <%= @alternative_author_string %>
51
+ <% else %>
52
+ \author[\firstAuthorLast ]{\Authors}
53
+ <% end %>
54
+ \address{}
55
+ \correspondance{}
56
+ \extraAuth{}% If there are more than 1 additional author, comment this line and uncomment the next one
57
+ %\extraAuth{corresponding Author2 \\ Laboratory X2, Institute X2, Department X2, Organization X2, Street X2, City X2 , State XX2 (only USA, Canada and Australia), Zip Code2, X2 Country X2, email2@uni2.edu}
58
+ %\topic{Research Topic}
59
+
60
+ \maketitle
61
+
62
+ <%= @abstract_begin_end %>
63
+
64
+
65
+ %\bibliographystyle{frontiersinSCNS&ENG} % for Science and Engineering articles
66
+ %\bibliographystyle{frontiersinMED&FPHY} % for Medicine articles
67
+
@@ -0,0 +1,66 @@
1
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
+ % This is just a template to use when submitting manuscripts to Frontiers, it is not mandatory to use frontiers.cls nor frontiers.tex %
3
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4
+
5
+ %\documentclass{frontiersENG} % for Engineering articles
6
+ %\documentclass{frontiersSCNS} % for Science articles
7
+ \documentclass{frontiersMED} % for Medicine articles
8
+
9
+ <%=@default_packages%>
10
+
11
+
12
+ \usepackage{url,lineno}
13
+ \linenumbers
14
+
15
+ <%=@header%>
16
+
17
+ % Leave a blank line between paragraphs in stead of using \\
18
+
19
+ \copyrightyear{}
20
+ \pubyear{}
21
+
22
+ \def\journal{Medicine}%%% write here for which journal %%%
23
+ \def\DOI{}
24
+ \def\articleType{Research Article}
25
+ \def\keyFont{\fontsize{8}{11}\helveticabold }
26
+ \def\firstAuthorLast{<%=@first_author%> <% if !@coauthor_list.to_a.empty? %>{et~al.}<% end %>} %use et al only if is more than 1 author
27
+ \def\Authors{<%=@first_author%>\,$^{1,*}$ <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
28
+ , <%=@coauthor_list[i]%>\,$^{<%=i+2%>}$<% end %><% end %>}
29
+
30
+ % Affiliations should be keyed to the author's name with superscript numbers and be listed as follows: Laboratory, Institute, Department, Organization, City, State abbreviation (USA, Canada, Australia), and Country (without detailed address information such as city zip codes or street names).
31
+ % If one of the authors has a change of address, list the new address below the correspondence details using a superscript symbol and use the same symbol to indicate the author in the author list.
32
+ \def\Address{$^{1}$<%=@first_affiliation%> \\
33
+ <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
34
+ $^{<%=i+2%>}$ <%=@coauthor_affiliations[i]%> \\ <% end %><% end %> }
35
+ % The Corresponding Author should be marked with an asterisk
36
+ % Provide the exact contact address (this time including street name and city zip code) and email of the corresponding author
37
+ \def\corrAuthor{<%=@first_author%>}
38
+ \def\corrAddress{<%=@first_affiliation%>}
39
+ \def\corrEmail{email@uni.edu}
40
+
41
+ % \color{FrontiersColor} Is the color used in the Journal name, in the title, and the names of the sections
42
+
43
+ \begin{document}
44
+ \onecolumn
45
+ \firstpage{1}
46
+
47
+ \title[<%=@short_title%>]{<%=@long_title%>}
48
+ <% if !@alternative_author_string.to_s.empty? %>
49
+ <%= @alternative_author_string %>
50
+ <% else %>
51
+ \author[\firstAuthorLast ]{\Authors}
52
+ <% end %>
53
+ \address{}
54
+ \correspondance{}
55
+ \extraAuth{}% If there are more than 1 additional author, comment this line and uncomment the next one
56
+ %\extraAuth{corresponding Author2 \\ Laboratory X2, Institute X2, Department X2, Organization X2, Street X2, City X2 , State XX2 (only USA, Canada and Australia), Zip Code2, X2 Country X2, email2@uni2.edu}
57
+ %\topic{Research Topic}
58
+
59
+ \maketitle
60
+
61
+ <%= @abstract_begin_end %>
62
+
63
+
64
+ %\bibliographystyle{frontiersinSCNS&ENG} % for Science and Engineering articles
65
+ %\bibliographystyle{frontiersinMED} % for Medicine articles
66
+
@@ -0,0 +1,66 @@
1
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
+ % This is just a template to use when submitting manuscripts to Frontiers, it is not mandatory to use frontiers.cls nor frontiers.tex %
3
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4
+
5
+ %\documentclass{frontiersENG} % for Engineering articles
6
+ \documentclass{frontiersSCNS} % for Science articles
7
+ %\documentclass{frontiersMED} % for Medicine articles
8
+
9
+ <%=@default_packages%>
10
+
11
+
12
+ \usepackage{url,lineno}
13
+ \linenumbers
14
+
15
+ <%=@header%>
16
+
17
+ % Leave a blank line between paragraphs in stead of using \\
18
+
19
+ \copyrightyear{}
20
+ \pubyear{}
21
+
22
+ \def\journal{Science}%%% write here for which journal %%%
23
+ \def\DOI{}
24
+ \def\articleType{Research Article}
25
+ \def\keyFont{\fontsize{8}{11}\helveticabold }
26
+ \def\firstAuthorLast{<%=@first_author%> <% if !@coauthor_list.to_a.empty? %>{et~al.}<% end %>} %use et al only if is more than 1 author
27
+ \def\Authors{<%=@first_author%>\,$^{1,*}$ <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
28
+ , <%=@coauthor_list[i]%>\,$^{<%=i+2%>}$<% end %><% end %>}
29
+
30
+ % Affiliations should be keyed to the author's name with superscript numbers and be listed as follows: Laboratory, Institute, Department, Organization, City, State abbreviation (USA, Canada, Australia), and Country (without detailed address information such as city zip codes or street names).
31
+ % If one of the authors has a change of address, list the new address below the correspondence details using a superscript symbol and use the same symbol to indicate the author in the author list.
32
+ \def\Address{$^{1}$<%=@first_affiliation%> \\
33
+ <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
34
+ $^{<%=i+2%>}$ <%=@coauthor_affiliations[i]%> \\ <% end %><% end %> }
35
+ % The Corresponding Author should be marked with an asterisk
36
+ % Provide the exact contact address (this time including street name and city zip code) and email of the corresponding author
37
+ \def\corrAuthor{<%=@first_author%>}
38
+ \def\corrAddress{<%=@first_affiliation%>}
39
+ \def\corrEmail{email@uni.edu}
40
+
41
+ % \color{FrontiersColor} Is the color used in the Journal name, in the title, and the names of the sections
42
+
43
+ \begin{document}
44
+ \onecolumn
45
+ \firstpage{1}
46
+
47
+ \title[<%=@short_title%>]{<%=@long_title%>}
48
+ <% if !@alternative_author_string.to_s.empty? %>
49
+ <%= @alternative_author_string %>
50
+ <% else %>
51
+ \author[\firstAuthorLast ]{\Authors}
52
+ <% end %>
53
+ \address{}
54
+ \correspondance{}
55
+ \extraAuth{}% If there are more than 1 additional author, comment this line and uncomment the next one
56
+ %\extraAuth{corresponding Author2 \\ Laboratory X2, Institute X2, Department X2, Organization X2, Street X2, City X2 , State XX2 (only USA, Canada and Australia), Zip Code2, X2 Country X2, email2@uni2.edu}
57
+ %\topic{Research Topic}
58
+
59
+ \maketitle
60
+
61
+ <%= @abstract_begin_end %>
62
+
63
+
64
+ %\bibliographystyle{frontiersinSCNS&ENG} % for Science and Engineering articles
65
+ %\bibliographystyle{frontiersinMED} % for Medicine articles
66
+
data/styles/g3.tex.erb ADDED
@@ -0,0 +1,57 @@
1
+ \documentclass[9pt,twocolumn,twoside]{gsag3jnl}
2
+
3
+ \articletype{inv} % article type
4
+ % {inv} Investigations
5
+ % {msr} Mutant Screen Reports
6
+ % {gs} Genomic Selection
7
+ % {goi} Genetics of Immunity
8
+ % {gos} Genetics of Sex
9
+ % {mp} Multiparental Populations
10
+
11
+ <%=@default_packages%>
12
+
13
+ <%=@header%>
14
+
15
+ \title{<%=@long_title%>}
16
+
17
+ <% if !@alternative_author_string.to_s.empty? %>
18
+ <%= @alternative_author_string %>
19
+ <% else %>
20
+ \author[$\ast$,1]{<%=@first_author%>}
21
+ \affil[$\ast$]{<%=@first_affiliation%>}
22
+ <% end %>
23
+
24
+ %to manually edit use this format:
25
+ %\author[$\ast$,1]{Author One}
26
+ %\author[$\dagger$]{Author Two}
27
+ %\author[$\ddagger$]{Author Three}
28
+ %\author[$\S$]{Author Four}
29
+ %\author[$\ast\ast$]{Author Five}
30
+
31
+ %\affil[$\ast$]{Author one affiliation}
32
+ %\affil[$\dagger$]{Author two affiliation}
33
+ %\affil[$\ddagger$]{Author three affiliation}
34
+ %\affil[$\S$]{Author four affiliation}
35
+ %\affil[$\ast\ast$]{Author five affiliation}
36
+
37
+ %\keywords{Keyword \\ Keyword2 \\ Keyword3 \\ ...}
38
+
39
+ \runningtitle{<%=@short_title%>} % For use in the footer
40
+
41
+ \correspondingauthor{Corresponding Author}
42
+
43
+ <%= @abstract_begin_end %>
44
+
45
+ \setboolean{displaycopyright}{true}
46
+
47
+ \begin{document}
48
+
49
+ \maketitle
50
+ \thispagestyle{firststyle}
51
+ \logomark
52
+ \articletypemark
53
+ \marginmark
54
+ \firstpagefootnote
55
+ \correspondingauthoraffiliation{<%=@first_affiliation%>}
56
+ \vspace{-11pt}%
57
+