diff --git a/inst/rmarkdown/templates/elsevier_article/resources/template.tex b/inst/rmarkdown/templates/elsevier_article/resources/template.tex index 2b3ca725f..33c5135a8 100644 --- a/inst/rmarkdown/templates/elsevier_article/resources/template.tex +++ b/inst/rmarkdown/templates/elsevier_article/resources/template.tex @@ -147,13 +147,15 @@ \title{$title$} $for(author)$ - \author[$author.affiliation$]{$author.name$$if(author.footnote)$\corref{c1}$endif$} + \author[$author.affiliation$]{$author.name$$if(author.footnote)$\corref{$author.footnote$}$endif$} $if(author.email)$ \ead{$author.email$} $endif$ - $if(author.footnote)$ \cortext[c1]{$author.footnote$}$endif$ $endfor$ $for(address)$ \address[$address.code$]{$address.address$} $endfor$ + $for(footnote)$ + \cortext[$footnote.code$]{$footnote.text$} + $endfor$ \begin{abstract} $abstract$ diff --git a/inst/rmarkdown/templates/elsevier_article/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/elsevier_article/skeleton/skeleton.Rmd index fd6d573ad..a09d8768c 100644 --- a/inst/rmarkdown/templates/elsevier_article/skeleton/skeleton.Rmd +++ b/inst/rmarkdown/templates/elsevier_article/skeleton/skeleton.Rmd @@ -4,15 +4,28 @@ author: - name: Alice Anonymous email: alice@example.com affiliation: Some Institute of Technology - footnote: Corresponding Author + footnote: 1 - name: Bob Security email: bob@example.com affiliation: Another University + - name: Cat Memes + email: cat@example.com + affiliation: Another University + footnote: 2 + - name: Derek Zoolander + email: derek@example.com + affiliation: Some Institute of Technology + footnote: 2 address: - code: Some Institute of Technology address: Department, Street, City, State, Zip - code: Another University address: Department, Street, City, State, Zip +footnote: + - code: 1 + text: "Corresponding Author" + - code: 2 + text: "Equal contribution" abstract: | This is the abstract.