使用RMarkdown为演讲者演示文稿添加演讲者备注

问题描述 投票:3回答:1

我想从RMarkdown文件创建一个beamer pdf演示文稿。我想在某些幻灯片中添加发言者注释并为这些注释设置选项(打印时不打印或打印时)。

这些演讲者笔记通常在扬声器的计算机上显示,当他在屏幕上呈现但从未在幻灯片上显示时。

那可能吗?我怎样才能做到这一点?

r knitr r-markdown beamer
1个回答
0
投票

可能的解决方法,但不幸的是不是纯粹降价

改编自DanielEWeeks's GitHub

01. Add the following to the YAML section

header-includes:
  - \setbeameroption{show notes}   

02.并添加备注作为

## This is a slide

this is (markdown) text in slide

\note{
this is a note (does not understand markdown and
and wont work in other outputs formats (such 
as ioslides or Slidy
}

## Next Slide

注释将如下所示:

Example of Beamer notes

03.然后你必须knit文件两次,改变YAML header-includes

header-includes:
  - \setbeameroption{hide notes}   

为了创建没有笔记的pdf。

默认情况下,Rmarkdown将覆盖以前创建的文档,因此您可能需要:

  1. 创建笔记pdf文档。
  2. 更改备注名称pdf-document。
  3. 改变YAML部分。
  4. 创建演示文稿pdf文档。

希望有一种我不了解的更好的方法。

© www.soinside.com 2019 - 2024. All rights reserved.