quarto-dev / quarto-dev/quarto-cli

Author Schema not working properly in Beamer Template

Open
#11,612 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

beamer enhancement templates
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

I use the quarto author schema in beamer template. I am not able to get numbers to indicate author affiliation along with author names . I have modified the latex template using partials. This use to work well in scartcl format.

---
title: "title"
short-title: "shorttitle"
short-institute: "xy institute"
short-author: "john doe"
subtitle: "subtitle"
author: 
  - name: Author1.
    affiliations:
      - id: ref1
        number: 1
        name: Inst1
        department: dep1
    corresponding: true
    email: random@gmail.com
  - name: Author2
    affiliations:
      - ref: ref1
  - name: author 3
    affiliations:
      - id: ref2
        number: 2
        name: inst2
        department: dep2
format: 
  beamer: 
    theme: metropolis
    mainfont: Source Sans Pro
    template-partials: 
     - title.tex
    keep-tex: true 
date: today
date-format: medium
---

my modified title.tex is as follow

$if(title)$
\title$if(short-title)$[$short-title$]$endif${$title$$if(thanks)$\thanks{$thanks$}$endif$}
$endif$
$if(subtitle)$
\subtitle$if(shortsubtitle)$[$shortsubtitle$]$endif${$subtitle$}
$endif$


% Authors
$if(author)$
\author$if(shortauthor)$[$shortauthor$]$endif${$for(author)$$author$$sep$ \\
\and $endfor$}
$endif$

% Affiliations
$if(by-affiliation)$
\institute[$short-institute$]{
$for(by-affiliation)$
    \textsuperscript{$it.number$} $if(it.department)$$it.department$, $endif$$it.name$ \\ 
$endfor$
}
$endif$

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the supplied title.tex partial and inspect how the beamer template receives author and by-affiliation data; compare that path with the working scartcl case. Done means author names display their affiliation numbers in the beamer output while the listed affiliations remain visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.