我正在RMarkdown中使用beamer_presentation,并且在YAML标头中使用title: "Long title"。该标题显示在我的幻灯片的第一个标题页上,也出现在所有幻灯片的底部。但是,在所有幻灯片的底部,我希望出现一个较短的标题。我想知道是否可以使用short-title: "Short title"之类的东西。我知道有uiucthemes允许这样做,但是我不想使用uiuc样式。谢谢!
beamer_presentation
title: "Long title"
short-title: "Short title"
uiucthemes
您可以将可选参数传递给\title宏,该宏将在注脚中使用:
\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