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.
- 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,90 @@
|
|
|
1
|
+
% THIS IS SIGPROC-SP.TEX - VERSION 3.1
|
|
2
|
+
% WORKS WITH V3.2SP OF ACM_PROC_ARTICLE-SP.CLS
|
|
3
|
+
% APRIL 2009
|
|
4
|
+
%
|
|
5
|
+
% It is an example file showing how to use the 'acm_proc_article-sp.cls' V3.2SP
|
|
6
|
+
% LaTeX2e document class file for Conference Proceedings submissions.
|
|
7
|
+
% ----------------------------------------------------------------------------------------------------------------
|
|
8
|
+
% This .tex file (and associated .cls V3.2SP) *DOES NOT* produce:
|
|
9
|
+
% 1) The Permission Statement
|
|
10
|
+
% 2) The Conference (location) Info information
|
|
11
|
+
% 3) The Copyright Line with ACM data
|
|
12
|
+
% 4) Page numbering
|
|
13
|
+
% ---------------------------------------------------------------------------------------------------------------
|
|
14
|
+
% It is an example which *does* use the .bib file (from which the .bbl file
|
|
15
|
+
% is produced).
|
|
16
|
+
% REMEMBER HOWEVER: After having produced the .bbl file,
|
|
17
|
+
% and prior to final submission,
|
|
18
|
+
% you need to 'insert' your .bbl file into your source .tex file so as to provide
|
|
19
|
+
% ONE 'self-contained' source file.
|
|
20
|
+
%
|
|
21
|
+
% Questions regarding SIGS should be sent to
|
|
22
|
+
% Adrienne Griscti ---> griscti@acm.org
|
|
23
|
+
%
|
|
24
|
+
% Questions/suggestions regarding the guidelines, .tex and .cls files, etc. to
|
|
25
|
+
% Gerald Murray ---> murray@hq.acm.org
|
|
26
|
+
%
|
|
27
|
+
% For tracking purposes - this is V3.1SP - APRIL 2009
|
|
28
|
+
|
|
29
|
+
\documentclass{acm_proc_article-sp}
|
|
30
|
+
|
|
31
|
+
<%=@default_packages%>
|
|
32
|
+
|
|
33
|
+
\begin{document}
|
|
34
|
+
|
|
35
|
+
\title{<%=@long_title%>}
|
|
36
|
+
|
|
37
|
+
%
|
|
38
|
+
% You need the command \numberofauthors to handle the 'placement
|
|
39
|
+
% and alignment' of the authors beneath the title.
|
|
40
|
+
%
|
|
41
|
+
% For aesthetic reasons, we recommend 'three authors at a time'
|
|
42
|
+
% i.e. three 'name/affiliation blocks' be placed beneath the title.
|
|
43
|
+
%
|
|
44
|
+
% NOTE: You are NOT restricted in how many 'rows' of
|
|
45
|
+
% "name/affiliations" may appear. We just ask that you restrict
|
|
46
|
+
% the number of 'columns' to three.
|
|
47
|
+
%
|
|
48
|
+
% Because of the available 'opening page real-estate'
|
|
49
|
+
% we ask you to refrain from putting more than six authors
|
|
50
|
+
% (two rows with three columns) beneath the article title.
|
|
51
|
+
% More than six makes the first-page appear very cluttered indeed.
|
|
52
|
+
%
|
|
53
|
+
% Use the \alignauthor commands to handle the names
|
|
54
|
+
% and affiliations for an 'aesthetic maximum' of six authors.
|
|
55
|
+
% Add names, affiliations, addresses for
|
|
56
|
+
% the seventh etc. author(s) as the argument for the
|
|
57
|
+
% \additionalauthors command.
|
|
58
|
+
% These 'additional authors' will be output/set for you
|
|
59
|
+
% without further effort on your part as the last section in
|
|
60
|
+
% the body of your article BEFORE References or any Appendices.
|
|
61
|
+
|
|
62
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
|
63
|
+
<%= @alternative_author_string %>
|
|
64
|
+
<% else %>
|
|
65
|
+
\numberofauthors{<%= @coauthor_list.to_a.length + 1%>}
|
|
66
|
+
\author{
|
|
67
|
+
\alignauthor <%=@first_author%>\\
|
|
68
|
+
\affaddr{<%=@first_affiliation%>}\\<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
|
|
69
|
+
\alignauthor <%=@coauthor_list[i]%>\\
|
|
70
|
+
\affaddr{<%=@coauthor_affiliations[i]%>}\\ <% end %><% end %>
|
|
71
|
+
}
|
|
72
|
+
<% end %>
|
|
73
|
+
|
|
74
|
+
\maketitle
|
|
75
|
+
|
|
76
|
+
<%= @abstract_begin_end %>
|
|
77
|
+
|
|
78
|
+
<%=@header%>
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
% A category with the (minimum) three required fields
|
|
82
|
+
%\category{H.4}{Information Systems Applications}{Miscellaneous}
|
|
83
|
+
%A category including the fourth, optional field follows...
|
|
84
|
+
%\category{D.2.8}{Software Engineering}{Metrics}[complexity measures, performance measures]
|
|
85
|
+
|
|
86
|
+
%\terms{Theory}
|
|
87
|
+
|
|
88
|
+
%\keywords{ACM proceedings, \LaTeX, text tagging} % NOT required for Proceedings
|
|
89
|
+
|
|
90
|
+
|
data/styles/acs.tex.erb
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
2
|
+
%% This is a (brief) model paper using the achemso class
|
|
3
|
+
%% The document class accepts keyval options, which should include
|
|
4
|
+
%% the target journal and optionally the macuscript tye
|
|
5
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
6
|
+
\documentclass[journal=jacsat,manuscript=article]{achemso}
|
|
7
|
+
|
|
8
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
9
|
+
%% Place any additional packages needed here. Only include packages
|
|
10
|
+
%% which are essential, to avoid problems later.
|
|
11
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
12
|
+
<%=@default_packages%>
|
|
13
|
+
\usepackage[version=3]{mhchem} % Formula subscripts using \ce{}
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
17
|
+
%% If issues arise when submitting your manuscript, you may want to
|
|
18
|
+
%% un-comment the next line. This provides information on the
|
|
19
|
+
%% version of every file you have used.
|
|
20
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
21
|
+
%%\listfiles
|
|
22
|
+
|
|
23
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
24
|
+
%% Place any additional macros here. Please use \newcommand* where
|
|
25
|
+
%% possible, and avoid layout changing macros (which are not used
|
|
26
|
+
%% when typesetting).
|
|
27
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
28
|
+
%\newcommand*{\mycommand}[1]{\texttt{\emph{#1}}}
|
|
29
|
+
|
|
30
|
+
<%=@header%>
|
|
31
|
+
|
|
32
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
33
|
+
%% Meta-data block
|
|
34
|
+
%% ---------------
|
|
35
|
+
%% Each author should be given as a separate \author command.
|
|
36
|
+
%%
|
|
37
|
+
%% Corresponding authors should have an e-mail given after the author
|
|
38
|
+
%% name as an \email command.
|
|
39
|
+
%%
|
|
40
|
+
%% The affiliation of authors is given after the authors; each
|
|
41
|
+
%% \affiliation command applies to all preceding authors not already
|
|
42
|
+
%% assigned an affiliation.
|
|
43
|
+
%%
|
|
44
|
+
%% The affiliation takes an option argument for the short name. This
|
|
45
|
+
%% will typically be something like "University of Somewhere".
|
|
46
|
+
%%
|
|
47
|
+
%% The \altaffiliation macro should be used for new address, etc.
|
|
48
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
49
|
+
|
|
50
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
|
51
|
+
<%= @alternative_author_string %>
|
|
52
|
+
<% else %>
|
|
53
|
+
\author{<%=@first_author%>}
|
|
54
|
+
\affiliation[<%=@first_affiliation%>]{<%=@first_affiliation%>}
|
|
55
|
+
\email{Address}
|
|
56
|
+
<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
|
|
57
|
+
\author{<%=@coauthor_list[i]%>}
|
|
58
|
+
\affiliation{<%=@coauthor_affiliations[i]%>}<% end %><% end %>
|
|
59
|
+
<% end %>
|
|
60
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
61
|
+
%% The document title should be given as usual
|
|
62
|
+
%% A short title can be given as a *suggestion* for running headers.
|
|
63
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
64
|
+
\title[]{<%=@long_title%>}
|
|
65
|
+
|
|
66
|
+
\begin{document}
|
|
67
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
68
|
+
%% The manuscript does not need to include \maketitle, which is
|
|
69
|
+
%% executed automatically. The document should begin with an
|
|
70
|
+
%% abstract, if appropriate. If one is given and should not be, the
|
|
71
|
+
%% contents will be gobbled.
|
|
72
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
73
|
+
|
|
74
|
+
<%= @abstract_begin_end %>
|
|
75
|
+
|
|
76
|
+
|
data/styles/agu.tex.erb
ADDED
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
2
|
+
% AGUtmpl.tex: this template file is for articles formatted with LaTeX2e,
|
|
3
|
+
% Modified March 2013
|
|
4
|
+
%
|
|
5
|
+
% This template includes commands and instructions
|
|
6
|
+
% given in the order necessary to produce a final output that will
|
|
7
|
+
% satisfy AGU requirements.
|
|
8
|
+
%
|
|
9
|
+
% PLEASE DO NOT USE YOUR OWN MACROS
|
|
10
|
+
% DO NOT USE \newcommand, \renewcommand, or \def.
|
|
11
|
+
%
|
|
12
|
+
% FOR FIGURES, DO NOT USE \psfrag or \subfigure.
|
|
13
|
+
%
|
|
14
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
15
|
+
%
|
|
16
|
+
% All questions should be e-mailed to latex@agu.org.
|
|
17
|
+
%
|
|
18
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
19
|
+
%
|
|
20
|
+
% Step 1: Set the \documentclass
|
|
21
|
+
%
|
|
22
|
+
% There are two options for article format: two column (default)
|
|
23
|
+
% and draft.
|
|
24
|
+
%
|
|
25
|
+
% PLEASE USE THE DRAFT OPTION TO SUBMIT YOUR PAPERS.
|
|
26
|
+
% The draft option produces double spaced output.
|
|
27
|
+
%
|
|
28
|
+
% Choose the journal abbreviation for the journal you are
|
|
29
|
+
% submitting to:
|
|
30
|
+
|
|
31
|
+
% jgrga JOURNAL OF GEOPHYSICAL RESEARCH
|
|
32
|
+
% gbc GLOBAL BIOCHEMICAL CYCLES
|
|
33
|
+
% grl GEOPHYSICAL RESEARCH LETTERS
|
|
34
|
+
% pal PALEOCEANOGRAPHY
|
|
35
|
+
% ras RADIO SCIENCE
|
|
36
|
+
% rog REVIEWS OF GEOPHYSICS
|
|
37
|
+
% tec TECTONICS
|
|
38
|
+
% wrr WATER RESOURCES RESEARCH
|
|
39
|
+
% gc GEOCHEMISTRY, GEOPHYSICS, GEOSYSTEMS
|
|
40
|
+
% sw SPACE WEATHER
|
|
41
|
+
% ms JAMES
|
|
42
|
+
% ef EARTH'S FUTURE
|
|
43
|
+
%
|
|
44
|
+
%
|
|
45
|
+
%
|
|
46
|
+
% (If you are submitting to a journal other than jgrga,
|
|
47
|
+
% substitute the initials of the journal for "jgrga" below.)
|
|
48
|
+
|
|
49
|
+
\documentclass[draft,ef]{AGUTeX}
|
|
50
|
+
% To create numbered lines:
|
|
51
|
+
|
|
52
|
+
% If you don't already have lineno.sty, you can download it from
|
|
53
|
+
% http://www.ctan.org/tex-archive/macros/latex/contrib/ednotes/
|
|
54
|
+
% (or search the internet for lineno.sty ctan), available at TeX Archive Network (CTAN).
|
|
55
|
+
% Take care that you always use the latest version.
|
|
56
|
+
|
|
57
|
+
% To activate the commands, uncomment \usepackage{lineno}
|
|
58
|
+
% and \linenumbers*[1]command, below:
|
|
59
|
+
|
|
60
|
+
% \usepackage{lineno}
|
|
61
|
+
% \linenumbers*[1]
|
|
62
|
+
|
|
63
|
+
% To add line numbers to lines with equations:
|
|
64
|
+
% \begin{linenomath*}
|
|
65
|
+
% \begin{equation}
|
|
66
|
+
% \end{equation}
|
|
67
|
+
% \end{linenomath*}
|
|
68
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
69
|
+
% Figures and Tables
|
|
70
|
+
%
|
|
71
|
+
%
|
|
72
|
+
% DO NOT USE \psfrag or \subfigure commands.
|
|
73
|
+
%
|
|
74
|
+
% Figures and tables should be placed AT THE END OF THE ARTICLE,
|
|
75
|
+
% after the references.
|
|
76
|
+
%
|
|
77
|
+
% Uncomment the following command to include .eps files
|
|
78
|
+
% (comment out this line for draft format):
|
|
79
|
+
% \usepackage[dvips]{graphicx}
|
|
80
|
+
%
|
|
81
|
+
% Uncomment the following command to allow illustrations to print
|
|
82
|
+
% when using Draft:
|
|
83
|
+
% \setkeys{Gin}{draft=false}
|
|
84
|
+
%
|
|
85
|
+
% Substitute one of the following for [dvips] above
|
|
86
|
+
% if you are using a different driver program and want to
|
|
87
|
+
% proof your illustrations on your machine:
|
|
88
|
+
%
|
|
89
|
+
% [xdvi], [dvipdf], [dvipsone], [dviwindo], [emtex], [dviwin],
|
|
90
|
+
% [pctexps], [pctexwin], [pctexhp], [pctex32], [truetex], [tcidvi],
|
|
91
|
+
% [oztex], [textures]
|
|
92
|
+
%
|
|
93
|
+
% See how to enter figures and tables at the end of the article, after
|
|
94
|
+
% references.
|
|
95
|
+
%
|
|
96
|
+
%% ------------------------------------------------------------------------ %%
|
|
97
|
+
%
|
|
98
|
+
% ENTER PREAMBLE
|
|
99
|
+
%
|
|
100
|
+
%% ------------------------------------------------------------------------ %%
|
|
101
|
+
|
|
102
|
+
% Author names in capital letters:
|
|
103
|
+
\authorrunninghead{<%=@first_author%>}
|
|
104
|
+
|
|
105
|
+
% Shorter version of title entered in capital letters:
|
|
106
|
+
\titlerunninghead{<%=@short_title%>}
|
|
107
|
+
|
|
108
|
+
%Corresponding author mailing address and e-mail address:
|
|
109
|
+
%\authoraddr{Corresponding author: A. B. Smith,
|
|
110
|
+
%Department of Hydrology and Water Resources, University of
|
|
111
|
+
%Arizona, Harshbarger Building 11, Tucson, AZ 85721, USA.
|
|
112
|
+
%(a.b.smith@hwr.arizona.edu)}
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
<%=@default_packages%>
|
|
116
|
+
|
|
117
|
+
<%=@header%>
|
|
118
|
+
|
|
119
|
+
\begin{document}
|
|
120
|
+
|
|
121
|
+
%% ------------------------------------------------------------------------ %%
|
|
122
|
+
%
|
|
123
|
+
% TITLE
|
|
124
|
+
%
|
|
125
|
+
%% ------------------------------------------------------------------------ %%
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
\title{<%=@long_title%>}
|
|
129
|
+
%
|
|
130
|
+
% e.g., \title{Terrestrial ring current:
|
|
131
|
+
% Origin, formation, and decay $\alpha\beta\Gamma\Delta$}
|
|
132
|
+
%
|
|
133
|
+
|
|
134
|
+
%% ------------------------------------------------------------------------ %%
|
|
135
|
+
%
|
|
136
|
+
% AUTHORS AND AFFILIATIONS
|
|
137
|
+
%
|
|
138
|
+
%% ------------------------------------------------------------------------ %%
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
|
142
|
+
<%= @alternative_author_string %>
|
|
143
|
+
<% else %>
|
|
144
|
+
\authors{<%=@first_author%>,\altaffilmark{1}
|
|
145
|
+
<% if !@coauthor_list.to_a.empty? %>
|
|
146
|
+
<% for i in (0..@coauthor_list.length-1) %>
|
|
147
|
+
<%=@coauthor_list[i]%>,\altaffilmark{<%=i+2%>}
|
|
148
|
+
<% end %><% end %>}
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
\altaffiltext{1}{<%=@first_affiliation%>}
|
|
152
|
+
<% if !@coauthor_list.to_a.empty? %>
|
|
153
|
+
\altaffiltext{<%=i+2%>}{<%=@coauthor_affiliations[i]%>}
|
|
154
|
+
<% end %>
|
|
155
|
+
<% end %>
|
|
156
|
+
|
|
157
|
+
%Use \author{\altaffilmark{}} and \altaffiltext{}
|
|
158
|
+
|
|
159
|
+
% \altaffilmark will produce footnote;
|
|
160
|
+
% matching \altaffiltext will appear at bottom of page.
|
|
161
|
+
|
|
162
|
+
% \authors{A. B. Smith,\altaffilmark{1}
|
|
163
|
+
% Eric Brown,\altaffilmark{1,2} Rick Williams,\altaffilmark{3}
|
|
164
|
+
% John B. McDougall\altaffilmark{4}, and S. Visconti\altaffilmark{5}}
|
|
165
|
+
|
|
166
|
+
%\altaffiltext{1}{Department of Hydrology and Water Resources,
|
|
167
|
+
%University of Arizona, Tucson, Arizona, USA.}
|
|
168
|
+
|
|
169
|
+
%\altaffiltext{2}{Department of Geography, Ohio State University,
|
|
170
|
+
%Columbus, Ohio, USA.}
|
|
171
|
+
|
|
172
|
+
%\altaffiltext{3}{Department of Space Sciences, University of
|
|
173
|
+
%Michigan, Ann Arbor, Michigan, USA.}
|
|
174
|
+
|
|
175
|
+
%\altaffiltext{4}{Division of Hydrologic Sciences, Desert Research
|
|
176
|
+
%Institute, Reno, Nevada, USA.}
|
|
177
|
+
|
|
178
|
+
%\altaffiltext{5}{Dipartimento di Idraulica, Trasporti ed
|
|
179
|
+
%Infrastrutture Civili, Politecnico di Torino, Turin, Italy.}
|
|
180
|
+
|
|
181
|
+
%% ------------------------------------------------------------------------ %%
|
|
182
|
+
%
|
|
183
|
+
% ABSTRACT
|
|
184
|
+
%
|
|
185
|
+
%% ------------------------------------------------------------------------ %%
|
|
186
|
+
|
|
187
|
+
% >> Do NOT include any \begin...\end commands within
|
|
188
|
+
% >> the body of the abstract.
|
|
189
|
+
|
|
190
|
+
<%= @abstract_begin_end %>
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
%% ------------------------------------------------------------------------ %%
|
|
194
|
+
%
|
|
195
|
+
% BEGIN ARTICLE
|
|
196
|
+
%
|
|
197
|
+
%% ------------------------------------------------------------------------ %%
|
|
198
|
+
|
|
199
|
+
% The body of the article must start with a \begin{article} command
|
|
200
|
+
%
|
|
201
|
+
% \end{article} must follow the references section, before the figures
|
|
202
|
+
% and tables.
|
|
203
|
+
|
|
204
|
+
\begin{article}
|
|
205
|
+
|
|
206
|
+
%% ------------------------------------------------------------------------ %%
|
|
207
|
+
%
|
|
208
|
+
% TEXT
|
|
209
|
+
%
|
|
210
|
+
%% ------------------------------------------------------------------------ %%
|
|
211
|
+
|
data/styles/aiaa.tex.erb
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
% `template.tex', a bare-bones example employing the AIAA class.
|
|
2
|
+
%
|
|
3
|
+
% For a more advanced example that makes use of several third-party
|
|
4
|
+
% LaTeX packages, see `advanced_example.tex', but please read the
|
|
5
|
+
% Known Problems section of the users manual first.
|
|
6
|
+
%
|
|
7
|
+
% Typical processing for PostScript (PS) output:
|
|
8
|
+
%
|
|
9
|
+
% latex template
|
|
10
|
+
% latex template (repeat as needed to resolve references)
|
|
11
|
+
%
|
|
12
|
+
% xdvi template (onscreen draft display)
|
|
13
|
+
% dvips template (postscript)
|
|
14
|
+
% gv template.ps (onscreen display)
|
|
15
|
+
% lpr template.ps (hardcopy)
|
|
16
|
+
%
|
|
17
|
+
% With the above, only Encapsulated PostScript (EPS) images can be used.
|
|
18
|
+
%
|
|
19
|
+
% Typical processing for Portable Document Format (PDF) output:
|
|
20
|
+
%
|
|
21
|
+
% pdflatex template
|
|
22
|
+
% pdflatex template (repeat as needed to resolve references)
|
|
23
|
+
%
|
|
24
|
+
% acroread template.pdf (onscreen display)
|
|
25
|
+
%
|
|
26
|
+
% If you have EPS figures, you will need to use the epstopdf script
|
|
27
|
+
% to convert them to PDF because PDF is a limmited subset of EPS.
|
|
28
|
+
% pdflatex accepts a variety of other image formats such as JPG, TIF,
|
|
29
|
+
% PNG, and so forth -- check the documentation for your version.
|
|
30
|
+
%
|
|
31
|
+
% If you do *not* specify suffixes when using the graphicx package's
|
|
32
|
+
% \includegraphics command, latex and pdflatex will automatically select
|
|
33
|
+
% the appropriate figure format from those available. This allows you
|
|
34
|
+
% to produce PS and PDF output from the same LaTeX source file.
|
|
35
|
+
%
|
|
36
|
+
% To generate a large format (e.g., 11"x17") PostScript copy for editing
|
|
37
|
+
% purposes, use
|
|
38
|
+
%
|
|
39
|
+
% dvips -x 1467 -O -0.65in,0.85in -t tabloid template
|
|
40
|
+
%
|
|
41
|
+
% For further details and support, read the Users Manual, aiaa.pdf.
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
% Try to reduce the number of latex support calls from people who
|
|
45
|
+
% don't read the included documentation.
|
|
46
|
+
%
|
|
47
|
+
\typeout{}\typeout{If latex fails to find aiaa-tc, read the README file!}
|
|
48
|
+
%
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
\documentclass[]{aiaa-tc}% insert '[draft]' option to show overfull boxes
|
|
52
|
+
|
|
53
|
+
<%=@default_packages%>
|
|
54
|
+
<%=@header%>
|
|
55
|
+
|
|
56
|
+
\title{<%=@long_title%>}
|
|
57
|
+
|
|
58
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
|
59
|
+
<%= @alternative_author_string %>
|
|
60
|
+
<% else %>
|
|
61
|
+
\author{
|
|
62
|
+
<%=@first_author%>%
|
|
63
|
+
\thanks{<%=@first_affiliation%>}\\<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
|
|
64
|
+
\and <%=@coauthor_list[i]%>
|
|
65
|
+
\thanks{<%=@coauthor_affiliations[i]%>}\\<% end %><% end %>}
|
|
66
|
+
<% end %>
|
|
67
|
+
|
|
68
|
+
% Data used by 'handcarry' option if invoked
|
|
69
|
+
\AIAApapernumber{YEAR-NUMBER}
|
|
70
|
+
\AIAAconference{Conference Name, Date, and Location}
|
|
71
|
+
\AIAAcopyright{\AIAAcopyrightD{YEAR}}
|
|
72
|
+
|
|
73
|
+
% Define commands to assure consistent treatment throughout document
|
|
74
|
+
\newcommand{\eqnref}[1]{(\ref{#1})}
|
|
75
|
+
\newcommand{\class}[1]{\texttt{#1}}
|
|
76
|
+
\newcommand{\package}[1]{\texttt{#1}}
|
|
77
|
+
\newcommand{\file}[1]{\texttt{#1}}
|
|
78
|
+
\newcommand{\BibTeX}{\textsc{Bib}\TeX}
|
|
79
|
+
|
|
80
|
+
\begin{document}
|
|
81
|
+
|
|
82
|
+
\maketitle
|
|
83
|
+
|
|
84
|
+
<%= @abstract_begin_end %>
|