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,115 @@
1
+ %% Version 4.3.2, 25 August 2014
2
+ %
3
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4
+ % Template.tex -- LaTeX-based template for submissions to the
5
+ % American Meteorological Society
6
+ %
7
+ % Template developed by Amy Hendrickson, 2013, TeXnology Inc.,
8
+ % amyh@texnology.com, http://www.texnology.com
9
+ % following earlier work by Brian Papa, American Meteorological Society
10
+ %
11
+ % Email questions to latex@ametsoc.org.
12
+ %
13
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
14
+ % PREAMBLE
15
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16
+
17
+ %% Start with one of the following:
18
+ % DOUBLE-SPACED VERSION FOR SUBMISSION TO THE AMS
19
+ \documentclass{ametsoc}
20
+
21
+ % TWO-COLUMN JOURNAL PAGE LAYOUT---FOR AUTHOR USE ONLY
22
+ % \documentclass[twocol]{ametsoc}
23
+
24
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
25
+ %%% To be entered only if twocol option is used
26
+
27
+ \journal{jamc}
28
+
29
+ % Please choose a journal abbreviation to use above from the following list:
30
+ %
31
+ % jamc (Journal of Applied Meteorology and Climatology)
32
+ % jtech (Journal of Atmospheric and Oceanic Technology)
33
+ % jhm (Journal of Hydrometeorology)
34
+ % jpo (Journal of Physical Oceanography)
35
+ % jas (Journal of Atmospheric Sciences)
36
+ % jcli (Journal of Climate)
37
+ % mwr (Monthly Weather Review)
38
+ % wcas (Weather, Climate, and Society)
39
+ % waf (Weather and Forecasting)
40
+ % bams (Bulletin of the American Meteorological Society)
41
+ % ei (Earth Interactions)
42
+
43
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
44
+ %Citations should be of the form ``author year'' not ``author, year''
45
+ \bibpunct{(}{)}{;}{a}{}{,}
46
+
47
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
48
+
49
+ <%=@header%>
50
+
51
+ %%% To be entered by author:
52
+
53
+ %% May use \\ to break lines in title:
54
+
55
+ \title{<%=@long_title%>}
56
+
57
+ %%% Enter authors' names, as you see in this example:
58
+ %%% Use \correspondingauthor{} and \thanks{Current Affiliation:...}
59
+ %%% immediately following the appropriate author.
60
+ %%%
61
+ %%% Note that the \correspondingauthor{} command is NECESSARY.
62
+ %%% The \thanks{} commands are OPTIONAL.
63
+
64
+ %\authors{Author One\correspondingauthor{Author One,
65
+ % American Meteorological Society,
66
+ % 45 Beacon St., Boston, MA 02108.}
67
+ % and Author Two\thanks{Current affiliation: American Meteorological Society,
68
+ % 45 Beacon St., Boston, MA 02108.}}
69
+ <% if !@alternative_author_string.to_s.empty? %>
70
+ <%= @alternative_author_string %>
71
+ <% else %>
72
+ \authors{<%=@first_author%>}
73
+
74
+ %% Follow this form:
75
+ % \affiliation{American Meteorological Society,
76
+ % Boston, Massachusetts.}
77
+
78
+ \affiliation{<%=@first_affiliation%>}
79
+
80
+ %% Follow this form:
81
+ %\email{latex@ametsoc.org}
82
+
83
+ %\email{}
84
+
85
+ %% If appropriate, add additional authors, different affiliations:
86
+ %\extraauthor{Extra Author}
87
+ %\extraaffil{Affiliation, City, State/Province, Country}
88
+
89
+ <% if !@coauthor_list.to_a.empty? %>
90
+ <% for i in (0..@coauthor_list.length-1) %>
91
+ \extraauthor{<%=@coauthor_list[i]%>}
92
+ \extraaffil{<%=@coauthor_affiliations[i]%>}
93
+ <% end %><% end %>
94
+ <% end %>
95
+
96
+ %% May repeat for a additional authors/affiliations:
97
+
98
+ %\extraauthor{}
99
+ %\extraaffil{}
100
+
101
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
102
+ % ABSTRACT
103
+ %
104
+ % Enter your abstract here
105
+ % Abstracts should not exceed 250 words in length!
106
+ %
107
+ % For BAMS authors only: If your article requires a Capsule Summary, please place the capsule text at the end of your abstract
108
+ % and identify it as the capsule. Example: This is the end of the abstract. (Capsule Summary) This is the capsule summary.
109
+
110
+ \abstract{<%= @abstract %>}
111
+
112
+ \begin{document}
113
+
114
+ %% Necessary!
115
+ \maketitle
@@ -0,0 +1,119 @@
1
+ %% Version 4.3.2, 25 August 2014
2
+ %
3
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4
+ % Template.tex -- LaTeX-based template for submissions to the
5
+ % American Meteorological Society
6
+ %
7
+ % Template developed by Amy Hendrickson, 2013, TeXnology Inc.,
8
+ % amyh@texnology.com, http://www.texnology.com
9
+ % following earlier work by Brian Papa, American Meteorological Society
10
+ %
11
+ % Email questions to latex@ametsoc.org.
12
+ %
13
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
14
+ % PREAMBLE
15
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16
+
17
+ %% Start with one of the following:
18
+ % DOUBLE-SPACED VERSION FOR SUBMISSION TO THE AMS
19
+ %\documentclass{ametsoc}
20
+
21
+ % TWO-COLUMN JOURNAL PAGE LAYOUT---FOR AUTHOR USE ONLY
22
+ \documentclass[twocol]{ametsoc}
23
+
24
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
25
+ %%% To be entered only if twocol option is used
26
+
27
+ \journal{jamc}
28
+
29
+ % Please choose a journal abbreviation to use above from the following list:
30
+ %
31
+ % jamc (Journal of Applied Meteorology and Climatology)
32
+ % jtech (Journal of Atmospheric and Oceanic Technology)
33
+ % jhm (Journal of Hydrometeorology)
34
+ % jpo (Journal of Physical Oceanography)
35
+ % jas (Journal of Atmospheric Sciences)
36
+ % jcli (Journal of Climate)
37
+ % mwr (Monthly Weather Review)
38
+ % wcas (Weather, Climate, and Society)
39
+ % waf (Weather and Forecasting)
40
+ % bams (Bulletin of the American Meteorological Society)
41
+ % ei (Earth Interactions)
42
+
43
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
44
+ %Citations should be of the form ``author year'' not ``author, year''
45
+ \bibpunct{(}{)}{;}{a}{}{,}
46
+
47
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
48
+
49
+ <%=@default_packages%>
50
+
51
+ <%=@header%>
52
+
53
+ %%% To be entered by author:
54
+
55
+ %% May use \\ to break lines in title:
56
+
57
+ \title{<%=@long_title%>}
58
+
59
+ %%% Enter authors' names, as you see in this example:
60
+ %%% Use \correspondingauthor{} and \thanks{Current Affiliation:...}
61
+ %%% immediately following the appropriate author.
62
+ %%%
63
+ %%% Note that the \correspondingauthor{} command is NECESSARY.
64
+ %%% The \thanks{} commands are OPTIONAL.
65
+
66
+ %\authors{Author One\correspondingauthor{Author One,
67
+ % American Meteorological Society,
68
+ % 45 Beacon St., Boston, MA 02108.}
69
+ % and Author Two\thanks{Current affiliation: American Meteorological Society,
70
+ % 45 Beacon St., Boston, MA 02108.}}
71
+ <% if !@alternative_author_string.to_s.empty? %>
72
+ <%= @alternative_author_string %>
73
+ <% else %>
74
+ \authors{<%=@first_author%>}
75
+
76
+ %% Follow this form:
77
+ % \affiliation{American Meteorological Society,
78
+ % Boston, Massachusetts.}
79
+
80
+ \affiliation{<%=@first_affiliation%>}
81
+ <% end %>
82
+ %% Follow this form:
83
+ %\email{latex@ametsoc.org}
84
+
85
+ %\email{}
86
+
87
+ %% If appropriate, add additional authors, different affiliations:
88
+ %\extraauthor{Extra Author}
89
+ %\extraaffil{Affiliation, City, State/Province, Country}
90
+
91
+
92
+ <% if !@coauthor_list.to_a.empty? %>
93
+ <% for i in (0..@coauthor_list.length-1) %>
94
+ \extraauthor{<%=@coauthor_list[i]%>}
95
+ \extraaffil{<%=@coauthor_affiliations[i]%>}
96
+ <% end %><% end %>
97
+
98
+
99
+ %% May repeat for a additional authors/affiliations:
100
+
101
+ %\extraauthor{}
102
+ %\extraaffil{}
103
+
104
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
105
+ % ABSTRACT
106
+ %
107
+ % Enter your abstract here
108
+ % Abstracts should not exceed 250 words in length!
109
+ %
110
+ % For BAMS authors only: If your article requires a Capsule Summary, please place the capsule text at the end of your abstract
111
+ % and identify it as the capsule. Example: This is the end of the abstract. (Capsule Summary) This is the capsule summary.
112
+
113
+
114
+ \abstract{<%= @abstract %>}
115
+
116
+ \begin{document}
117
+
118
+ %% Necessary!
119
+ \maketitle
@@ -0,0 +1,21 @@
1
+ \pdfoutput=1
2
+ \documentclass{article}
3
+
4
+ <%=@default_packages%>
5
+ \usepackage{setspace}
6
+ \usepackage{apacite}
7
+
8
+ <%=@header%>
9
+
10
+ \begin{document}
11
+
12
+ \title{<%=@long_title%>}
13
+ <% if !@alternative_author_string.to_s.empty? %>
14
+ <%= @alternative_author_string %>
15
+ <% else %>
16
+ \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 %>}
17
+ <% end %>
18
+
19
+ \maketitle
20
+
21
+ <%= @abstract_begin_end %>
@@ -0,0 +1,104 @@
1
+ %% This is emulateapj reformatting of the AASTEX sample document
2
+ %%
3
+ \documentclass{emulateapj}
4
+ <%=@default_packages%>
5
+ %\usepackage[english]{babel}
6
+ %\usepackage{natbib}
7
+
8
+ \newcommand{\vdag}{(v)^\dagger}
9
+
10
+ <%=@header%>
11
+
12
+ %% You can insert a short comment on the title page using the command below.
13
+ %\slugcomment{To appear in The Astrophysical Journal (ApJ)}
14
+
15
+ %% If you wish, you may supply running head information, although
16
+ %% this information may be modified by the editorial offices.
17
+ %% The left head contains a list of authors,
18
+ %% usually a maximum of three (otherwise use et al.). The right
19
+ %% head is a modified title of up to roughly 44 characters.
20
+ %% Running heads will not print in the manuscript style.
21
+
22
+ \shorttitle{<%=@long_title%>}
23
+ \shortauthors{<%=@first_author%>}
24
+
25
+ %% This is the end of the preamble. Indicate the beginning of the
26
+ %% paper itself with \begin{document}.
27
+
28
+ \begin{document}
29
+
30
+ %% LaTeX will automatically break titles if they run longer than
31
+ %% one line. However, you may use \\ to force a line break if
32
+ %% you desire.
33
+
34
+ \title{<%=@long_title%>}
35
+
36
+
37
+ %% Use \author, \affil, and the \and command to format
38
+ %% author and affiliation information.
39
+ %% Note that \email has replaced the old \authoremail command
40
+ %% from AASTeX v4.0. You can use \email to mark an email address
41
+ %% anywhere in the paper, not just in the front matter.
42
+ %% As in the title, use \\ to force line breaks.
43
+ <% if !@alternative_author_string.to_s.empty? %>
44
+ <%= @alternative_author_string %>
45
+ <% else %>
46
+ \author{<%=@first_author%>}
47
+ \affil{<%=@first_affiliation%>}
48
+ <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
49
+ \author{<%=@coauthor_list[i]%>}
50
+ \affil{<%=@coauthor_affiliations[i]%>}
51
+ <% end %><% end %>
52
+ <% end %>
53
+ %% Notice that each of these authors has alternate affiliations, which
54
+ %% are identified by the \altaffilmark after each name. Specify alternate
55
+ %% affiliation information with \altaffiltext, with one command per each
56
+ %% affiliation.
57
+
58
+ %\altaffiltext{1}{Visiting Astronomer, Cerro Tololo Inter-American Observatory.
59
+ %CTIO is operated by AURA, Inc.\ under contract to the National Science
60
+ %Foundation.}
61
+ %\altaffiltext{2}{Society of Fellows, Harvard University.}
62
+ %\altaffiltext{3}{present address: Center for Astrophysics,
63
+ % 60 Garden Street, Cambridge, MA 02138}
64
+ %\altaffiltext{4}{Visiting Programmer, Space Telescope Science Institute}
65
+ %\altaffiltext{5}{Patron, Alonso's Bar and Grill}
66
+
67
+ %% Mark off your abstract in the ``abstract'' environment. In the manuscript
68
+ %% style, abstract will output a Received/Accepted line after the
69
+ %% title and affiliation information. No date will appear since the author
70
+ %% does not have this information. The dates will be filled in by the
71
+ %% editorial office after submission.
72
+
73
+ <%= @abstract_begin_end %>
74
+
75
+ %% Keywords should appear after the \end{abstract} command. The uncommented
76
+ %% example has been keyed in ApJ style. See the instructions to authors
77
+ %% for the journal to which you are submitting your paper to determine
78
+ %% what keyword punctuation is appropriate.
79
+
80
+ %% Authors who wish to have the most important objects in their paper
81
+ %% linked in the electronic edition to a data center may do so in the
82
+ %% subject header. Objects should be in the appropriate "individual"
83
+ %% headers (e.g. quasars: individual, stars: individual, etc.) with the
84
+ %% additional provision that the total number of headers, including each
85
+ %% individual object, not exceed six. The \objectname{} macro, and its
86
+ %% alias \object{}, is used to mark each object. The macro takes the object
87
+ %% name as its primary argument. This name will appear in the paper
88
+ %% and serve as the link's anchor in the electronic edition if the name
89
+ %% is recognized by the data centers. The macro also takes an optional
90
+ %% argument in parentheses in cases where the data center identification
91
+ %% differs from what is to be printed in the paper.
92
+
93
+ %\keywords{globular clusters: general --- globular clusters: individual(\objectname{NGC 6397},
94
+ %\object{NGC 6624}, \objectname[M 15]{NGC 7078},
95
+ %\object[Cl 1938-341]{Terzan 8})}
96
+
97
+ %% From the front matter, we move on to the body of the paper.
98
+ %% In the first two sections, notice the use of the natbib \citep
99
+ %% and \citet commands to identify citations. The citations are
100
+ %% tied to the reference list via symbolic KEYs. The KEY corresponds
101
+ %% to the KEY in the \bibitem in the reference list below. We have
102
+ %% chosen the first three characters of the first author's name plus
103
+ %% the last two numeral of the year of publication as our KEY for
104
+ %% each reference.
@@ -0,0 +1,76 @@
1
+ %\documentclass[10pt,flushrt,preprint]{aastex}
2
+
3
+ \documentclass[manuscript]{aastex}
4
+
5
+ <%=@default_packages%>
6
+
7
+ %\usepackage{babel}
8
+
9
+ <%=@header%>
10
+
11
+ %% preprint2 produces a double-column, single-spaced document:
12
+
13
+ %% \documentclass[preprint2]{aastex}
14
+
15
+ %% Sometimes a paper's abstract is too long to fit on the
16
+ %% title page in preprint2 mode. When that is the case,
17
+ %% use the longabstract style option.
18
+
19
+ %% \documentclass[preprint2,longabstract]{aastex}
20
+
21
+ %% If you want to create your own macros, you can do so
22
+ %% using \newcommand. Your macros should appear before
23
+ %% the \begin{document} command.
24
+ %%
25
+ %% If you are submitting to a journal that translates manuscripts
26
+ %% into SGML, you need to follow certain guidelines when preparing
27
+ %% your macros. See the AASTeX v5.x Author Guide
28
+ %% for information.
29
+
30
+
31
+ %% You can insert a short comment on the title page using the command below.
32
+
33
+ \slugcomment{To appear in The Astrophysical Journal (ApJ)}
34
+
35
+ %% If you wish, you may supply running head information, although
36
+ %% this information may be modified by the editorial offices.
37
+ %% The left head contains a list of authors,
38
+ %% usually a maximum of three (otherwise use et al.). The right
39
+ %% head is a modified title of up to roughly 44 characters.
40
+ %% Running heads will not print in the manuscript style.
41
+
42
+ \shorttitle{<%=@long_title%>}
43
+ \shortauthors{<%=@first_author%>}
44
+
45
+ %% This is the end of the preamble. Indicate the beginning of the
46
+ %% paper itself with \begin{document}.
47
+
48
+ \begin{document}
49
+
50
+ %% LaTeX will automatically break titles if they run longer than
51
+ %% one line. However, you may use \\ to force a line break if
52
+ %% you desire.
53
+
54
+ \title{<%=@long_title%>}
55
+
56
+ %% Use \author, \affil, and the \and command to format
57
+ %% author and affiliation information.
58
+ %% Note that \email has replaced the old \authoremail command
59
+ %% from AASTeX v4.0. You can use \email to mark an email address
60
+ %% anywhere in the paper, not just in the front matter.
61
+ %% As in the title, use \\ to force line breaks.
62
+ <% if !@alternative_author_string.to_s.empty? %>
63
+ <%= @alternative_author_string %>
64
+ <% else %>
65
+ \author{<%=@first_author%>\affil{<%=@first_affiliation%>}<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %> <%=@coauthor_list[i]%>\affil{<%=@coauthor_affiliations[i]%>}<% end %><% end %>}
66
+ <% end %>
67
+
68
+ <%= @abstract_begin_end %>
69
+
70
+
71
+ %% Keywords should appear after the \end{abstract} command. The uncommented
72
+ %% example has been keyed in ApJ style. See the instructions to authors
73
+ %% for the journal to which you are submitting your paper to determine
74
+ %% what keyword punctuation is appropriate.
75
+
76
+ %\keywords{globular clusters: general --- globular clusters: individual(NGC 6397, NGC 6624, NGC 7078, Terzan 8}
@@ -0,0 +1,79 @@
1
+ %% ****** Start of file apstemplate.tex ****** %
2
+ %%
3
+ %%
4
+ %% This file is part of the APS files in the REVTeX 4 distribution.
5
+ %% Version 4.1r of REVTeX, August 2010
6
+ %%
7
+ %%
8
+ %% Copyright (c) 2001, 2009, 2010 The American Physical Society.
9
+ %%
10
+ %% See the REVTeX 4 README file for restrictions and more information.
11
+ %%
12
+ %
13
+ % This is a template for producing manuscripts for use with REVTEX 4.0
14
+ % Copy this file to another name and then work on that file.
15
+ % That way, you always have this original template file to use.
16
+ %
17
+ % Group addresses by affiliation; use superscriptaddress for long
18
+ % author lists, or if there are many overlapping affiliations.
19
+ % For Phys. Rev. appearance, change preprint to twocolumn.
20
+ % Choose pra, prb, prc, prd, pre, prl, prstab, prstper, or rmp for journal
21
+ % Add 'draft' option to mark overfull boxes with black boxes
22
+ % Add 'showpacs' option to make PACS codes appear
23
+ % Add 'showkeys' option to make keywords appear
24
+ %\documentclass[aps,prl,preprint,groupedaddress]{revtex4-1}
25
+ %\documentclass[aps,prl,preprint,superscriptaddress]{revtex4-1}
26
+ %\documentclass[aps,prl,reprint,groupedaddress]{revtex4-1}
27
+
28
+ \documentclass[%
29
+ reprint,
30
+ %superscriptaddress,
31
+ %groupedaddress,
32
+ %unsortedaddress,
33
+ %runinaddress,
34
+ %frontmatterverbose,
35
+ %preprint,
36
+ %showpacs,preprintnumbers,
37
+ %nofootinbib,
38
+ %nobibnotes,
39
+ %bibnotes,
40
+ amsmath,amssymb,
41
+ aps,
42
+ %pra,
43
+ %prb,
44
+ %rmp,
45
+ %prstab,
46
+ %prstper,
47
+ %floatfix,
48
+ ]{revtex4-1}
49
+
50
+
51
+ <%=@default_packages%>
52
+
53
+ %\usepackage{babel}
54
+
55
+ <%=@header%>
56
+
57
+ \begin{document}
58
+
59
+ \title{<%=@long_title%>}
60
+ <% if !@alternative_author_string.to_s.empty? %>
61
+ <%= @alternative_author_string %>
62
+ <% else %>
63
+ \author{<%=@first_author%>}
64
+ \affiliation{<%=@first_affiliation%>}
65
+ <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
66
+ \author{<%=@coauthor_list[i]%>}
67
+ \affiliation{<%=@coauthor_affiliations[i]%>}
68
+ <% end %>
69
+ <% end %>
70
+ <% end %>
71
+
72
+ <%= @abstract_begin_end %>
73
+
74
+
75
+ %\pacs{Valid PACS appear here}% PACS, the Physics and Astronomy
76
+ % Classification Scheme.
77
+ %\keywords{Suggested keywords}%Use showkeys class option if keyword
78
+ %display desired
79
+ \maketitle