Skip to content

Add Support for Beamer Template Partials #1658

Open

Description

@gulinan

Bug description

Hi, I am preparing a Beamer presentation in Quarto which will be rendered into .pdf later. When I include date of the talk and my institute in the YAML, it prints date before the institution in the pdf version. We generally prefer the date after the institution. In the source files of Quarto Beamer presentation, I have seen a source .tex file where the author and date fields are embedded together. I guess, for that reason, they get printed out together. I cannot modify the Quarto source files since they are read-only. I would appreciate if this can be fixed. I have another question on how to break long titles into two lines in the YAML too. I would like to thank you very much in advance.

---
title: "My talk title"
author: "My name"
institute: "My institute"
date: "August 02, 2022"
mathspec: true # for metropolis theme
execute: 
  enabled: true
  warning: false
  error: false
comments:
  hypothesis: 
    theme: clean
format: 
  beamer: 
    aspectratio: 32
    navigation: horizontal
    theme: metropolis
    colortheme: crane
    colorlinks: true
    highlight-style: tango
[question.pdf](https://github.com/quarto-dev/quarto-cli/files/9250720/question.pdf)

editor: visual
---

quarto check Output

No response

quarto tools check Output

No response

Checklist

  • formatted your issue so it is easier for us to read?
  • included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
  • documented the quarto version you're running, by pasting the output from running quarto check in the "Quarto Check Output" text area?
  • documented the version of the quarto tools you're running, by providing the output from running quarto tools check in the "Quarto Tools Check Output" text area?
  • documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • documented which operating system you're running? If on Linux, please provide the specific distribution as well.
  • upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?

Activity

  1. added
    bug
    on Aug 3, 2022
  2. changed the title [-]Institute field comes after Date field in the YAML of Quarto Beamer Presentations[/-] [+]Institute field comes after Date field in the rendered Quarto Beamer Presentations[/+] on Aug 3, 2022
  3. dragonstyle commented on Aug 4, 2022

    @dragonstyle
    Collaborator

    You can provide a completely custom template using the template option for your document. The template used by default is the pandoc latex template here:

    https://github.com/jgm/pandoc-templates/blob/master/default.latex

    It is a bit to bite off to replace this, though if you are willing it should work fine. We can do some additional work to make this easier in the future.

    Note to self - it would be useful to support template partials for Beamer presentations that would allow users to replace just this sort of thing. Additionally, would be nice to handle and document author/affiliation handling for Beamer in our standard way.

  4. gulinan commented on Aug 4, 2022

    @gulinan
    Author

    Thank you very much for your reply. I was thinking that my problem is coming from the lines 428-429 at

    https://github.com/jgm/pandoc-templates/blob/master/default.latex

    Actually, I am not an expert on latex/pandoc, but will work on it.

    Thank you very much.

  5. jjallaire commented on Aug 14, 2022

    @jjallaire
    Collaborator

    @dragonstyle I'll leave this open for v1.2 as a reminder to support template partials for beamer.

  6. added this to the v1.2 milestone on Aug 14, 2022
  7. modified the milestones: v1.2, v1.3 on Sep 23, 2022
  8. added
    enhancement
    on Nov 15, 2022
  9. modified the milestones: v1.3, v1.4 on Feb 22, 2023
  10. changed the title [-]Institute field comes after Date field in the rendered Quarto Beamer Presentations[/-] [+]Add Support for Beam Template Partials[/+] on Feb 22, 2023
  11. added
    early-in-release
    on Mar 13, 2023
  12. changed the title [-]Add Support for Beam Template Partials[/-] [+]Add Support for Beamer Template Partials[/+] on Jun 30, 2023
  13. modified the milestones: v1.4, v1.5 on Aug 8, 2023
  14. modified the milestones: v1.5, v1.6, Future on Feb 15, 2024
  15. added
    authors
    and removed
    early-in-release
    bug
    on Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    authorsbeamerenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions