8000 Affiliation multiple authors · Issue #87 · rstudio/revealjs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Affiliation multiple authors #87

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ghost opened this issue Jun 3, 2021 · 2 comments
Open

Affiliation multiple authors #87

ghost opened this issue Jun 3, 2021 · 2 comments
Labels
feature a feature request or enhancement template pandoc's template

Comments

@ghost
Copy link
ghost commented Jun 3, 2021

Sorry for the stupid question, is it possible to add affiliation/institution for multiple authors? As it is for Beamer presentations.

@apreshill apreshill added the question general questions - not an issue label Jul 26, 2021
@cderv
Copy link
Collaborator
cderv commented Sep 17, 2021

No it is not possible to do it like with beamer. The only supported field by the template is author:

We could however do like with official pandoc's template and add support for an institute field: jgm/pandoc#7289

We can't add exactly what is inside the pandoc template because it uses <p> tags, we can can certainly add it as h2 or h3.

@cderv cderv added feature a feature request or enhancement template pandoc's template next to consider for next release and removed question general questions - not an issue labels Sep 17, 2021
cderv added a commit that referenced this issue Sep 23, 2021
contribute to #87 by bringing at least same template as in Pandoc
@cderv
Copy link
Collaborator
cderv commented Sep 23, 2021

For now I merged #122 which brings the institue field as documented in Pandoc MANUAL
https://pandoc.org/MANUAL.html#variables-for-html-slides

This allows to add a new line between author and dates. It is not great when you use list in author and institute as it will create new lines for each.

This would be something to solve in Pandoc or that we will deal with later by patching the template.

---
title: "Untitled"
author: Bob, Joe
institute: One PBC, Two PBC
date: "09/08/2021"
output: 
  revealjs::revealjs_presentation: default
---

image

Note that only the author field can be used for this too

---
title: "Untitled"
author: 
  - Bob, One PBC
  - Joe, Two PBC
date: "09/08/2021"
output: 
  revealjs::revealjs_presentation: default
---

image

@cderv cderv removed the next to consider for next release label Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement template pandoc's template
Projects
None yet
Development

No branches or pull requests

2 participants
0