Skip to content

Commit

Permalink
Allow multiple affiliations
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemahoney218 committed Dec 5, 2023
1 parent 5036b08 commit e1621f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ There are currently a few differences between the PDFs generated by this templat
1. The fonts and spacings are not a perfect match. PRs to fix this are more than welcome.
2. References and links are not currently hyperlinked. PRs to fix this also more than welcome.
3. ORCiD IDs will be rendered as clickable logos next to author names. This is an intentional change.
4. Emails will be displayed as hyperlinks, and not in monospaced font. This is also intentional.
4. Emails will be displayed as hyperlinks, and not in monospaced font. This is intentional.
5. Authors with multiple affiliations will have each affiliation listed. This is intentional.

Any other differences are unintentional bugs -- please open an issue about anything you encounter!

Expand Down
2 changes: 1 addition & 1 deletion _extensions/arxiv/_extension.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
title: ArXiv Template
author: Mike Mahoney
version: 0.2.1
version: 0.2.3
contributes:
formats:
common:
Expand Down
2 changes: 1 addition & 1 deletion _extensions/arxiv/partials/_authors.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
$-- Use it if you need to insert content at this specific place of the main Pandoc's template. Otherwise, remove it.
$-- Here we are using it to format the authors part of the template.
$-- %%%%%%%%%%%%%%%
\textbf{$it.name.literal$}$if(it.orcid)$~\orcidlink{$it.orcid$}$endif$$for(it.affiliations/first)$\\$it.department$\\$it.name$\\$if(it.city)$$it.city$$if(it.postal-code)$,\ $it.postal-code$$endif$$endif$$endfor$\\$if(it.email)$\href{mailto:$it.email$}{$it.email$}$endif$
\textbf{$it.name.literal$}$if(it.orcid)$~\orcidlink{$it.orcid$}$endif$$for(it.affiliations)$\\$it.department$\\$it.name$\\$if(it.city)$$it.city$$if(it.postal-code)$,\ $it.postal-code$$endif$$endif$$endfor$\\$if(it.email)$\href{mailto:$it.email$}{$it.email$}$endif$

0 comments on commit e1621f8

Please sign in to comment.