【问题标题】:Add speaker notes to beamer presentations using RMarkdown使用 RMarkdown 将演讲者备注添加到投影仪演示文稿
【发布时间】:2017-12-07 22:39:14
【问题描述】:

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

这些演讲者备注通常会在演讲者在屏幕上演示时显示在他的计算机上,但不会在幻灯片上显示。

这可能吗?我该怎么做?

【问题讨论】:

  • 嗨 PL_Mrcy,如果答案解决了您的问题,您能否标记为已解决? :)

标签: r knitr r-markdown beamer


【解决方案1】:

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

改编自DanielEWeeks's GitHub

01.将以下内容添加到 YAML 部分

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

笔记看起来像:

03.然后,您将不得不两次 knit 文档,将 YAML header-includes 更改为

header-includes:
  - \setbeameroption{hide notes}   

为了创建没有注释的 pdf。

默认情况下,Rmarkdown 会覆盖之前创建的文档,所以你可能需要:

  1. 创建笔记 pdf 文档。
  2. 更改笔记 pdf 文档的名称。
  3. 更改 YAML 部分。
  4. 创建演示文稿 pdf 文档。

希望有一个我不知道的更好的方法。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-03-02
    • 1970-01-01
    • 1970-01-01
    • 2019-08-03
    • 2021-05-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多