Short title YAML option for Beamer #5620
Replies: 5 comments 8 replies
-
It has to be in an if Beamer statement, because the partial is not specific to Beamer. See https://quarto.org/docs/reference/formats/pdf.html for other options. Feel free to submit a PR. |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
@wklimowicz Was this implemented at last? |
Beta Was this translation helpful? Give feedback.
-
Here is a hack altough it's horrible:
EDIT: Changed the hack to also include the other entries @mcanouil can we move this into an issue? |
Beta Was this translation helpful? Give feedback.
-
This was fixed upstream: jgm/pandoc#10248 @mcanouil Do we need to do something for it to propagate here? Or is it automatic as a new quarto version will include a pandoc that support this? |
Beta Was this translation helpful? Give feedback.
-
In some beamer themes, the title of the presentation shows up at the bottom of each slide. Some titles don't fit:
There is an option for adding a shorter title at the bottom with square brackets on
\title
:\title[Short Title]{This is the long title}
This works for beamer, but also for some document classes like
amsart
.This seems like a clean implementation (line breaks for clarity):
src/resources/formats/pdf/pandoc/title.tex:
\title +$if(shorttitle)$[$shorttitle$]$endif$ {$title$$if(thanks)$\thanks{$thanks$}$endif$}
And the
qmd
file:An easy PR but I thought I'd check here first -- any thoughts? It would only work for some LaTeX formats, and I don't know whether the YAML key should be
short-title
orshorttitle
.Beta Was this translation helpful? Give feedback.
All reactions