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,77 @@
|
|
1
|
+
\documentclass[letterpaper, %a4paper
|
2
|
+
%boxit,
|
3
|
+
%titlepage, % separate title page
|
4
|
+
%refpage % separate references
|
5
|
+
]{jacow}
|
6
|
+
%
|
7
|
+
% CHANGE SEQUENCE OF GRAPHICS EXTENSION TO BE EMBEDDED
|
8
|
+
% ----------------------------------------------------
|
9
|
+
% test for XeTeX where the sequence is by default eps-> pdf, jpg, png, pdf, ...
|
10
|
+
% and the JACoW template provides JACpic2v3.eps and JACpic2v3.jpg which
|
11
|
+
% might generates errors, therefore PNG and JPG first
|
12
|
+
%
|
13
|
+
\makeatletter%
|
14
|
+
\ifboolexpr{bool{xetex}}
|
15
|
+
{\renewcommand{\Gin@extensions}{.pdf,%
|
16
|
+
.png,.jpg,.bmp,.pict,.tif,.psd,.mac,.sga,.tga,.gif,%
|
17
|
+
.eps,.ps,%
|
18
|
+
}}{}
|
19
|
+
\makeatother
|
20
|
+
|
21
|
+
<%= @default_packages %>
|
22
|
+
\usepackage[final]{pdfpages}
|
23
|
+
%\usepackage{multirow}
|
24
|
+
\usepackage{ragged2e}
|
25
|
+
|
26
|
+
%
|
27
|
+
% if BibLaTeX is used
|
28
|
+
%
|
29
|
+
\ifboolexpr{bool{jacowbiblatex}}%
|
30
|
+
{%
|
31
|
+
\addbibresource{jacow-test.bib}
|
32
|
+
\addbibresource{biblatex-examples.bib}
|
33
|
+
}{}
|
34
|
+
\listfiles
|
35
|
+
|
36
|
+
%
|
37
|
+
% command for typesetting a \section like word
|
38
|
+
%
|
39
|
+
\newcommand\SEC[1]{\textbf{\uppercase{#1}}}
|
40
|
+
|
41
|
+
%%
|
42
|
+
%% Lengths for the spaces in the title
|
43
|
+
%% \setlength\titleblockstartskip{..} %before title, default 3pt
|
44
|
+
%% \setlength\titleblockmiddleskip{..} %between title + author, default 1em
|
45
|
+
%% \setlength\titleblockendskip{..} %afterauthor, default 1em
|
46
|
+
|
47
|
+
%\copyrightspace %default 1cm. arbitrary size with e.g. \copyrightspace[2cm]
|
48
|
+
|
49
|
+
% testing to fill the copyright space
|
50
|
+
%\usepackage{eso-pic}
|
51
|
+
%\AddToShipoutPictureFG*{\AtTextLowerLeft{\textcolor{red}{COPYRIGHTSPACE}}}
|
52
|
+
|
53
|
+
|
54
|
+
<%=@header%>
|
55
|
+
|
56
|
+
\begin{document}
|
57
|
+
|
58
|
+
\title{<%=@long_title%>}
|
59
|
+
|
60
|
+
\author{A. N. Author\thanks{email address}, H. Co-author, Name of Institute or Affiliation, City, Country \\
|
61
|
+
P. Contributor\textsuperscript{1}, Name of Institute or Affiliation, City, Country \\
|
62
|
+
\textsuperscript{1}also at Name of Secondary Institute or Affiliation, City, Country}
|
63
|
+
|
64
|
+
|
65
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
66
|
+
<%= @alternative_author_string %>
|
67
|
+
<% else %>
|
68
|
+
\author{<%=@first_author%>, <%=@first_affiliation%>
|
69
|
+
<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>\\
|
70
|
+
<%=@coauthor_list[i]%>\textsuperscript{<%=i+2%>}, <%=@coauthor_affiliations[i]%><% end %><% end %>}
|
71
|
+
<% end %>
|
72
|
+
|
73
|
+
\maketitle
|
74
|
+
|
75
|
+
<%= @abstract_begin_end %>
|
76
|
+
|
77
|
+
|
data/styles/jfm.tex.erb
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
% This is file JFM2esam.tex
|
2
|
+
% first release v1.0, 20th October 1996
|
3
|
+
% release v1.01, 29th October 1996
|
4
|
+
% release v1.1, 25th June 1997
|
5
|
+
% release v2.0, 27th July 2004
|
6
|
+
% release v3.0, 16th July 2014
|
7
|
+
% (based on JFMsampl.tex v1.3 for LaTeX2.09)
|
8
|
+
% Copyright (C) 1996, 1997, 2014 Cambridge University Press
|
9
|
+
|
10
|
+
\documentclass{jfm}
|
11
|
+
\usepackage{graphicx}
|
12
|
+
\usepackage{epstopdf, epsfig}
|
13
|
+
|
14
|
+
|
15
|
+
<%=@default_packages%>
|
16
|
+
|
17
|
+
<%=@header%>
|
18
|
+
|
19
|
+
\newtheorem{lemma}{Lemma}
|
20
|
+
\newtheorem{corollary}{Corollary}
|
21
|
+
|
22
|
+
\shorttitle{<%=@short_title%>}
|
23
|
+
\shortauthor{<%=@first_author%>}
|
24
|
+
|
25
|
+
\title{<%=@long_title%>}
|
26
|
+
|
27
|
+
|
28
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
29
|
+
<%= @alternative_author_string %>
|
30
|
+
<% else %>
|
31
|
+
\author{<%=@first_author%>\aff{1}<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>, \and <%=@coauthor_list[i]%>\affil{<%=i+2%>}<% end %><% end %>}
|
32
|
+
|
33
|
+
\affiliation{\aff{1}<%=@first_affiliation%>
|
34
|
+
<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>\aff{<%=i+2%>}<%=@coauthor_affiliations[i]%><% end %><% end %>}
|
35
|
+
|
36
|
+
<% end %>
|
37
|
+
|
38
|
+
\begin{document}
|
39
|
+
|
40
|
+
\maketitle
|
41
|
+
|
42
|
+
<%= @abstract_begin_end %>
|
43
|
+
|
data/styles/jhep.tex.erb
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
\documentclass[a4paper,11pt]{article}
|
2
|
+
\pdfoutput=1 % if your are submitting a pdflatex (i.e. if you have
|
3
|
+
% images in pdf, png or jpg format)
|
4
|
+
|
5
|
+
\usepackage{jheppub} % for details on the use of the package, please
|
6
|
+
% see the JHEP-author-manual
|
7
|
+
|
8
|
+
\usepackage[T1]{fontenc} % if needed
|
9
|
+
|
10
|
+
<%=@default_packages%>
|
11
|
+
|
12
|
+
<%=@header%>
|
13
|
+
|
14
|
+
\title{<%=@long_title%>}
|
15
|
+
|
16
|
+
|
17
|
+
%% %simple case: 2 authors, same institution
|
18
|
+
%% \author{A. Uthor}
|
19
|
+
%% \author{and A. Nother Author}
|
20
|
+
%% \affiliation{Institution,\\Address, Country}
|
21
|
+
|
22
|
+
|
23
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
24
|
+
<%= @alternative_author_string %>
|
25
|
+
<% else %>
|
26
|
+
\author[a]{<%=@first_author%>}
|
27
|
+
\affiliation[a]{<%=@first_affiliation%>}
|
28
|
+
<% end %>
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
% more complex case: 4 authors, 3 institutions, 2 footnotes
|
33
|
+
%\author[a,b,1]{F. Irst,\note{Corresponding author.}}
|
34
|
+
%\author[c]{S. Econd,}
|
35
|
+
%\author[a,2]{T. Hird\note{Also at Some University.}}
|
36
|
+
%\author[a,2]{and Fourth}
|
37
|
+
|
38
|
+
% The "\note" macro will give a warning: "Ignoring empty anchor..."
|
39
|
+
% you can safely ignore it.
|
40
|
+
|
41
|
+
%\affiliation[a]{One University,\\some-street, Country}
|
42
|
+
%\affiliation[b]{Another University,\\different-address, Country}
|
43
|
+
%\affiliation[c]{A School for Advanced Studies,\\some-location, Country}
|
44
|
+
|
45
|
+
% e-mail addresses: one for each author, in the same order as the authors
|
46
|
+
%\emailAdd{first@one.univ}
|
47
|
+
%\emailAdd{second@asas.edu}
|
48
|
+
%\emailAdd{third@one.univ}
|
49
|
+
%\emailAdd{fourth@one.univ}
|
50
|
+
|
51
|
+
|
52
|
+
\abstract{<%= @abstract %>}
|
53
|
+
|
54
|
+
\begin{document}
|
55
|
+
\maketitle
|
56
|
+
\flushbottom
|
57
|
+
|
@@ -0,0 +1,46 @@
|
|
1
|
+
\documentclass[a4paper,11pt]{article}
|
2
|
+
\pdfoutput=1 % if your are submitting a pdflatex (i.e. if you have
|
3
|
+
% images in pdf, png or jpg format)
|
4
|
+
|
5
|
+
\usepackage{jinstpub} % for details on the use of the package, please
|
6
|
+
% see the JINST-author-manual
|
7
|
+
|
8
|
+
<%=@default_packages%>
|
9
|
+
|
10
|
+
<%=@header%>
|
11
|
+
|
12
|
+
\title{<%=@long_title%>}
|
13
|
+
|
14
|
+
|
15
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
16
|
+
<%= @alternative_author_string %>
|
17
|
+
<% else %>
|
18
|
+
\author[a]{<%=@first_author%>}
|
19
|
+
\affiliation[a]{<%=@first_affiliation%>}
|
20
|
+
<% end %>
|
21
|
+
|
22
|
+
\abstract{<%= @abstract %>}
|
23
|
+
|
24
|
+
%\keywords{Only keywords from JINST's keywords list please}
|
25
|
+
|
26
|
+
|
27
|
+
%\arxivnumber{1234.56789} % only if you have one
|
28
|
+
|
29
|
+
|
30
|
+
% \collaboration{\includegraphics[height=17mm]{example-image}\\[6pt]
|
31
|
+
% XXX collaboration}
|
32
|
+
% or
|
33
|
+
%\collaboration[c]{on behalf of XXX collaboration}
|
34
|
+
|
35
|
+
|
36
|
+
% if you write for a special issue this may be useful
|
37
|
+
%\proceeding{N$^{\text{th}}$ Workshop on X\\
|
38
|
+
% when\\
|
39
|
+
% where}
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
\begin{document}
|
44
|
+
\maketitle
|
45
|
+
\flushbottom
|
46
|
+
|
data/styles/jrss.tex.erb
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
\documentclass{statsoc}
|
2
|
+
|
3
|
+
\usepackage{geometry}
|
4
|
+
\geometry{papersize={7.444in,9.681in},total={4.8in,6.8in}}
|
5
|
+
|
6
|
+
\usepackage{setspace}
|
7
|
+
\singlespacing
|
8
|
+
|
9
|
+
<%=@default_packages%>
|
10
|
+
|
11
|
+
<%=@header%>
|
12
|
+
|
13
|
+
|
14
|
+
\title[<%=@short_title%>]{<%=@long_title%>}
|
15
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
16
|
+
<%= @alternative_author_string %>
|
17
|
+
<% else %>
|
18
|
+
\author[<%=@first_author%> <% if !@coauthor_list.to_a.empty? %>{et~al.}<% end %>]{<%=@first_author%>}
|
19
|
+
\address{<%=@first_affiliation%>}
|
20
|
+
|
21
|
+
<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
|
22
|
+
\author{<%=@coauthor_list[i]%>}
|
23
|
+
\address{<%=@coauthor_affiliations[i]%>}
|
24
|
+
<% end %><% end %>
|
25
|
+
<% end %>
|
26
|
+
|
27
|
+
\begin{document}
|
28
|
+
|
29
|
+
<%= @abstract_begin_end %>
|
30
|
+
|
31
|
+
|
32
|
+
|
data/styles/jxb.tex.erb
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
\documentclass[10pt,a4paper]{article}
|
2
|
+
|
3
|
+
<%=@default_packages%>
|
4
|
+
\usepackage[usenames,dvipsnames]{xcolor}
|
5
|
+
\hypersetup{colorlinks=true,linkcolor=BrickRed,citecolor=OliveGreen,urlcolor=MidnightBlue}
|
6
|
+
|
7
|
+
% Use doublespacing
|
8
|
+
\usepackage{setspace}
|
9
|
+
|
10
|
+
%\usepackage{babel}
|
11
|
+
\doublespacing
|
12
|
+
|
13
|
+
% Text layout
|
14
|
+
\topmargin 0.0cm
|
15
|
+
\oddsidemargin 0.5cm
|
16
|
+
\evensidemargin 0.5cm
|
17
|
+
\textwidth 16cm
|
18
|
+
\textheight 21cm
|
19
|
+
|
20
|
+
% Figure labels
|
21
|
+
\usepackage[labelfont=bf,labelsep=endash,justification=raggedright]{caption}
|
22
|
+
|
23
|
+
% Leave date blank
|
24
|
+
\date{}
|
25
|
+
|
26
|
+
<%=@header%>
|
27
|
+
|
28
|
+
|
29
|
+
\begin{document}
|
30
|
+
% \linenumbers
|
31
|
+
|
32
|
+
\begin{flushleft}
|
33
|
+
{\LARGE
|
34
|
+
\textbf{<%=@long_title%>}
|
35
|
+
}
|
36
|
+
% Insert Author names, affiliations and corresponding author email.
|
37
|
+
\\
|
38
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
39
|
+
<%= @alternative_author_string %>
|
40
|
+
<% else %>
|
41
|
+
<%=@first_author%>$^{1}$<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>, <%=@coauthor_list[i]%>$^{<%=i+2%>}$<% end %><% end %>
|
42
|
+
\\
|
43
|
+
{\bf 1} <%=@first_affiliation%>
|
44
|
+
\\
|
45
|
+
|
46
|
+
<% if !@coauthor_affiliations.to_a.empty? %><% for i in (0..@coauthor_affiliations.length-1) %>
|
47
|
+
{\bf <%=i+2%>} <%=@coauthor_affiliations[i]%>
|
48
|
+
\\<% end %><% end %>
|
49
|
+
<% end %>
|
50
|
+
\end{flushleft}
|
51
|
+
|
52
|
+
<% if @abstract and !@abstract.blank? %>
|
53
|
+
\section*{Abstract}
|
54
|
+
<%=@abstract%>
|
55
|
+
<% end %>
|
56
|
+
|
data/styles/lncs.tex.erb
ADDED
@@ -0,0 +1,75 @@
|
|
1
|
+
|
2
|
+
%%%%%%%%%%%%%%%%%%%%%%% file typeinst.tex %%%%%%%%%%%%%%%%%%%%%%%%%
|
3
|
+
%
|
4
|
+
% This is the LaTeX source for the instructions to authors using
|
5
|
+
% the LaTeX document class 'llncs.cls' for contributions to
|
6
|
+
% the Lecture Notes in Computer Sciences series.
|
7
|
+
% http://www.springer.com/lncs Springer Heidelberg 2006/05/04
|
8
|
+
%
|
9
|
+
% It may be used as a template for your own input - copy it
|
10
|
+
% to a new file with a new name and use it as the basis
|
11
|
+
% for your article.
|
12
|
+
%
|
13
|
+
% NB: the document class 'llncs' has its own and detailed documentation, see
|
14
|
+
% ftp://ftp.springer.de/data/pubftp/pub/tex/latex/llncs/latex2e/llncsdoc.pdf
|
15
|
+
%
|
16
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
17
|
+
|
18
|
+
|
19
|
+
\documentclass[runningheads,a4paper]{llncs}
|
20
|
+
|
21
|
+
<%=@default_packages%>
|
22
|
+
|
23
|
+
\usepackage{amssymb}
|
24
|
+
\setcounter{tocdepth}{3}
|
25
|
+
%\usepackage{graphicx}
|
26
|
+
|
27
|
+
\urldef{\mailsa}\path|{alfred.hofmann, ursula.barth, ingrid.haas, frank.holzwarth,|
|
28
|
+
\urldef{\mailsb}\path|anna.kramer, leonie.kunz, christine.reiss, nicole.sator,|
|
29
|
+
\urldef{\mailsc}\path|erika.siebert-cole, peter.strasser, lncs}@springer.com|
|
30
|
+
\newcommand{\keywords}[1]{\par\addvspace\baselineskip
|
31
|
+
\noindent\keywordname\enspace\ignorespaces#1}
|
32
|
+
|
33
|
+
<%=@header%>
|
34
|
+
|
35
|
+
\begin{document}
|
36
|
+
|
37
|
+
\mainmatter % start of an individual contribution
|
38
|
+
|
39
|
+
% first the title is needed
|
40
|
+
\title{<%=@long_title%>}
|
41
|
+
|
42
|
+
% a short form should be given in case it is too long for the running head
|
43
|
+
\titlerunning{<%=@short_title%>}
|
44
|
+
|
45
|
+
% the name(s) of the author(s) follow(s) next
|
46
|
+
%
|
47
|
+
% NB: Chinese authors should write their first names(s) in front of
|
48
|
+
% their surnames. This ensures that the names appear correctly in
|
49
|
+
% the running heads and the author index.
|
50
|
+
%
|
51
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
52
|
+
<%= @alternative_author_string %>
|
53
|
+
<% else %>
|
54
|
+
\author{<%=@first_author%>%
|
55
|
+
<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>\and <%=@coauthor_list[i]%><% end %><% end %>}
|
56
|
+
|
57
|
+
% the affiliations are given next; don't give your e-mail address
|
58
|
+
% unless you accept that it will be published
|
59
|
+
\institute{<%=@first_affiliation%>}
|
60
|
+
<% end %>
|
61
|
+
%
|
62
|
+
% NB: a more complex sample for affiliations and the mapping to the
|
63
|
+
% corresponding authors can be found in the file "llncs.dem"
|
64
|
+
% (search for the string "\mainmatter" where a contribution starts).
|
65
|
+
% "llncs.dem" accompanies the document class "llncs.cls".
|
66
|
+
%
|
67
|
+
|
68
|
+
\toctitle{Lecture Notes in Computer Science}
|
69
|
+
\tocauthor{<%=@long_title%>}
|
70
|
+
\maketitle
|
71
|
+
|
72
|
+
|
73
|
+
<%= @abstract_begin_end %>
|
74
|
+
|
75
|
+
|
data/styles/mdpi.tex.erb
ADDED
@@ -0,0 +1,122 @@
|
|
1
|
+
% LaTeX support: latex@mdpi.com
|
2
|
+
% In case you need support, please attach any log files that you could have, and specify the details of your LaTeX setup (which operating system and LaTeX version / tools you are using).
|
3
|
+
|
4
|
+
%=================================================================
|
5
|
+
|
6
|
+
% LaTeX Class File and Rendering Mode (choose one)
|
7
|
+
% You will need to save the "mdpi.cls" and "mdpi.bst" files into the same folder as this template file.
|
8
|
+
|
9
|
+
%=================================================================
|
10
|
+
|
11
|
+
\documentclass[journal,article,accept,moreauthors,pdftex,12pt,a4paper]{mdpi}
|
12
|
+
%--------------------
|
13
|
+
% Class Options:
|
14
|
+
%--------------------
|
15
|
+
% journal
|
16
|
+
%----------
|
17
|
+
% Choose between the following MDPI journals:
|
18
|
+
% actuators, administrativesciences, aerospace, agriculture, agronomy, algorithms, animals, antibiotics, antibodies, antioxidants, appliedsciences, arts, atmosphere, atoms, axioms, batteries, behavioralsciences, bioengineering, biology, biomedicines, biomolecules, biosensors, brainsciences, buildings, cancers, catalysts, cells, challenges, chemosensors, children, chromatography, climate, coatings, computation, computers, cosmetics, crystals, dentistryjournal, diagnostics, diseases, diversity, econometrics, economies, education, electronics, energies, entropy, environmentalsciences, environments, epigenomes, fibers, foods, forests, futureinternet, galaxies, games, gels, genealogy, genes, geosciences, healthcare, horticulturae, humanities, hydrology, informatics, information, inorganics, insects, ijerph, ijfs, ijms, ijgi, jcdd, jcm, jdb, jfb, jimaging, jof, joi, jlpea, jmse, jpm, jrfm, jsan, land, laws, life, lubricants, machines, marinedrugs, materials, mathematics, medicalsciences, membranes, metabolites, metals, microarrays, micromachines, microorganisms, minerals, molbank, molecules, nanomaterials, ncrna, nutrients, pathogens, pharmaceuticals, pharmaceutics, pharmacy, photonics, plants, polymers, processes, proteomes, publications, religions, remotesensing, resources, risks, robotics, safety, sensors, sinusitis, socialsciences, societies, sports, standards, sustainability, symmetry, systems, technologies, toxics, toxins, universe, vaccines, veterinarysciences, viruses, water
|
19
|
+
%---------
|
20
|
+
% article
|
21
|
+
%---------
|
22
|
+
% The default type of manuscript is article, but could be replaced by using one of the class options:
|
23
|
+
% article, review, communication, commentary, bookreview, correction, addendum, editorial, changes, supfile, casereport, comment, conceptpaper, conferencereport, meetingreport, discussion, essay, letter, newbookreceived, opinion, projectreport, reply, retraction, shortnote, technicalnote, creative
|
24
|
+
%----------
|
25
|
+
% submit
|
26
|
+
%----------
|
27
|
+
% The class option "submit" will be changed to "accept" by the Editorial Office when the paper is accepted. This will only make changes to the frontpage (e.g. the logo of the journal will get visible), the headings, and the copyright information. Journal info and pagination for accepted papers will also be assigned by the Editorial Office.
|
28
|
+
% Please insert a blank line is before and after all equation and eqnarray environments to ensure proper line numbering when option submit is chosen
|
29
|
+
%------------------
|
30
|
+
% moreauthors
|
31
|
+
%------------------
|
32
|
+
% If there is only one author the class option oneauthor should be used. Otherwise use the class option moreauthors.
|
33
|
+
%---------
|
34
|
+
% pdftex
|
35
|
+
%---------
|
36
|
+
% The option "pdftex" is for use with pdfLaTeX only. If eps figure are used, use the optioin "dvipdfm", with LaTeX and dvi2pdf only.
|
37
|
+
|
38
|
+
%=================================================================
|
39
|
+
\setcounter{page}{1}
|
40
|
+
\lastpage{x}
|
41
|
+
\doinum{10.3390/------}
|
42
|
+
\pubvolume{xx}
|
43
|
+
\pubyear{2015}
|
44
|
+
%\externaleditor{Academic Editor: xx}
|
45
|
+
\history{Received: xx / Accepted: xx / Published: xx}
|
46
|
+
%------------------------------------------------------------------
|
47
|
+
% The following line should be uncommented if the LaTeX file is uploaded to arXiv.org
|
48
|
+
%\pdfoutput=1
|
49
|
+
|
50
|
+
%=================================================================
|
51
|
+
|
52
|
+
% Add packages and commands to include here
|
53
|
+
% The amsmath, amsthm, amssymb, hyperref, caption, float and color packages are loaded by the MDPI class.
|
54
|
+
%\usepackage{graphicx}
|
55
|
+
%\usepackage{subfigure,psfig}
|
56
|
+
|
57
|
+
%=================================================================
|
58
|
+
%% Please use the following mathematics environments:
|
59
|
+
%\theoremstyle{mdpi}
|
60
|
+
%\newcounter{thm}
|
61
|
+
%\setcounter{thm}{0}
|
62
|
+
%\newcounter{ex}
|
63
|
+
%\setcounter{ex}{0}
|
64
|
+
%\newcounter{re}
|
65
|
+
%\setcounter{re}{0}
|
66
|
+
%\newtheorem{Theorem}[thm]{Theorem}
|
67
|
+
%\newtheorem{Lemma}[thm]{Lemma}
|
68
|
+
%\newtheorem{Characterization}[thm]{Characterization}
|
69
|
+
%\newtheorem{Proposition}[thm]{Proposition}
|
70
|
+
%\newtheorem{Property}[thm]{Property}
|
71
|
+
%\newtheorem{Problem}[thm]{Problem}
|
72
|
+
%\newtheorem{Example}[ex]{Example}
|
73
|
+
%\newtheorem{Remark}[re]{Remark}
|
74
|
+
%\newtheorem{Corollary}[thm]{Corollary}
|
75
|
+
%\newtheorem{Definition}[thm]{Definition}
|
76
|
+
%% For proofs, please use the proof environment (the amsthm package is loaded by the MDPI class).
|
77
|
+
|
78
|
+
%=================================================================
|
79
|
+
|
80
|
+
|
81
|
+
<%=@default_packages%>
|
82
|
+
|
83
|
+
\usepackage[english]{babel}
|
84
|
+
|
85
|
+
<%=@header%>
|
86
|
+
|
87
|
+
|
88
|
+
% Full title of the paper (Capitalized)
|
89
|
+
\Title{<%=@long_title%>}
|
90
|
+
|
91
|
+
% Authors (Add full first names)
|
92
|
+
<% if !@alternative_author_string.to_s.empty? %>
|
93
|
+
<%= @alternative_author_string %>
|
94
|
+
<% else %>
|
95
|
+
\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 %>}
|
96
|
+
|
97
|
+
% Affiliations / Addresses (Add [1] after \address if there is only one affiliation.)
|
98
|
+
\address{%
|
99
|
+
$^{1}$ <%=@first_affiliation%>\\ <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>
|
100
|
+
$^{<%=i+2%>}$ <%=@coauthor_affiliations[i]%><% end %><% end %>}
|
101
|
+
|
102
|
+
% Contact information of the corresponding author (Add [2] after \corres if there are more than one corresponding author.)
|
103
|
+
\corres{<%=@first_affiliation%>}
|
104
|
+
<% end %>
|
105
|
+
|
106
|
+
% Abstract (Do not use inserted blank lines, i.e. \\)
|
107
|
+
\abstract{<%=@abstract%>}
|
108
|
+
|
109
|
+
% Keywords: add 3 to 10 keywords
|
110
|
+
\keyword{}
|
111
|
+
|
112
|
+
% The fields PACS, MSC, and JEL may be left empty or commented out if not applicable
|
113
|
+
%\PACS{}
|
114
|
+
%\MSC{}
|
115
|
+
%\JEL{}
|
116
|
+
|
117
|
+
% If this is an expanded version of a conference paper, please cite it here: enter the full citation of your conference paper, and add $^\dagger$ in the end of the title of this article.
|
118
|
+
%\conference{}
|
119
|
+
|
120
|
+
\begin{document}
|
121
|
+
|
122
|
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|