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
data/styles/nime.tex.erb
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
% Template for NIME 2015
|
2
|
+
%
|
3
|
+
% Modified by Edgar Berdahl on 5 November 2014
|
4
|
+
% Modified by Baptiste Caramiaux on 25 November 2013
|
5
|
+
% Modified by Kyogu Lee on 7 October 2012
|
6
|
+
% Modified by Georg Essl on 7 November 2011
|
7
|
+
%
|
8
|
+
% Based on "sig-alternate.tex" V1.9 April 2009
|
9
|
+
% This file should be compiled with "nime2011.cls"
|
10
|
+
%
|
11
|
+
|
12
|
+
\documentclass{nime-alternate}
|
13
|
+
<%=@default_packages%>
|
14
|
+
<%=@header%>
|
15
|
+
|
16
|
+
\begin{document}
|
17
|
+
\conferenceinfo{NIME'16,}{July 11-15, 2016, Griffith University, Brisbane, Australia.}
|
18
|
+
|
19
|
+
\title{<%=@long_title%>}
|
20
|
+
|
21
|
+
%
|
22
|
+
% You need the command \numberofauthors to handle the 'placement
|
23
|
+
% and alignment' of the authors beneath the title.
|
24
|
+
%
|
25
|
+
% For aesthetic reasons, we recommend 'three authors at a time'
|
26
|
+
% i.e. three 'name/affiliation blocks' be placed beneath the title.
|
27
|
+
%
|
28
|
+
% NOTE: You are NOT restricted in how many 'rows' of
|
29
|
+
% "name/affiliations" may appear. We just ask that you restrict
|
30
|
+
% the number of 'columns' to three.
|
31
|
+
%
|
32
|
+
% Because of the available 'opening page real-estate'
|
33
|
+
% we ask you to refrain from putting more than six authors
|
34
|
+
% (two rows with three columns) beneath the article title.
|
35
|
+
% More than six makes the first-page appear very cluttered indeed.
|
36
|
+
%
|
37
|
+
% Use the \alignauthor commands to handle the names
|
38
|
+
% and affiliations for an 'aesthetic maximum' of six authors.
|
39
|
+
% Add names, affiliations, addresses for
|
40
|
+
% the seventh etc. author(s) as the argument for the
|
41
|
+
% \additionalauthors command.
|
42
|
+
% These 'additional authors' will be output/set for you
|
43
|
+
% without further effort on your part as the last section in
|
44
|
+
% the body of your article BEFORE References or any Appendices.
|
45
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
46
|
+
<%= @alternative_author_string %>
|
47
|
+
<% else %>
|
48
|
+
\numberofauthors{<%= 1 + @coauthor_list.to_a.length %>}
|
49
|
+
\author{\alignauthor
|
50
|
+
<%=@first_author%>\\%
|
51
|
+
\affaddr{<%=@first_affiliation%>}\\%
|
52
|
+
%<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
|
53
|
+
\alignauthor
|
54
|
+
<%=@coauthor_list[i]%>\\%
|
55
|
+
\affaddr{<%=@coauthor_affiliations[i]%>}
|
56
|
+
%<% end %><% end %>
|
57
|
+
}
|
58
|
+
<% end %> <%# end of alternative_author_string else %>
|
59
|
+
|
60
|
+
% There's nothing stopping you putting the seventh, eighth, etc.
|
61
|
+
% author on the opening page (as the 'third row') but we ask,
|
62
|
+
% for aesthetic reasons that you place these 'additional authors'
|
63
|
+
% in the \additional authors block, viz.
|
64
|
+
%\additionalauthors{Additional authors: John Smith (The Th{\o}rv{\"a}ld Group,
|
65
|
+
%email: {\texttt{jsmith@affiliation.org}}) and Julius P.~Kumquat
|
66
|
+
%(K. Consortium, email: {\texttt{jpkumquat@consortium.net}}).}
|
67
|
+
|
68
|
+
\date{\today}
|
69
|
+
% Just remember to make sure that the TOTAL number of authors
|
70
|
+
% is the number that will appear on the first page PLUS the
|
71
|
+
% number that will appear in the \additionalauthors section.
|
72
|
+
|
73
|
+
|
74
|
+
%\acmclassification1998{See \url{http://www.acm.org/about/class/1998/} to obtain categories and subject descriptors for classifying this paper. An example follows:
|
75
|
+
%H.5.5 [Information Interfaces and Presentation] Sound and Music Computing, H.5.2 [Information Interfaces and Presentation] User Interfaces---Haptic I/O, I.2.9 [Artificial Intelligence] Robotics---Propelling mechanisms.
|
76
|
+
%\textbf{The new requirements for classifying the papers at the time of submission are detailed. It is strongly recommended that authors view the submission form prior to starting to write the paper. See the file \texttt{ScientificProgramSubmissionFormPreview.pdf} for a preview. (Do \emph{not} create a dummy submission to view the submission form.)}}
|
77
|
+
|
78
|
+
\maketitle
|
79
|
+
|
80
|
+
<%= @abstract_begin_end %>
|
81
|
+
|
82
|
+
\keywords{NIME, proceedings}
|
data/styles/nips.tex.erb
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
\documentclass{article} % For LaTeX2e
|
2
|
+
\usepackage{nips13submit_e,times}
|
3
|
+
|
4
|
+
<%=@default_packages%>
|
5
|
+
|
6
|
+
\title{<%=@long_title%>}
|
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
|
+
\newcommand{\fix}{\marginpar{FIX}}
|
15
|
+
\newcommand{\new}{\marginpar{NEW}}
|
16
|
+
<%=@header%>
|
17
|
+
|
18
|
+
%\nipsfinalcopy % Uncomment for camera-ready version
|
19
|
+
|
20
|
+
\begin{document}
|
21
|
+
|
22
|
+
|
23
|
+
\maketitle
|
24
|
+
|
25
|
+
<%= @abstract_begin_end %>
|
26
|
+
|
data/styles/nsf.tex.erb
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
\documentclass{proposalnsf}
|
2
|
+
%\usepackage{epsfig}
|
3
|
+
|
4
|
+
<%=@default_packages%>
|
5
|
+
|
6
|
+
% NSF proposal generation template style file.
|
7
|
+
% based on latex stylefiles written by Stefan Llewellyn Smith and
|
8
|
+
% Sarah Gille, with contributions from other collaborators.
|
9
|
+
|
10
|
+
\newcommand{\jas}{{\it J. Atmos. Sci.}}
|
11
|
+
\newcommand{\jpo}{{\it J. Phys. Oceanogr.}}
|
12
|
+
\newcommand{\JPO}{{\it J. Phys. Oceanogr.}}
|
13
|
+
\newcommand{\jfm}{{\it J. Fluid Mech.}}
|
14
|
+
\newcommand{\jgr}{{\it J. Geophys. Res.}}
|
15
|
+
\newcommand{\JGR}{{\it J. Geophys. Res.}}
|
16
|
+
\newcommand{\jmr}{{\it J. Mar. Res.}}
|
17
|
+
\newcommand{\arfm}{{\it Ann. Rev. Fluid Mech.}}
|
18
|
+
\newcommand{\dsr}{{\it Deep-Sea Res.}}
|
19
|
+
\newcommand{\dao}{{\it Dyn. Atmos. Oceans}}
|
20
|
+
\newcommand{\jam}{{\it Journal of Applied Meteorology}}
|
21
|
+
\newcommand{\phfl}{{\it Phys. Fluids}}
|
22
|
+
\newcommand{\phfla}{{\it Phys. Fluids A}}
|
23
|
+
\newcommand{\PhilTrans}{{\it Philosophical Transactions of the Royal Society,
|
24
|
+
London}}
|
25
|
+
\newcommand{\gafd}{{\it Geophys. Astrophys. Fluid Dyn.}}
|
26
|
+
\newcommand{\gfd}{{\it Geophys. Fluid Dyn.}}
|
27
|
+
\newcommand{\PCE} {{\it Physics and Chemistry of the Earth}}
|
28
|
+
\newcommand{\PRL} {{\it Physical Review Letters}}
|
29
|
+
|
30
|
+
\newcommand{\mnras}{Monthly Notices of the Royal Astronomical Society}
|
31
|
+
\newcommand{\apj}{Astrophysical Journal}
|
32
|
+
\newcommand{\aj}{Astronomical Journal}
|
33
|
+
\newcommand{\apjl}{Astrophysical Journal Letters}
|
34
|
+
\newcommand{\apjs}{Astrophysical Journal Supplement}
|
35
|
+
\newcommand{\aap}{Astronomy \& Astrophysics}
|
36
|
+
\newcommand{\araa}{Annual Reviews of Astronomy and Astrophysics}
|
37
|
+
\newcommand{\apss}{Astrophysics \& Space Science}
|
38
|
+
\newcommand{\nat}{Nature}
|
39
|
+
|
40
|
+
\newcommand{\ProgOc}{{\it Prog. Oceanography}}
|
41
|
+
\newcommand{\WHOITR}{Woods Hole Oceanographic Institution Technical Report, WHOI-}
|
42
|
+
\newcommand{\degrees}{$\!\!$\char23$\!$}
|
43
|
+
\DeclareFontFamily{OT1}{psyr}{}
|
44
|
+
\DeclareFontShape{OT1}{psyr}{m}{n}{<-> psyr}{}
|
45
|
+
\def\times{{\fontfamily{psyr}\selectfont\char180}}
|
46
|
+
|
47
|
+
<%=@header%>
|
48
|
+
|
49
|
+
\renewcommand{\refname}{\centerline{References cited}}
|
50
|
+
|
51
|
+
% this handles hanging indents for publications
|
52
|
+
\def\rrr#1\\{\par
|
53
|
+
\medskip\hbox{\vbox{\parindent=2em\hsize=6.12in
|
54
|
+
\hangindent=4em\hangafter=1#1}}}
|
55
|
+
|
56
|
+
\def\baselinestretch{0.931}
|
57
|
+
|
58
|
+
\begin{document}
|
59
|
+
|
60
|
+
\pagenumbering{arabic}
|
61
|
+
\renewcommand{\thepage} {\arabic{page}}
|
62
|
+
|
63
|
+
\noindent{\Large \bf PROJECT DESCRIPTION}
|
64
|
+
\small
|
65
|
+
|
66
|
+
|
@@ -0,0 +1,73 @@
|
|
1
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2
|
+
% File: OpEx_style.tex %
|
3
|
+
% Date: Sept. 2, 2009 %
|
4
|
+
% %
|
5
|
+
% LaTeX template file for use with %
|
6
|
+
% OSA's journal Optics Express %
|
7
|
+
% %
|
8
|
+
% send comments to Jennifer Mayfield, jmayfi@osa.org %
|
9
|
+
% %
|
10
|
+
% This file requires style file, opex3.sty, under %
|
11
|
+
% the LaTeX article class %
|
12
|
+
% %
|
13
|
+
% \documentclass[10pt,letterpaper]{article} %
|
14
|
+
% \usepackage{opex3} %
|
15
|
+
% %
|
16
|
+
% Note that our online submission system does not %
|
17
|
+
% currently process PDFLaTeX; if PDFLaTeX must be %
|
18
|
+
% used, pls. contact OpEx staff, and we will process %
|
19
|
+
% manually %
|
20
|
+
% %
|
21
|
+
% %
|
22
|
+
% (c) 2009 Optical Society of America %
|
23
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
24
|
+
|
25
|
+
%%%%%%%%%%%%%%%%%%%%%%% preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%
|
26
|
+
\documentclass[10pt,letterpaper]{article}
|
27
|
+
\usepackage{opex3}
|
28
|
+
|
29
|
+
<%=@default_packages%>
|
30
|
+
|
31
|
+
<%=@header%>
|
32
|
+
|
33
|
+
|
34
|
+
%%%%%%%%%%%%%%%%%%%%%%% begin %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
35
|
+
\begin{document}
|
36
|
+
|
37
|
+
%% NOTE: TITLE PAGE & TOC NOT USED FOR MANUSCRIPT SUBMISSIONS %%
|
38
|
+
\title{<%=@long_title%>}
|
39
|
+
|
40
|
+
\vskip4pc
|
41
|
+
|
42
|
+
\tableofcontents
|
43
|
+
\clearpage
|
44
|
+
%% NO TITLE PAGE FOR OPEX SUBMISSIONS %%
|
45
|
+
|
46
|
+
%% START HERE
|
47
|
+
%%%%%%%%%%%%%%%%%% title page information %%%%%%%%%%%%%%%%%%
|
48
|
+
\title{<%=@long_title%>}
|
49
|
+
|
50
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
51
|
+
<%= @alternative_author_string %>
|
52
|
+
<% else %>
|
53
|
+
\author{<%=@first_author%>$^{1}$<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>, <%=@coauthor_list[i]%>$^{<%=i+2%>}$<% end %><% end %>}
|
54
|
+
<% end %>
|
55
|
+
|
56
|
+
\address{
|
57
|
+
$^{1}$<%=@first_affiliation%>\\
|
58
|
+
<% if !@coauthor_affiliations.to_a.empty? %><% for i in (0..@coauthor_affiliations.length-1) %>\\
|
59
|
+
$^{<%=i+2%>}$<%=@coauthor_affiliations[i]%> \\<% end %><% end %>
|
60
|
+
}
|
61
|
+
|
62
|
+
%\email{opex@osa.org} %% email address is required
|
63
|
+
|
64
|
+
% \homepage{http:...} %% author's URL, if desired
|
65
|
+
|
66
|
+
%%%%%%%%%%%%%%%%%%% abstract and OCIS codes %%%%%%%%%%%%%%%%
|
67
|
+
%% [use \begin{abstract*}...\end{abstract*} if exempt from copyright]
|
68
|
+
|
69
|
+
<%= @abstract_begin_end %>
|
70
|
+
|
71
|
+
%\ocis{(000.0000) General.} % REPLACE WITH CORRECT OCIS CODES FOR YOUR ARTICLE
|
72
|
+
|
73
|
+
|
@@ -0,0 +1,54 @@
|
|
1
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2
|
+
% File: OLpagelength.tex %
|
3
|
+
% Date: Nov. 15, 2010 %
|
4
|
+
% %
|
5
|
+
% For assistance, contact Joseph Richardson, %
|
6
|
+
% jricha@osa.org %
|
7
|
+
% %
|
8
|
+
% LaTeX template and instructions for %
|
9
|
+
% length check and submission of OSA %
|
10
|
+
% Optics Letters manuscripts %
|
11
|
+
% %
|
12
|
+
% %
|
13
|
+
% \documentclass[10pt,letterpaper,twocolumn]{article} %
|
14
|
+
% \usepackage{ol2} %
|
15
|
+
% %
|
16
|
+
% (c) 2009 Optical Society of America %
|
17
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
18
|
+
|
19
|
+
\documentclass[10pt,letterpaper,twocolumn]{article} %% two column, final layout
|
20
|
+
|
21
|
+
<%=@default_packages%>
|
22
|
+
\hypersetup{draft,implicit=false}
|
23
|
+
\usepackage{ol2}
|
24
|
+
%\usepackage{amsmath}
|
25
|
+
|
26
|
+
<%=@header%>
|
27
|
+
|
28
|
+
\begin{document}
|
29
|
+
|
30
|
+
\twocolumn[ %% activate for two-column option
|
31
|
+
|
32
|
+
\title{<%=@long_title%>}
|
33
|
+
|
34
|
+
%% For REVTeX it is possible to automate superscript and e-mail callouts with the superscriptaddress option; see REVTeX4 documentation.
|
35
|
+
|
36
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
37
|
+
<%= @alternative_author_string %>
|
38
|
+
<% else %>
|
39
|
+
\author{<%=@first_author%>$^{1}$<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>, <%=@coauthor_list[i]%>$^{<%=i+2%>}$<% end %><% end %>}
|
40
|
+
<% end %>
|
41
|
+
|
42
|
+
\address{
|
43
|
+
$^{1}$<%=@first_affiliation%>\\
|
44
|
+
<% if !@coauthor_affiliations.to_a.empty? %><% for i in (0..@coauthor_affiliations.length-1) %>\\
|
45
|
+
$^{<%=i+2%>}$<%=@coauthor_affiliations[i]%> \\<% end %><% end %>
|
46
|
+
}
|
47
|
+
|
48
|
+
<%= @abstract_begin_end %>
|
49
|
+
|
50
|
+
|
51
|
+
%\ocis{000.0000, 999.9999.}
|
52
|
+
|
53
|
+
] %% activate for two-column option
|
54
|
+
|
@@ -0,0 +1,45 @@
|
|
1
|
+
%% Submissions for peer-review must enable line-numbering
|
2
|
+
%% using the lineno option in the \documentclass command.
|
3
|
+
%%
|
4
|
+
%% Preprints and camera-ready submissions do not need
|
5
|
+
%% line numbers, and should have this option removed.
|
6
|
+
%%
|
7
|
+
%% Please note that the line numbering option requires
|
8
|
+
%% version 1.1 or newer of the wlpeerj.cls file.
|
9
|
+
|
10
|
+
\documentclass[fleqn,10pt,lineno]{wlpeerj} % for journal submissions
|
11
|
+
% \documentclass[fleqn,10pt]{wlpeerj} % for preprint submissions
|
12
|
+
|
13
|
+
|
14
|
+
<%=@default_packages%>
|
15
|
+
|
16
|
+
<%=@header%>
|
17
|
+
|
18
|
+
\title{<%=@long_title%>}
|
19
|
+
|
20
|
+
\keywords{} % empty for now, contact help@authorea.com to request support
|
21
|
+
|
22
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
23
|
+
<%= @alternative_author_string %>
|
24
|
+
<% else %>
|
25
|
+
\author[1]{<%=@first_author%>}
|
26
|
+
<% if !@coauthor_list.to_a.empty? %>
|
27
|
+
<% for i in (0..@coauthor_list.length-1) %>
|
28
|
+
\author[<%=i+2%>]{<%=@coauthor_list[i]%>}
|
29
|
+
<% end %><% end %>
|
30
|
+
|
31
|
+
\affil[1]{<%=@first_affiliation%>}
|
32
|
+
<% if !@coauthor_list.to_a.empty? %>
|
33
|
+
<% for i in (0..@coauthor_list.length-1) %>
|
34
|
+
\affil[<%=i+2%>]{<%=@coauthor_affiliations[i]%>}
|
35
|
+
<% end %><% end %>
|
36
|
+
<% end %>
|
37
|
+
|
38
|
+
<%= @abstract_begin_end %>
|
39
|
+
|
40
|
+
\begin{document}
|
41
|
+
|
42
|
+
\flushbottom
|
43
|
+
\maketitle
|
44
|
+
\thispagestyle{empty}
|
45
|
+
|
data/styles/plos.tex.erb
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
% Template for PLoS
|
2
|
+
% Version 1.0 January 2009
|
3
|
+
%
|
4
|
+
% To compile to pdf, run:
|
5
|
+
% latex plos.template
|
6
|
+
% bibtex plos.template
|
7
|
+
% latex plos.template
|
8
|
+
% latex plos.template
|
9
|
+
% dvipdf plos.template
|
10
|
+
|
11
|
+
\documentclass[10pt]{article}
|
12
|
+
|
13
|
+
<%=@default_packages%>
|
14
|
+
|
15
|
+
% cite package, to clean up citations in the main text. Do not remove.
|
16
|
+
\usepackage{cite}
|
17
|
+
|
18
|
+
% Use doublespacing - comment out for single spacing
|
19
|
+
%\usepackage{setspace}
|
20
|
+
%\doublespacing
|
21
|
+
|
22
|
+
<%=@header%>
|
23
|
+
|
24
|
+
% Text layout
|
25
|
+
\topmargin 0.0cm
|
26
|
+
\oddsidemargin 0.5cm
|
27
|
+
\evensidemargin 0.5cm
|
28
|
+
\textwidth 16cm
|
29
|
+
\textheight 21cm
|
30
|
+
|
31
|
+
% Bold the 'Figure #' in the caption and separate it with a period
|
32
|
+
% Captions will be left justified
|
33
|
+
\usepackage[labelfont=bf,labelsep=period,justification=raggedright]{caption}
|
34
|
+
|
35
|
+
% Leave date blank
|
36
|
+
\date{}
|
37
|
+
|
38
|
+
\pagestyle{myheadings}
|
39
|
+
\begin{document}
|
40
|
+
|
41
|
+
% Title must be 150 characters or less
|
42
|
+
\begin{flushleft}
|
43
|
+
{\LARGE
|
44
|
+
\textbf{<%=@long_title%>}
|
45
|
+
}
|
46
|
+
% Insert Author names, affiliations and corresponding author email.
|
47
|
+
\\
|
48
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
49
|
+
<%= @alternative_author_string %>
|
50
|
+
<% else %>
|
51
|
+
<%=@first_author%><% if !@first_affiliation.to_s.empty? %>$^{1}$<% end %>
|
52
|
+
<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>, <%=@coauthor_list[i]%>$^{<%=i+2%>}$<% end %><% end %>
|
53
|
+
\\
|
54
|
+
<% if !@first_affiliation.to_s.empty? %>
|
55
|
+
{\bf 1} <%=@first_affiliation%>\\
|
56
|
+
<% end %>
|
57
|
+
|
58
|
+
<% @coauthor_affiliations.to_a.each_with_index do |affil, index| %>
|
59
|
+
{\bf <%=index+1%>} <%= affil %> \\
|
60
|
+
<% end %>
|
61
|
+
<% end %>
|
62
|
+
\end{flushleft}
|
63
|
+
|
64
|
+
% Please keep the abstract between 250 and 300 words
|
65
|
+
|
66
|
+
<% if @abstract and !@abstract.blank? %>
|
67
|
+
\section*{Abstract}
|
68
|
+
<%=@abstract%>
|
69
|
+
<% end %>
|
@@ -0,0 +1,237 @@
|
|
1
|
+
% Template for PLoS
|
2
|
+
% Version 3.1 February 2015
|
3
|
+
%
|
4
|
+
% To compile to pdf, run:
|
5
|
+
% latex plos.template
|
6
|
+
% bibtex plos.template
|
7
|
+
% latex plos.template
|
8
|
+
% latex plos.template
|
9
|
+
% dvipdf plos.template
|
10
|
+
%
|
11
|
+
% % % % % % % % % % % % % % % % % % % % % %
|
12
|
+
%
|
13
|
+
% -- IMPORTANT NOTE
|
14
|
+
%
|
15
|
+
% This template contains comments intended
|
16
|
+
% to minimize problems and delays during our production
|
17
|
+
% process. Please follow the template instructions
|
18
|
+
% whenever possible.
|
19
|
+
%
|
20
|
+
% % % % % % % % % % % % % % % % % % % % % % %
|
21
|
+
%
|
22
|
+
% Once your paper is accepted for publication,
|
23
|
+
% PLEASE REMOVE ALL TRACKED CHANGES in this file and leave only
|
24
|
+
% the final text of your manuscript.
|
25
|
+
%
|
26
|
+
% There are no restrictions on package use within the LaTeX files except that
|
27
|
+
% no packages listed in the template may be deleted.
|
28
|
+
%
|
29
|
+
% Please do not include colors or graphics in the text.
|
30
|
+
%
|
31
|
+
% Please do not create a heading level below \subsection. For 3rd level headings, use \paragraph{}.
|
32
|
+
%
|
33
|
+
% % % % % % % % % % % % % % % % % % % % % % %
|
34
|
+
%
|
35
|
+
% -- FIGURES AND TABLES
|
36
|
+
%
|
37
|
+
% Please include tables/figure captions directly after the paragraph where they are first cited in the text.
|
38
|
+
%
|
39
|
+
% DO NOT INCLUDE GRAPHICS IN YOUR MANUSCRIPT
|
40
|
+
% - Figures should be uploaded separately from your manuscript file.
|
41
|
+
% - Figures generated using LaTeX should be extracted and removed from the PDF before submission.
|
42
|
+
% - Figures containing multiple panels/subfigures must be combined into one image file before submission.
|
43
|
+
% For figure citations, please use "Fig." instead of "Figure".
|
44
|
+
% See http://www.plosone.org/static/figureGuidelines for PLOS figure guidelines.
|
45
|
+
%
|
46
|
+
% Tables should be cell-based and may not contain:
|
47
|
+
% - tabs/spacing/line breaks within cells to alter layout or alignment
|
48
|
+
% - vertically-merged cells (no tabular environments within tabular environments, do not use \multirow)
|
49
|
+
% - colors, shading, or graphic objects
|
50
|
+
% See http://www.plosone.org/static/figureGuidelines#tables for table guidelines.
|
51
|
+
%
|
52
|
+
% For tables that exceed the width of the text column, use the adjustwidth environment as illustrated in the example table in text below.
|
53
|
+
%
|
54
|
+
% % % % % % % % % % % % % % % % % % % % % % % %
|
55
|
+
%
|
56
|
+
% -- EQUATIONS, MATH SYMBOLS, SUBSCRIPTS, AND SUPERSCRIPTS
|
57
|
+
%
|
58
|
+
% IMPORTANT
|
59
|
+
% Below are a few tips to help format your equations and other special characters according to our specifications. For more tips to help reduce the possibility of formatting errors during conversion, please see our LaTeX guidelines at http://www.plosone.org/static/latexGuidelines
|
60
|
+
%
|
61
|
+
% Please be sure to include all portions of an equation in the math environment.
|
62
|
+
%
|
63
|
+
% Do not include text that is not math in the math environment. For example, CO2 will be CO\textsubscript{2}.
|
64
|
+
%
|
65
|
+
% Please add line breaks to long display equations when possible in order to fit size of the column.
|
66
|
+
%
|
67
|
+
% For inline equations, please do not include punctuation (commas, etc) within the math environment unless this is part of the equation.
|
68
|
+
%
|
69
|
+
% % % % % % % % % % % % % % % % % % % % % % % %
|
70
|
+
%
|
71
|
+
% Please contact latex@plos.org with any questions.
|
72
|
+
%
|
73
|
+
% % % % % % % % % % % % % % % % % % % % % % % %
|
74
|
+
|
75
|
+
\documentclass[10pt,letterpaper]{article}
|
76
|
+
\usepackage[top=0.85in,left=2.75in,footskip=0.75in]{geometry}
|
77
|
+
|
78
|
+
% Use adjustwidth environment to exceed column width (see example table in text)
|
79
|
+
\usepackage{changepage}
|
80
|
+
|
81
|
+
% Use Unicode characters when possible
|
82
|
+
%\usepackage[utf8]{inputenc}
|
83
|
+
|
84
|
+
% textcomp package and marvosym package for additional characters
|
85
|
+
\usepackage{textcomp,marvosym}
|
86
|
+
|
87
|
+
% fixltx2e package for \textsubscript
|
88
|
+
\usepackage{fixltx2e}
|
89
|
+
|
90
|
+
% amsmath and amssymb packages, useful for mathematical formulas and symbols
|
91
|
+
\usepackage{amsmath,amssymb}
|
92
|
+
|
93
|
+
% cite package, to clean up citations in the main text. Do not remove.
|
94
|
+
\usepackage{cite}
|
95
|
+
|
96
|
+
% Use nameref to cite supporting information files (see Supporting Information section for more info)
|
97
|
+
\usepackage{nameref,hyperref}
|
98
|
+
|
99
|
+
% line numbers
|
100
|
+
\usepackage[right]{lineno}
|
101
|
+
|
102
|
+
% ligatures disabled
|
103
|
+
\usepackage{microtype}
|
104
|
+
\DisableLigatures[f]{encoding = *, family = * }
|
105
|
+
|
106
|
+
% rotating package for sideways tables
|
107
|
+
\usepackage{rotating}
|
108
|
+
|
109
|
+
% Remove comment for double spacing
|
110
|
+
%\usepackage{setspace}
|
111
|
+
%\doublespacing
|
112
|
+
|
113
|
+
<%=@default_packages%>
|
114
|
+
%% Neutralize any \includegraphics in the document, as PLOS does not allow figures in the final submission
|
115
|
+
\makeatletter
|
116
|
+
\let\orig@includegraphics\includegraphics
|
117
|
+
\AtBeginDocument{\let\includegraphics\PLOS@ignore}
|
118
|
+
\newcommand{\PLOS@ignore}[2][]{}
|
119
|
+
\makeatother
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
% Text layout
|
124
|
+
\raggedright
|
125
|
+
\setlength{\parindent}{0.5cm}
|
126
|
+
\textwidth 5.25in
|
127
|
+
\textheight 8.75in
|
128
|
+
|
129
|
+
% Bold the 'Figure #' in the caption and separate it from the title/caption with a period
|
130
|
+
% Captions will be left justified
|
131
|
+
\usepackage[aboveskip=1pt,labelfont=bf,labelsep=period,justification=raggedright,singlelinecheck=off]{caption}
|
132
|
+
|
133
|
+
% Remove brackets from numbering in List of References
|
134
|
+
\makeatletter
|
135
|
+
\renewcommand{\@biblabel}[1]{\quad#1.}
|
136
|
+
\makeatother
|
137
|
+
|
138
|
+
% Leave date blank
|
139
|
+
\date{}
|
140
|
+
|
141
|
+
% Header and Footer with logo
|
142
|
+
\usepackage{lastpage,fancyhdr,graphicx}
|
143
|
+
\usepackage{epstopdf}
|
144
|
+
\pagestyle{myheadings}
|
145
|
+
\pagestyle{fancy}
|
146
|
+
\fancyhf{}
|
147
|
+
\makeatletter
|
148
|
+
\lhead{\orig@includegraphics[width=2.0in]{PLOS-submission.eps}}
|
149
|
+
\makeatother
|
150
|
+
\rfoot{\thepage/\pageref{LastPage}}
|
151
|
+
\renewcommand{\footrule}{\hrule height 2pt \vspace{2mm}}
|
152
|
+
\fancyheadoffset[L]{2.25in}
|
153
|
+
\fancyfootoffset[L]{2.25in}
|
154
|
+
\lfoot{\sf PLOS}
|
155
|
+
|
156
|
+
%% Include all macros below
|
157
|
+
|
158
|
+
\newcommand{\lorem}{{\bf LOREM}}
|
159
|
+
\newcommand{\ipsum}{{\bf IPSUM}}
|
160
|
+
|
161
|
+
<%=@header%>
|
162
|
+
|
163
|
+
%% END MACROS SECTION
|
164
|
+
|
165
|
+
|
166
|
+
\begin{document}
|
167
|
+
\vspace*{0.35in}
|
168
|
+
|
169
|
+
% Title must be 250 characters or less.
|
170
|
+
% Please capitalize all terms in the title except conjunctions, prepositions, and articles.
|
171
|
+
\begin{flushleft}
|
172
|
+
{\Large
|
173
|
+
\textbf\newline{<%=@long_title%>}
|
174
|
+
}
|
175
|
+
\newline
|
176
|
+
% Insert author names, affiliations and corresponding author email (do not include titles, positions, or degrees).
|
177
|
+
\\
|
178
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
179
|
+
<%= @alternative_author_string %>
|
180
|
+
<% else %>
|
181
|
+
<%=@first_author%><% if !@first_affiliation.to_s.empty? %>\textsuperscript{1}<% end %>
|
182
|
+
<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>,
|
183
|
+
<%=@coauthor_list[i]%>\textsuperscript{<%=i+2%>}<% end %><% end %>
|
184
|
+
%with the Lorem Ipsum Consortium\textsuperscript{\textpilcrow}
|
185
|
+
|
186
|
+
\bigskip
|
187
|
+
<% if !@first_affiliation.to_s.empty? %>
|
188
|
+
{\bf 1} <%=@first_affiliation%>
|
189
|
+
\\
|
190
|
+
<% end %>
|
191
|
+
<% @coauthor_affiliations.to_a.each_with_index do |affil, index| %>
|
192
|
+
{\bf <%=index+2%>} <%= affil %>
|
193
|
+
\\
|
194
|
+
<% end %>
|
195
|
+
<% end %>
|
196
|
+
\bigskip
|
197
|
+
|
198
|
+
|
199
|
+
% Insert additional author notes using the symbols described below. Insert symbol callouts after author names as necessary.
|
200
|
+
%
|
201
|
+
% Remove or comment out the author notes below if they aren't used.
|
202
|
+
%
|
203
|
+
% Primary Equal Contribution Note
|
204
|
+
%\Yinyang These authors contributed equally to this work.
|
205
|
+
|
206
|
+
% Additional Equal Contribution Note
|
207
|
+
% Also use this double-dagger symbol for special authorship notes, such as senior authorship.
|
208
|
+
%\ddag These authors also contributed equally to this work.
|
209
|
+
|
210
|
+
% Current address notes
|
211
|
+
%\textcurrency a Insert current address of first author with an address update
|
212
|
+
% \textcurrency b Insert current address of second author with an address update
|
213
|
+
% \textcurrency c Insert current address of third author with an address update
|
214
|
+
|
215
|
+
% Deceased author note
|
216
|
+
%\dag Deceased
|
217
|
+
|
218
|
+
% Group/Consortium Author Note
|
219
|
+
%\textpilcrow Membership list can be found in the Acknowledgments section.
|
220
|
+
|
221
|
+
% Use the asterisk to denote corresponding authorship and provide email address in note below.
|
222
|
+
% * CorrespondingAuthor@institute.edu
|
223
|
+
|
224
|
+
\end{flushleft}
|
225
|
+
% Please keep the abstract below 300 words
|
226
|
+
<% if @abstract and !@abstract.blank? %>
|
227
|
+
\section*{Abstract}
|
228
|
+
<%=@abstract%>
|
229
|
+
<% end %>
|
230
|
+
|
231
|
+
% Please keep the Author Summary between 150 and 200 words
|
232
|
+
% Use first person. PLOS ONE authors please skip this step.
|
233
|
+
% Author Summary not valid for PLOS ONE submissions.
|
234
|
+
%\section*{Author Summary}
|
235
|
+
|
236
|
+
\linenumbers
|
237
|
+
|