Skip to content

Commit e086a09

Browse files
authored
Merge pull request #151 from DE-RSE/plos-orcid-ror
enable orcid and ror links in plos template
2 parents a63c59f + fa40a61 commit e086a09

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

contributors_plos.tex.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
% Note: the zero-width character <200b> is in here on purpose (to not mess up authors without
77
% affiliation)
88
{%- for author in data.authors %}
9-
{{ author.author }}​{% if author.affiliations %}\textsuperscript{{ "{" }}{{ author.affiliations|join(",") }}{% if author.corresponding_author is defined and author.corresponding_author %}*{% endif %}{{ "}" }}{% endif %}
9+
{{ author.author }}​{% if author.affiliations %}\textsuperscript{{ "{" }}{{ author.affiliations|join(",") }}{% if author.corresponding_author is defined and author.corresponding_author %}*{% endif %}{% if author.orcid is defined %}\texorpdfstring{\thinspace\orcidlink{ {{-author.orcid-}} }}{}{% endif %}{{ "}" }}{% endif %}
1010
{%- endfor %}
1111
\\
1212
\bigskip
1313
{%- for index, affiliation in data.affiliations.items() %}
14-
\textbf{{ "{" }}{{ index }}{{ "}" }} {{ affiliation.name }}
14+
\textbf{{ "{" }}{{ index }}{{ "}" }} {{ affiliation.name }}{% if affiliation.ror is defined %}\texorpdfstring{\thinspace\rorlink{ {{-affiliation.ror-}} }} {}{% endif %}
1515
\\
1616
{%- endfor %}
1717
\bigskip

paper.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
% colour can be used to apply background shading to table cells only
3636
\usepackage[table]{xcolor}
3737

38+
\usepackage{orcidlink}
39+
\usepackage{rorlink}
40+
3841
% array package and thick rules for tables
3942
\usepackage{array}
4043

0 commit comments

Comments
 (0)