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,118 @@
1
+ %% PNAStmpl.tex
2
+ %% Template file to use for PNAS articles prepared in LaTeX
3
+ %% Version: Apr 14, 2008
4
+
5
+
6
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7
+ %% BASIC CLASS FILE
8
+ %% PNAStwo for two column articles is called by default.
9
+ %% Uncomment PNASone for single column articles. One column class
10
+ %% and style files are available upon request from pnas@nas.edu.
11
+ %% (uncomment means get rid of the '%' in front of the command)
12
+
13
+ %\documentclass{pnasone}
14
+ \documentclass{pnastwo}
15
+
16
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
17
+ %% Changing position of text on physical page:
18
+ %% Since not all printers position
19
+ %% the printed page in the same place on the physical page,
20
+ %% you can change the position yourself here, if you need to:
21
+
22
+ % \advance\voffset -.5in % Minus dimension will raise the printed page on the
23
+ % physical page; positive dimension will lower it.
24
+
25
+ %% You may set the dimension to the size that you need.
26
+
27
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
28
+ %% OPTIONAL GRAPHICS STYLE FILE
29
+
30
+ %% Requires graphics style file (graphicx.sty), used for inserting
31
+ %% .eps files into LaTeX articles.
32
+ %% Note that inclusion of .eps files is for your reference only;
33
+ %% when submitting to PNAS please submit figures separately.
34
+
35
+ %% Type into the square brackets the name of the driver program
36
+ %% that you are using. If you don't know, try dvips, which is the
37
+ %% most common PC driver, or textures for the Mac. These are the options:
38
+
39
+ % [dvips], [xdvi], [dvipdf], [dvipdfm], [dvipdfmx], [pdftex], [dvipsone],
40
+ % [dviwindo], [emtex], [dviwin], [pctexps], [pctexwin], [pctexhp], [pctex32],
41
+ % [truetex], [tcidvi], [vtex], [oztex], [textures], [xetex]
42
+
43
+ <%=@default_packages%>
44
+
45
+
46
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
47
+ %% OPTIONAL POSTSCRIPT FONT FILES
48
+
49
+ %% PostScript font files: You may need to edit the PNASoneF.sty
50
+ %% or PNAStwoF.sty file to make the font names match those on your system.
51
+ %% Alternatively, you can leave the font style file commands commented out
52
+ %% and typeset your article using the default Computer Modern
53
+ %% fonts (recommended). If accepted, your article will be typeset
54
+ %% at PNAS using PostScript fonts.
55
+
56
+
57
+ % Choose PNASoneF for one column; PNAStwoF for two column:
58
+ %\usepackage{PNASoneF}
59
+ %\usepackage{PNAStwoF}
60
+
61
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
62
+ %% ADDITIONAL OPTIONAL STYLE FILES
63
+
64
+ %% The AMS math files are commonly used to gain access to useful features
65
+ %% like extended math fonts and math commands.
66
+
67
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
68
+ %% OPTIONAL MACRO FILES
69
+ %% Insert self-defined macros here.
70
+ %% \newcommand definitions are recommended; \def definitions are supported
71
+
72
+ %\newcommand{\mfrac}[2]{\frac{\displaystyle #1}{\displaystyle #2}}
73
+ %\def\s{\sigma}
74
+
75
+ <%=@header%>
76
+
77
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
78
+ %% Don't type in anything in the following section:
79
+ %%%%%%%%%%%%
80
+ %% For PNAS Only:
81
+ \contributor{Submitted to Proceedings
82
+ of the National Academy of Sciences of the United States of America
83
+ \url{www.pnas.org/cgi/doi/10.1073/pnas.0709640104}}
84
+ \copyrightyear{2008}
85
+ \issuedate{Issue Date}
86
+ \volume{Volume}
87
+ \issuenumber{Issue Number}
88
+ %%%%%%%%%%%%
89
+
90
+ % Close the \begin{article} auto-opened by Authorea, if the author hasn't done so already
91
+ \usepackage{etoolbox}
92
+ \newbool{InArticleEnvironment}
93
+ \AtBeginEnvironment{article}{\booltrue{InArticleEnvironment}}
94
+ \AtEndDocument{\ifbool{InArticleEnvironment}{\end{article}}{}}
95
+
96
+ \begin{document}
97
+
98
+ \title{<%=@long_title%>}
99
+
100
+ <% if !@alternative_author_string.to_s.empty? %>
101
+ <%= @alternative_author_string %>
102
+ <% else %>
103
+ \author{<%=@first_author%>\affil{1}{<%=@first_affiliation%>}<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>, <%=@coauthor_list[i]%>\affil{<%=i+2%>}{<%=@coauthor_affiliations[i]%>}<% end %><% end %>}
104
+ <% end %>
105
+
106
+ \contributor{Submitted to Proceedings of the National Academy of Sciences
107
+ of the United States of America}
108
+
109
+ \maketitle
110
+
111
+ \begin{article}
112
+ <%= @abstract_begin_end %>
113
+
114
+
115
+ %\keywords{monolayer | structure | x-ray reflectivity | molecular electronics}
116
+
117
+ %\abbreviations{SAM, self-assembled monolayer; OTS, octadecyltrichlorosilane}
118
+
@@ -0,0 +1,17 @@
1
+ \documentclass{report}
2
+ \usepackage{fullpage}
3
+
4
+ <%=@default_packages%>
5
+
6
+ <%=@header%>
7
+
8
+ <% if !@alternative_author_string.to_s.empty? %>
9
+ <%= @alternative_author_string %>
10
+ <% else %>
11
+ \author{<%=@first_author%>\\ <%=@first_affiliation%> <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %> \and <%=@coauthor_list[i]%>\\ <%=@coauthor_affiliations[i]%><% end %><% end %>}
12
+ <% end %>
13
+
14
+ \title{<%=@long_title%>}
15
+
16
+ \begin{document}
17
+ \maketitle
@@ -0,0 +1,99 @@
1
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
+ %This is the article LaTeX template for RSC journals
3
+ %Copyright The Royal Society of Chemistry 2010
4
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5
+
6
+
7
+ \documentclass[8.5pt,twoside,twocolumn]{article}
8
+ \oddsidemargin -1.2cm
9
+ \evensidemargin -1.2cm
10
+ \textwidth 18cm
11
+ \headheight 1.0in
12
+ \topmargin -3.5cm
13
+ \textheight 22cm
14
+ \usepackage[super,sort&compress,comma]{natbib}
15
+ \usepackage{mhchem}
16
+ \usepackage{times,mathptmx}
17
+ % \usepackage{times}
18
+ % feel free not to use mathptmx if it causes difficulties
19
+ \usepackage{sectsty}
20
+ \usepackage{balance}
21
+
22
+ \usepackage{graphicx} %eps figures can be used instead
23
+ \usepackage{lastpage}
24
+ \usepackage[format=plain,justification=raggedright,singlelinecheck=false,font=small,labelfont=bf,labelsep=space]{caption}
25
+ \usepackage{fancyhdr}
26
+
27
+ <%=@default_packages%>
28
+
29
+
30
+ \pagestyle{fancy}
31
+
32
+ \begin{document}
33
+
34
+ \thispagestyle{plain}
35
+ \fancypagestyle{plain}{
36
+ \renewcommand{\headrulewidth}{1pt}}
37
+ \renewcommand{\thefootnote}{\fnsymbol{footnote}}
38
+ \renewcommand\footnoterule{\vspace*{1pt}%
39
+ \hrule width 3.4in height 0.4pt \vspace*{5pt}}
40
+ \setcounter{secnumdepth}{5}
41
+
42
+ \makeatletter
43
+ \def\subsubsection{\@startsection{subsubsection}{3}{10pt}{-1.25ex plus -1ex minus -.1ex}{0ex plus 0ex}{\normalsize\bf}}
44
+ \def\paragraph{\@startsection{paragraph}{4}{10pt}{-1.25ex plus -1ex minus -.1ex}{0ex plus 0ex}{\normalsize\textit}}
45
+ \renewcommand\@biblabel[1]{#1}
46
+ \renewcommand\@makefntext[1]%
47
+ {\noindent\makebox[0pt][r]{\@thefnmark\,}#1}
48
+ \makeatother
49
+ \renewcommand{\figurename}{\small{Fig.}~}
50
+ \sectionfont{\large}
51
+ \subsectionfont{\normalsize}
52
+
53
+ <%=@header%>
54
+
55
+ \fancyfoot{}
56
+ \fancyfoot[RO]{\footnotesize{\sffamily{1--\pageref{LastPage} ~\textbar \hspace{2pt}\thepage}}}
57
+ \fancyfoot[LE]{\footnotesize{\sffamily{\thepage~\textbar\hspace{3.45cm} 1--\pageref{LastPage}}}}
58
+ \fancyhead{}
59
+ \renewcommand{\headrulewidth}{1pt}
60
+ \renewcommand{\footrulewidth}{1pt}
61
+ \setlength{\arrayrulewidth}{1pt}
62
+ \setlength{\columnsep}{6.5mm}
63
+ \setlength\bibsep{1pt}
64
+
65
+ \twocolumn[
66
+ \begin{@twocolumnfalse}
67
+ \noindent\LARGE{\textbf{<%=@long_title%>}}
68
+ \vspace{0.6cm}
69
+
70
+ <% if !@alternative_author_string.to_s.empty? %>
71
+ <%= @alternative_author_string %>
72
+ <% else %>
73
+ \noindent\large{\textbf{<%=@first_author%>$^{\ast}$\textit{$^{1}$}<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>, <%=@coauthor_list[i]%>\textit{$^{<%=i+2%>}$}<% end %><% end %>}}\vspace{0.5cm}
74
+ <% end %>
75
+ %Please note that \ast indicates the corresponding author(s) but no footnote text is required.
76
+
77
+ \noindent\textit{\small{\textbf{Received Xth XXXXXXXXXX 20XX, Accepted Xth XXXXXXXXX 20XX\newline
78
+ First published on the web Xth XXXXXXXXXX 200X}}}
79
+
80
+ \noindent \textbf{\small{DOI: 10.1039/b000000x}}
81
+ \vspace{0.6cm}
82
+ %Please do not change this text.
83
+
84
+ \noindent \normalsize{<%=@abstract%>}
85
+ \vspace{0.5cm}
86
+ \end{@twocolumnfalse}
87
+ ]
88
+
89
+ \footnotetext{\dag~Electronic Supplementary Information (ESI) available: [details of any supplementary information available should be included here]. See DOI: 10.1039/b000000x/}
90
+
91
+ \footnotetext{\textit{$^{1}$~<%=@first_affiliation%>}}
92
+ <% if !@coauthor_affiliations.to_a.empty? %><% for i in (0..@coauthor_affiliations.length-1) %>
93
+ \footnotetext{\textit{$^<%=i+2%>$~<%=@coauthor_affiliations[i]%>}}
94
+ <% end %><% end %>
95
+
96
+
97
+
98
+
99
+
@@ -0,0 +1,120 @@
1
+ % Use only LaTeX2e, calling the article.cls class and 12-point type.
2
+ % modified by Aaron Clauset (2014) from the scifile.tex file distributed
3
+ % by AAAS for articles in Science
4
+
5
+ \documentclass[12pt]{article}
6
+
7
+ % Users of the {thebibliography} environment or BibTeX should use the
8
+ % scicite.sty package, downloadable from *Science* at
9
+ % www.sciencemag.org/about/authors/prep/TeX_help/ .
10
+ % This package should properly format in-text
11
+ % reference calls and reference-list numbers.
12
+
13
+ \usepackage{scicite}
14
+
15
+ % Use times if you have the font installed; otherwise, comment out the
16
+ % following line.
17
+
18
+ \usepackage{times}
19
+
20
+ % Some standard mathematical notation and figure packages
21
+
22
+ <%=@default_packages%>
23
+
24
+ % The preamble here sets up a lot of new/revised commands and
25
+ % environments. It's annoying, but please do *not* try to strip these
26
+ % out into a separate .sty file (which could lead to the loss of some
27
+ % information when we convert the file to other formats). Instead, keep
28
+ % them in the preamble of your main LaTeX source file.
29
+
30
+
31
+ % The following parameters seem to provide a reasonable page setup.
32
+
33
+ \topmargin 0.0cm
34
+ \oddsidemargin 0.2cm
35
+ \textwidth 16cm
36
+ \textheight 21cm
37
+ \footskip 1.0cm
38
+
39
+
40
+ %The next command sets up an environment for the abstract to your paper.
41
+
42
+ \newenvironment{sciabstract}{%
43
+ \begin{quote} \bf}
44
+ {\end{quote}}
45
+
46
+ <%=@header%>
47
+
48
+ % If your reference list includes text notes as well as references,
49
+ % include the following line; otherwise, leave it commented out.
50
+
51
+ %\renewcommand\refname{References and Notes}
52
+
53
+ % Include your paper's title here
54
+
55
+ \title{<%=@long_title%>}
56
+
57
+
58
+ % Place the author information here. Please hand-code the contact
59
+ % information and notecalls; do *not* use \footnote commands. Let the
60
+ % author contact information appear immediately below the author names
61
+ % as shown. We would also prefer that you don't change the type-size
62
+ % settings shown here.
63
+ <% if !@alternative_author_string.to_s.empty? %>
64
+ <%= @alternative_author_string %>
65
+ <% else %>
66
+ \author
67
+ {<%=@first_author%>$^{1}$<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>, <%=@coauthor_list[i]%>$^{<%=i+2%>}$<% end %><% end %>\\
68
+ \\
69
+ \normalsize{$^{1}$<%=@first_affiliation%>}\\<% if !@coauthor_affiliations.to_a.empty? %><% for i in (0..@coauthor_affiliations.length-1) %>
70
+ \normalsize{$^{<%=i+2%>}$<%=@coauthor_affiliations[i]%>}\\<% end %><% end %>
71
+ }
72
+ <% end %>
73
+
74
+ % Include the date command, but leave its argument blank.
75
+
76
+ \date{}
77
+
78
+
79
+ %%%%%%%%%%%%%%%%% END OF PREAMBLE %%%%%%%%%%%%%%%%
80
+
81
+
82
+
83
+ \begin{document}
84
+
85
+ % Double-space the manuscript.
86
+
87
+ \baselineskip24pt
88
+
89
+ % Make the title.
90
+
91
+ \maketitle
92
+
93
+ <% if @abstract and !@abstract.blank? %>
94
+
95
+ \begin{sciabstract}
96
+ <%=@abstract%>
97
+ \end{sciabstract}
98
+
99
+ <% end %>
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
@@ -0,0 +1,127 @@
1
+ % Use only LaTeX2e, calling the article.cls class and 12-point type.
2
+
3
+ \documentclass[12pt]{article}
4
+
5
+ % Users of the {thebibliography} environment or BibTeX should use the
6
+ % scicite.sty package, downloadable from *Science* at
7
+ % www.sciencemag.org/about/authors/prep/TeX_help/ .
8
+ % This package should properly format in-text
9
+ % reference calls and reference-list numbers.
10
+
11
+ \usepackage{scicite}
12
+
13
+ % Use times if you have the font installed; otherwise, comment out the
14
+ % following line.
15
+
16
+ \usepackage{times}
17
+
18
+ % The preamble here sets up a lot of new/revised commands and
19
+ % environments. It's annoying, but please do *not* try to strip these
20
+ % out into a separate .sty file (which could lead to the loss of some
21
+ % information when we convert the file to other formats). Instead, keep
22
+ % them in the preamble of your main LaTeX source file.
23
+
24
+ <%=@default_packages%>
25
+
26
+ % The following parameters seem to provide a reasonable page setup.
27
+
28
+ \topmargin 0.0cm
29
+ \oddsidemargin 0.2cm
30
+ \textwidth 16cm
31
+ \textheight 21cm
32
+ \footskip 1.0cm
33
+
34
+
35
+ %The next command sets up an environment for the abstract to your paper.
36
+
37
+ \newenvironment{sciabstract}{%
38
+ \begin{quote} \bf}
39
+ {\end{quote}}
40
+
41
+ <%=@header%>
42
+
43
+
44
+ % If your reference list includes text notes as well as references,
45
+ % include the following line; otherwise, comment it out.
46
+
47
+ \renewcommand\refname{References and Notes}
48
+
49
+ % The following lines set up an environment for the last note in the
50
+ % reference list, which commonly includes acknowledgments of funding,
51
+ % help, etc. It's intended for users of BibTeX or the {thebibliography}
52
+ % environment. Users who are hand-coding their references at the end
53
+ % using a list environment such as {enumerate} can simply add another
54
+ % item at the end, and it will be numbered automatically.
55
+
56
+ \newcounter{lastnote}
57
+ \newenvironment{scilastnote}{%
58
+ \setcounter{lastnote}{\value{enumiv}}%
59
+ \addtocounter{lastnote}{+1}%
60
+ \begin{list}%
61
+ {\arabic{lastnote}.}
62
+ {\setlength{\leftmargin}{.22in}}
63
+ {\setlength{\labelsep}{.5em}}}
64
+ {\end{list}}
65
+
66
+ % Include your paper's title here
67
+
68
+ \title{<%=@long_title%>}
69
+
70
+
71
+ % Place the author information here. Please hand-code the contact
72
+ % information and notecalls; do *not* use \footnote commands. Let the
73
+ % author contact information appear immediately below the author names
74
+ % as shown. We would also prefer that you don't change the type-size
75
+ % settings shown here.
76
+ <% if !@alternative_author_string.to_s.empty? %>
77
+ <%= @alternative_author_string %>
78
+ <% else %>
79
+ \author
80
+ {<%=@first_author%>$^{1}$<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>, <%=@coauthor_list[i]%>$^{<%=i+2%>}$<% end %><% end %>\\
81
+ \\
82
+ \normalsize{$^{1}$<%=@first_affiliation%>}\\<% if !@coauthor_affiliations.to_a.empty? %><% for i in (0..@coauthor_affiliations.length-1) %>
83
+ \normalsize{$^{<%=i+2%>}$<%=@coauthor_affiliations[i]%>}\\<% end %><% end %>
84
+ }
85
+ <% end %>
86
+
87
+ % Include the date command, but leave its argument blank.
88
+
89
+ \date{}
90
+
91
+
92
+
93
+ %%%%%%%%%%%%%%%%% END OF PREAMBLE %%%%%%%%%%%%%%%%
94
+
95
+
96
+
97
+ \begin{document}
98
+
99
+ % Double-space the manuscript.
100
+
101
+ \baselineskip24pt
102
+
103
+ % Make the title.
104
+
105
+ \maketitle
106
+
107
+
108
+
109
+ % Place your abstract within the special {sciabstract} environment.
110
+
111
+ <% if @abstract and !@abstract.blank? %>
112
+
113
+ \begin{sciabstract}
114
+ <%=@abstract%>
115
+ \end{sciabstract}
116
+
117
+ <% end %>
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+