【问题标题】:R Markdown (Pandoc) beamer presentation with short title带有短标题的 R Markdown (Pandoc) 投影仪演示文稿
【发布时间】:2018-05-08 04:22:49
【问题描述】:

我正在尝试在 RMarkdown 和 YAML 标头中使用 beamer_presentation,例如,title: "Long title"。这个标题出现在我的幻灯片的第一个标题页上,但也出现在所有幻灯片的底部。但是,在所有幻灯片的底部,我希望出现一个较短的标题。我想知道是否可以使用short-title: "Short title" 之类的东西。我知道有 uiucthemes 允许这样做,但我不想使用 uiuc 样式。 谢谢!

【问题讨论】:

标签: yaml latex r-markdown pandoc beamer


【解决方案1】:

您可以将可选参数传递给将在脚注中使用的\title 宏:

---
title: "Long title"
output: 
  beamer_presentation:
    theme: "CambridgeUS"
    keep_tex: true
header-includes:
  - \AtBeginDocument{\title[short title for footline]{long title for title page}}

---



text

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-08-03
    • 2023-03-08
    • 1970-01-01
    • 2021-05-24
    • 2021-05-19
    • 2011-03-02
    • 2020-08-09
    • 1970-01-01
    相关资源
    最近更新 更多