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,65 @@
|
|
1
|
+
%% ****** Start of file aiptemplate.tex ****** %
|
2
|
+
%%
|
3
|
+
%% This file is part of the files in the distribution of AIP substyles for REVTeX4.
|
4
|
+
%% Version 4.1 of 9 October 2009.
|
5
|
+
%%
|
6
|
+
%
|
7
|
+
% This is a template for producing documents for use with
|
8
|
+
% the REVTEX 4.1 document class and the AIP substyles.
|
9
|
+
%
|
10
|
+
% Copy this file to another name and then work on that file.
|
11
|
+
% That way, you always have this original template file to use.
|
12
|
+
|
13
|
+
%\documentclass[aip,graphicx]{revtex4-1}
|
14
|
+
%\documentclass[aip,reprint]{revtex4-1}
|
15
|
+
|
16
|
+
\documentclass[%
|
17
|
+
aip,
|
18
|
+
jmp,%
|
19
|
+
amsmath,amssymb,
|
20
|
+
preprint,%
|
21
|
+
%reprint,%
|
22
|
+
%author-year,%
|
23
|
+
%author-numerical,%
|
24
|
+
]{revtex4-1}
|
25
|
+
|
26
|
+
\usepackage{dcolumn}% Align table columns on decimal point
|
27
|
+
\usepackage{bm}% bold math
|
28
|
+
%\usepackage[mathlines]{lineno}% Enable numbering of text and display math
|
29
|
+
%\linenumbers\relax % Commence numbering lines
|
30
|
+
%\usepackage{natbib}
|
31
|
+
|
32
|
+
<%=@default_packages%>
|
33
|
+
|
34
|
+
|
35
|
+
<%=@header%>
|
36
|
+
|
37
|
+
|
38
|
+
\begin{document}
|
39
|
+
|
40
|
+
\title{<%=@long_title%>}
|
41
|
+
|
42
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
43
|
+
<%= @alternative_author_string %>
|
44
|
+
<% else %>
|
45
|
+
\author{<%=@first_author%>}
|
46
|
+
\affiliation{<%=@first_affiliation%>}
|
47
|
+
<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
|
48
|
+
\author{<%=@coauthor_list[i]%>}
|
49
|
+
\affiliation{<%=@coauthor_affiliations[i]%>}
|
50
|
+
<% end %>
|
51
|
+
<% end %>
|
52
|
+
<% end %>
|
53
|
+
|
54
|
+
\date{\today}% It is always \today, today,
|
55
|
+
|
56
|
+
<%= @abstract_begin_end %>
|
57
|
+
|
58
|
+
|
59
|
+
%\pacs{Valid PACS appear here}% PACS, the Physics and Astronomy
|
60
|
+
% Classification Scheme.
|
61
|
+
%\keywords{Suggested keywords}%Use showkeys class option if keyword
|
62
|
+
%display desired
|
63
|
+
|
64
|
+
\maketitle
|
65
|
+
|
@@ -0,0 +1,67 @@
|
|
1
|
+
%% ****** Start of file aiptemplate.tex ****** %
|
2
|
+
%%
|
3
|
+
%% This file is part of the files in the distribution of AIP substyles for REVTeX4.
|
4
|
+
%% Version 4.1 of 9 October 2009.
|
5
|
+
%%
|
6
|
+
%
|
7
|
+
% This is a template for producing documents for use with
|
8
|
+
% the REVTEX 4.1 document class and the AIP substyles.
|
9
|
+
%
|
10
|
+
% Copy this file to another name and then work on that file.
|
11
|
+
% That way, you always have this original template file to use.
|
12
|
+
|
13
|
+
%\documentclass[aip,graphicx]{revtex4-1}
|
14
|
+
%\documentclass[aip,reprint]{revtex4-1}
|
15
|
+
|
16
|
+
\documentclass[%
|
17
|
+
aip,
|
18
|
+
jmp,%
|
19
|
+
amsmath,amssymb,
|
20
|
+
%preprint,%
|
21
|
+
reprint,%
|
22
|
+
%author-year,%
|
23
|
+
%author-numerical,%
|
24
|
+
]{revtex4-1}
|
25
|
+
|
26
|
+
\usepackage{dcolumn}% Align table columns on decimal point
|
27
|
+
\usepackage{bm}% bold math
|
28
|
+
%\usepackage[mathlines]{lineno}% Enable numbering of text and display math
|
29
|
+
%\linenumbers\relax % Commence numbering lines
|
30
|
+
%\usepackage{natbib}
|
31
|
+
|
32
|
+
<%=@default_packages%>
|
33
|
+
|
34
|
+
|
35
|
+
<%=@header%>
|
36
|
+
|
37
|
+
|
38
|
+
\begin{document}
|
39
|
+
|
40
|
+
\title{<%=@long_title%>}
|
41
|
+
|
42
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
43
|
+
<%= @alternative_author_string %>
|
44
|
+
<% else %>
|
45
|
+
\author{<%=@first_author%>}
|
46
|
+
\affiliation{<%=@first_affiliation%>}
|
47
|
+
<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
|
48
|
+
\author{<%=@coauthor_list[i]%>}
|
49
|
+
\affiliation{<%=@coauthor_affiliations[i]%>}
|
50
|
+
<% end %>
|
51
|
+
<% end %>
|
52
|
+
<% end %>
|
53
|
+
|
54
|
+
\date{\today}% It is always \today, today,
|
55
|
+
|
56
|
+
<%= @abstract_begin_end %>
|
57
|
+
|
58
|
+
|
59
|
+
%\pacs{Valid PACS appear here}% PACS, the Physics and Astronomy
|
60
|
+
% Classification Scheme.
|
61
|
+
%\keywords{Suggested keywords}%Use showkeys class option if keyword
|
62
|
+
%display desired
|
63
|
+
|
64
|
+
\maketitle
|
65
|
+
|
66
|
+
|
67
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
\documentclass{AISB2008}
|
2
|
+
\usepackage{times}
|
3
|
+
\usepackage{graphicx}
|
4
|
+
\usepackage{latexsym}
|
5
|
+
<%=@default_packages%>
|
6
|
+
|
7
|
+
<%=@header%>
|
8
|
+
\begin{document}
|
9
|
+
|
10
|
+
\title{<%=@long_title%>}
|
11
|
+
|
12
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
13
|
+
<%= @alternative_author_string %>
|
14
|
+
<% else %>
|
15
|
+
\author{<%=@first_author%>\institute{<%=@first_affiliation%>}<%
|
16
|
+
if !@coauthor_list.to_a.empty?
|
17
|
+
for i in (0..@coauthor_list.length-1) %>
|
18
|
+
\and <%=@coauthor_list[i]%>\institute{<%=@coauthor_affiliations[i]%>}
|
19
|
+
<% end
|
20
|
+
end %>}
|
21
|
+
<% end %>
|
22
|
+
|
23
|
+
\maketitle
|
24
|
+
|
25
|
+
<% if !@abstract.to_s.empty? %>
|
26
|
+
|
27
|
+
\begin{abstract}
|
28
|
+
<%=@abstract%>
|
29
|
+
\end{abstract}
|
30
|
+
|
31
|
+
<% end %>
|
@@ -0,0 +1,76 @@
|
|
1
|
+
%\documentclass[10pt,flushrt,preprint]{aastex}
|
2
|
+
|
3
|
+
\documentclass[manuscript]{aastex}
|
4
|
+
|
5
|
+
<%=@default_packages%>
|
6
|
+
|
7
|
+
%\usepackage{natbib}
|
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 Astronomical Journal (AJ)}
|
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,78 @@
|
|
1
|
+
%\documentclass[10pt,flushrt,preprint]{aastex}
|
2
|
+
|
3
|
+
%\documentclass[manuscript]{aastex}
|
4
|
+
\documentclass[preprint2]{aastex}
|
5
|
+
|
6
|
+
<%=@default_packages%>
|
7
|
+
%\usepackage{natbib}
|
8
|
+
%\usepackage[english]{babel}
|
9
|
+
|
10
|
+
<%=@header%>
|
11
|
+
|
12
|
+
%% preprint2 produces a double-column, single-spaced document:
|
13
|
+
|
14
|
+
%% \documentclass[preprint2]{aastex}
|
15
|
+
|
16
|
+
%% Sometimes a paper's abstract is too long to fit on the
|
17
|
+
%% title page in preprint2 mode. When that is the case,
|
18
|
+
%% use the longabstract style option.
|
19
|
+
|
20
|
+
%% \documentclass[preprint2,longabstract]{aastex}
|
21
|
+
|
22
|
+
%% If you want to create your own macros, you can do so
|
23
|
+
%% using \newcommand. Your macros should appear before
|
24
|
+
%% the \begin{document} command.
|
25
|
+
%%
|
26
|
+
%% If you are submitting to a journal that translates manuscripts
|
27
|
+
%% into SGML, you need to follow certain guidelines when preparing
|
28
|
+
%% your macros. See the AASTeX v5.x Author Guide
|
29
|
+
%% for information.
|
30
|
+
|
31
|
+
|
32
|
+
%% You can insert a short comment on the title page using the command below.
|
33
|
+
|
34
|
+
\slugcomment{To appear in The Astronomical Journal (AJ)}
|
35
|
+
|
36
|
+
%% If you wish, you may supply running head information, although
|
37
|
+
%% this information may be modified by the editorial offices.
|
38
|
+
%% The left head contains a list of authors,
|
39
|
+
%% usually a maximum of three (otherwise use et al.). The right
|
40
|
+
%% head is a modified title of up to roughly 44 characters.
|
41
|
+
%% Running heads will not print in the manuscript style.
|
42
|
+
|
43
|
+
\shorttitle{<%=@long_title%>}
|
44
|
+
\shortauthors{<%=@first_author%>}
|
45
|
+
|
46
|
+
%% This is the end of the preamble. Indicate the beginning of the
|
47
|
+
%% paper itself with \begin{document}.
|
48
|
+
|
49
|
+
\begin{document}
|
50
|
+
|
51
|
+
%% LaTeX will automatically break titles if they run longer than
|
52
|
+
%% one line. However, you may use \\ to force a line break if
|
53
|
+
%% you desire.
|
54
|
+
|
55
|
+
\title{<%=@long_title%>}
|
56
|
+
|
57
|
+
%% Use \author, \affil, and the \and command to format
|
58
|
+
%% author and affiliation information.
|
59
|
+
%% Note that \email has replaced the old \authoremail command
|
60
|
+
%% from AASTeX v4.0. You can use \email to mark an email address
|
61
|
+
%% anywhere in the paper, not just in the front matter.
|
62
|
+
%% As in the title, use \\ to force line breaks.
|
63
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
64
|
+
<%= @alternative_author_string %>
|
65
|
+
<% else %>
|
66
|
+
\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 %>}
|
67
|
+
<% end %>
|
68
|
+
|
69
|
+
<%= @abstract_begin_end %>
|
70
|
+
|
71
|
+
|
72
|
+
%% Keywords should appear after the \end{abstract} command. The uncommented
|
73
|
+
%% example has been keyed in ApJ style. See the instructions to authors
|
74
|
+
%% for the journal to which you are submitting your paper to determine
|
75
|
+
%% what keyword punctuation is appropriate.
|
76
|
+
|
77
|
+
%\keywords{globular clusters: general --- globular clusters: individual(NGC 6397, NGC 6624, NGC 7078, Terzan 8}
|
78
|
+
|
data/styles/ajps.tex.erb
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
% This is a LaTeX template for a submission to American Journal of Political Science
|
2
|
+
% If you find any errors, please let me know: jjharden@unc.edu
|
3
|
+
\documentclass[12pt, letterpaper]{article}
|
4
|
+
|
5
|
+
%==============Packages & Commands=================
|
6
|
+
\usepackage{graphicx} % Graphics
|
7
|
+
\usepackage{indentfirst} % Tells LaTeX to indent every paragraph
|
8
|
+
\usepackage{setspace} % To set line spacing
|
9
|
+
\usepackage[longnamesfirst]{natbib} % For references
|
10
|
+
\usepackage{booktabs} % For tables
|
11
|
+
\usepackage{rotating} % For sideways tables/figures
|
12
|
+
\usepackage{amsmath} % Some math symbols
|
13
|
+
\usepackage[margin = 1in]{geometry}
|
14
|
+
\usepackage{subfig}
|
15
|
+
\usepackage{mdwlist}
|
16
|
+
\usepackage{url}
|
17
|
+
\usepackage{verbatim}
|
18
|
+
\urlstyle{same}
|
19
|
+
\usepackage{multirow}
|
20
|
+
\usepackage[nolists]{endfloat} % Figures and tables at the end
|
21
|
+
\newcommand{\R}{\texttt{R}\space} % Write R in typewriter font
|
22
|
+
\newcommand{\trans}[1]{{#1}^{\ensuremath{\mathsf{T}}}} % Transpose symbol
|
23
|
+
\bibpunct{(}{)}{;}{a}{}{,} % Reference punctuation
|
24
|
+
\captionsetup[subfloat]{position = top, font = large} % For sub-figure captions
|
25
|
+
|
26
|
+
<%=@default_packages%>
|
27
|
+
|
28
|
+
%===============Some new commands==================
|
29
|
+
\newcommand{\fnote}[1]{\footnote{\begin{doublespace}\normalsize{#1}\vspace{-26pt}\end{doublespace}}} % 12 pt, double spaced footnotes
|
30
|
+
\renewcommand{\figureplace}{ % This places [Insert Table X here] and [Insert Figure Y here] in the text
|
31
|
+
\begin{center}
|
32
|
+
[Insert \figurename~\thepostfig\ here]
|
33
|
+
\end{center}}
|
34
|
+
\renewcommand{\tableplace}{%
|
35
|
+
\begin{center}
|
36
|
+
[Insert \tablename~\theposttbl\ here]
|
37
|
+
\end{center}}
|
38
|
+
|
39
|
+
<%=@header%>
|
40
|
+
|
41
|
+
%============Article Title, Authors================
|
42
|
+
\title{<%=@long_title%>}
|
43
|
+
|
44
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
45
|
+
<%= @alternative_author_string %>
|
46
|
+
<% else %>
|
47
|
+
\author{<%=@first_author%><% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>, <%=@coauthor_list[i]%><% end %><% end %>}
|
48
|
+
<% end %>
|
49
|
+
|
50
|
+
%===================Startup========================
|
51
|
+
\begin{document}
|
52
|
+
\maketitle
|
53
|
+
\doublespacing
|
54
|
+
\vspace{5.5in}
|
55
|
+
\thispagestyle{empty}
|
56
|
+
%===================Abstract=======================
|
57
|
+
\newpage
|
58
|
+
\thispagestyle{empty}
|
59
|
+
\begin{abstract}
|
60
|
+
\begin{normalsize}
|
61
|
+
\noindent <%=@abstract%>
|
62
|
+
|
63
|
+
\end{normalsize}
|
64
|
+
\end{abstract}
|
65
|
+
|
66
|
+
%================Begin Manuscript==================
|
67
|
+
\newpage
|
68
|
+
|
69
|
+
|
data/styles/alma.tex.erb
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
\documentclass[12pt,a4paper]{article}
|
2
|
+
|
3
|
+
\usepackage{graphics}
|
4
|
+
\usepackage[american]{babel}
|
5
|
+
<%=@default_packages %>
|
6
|
+
|
7
|
+
|
8
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
9
|
+
%%%%%% Page dimensions %%%%%
|
10
|
+
%%%%%% DO NOT CHANGE %%%%%
|
11
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
12
|
+
|
13
|
+
\textheight=247mm
|
14
|
+
\textwidth=180mm
|
15
|
+
\topmargin=-7mm
|
16
|
+
\oddsidemargin=-10mm
|
17
|
+
\evensidemargin=-10mm
|
18
|
+
\parindent=10pt
|
19
|
+
|
20
|
+
<%=@header%>
|
21
|
+
|
22
|
+
|
23
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
24
|
+
%%%%% Start of document %%%%%
|
25
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
26
|
+
|
27
|
+
\begin{document}
|
28
|
+
\pagestyle{plain}
|
29
|
+
\pagenumbering{arabic}
|
30
|
+
|
31
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
32
|
+
%%%%% Title of proposal %%%%%
|
33
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
34
|
+
|
35
|
+
\begin{center}
|
36
|
+
{\LARGE{\bf
|
37
|
+
{<%=@long_title%>}
|
38
|
+
}}
|
39
|
+
\end{center}
|
40
|
+
\bigskip
|
41
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
42
|
+
<%= @alternative_author_string %>
|
43
|
+
<% else %>
|
44
|
+
\centerline{\bf PI:
|
45
|
+
{<%=@first_author%>}}
|
46
|
+
<% end %>
|
47
|
+
|
48
|
+
\bigskip
|
49
|
+
|
50
|
+
|
51
|
+
\section{Abstract}
|
52
|
+
<%= @abstract %>
|
53
|
+
|