diff --git a/example/logic/paper.md b/example/logic/paper.md index 27e489d..d6cc5df 100644 --- a/example/logic/paper.md +++ b/example/logic/paper.md @@ -7,6 +7,7 @@ authors: - name: Chris Mungall orcid: 0000-0002-8021-9162 affiliation: 1 + role: Writing - name: Hirokazu Chiba affiliation: 2 - name: Shuichi Kawashima diff --git a/resources/biohackrxiv/latex.template b/resources/biohackrxiv/latex.template index ce2c33c..7bac0d8 100644 --- a/resources/biohackrxiv/latex.template +++ b/resources/biohackrxiv/latex.template @@ -495,6 +495,15 @@ $if(biblatex)$ $endif$ $for(include-after)$ $include-after$ - $endfor$ + +$if(authors)$ +\subsection*{Author contributions} + $for(authors)$ + $if(authors.role)$ + $authors.name$:\,$authors.role$ + $endif$ + $endfor$ +$endif$ + \end{document}