Dan*_*iel 5 yaml beamer pandoc r-markdown
我正在尝试beamer_presentation在 RMarkdown 和 YAML 标头中使用,例如,title: "Long title". 此标题出现在我的幻灯片的第一个标题页上,但也出现在所有幻灯片的底部。但是,在所有幻灯片的底部,我希望出现一个较短的标题。我想知道是否short-title: "Short title"可以使用类似的东西。我知道uiucthemes允许这样做,但我不想使用 uiuc 样式。谢谢!
您可以将可选参数传递给\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
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1543 次 |
| 最近记录: |