如何在R markdown的Beamer演示的标题页中添加更多信息?

时间:2019-06-18 11:59:19

标签: r markdown r-markdown page-title

我尝试过这种方法

title: "Course"
author: |
        |           %email:
        |           %office
output: 
  beamer_presentation

但是,它将在每张幻灯片的左下角显示块“作者”的所有信息。

我希望得到这样的结果

This is the title

Author

email:
office:

Date

谢谢。

1 个答案:

答案 0 :(得分:0)

您可以设置一个简短的作者选项\author[short form for footline]{long form for titlepage}来修改显示在脚注中的文本:

---
title: "Course"
author: |
        |           %email:
        |           %office
output: 
  beamer_presentation:
    theme: Dresden
header-includes:
   - \AtBeginDocument{\author[Author]{Author\\ email:\\ office:}}
---

test

enter image description here