首页 > 解决方案 > 如何在 R Markdown 的投影仪演示文稿的标题页中添加更多信息?

问题描述

我试过这样的方法,

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

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

我希望得到这样的结果,

This is the title

Author

email:
office:

Date

谢谢。

标签: rlatexr-markdownmarkdownpage-title

解决方案


您可以设置一个简短的作者选项\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

在此处输入图像描述


推荐阅读