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,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
|
+
prl,preprint,
|
|
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
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
\documentclass{article}
|
|
2
|
+
\usepackage[affil-it]{authblk}
|
|
3
|
+
<%=@default_packages%>
|
|
4
|
+
<%=@header%>
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
\begin{document}
|
|
8
|
+
|
|
9
|
+
\title{<%=@long_title%>}
|
|
10
|
+
|
|
11
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
|
12
|
+
<%= @alternative_author_string %>
|
|
13
|
+
<% else %>
|
|
14
|
+
\author{<%=@first_author%>}
|
|
15
|
+
\affil{<%=@first_affiliation%>}
|
|
16
|
+
<% if !@coauthor_list.to_a.empty? %>
|
|
17
|
+
<% for i in (0..@coauthor_list.length-1) %>
|
|
18
|
+
\author{<%=@coauthor_list[i]%>}
|
|
19
|
+
\affil{<%=@coauthor_affiliations[i]%>}
|
|
20
|
+
<% end %>
|
|
21
|
+
<% end %>
|
|
22
|
+
<% end %>
|
|
23
|
+
|
|
24
|
+
\date{\today}
|
|
25
|
+
|
|
26
|
+
\maketitle
|
|
27
|
+
|
|
28
|
+
<%= @abstract_begin_end %>
|
data/styles/asp.tex.erb
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
% This is the aspauthor.tex LaTeX file
|
|
2
|
+
% Copyright 2010, Astronomical Society of the Pacific Conference Series
|
|
3
|
+
|
|
4
|
+
\documentclass[11pt,twoside]{article}
|
|
5
|
+
<%=@default_packages%>
|
|
6
|
+
\usepackage{asp2010}
|
|
7
|
+
|
|
8
|
+
<%=@header%>
|
|
9
|
+
|
|
10
|
+
\resetcounters
|
|
11
|
+
|
|
12
|
+
\markboth{<%=@first_author%>}{<%=@short_title%>}
|
|
13
|
+
|
|
14
|
+
\begin{document}
|
|
15
|
+
|
|
16
|
+
\title{<%=@long_title%>}
|
|
17
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
|
18
|
+
<%= @alternative_author_string %>
|
|
19
|
+
<% else %>
|
|
20
|
+
\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 %>
|
|
21
|
+
\affil{$^1$<%=@first_affiliation%>}
|
|
22
|
+
<% if !@coauthor_affiliations.to_a.empty? %><% for i in (0..@coauthor_affiliations.length-1) %>
|
|
23
|
+
\affil{$^<%=i+2%>$<%=@coauthor_affiliations[i]%>}<% end %><% end %>}
|
|
24
|
+
<% end %>
|
|
25
|
+
<%= @abstract_begin_end %>
|
|
26
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
\documentclass{article}
|
|
2
|
+
\usepackage{fullpage}
|
|
3
|
+
\usepackage{parskip}
|
|
4
|
+
\usepackage{setspace}
|
|
5
|
+
\usepackage{titlesec}
|
|
6
|
+
\usepackage{lineno}
|
|
7
|
+
\usepackage{xcolor}
|
|
8
|
+
\usepackage[colorlinks = true,
|
|
9
|
+
linkcolor = blue,
|
|
10
|
+
urlcolor = blue,
|
|
11
|
+
citecolor = blue,
|
|
12
|
+
anchorcolor = blue]{hyperref}
|
|
13
|
+
\usepackage{apacite}
|
|
14
|
+
\usepackage{eso-pic}
|
|
15
|
+
\AddToShipoutPictureBG{\AtPageLowerLeft{\includegraphics[scale=0.7]{powered-by-Authorea-watermark.png}}}
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
\renewenvironment{abstract}
|
|
19
|
+
{{\bfseries\noindent{\large\abstractname}\par\nobreak}}
|
|
20
|
+
{}
|
|
21
|
+
|
|
22
|
+
\renewenvironment{quote}
|
|
23
|
+
{\begin{tabular}{|p{13cm}}}
|
|
24
|
+
{\end{tabular}}
|
|
25
|
+
|
|
26
|
+
\titlespacing{\section}{0pt}{*3}{*1}
|
|
27
|
+
\titlespacing{\subsection}{0pt}{*2}{*0.5}
|
|
28
|
+
\titlespacing{\subsubsection}{0pt}{*1.5}{0pt}
|
|
29
|
+
|
|
30
|
+
\usepackage{authblk}
|
|
31
|
+
\makeatletter
|
|
32
|
+
\renewcommand\AB@authnote[1]{\rlap{\textsuperscript{\normalfont#1}}}
|
|
33
|
+
\renewcommand\Authsep{,~\,}
|
|
34
|
+
\renewcommand\Authands{,~\,and }
|
|
35
|
+
\makeatother
|
|
36
|
+
|
|
37
|
+
<%=@default_packages%>
|
|
38
|
+
<%=@header%>
|
|
39
|
+
|
|
40
|
+
\begin{document}
|
|
41
|
+
|
|
42
|
+
\title{<%=@long_title%>}
|
|
43
|
+
|
|
44
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
|
45
|
+
<%= @alternative_author_string %>
|
|
46
|
+
<% else %>
|
|
47
|
+
\author[ ]{<%=@first_author%>}
|
|
48
|
+
<% @coauthor_list.to_a.each do |coau| %>\author[ ]{<%=coau%>}
|
|
49
|
+
<% end %>
|
|
50
|
+
\affil[ ]{}
|
|
51
|
+
\vspace{-1em}
|
|
52
|
+
<% end %>
|
|
53
|
+
|
|
54
|
+
\date{}
|
|
55
|
+
|
|
56
|
+
\begingroup
|
|
57
|
+
\let\center\flushleft
|
|
58
|
+
\let\endcenter\endflushleft
|
|
59
|
+
\maketitle
|
|
60
|
+
\endgroup
|
|
61
|
+
|
|
62
|
+
\doublespacing
|
|
63
|
+
\linenumbers
|
|
64
|
+
|
|
65
|
+
<%= @abstract_begin_end %>
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
\documentclass{article}
|
|
2
|
+
\usepackage{fullpage}
|
|
3
|
+
\usepackage{parskip}
|
|
4
|
+
\usepackage{setspace}
|
|
5
|
+
\usepackage{titlesec}
|
|
6
|
+
\usepackage{xcolor}
|
|
7
|
+
\usepackage[colorlinks = true,
|
|
8
|
+
linkcolor = blue,
|
|
9
|
+
urlcolor = blue,
|
|
10
|
+
citecolor = blue,
|
|
11
|
+
anchorcolor = blue]{hyperref}
|
|
12
|
+
\usepackage{apacite}
|
|
13
|
+
\usepackage{eso-pic}
|
|
14
|
+
\AddToShipoutPictureBG{\AtPageLowerLeft{\includegraphics[scale=0.7]{powered-by-Authorea-watermark.png}}}
|
|
15
|
+
|
|
16
|
+
\renewenvironment{abstract}
|
|
17
|
+
{{\bfseries\noindent{\large\abstractname}\par\nobreak}}
|
|
18
|
+
{}
|
|
19
|
+
|
|
20
|
+
\renewenvironment{quote}
|
|
21
|
+
{\begin{tabular}{|p{13cm}}}
|
|
22
|
+
{\end{tabular}}
|
|
23
|
+
|
|
24
|
+
\titlespacing{\section}{0pt}{*3}{*1}
|
|
25
|
+
\titlespacing{\subsection}{0pt}{*2}{*0.5}
|
|
26
|
+
\titlespacing{\subsubsection}{0pt}{*1.5}{0pt}
|
|
27
|
+
|
|
28
|
+
\usepackage{authblk}
|
|
29
|
+
\makeatletter
|
|
30
|
+
\renewcommand\AB@authnote[1]{\rlap{\textsuperscript{\normalfont#1}}}
|
|
31
|
+
\renewcommand\Authsep{,~\,}
|
|
32
|
+
\renewcommand\Authands{,~\,and }
|
|
33
|
+
\makeatother
|
|
34
|
+
|
|
35
|
+
<%=@default_packages%>
|
|
36
|
+
<%=@header%>
|
|
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
|
+
<% @coauthor_list.to_a.each do |coau| %>\author[ ]{<%=coau%>}
|
|
47
|
+
<% end %>
|
|
48
|
+
\affil[ ]{}
|
|
49
|
+
\vspace{-1em}
|
|
50
|
+
<% end %>
|
|
51
|
+
|
|
52
|
+
\date{}
|
|
53
|
+
|
|
54
|
+
\begingroup
|
|
55
|
+
\let\center\flushleft
|
|
56
|
+
\let\endcenter\endflushleft
|
|
57
|
+
\maketitle
|
|
58
|
+
\endgroup
|
|
59
|
+
|
|
60
|
+
\doublespacing
|
|
61
|
+
|
|
62
|
+
<%= @abstract_begin_end %>
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
\documentclass{article}
|
|
2
|
+
\usepackage{fullpage}
|
|
3
|
+
\usepackage{parskip}
|
|
4
|
+
\usepackage{titlesec}
|
|
5
|
+
\usepackage{xcolor}
|
|
6
|
+
\usepackage{lineno}
|
|
7
|
+
\usepackage[colorlinks = true,
|
|
8
|
+
linkcolor = blue,
|
|
9
|
+
urlcolor = blue,
|
|
10
|
+
citecolor = blue,
|
|
11
|
+
anchorcolor = blue]{hyperref}
|
|
12
|
+
\usepackage{apacite}
|
|
13
|
+
\usepackage{eso-pic}
|
|
14
|
+
\AddToShipoutPictureBG{\AtPageLowerLeft{\includegraphics[scale=0.7]{powered-by-Authorea-watermark.png}}}
|
|
15
|
+
|
|
16
|
+
\renewenvironment{abstract}
|
|
17
|
+
{{\bfseries\noindent{\large\abstractname}\par\nobreak}}
|
|
18
|
+
{}
|
|
19
|
+
|
|
20
|
+
\renewenvironment{quote}
|
|
21
|
+
{\begin{tabular}{|p{13cm}}}
|
|
22
|
+
{\end{tabular}}
|
|
23
|
+
|
|
24
|
+
\titlespacing{\section}{0pt}{*3}{*1}
|
|
25
|
+
\titlespacing{\subsection}{0pt}{*2}{*0.5}
|
|
26
|
+
\titlespacing{\subsubsection}{0pt}{*1.5}{0pt}
|
|
27
|
+
|
|
28
|
+
\usepackage{authblk}
|
|
29
|
+
\makeatletter
|
|
30
|
+
\renewcommand\AB@authnote[1]{\rlap{\textsuperscript{\normalfont#1}}}
|
|
31
|
+
\renewcommand\Authsep{,~\,}
|
|
32
|
+
\renewcommand\Authands{,~\,and }
|
|
33
|
+
\makeatother
|
|
34
|
+
|
|
35
|
+
<%=@default_packages%>
|
|
36
|
+
<%=@header%>
|
|
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
|
+
<% @coauthor_list.to_a.each do |coau| %>\author[ ]{<%=coau%>}
|
|
47
|
+
<% end %>
|
|
48
|
+
\affil[ ]{}
|
|
49
|
+
\vspace{-1em}
|
|
50
|
+
<% end %>
|
|
51
|
+
|
|
52
|
+
\date{}
|
|
53
|
+
|
|
54
|
+
\begingroup
|
|
55
|
+
\let\center\flushleft
|
|
56
|
+
\let\endcenter\endflushleft
|
|
57
|
+
\maketitle
|
|
58
|
+
\endgroup
|
|
59
|
+
|
|
60
|
+
\linenumbers
|
|
61
|
+
|
|
62
|
+
<%= @abstract_begin_end %>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
\documentclass{article}
|
|
2
|
+
\usepackage{fullpage}
|
|
3
|
+
\usepackage{parskip}
|
|
4
|
+
\usepackage{titlesec}
|
|
5
|
+
\usepackage{xcolor}
|
|
6
|
+
\usepackage[colorlinks = true,
|
|
7
|
+
linkcolor = blue,
|
|
8
|
+
urlcolor = blue,
|
|
9
|
+
citecolor = blue,
|
|
10
|
+
anchorcolor = blue]{hyperref}
|
|
11
|
+
\usepackage{apacite}
|
|
12
|
+
\usepackage{eso-pic}
|
|
13
|
+
\AddToShipoutPictureBG{\AtPageLowerLeft{\includegraphics[scale=0.7]{powered-by-Authorea-watermark.png}}}
|
|
14
|
+
|
|
15
|
+
\renewenvironment{abstract}
|
|
16
|
+
{{\bfseries\noindent{\large\abstractname}\par\nobreak}}
|
|
17
|
+
{}
|
|
18
|
+
|
|
19
|
+
\renewenvironment{quote}
|
|
20
|
+
{\begin{tabular}{|p{13cm}}}
|
|
21
|
+
{\end{tabular}}
|
|
22
|
+
|
|
23
|
+
\titlespacing{\section}{0pt}{*3}{*1}
|
|
24
|
+
\titlespacing{\subsection}{0pt}{*2}{*0.5}
|
|
25
|
+
\titlespacing{\subsubsection}{0pt}{*1.5}{0pt}
|
|
26
|
+
|
|
27
|
+
\usepackage{authblk}
|
|
28
|
+
\makeatletter
|
|
29
|
+
\renewcommand\AB@authnote[1]{\rlap{\textsuperscript{\normalfont#1}}}
|
|
30
|
+
\renewcommand\Authsep{,~\,}
|
|
31
|
+
\renewcommand\Authands{,~\,and }
|
|
32
|
+
\makeatother
|
|
33
|
+
|
|
34
|
+
<%=@default_packages%>
|
|
35
|
+
<%=@header%>
|
|
36
|
+
|
|
37
|
+
\begin{document}
|
|
38
|
+
|
|
39
|
+
\title{<%=@long_title%>}
|
|
40
|
+
|
|
41
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
|
42
|
+
<%= @alternative_author_string %>
|
|
43
|
+
<% else %>
|
|
44
|
+
\author[ ]{<%=@first_author%>}
|
|
45
|
+
<% @coauthor_list.to_a.each do |coau| %>\author[ ]{<%=coau%>}
|
|
46
|
+
<% end %>
|
|
47
|
+
\affil[ ]{}
|
|
48
|
+
\vspace{-1em}
|
|
49
|
+
<% end %>
|
|
50
|
+
|
|
51
|
+
\date{}
|
|
52
|
+
|
|
53
|
+
\begingroup
|
|
54
|
+
\let\center\flushleft
|
|
55
|
+
\let\endcenter\endflushleft
|
|
56
|
+
\maketitle
|
|
57
|
+
\endgroup
|
|
58
|
+
|
|
59
|
+
<%= @abstract_begin_end %>
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
%% Copernicus Publications Manuscript Preparation Template for LaTeX Submissions
|
|
2
|
+
%% ---------------------------------
|
|
3
|
+
%% This template should be used for the following class files: copernicus.cls, copernicus2.cls, copernicus_discussions.cls
|
|
4
|
+
%% The class files, the Copernicus LaTeX Manual with detailed explanations regarding the comments
|
|
5
|
+
%% and some style files are bundled in the Copernicus Latex Package which can be downloaded from the different journal webpages.
|
|
6
|
+
%% For further assistance please contact the Publication Production Office (production@copernicus.org).
|
|
7
|
+
%% http://publications.copernicus.org
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
%% Differing commands regarding the specific class files are highlighted.
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
%% copernicus.cls
|
|
14
|
+
\documentclass[bg, manuscript]{copernicus}
|
|
15
|
+
|
|
16
|
+
%% copernicus2.cls
|
|
17
|
+
%\documentclass[journal abbreviation]{copernicus2}
|
|
18
|
+
|
|
19
|
+
%% copernicus_discussions.cls
|
|
20
|
+
%\documentclass[journal abbreviation, hvmath, online]{copernicus_discussions}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
<%=@default_packages%>
|
|
25
|
+
|
|
26
|
+
<%=@header%>
|
|
27
|
+
|
|
28
|
+
\begin{document}
|
|
29
|
+
|
|
30
|
+
\title{<%=@long_title%>}
|
|
31
|
+
|
|
32
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
|
33
|
+
<%= @alternative_author_string %>
|
|
34
|
+
<% else %>
|
|
35
|
+
\author[1]{<%=@first_author%>}
|
|
36
|
+
<% if !@coauthor_list.to_a.empty? %>
|
|
37
|
+
<% for i in (0..@coauthor_list.length-1) %>
|
|
38
|
+
\author[<%=i+2%>]{<%=@coauthor_list[i]%>}
|
|
39
|
+
<% end %><% end %>
|
|
40
|
+
|
|
41
|
+
\affil[1]{<%=@first_affiliation%>}
|
|
42
|
+
<% if !@coauthor_list.to_a.empty? %>
|
|
43
|
+
<% for i in (0..@coauthor_list.length-1) %>
|
|
44
|
+
\affil[<%=i+2%>]{<%=@coauthor_affiliations[i]%>}
|
|
45
|
+
<% end %><% end %>
|
|
46
|
+
<% end %>
|
|
47
|
+
%% The [] brackets identify the author to the corresponding affiliation, 1, 2, 3, etc. should be inserted.
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
\runningtitle{<%=@short_title%>}
|
|
52
|
+
|
|
53
|
+
\runningauthor{<%=@first_author%>}
|
|
54
|
+
|
|
55
|
+
\correspondence{<%=@first_author%>}
|
|
56
|
+
|
|
57
|
+
\received{}
|
|
58
|
+
\pubdiscuss{} %% only important for two-stage journals
|
|
59
|
+
\revised{}
|
|
60
|
+
\accepted{}
|
|
61
|
+
\published{}
|
|
62
|
+
|
|
63
|
+
%% These dates will be inserted by the Publication Production Office during the typesetting process.
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
\firstpage{1}
|
|
67
|
+
|
|
68
|
+
\maketitle %% Please note that for the copernicus2.cls this command needs to be inserted after \abstract{TEXT}
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
<%= @abstract_begin_end %>
|