[英]noframenumbering: no page number for specific slides in rmarkdown::beamer_presentation
In a LaTex beamer presentation generated with rmarkdown::beamer_presentation, how can I remove the slide numbers for specific slides?在使用 rmarkdown::beamer_presentation 生成的 LaTex 投影仪演示文稿中,如何删除特定幻灯片的幻灯片编号?
Since the slides contain plots and tables generated by R-markdown
, plain LaTex
approaches like the attempt below likely won't work.由于幻灯片包含由
R-markdown
生成的图表和表格,因此像下面的尝试这样的普通LaTex
方法可能不起作用。
``` {=latex}
\begin{frame}[noframenumbering]{Frame name}
Frame without slide number but with Rmd-generated tables and plots.
- All other frames still have slide numbers.
\end{frame}
```
The noframenumbering
option is not what you think it is. noframenumbering
选项不是您想的那样。 It is to exclude the frame from being counted.就是不计入帧数。
To remove the footline with the page numbering, you can use the plain
option:要删除带有页码的脚注,您可以使用
plain
选项:
---
output:
bookdown::pdf_book:
base_format: rmarkdown::beamer_presentation
theme: "THEMENAME"
slide_level: 2
keep_tex: true
---
## Slide 1 {.noframenumbering}
test
## Slide 2 {.plain}
test
## Slide 3
test
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.