From 2f19b36f522c3f4d498db0f75df9ce5f026c84ef Mon Sep 17 00:00:00 2001 From: Egon Willighagen Date: Sat, 9 Nov 2024 07:40:14 +0100 Subject: [PATCH] Roles at the bottom --- example/logic/paper.md | 1 + resources/biohackrxiv/latex.template | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) 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}