我想从RMarkdown文件创建一个beamer pdf演示文稿。我想在某些幻灯片中添加发言者注释并为这些注释设置选项(打印时不打印或打印时)。
这些演讲者笔记通常在扬声器的计算机上显示,当他在屏幕上呈现但从未在幻灯片上显示时。
那可能吗?我怎样才能做到这一点?
header-includes:
- \setbeameroption{show notes}
## 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
注释将如下所示:
knit
文件两次,改变YAML header-includes
到header-includes:
- \setbeameroption{hide notes}
为了创建没有笔记的pdf。
默认情况下,Rmarkdown将覆盖以前创建的文档,因此您可能需要:
希望有一种我不了解的更好的方法。