Skip to content

Commit

Permalink
Merge pull request #15 from fwkoch/feat/affiliations
Browse files Browse the repository at this point in the history
  • Loading branch information
dressedfez authored Aug 10, 2023
2 parents 977c595 + ea3f52f commit bc24e6a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
17 changes: 12 additions & 5 deletions examples/myst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,29 @@ project:
- name: Bugs Bunny
orcid: 0000-0002-5591-9220
affiliations:
- Looney Tune Studios
collaborations:
- cool collaboration
- lts
- cc
- name: Roger Rabbit
corresponding: true
email: Roger.Rabbit@LooneyTuneStudios.com
website: https://www.looneytunestudio.com
affiliations:
- Looney Tune Studios
- lts
- name: Mickey Mouse
affiliations:
- Disney World
- dw
website: https://www.disneyworld.com
github: https://github.com/dressedfez/myst_template_physical_review_journals
# bibliography: []
license: CC-BY-4.0
affiliations:
- id: lts
name: Looney Tune Studios
- id: dw
name: Disney World
- id: cc
name: cool collaboration
collaboration: true
site:
template: book-theme
# title:
Expand Down
4 changes: 2 additions & 2 deletions template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@

[#- if author.affiliations #]
[#- for affiliation in author.affiliations -#]
\affiliation{[-- affiliation.value --]}
\affiliation{[-- affiliation.value.name --]}
[#- endfor -#]
[# endif -#]

[#- if author.collaborations #]
[#- for collaboration in author.collaborations -#]
\collaboration{[-- collaboration.value --]}\noaffiliation
\collaboration{[-- collaboration.value.name --]}\noaffiliation
[#- endfor -#]
[# endif -#]
[#- endfor -#]
Expand Down

0 comments on commit bc24e6a

Please sign in to comment.