当使用knitr
使用法兰克福主题制作光束幻灯片时,PDF输出包括带有节名和分段名称的幻灯片。
---
title: Movies
author: Chewy
output:
beamer_presentation:
slide_level: 3
theme: "Frankfurt"
---
```{r setup, include=FALSE}
Knitr::opts_chunk$set(回声=假)
#Introduction
##Background
###History
A long time ago ...
###History
... in a galaxy far far away
#The End
##This the end
### My only friend, the end
给出这个输出..。
幻灯片1-4:
幻灯片5-8:
我如何摆脱幻灯片(2,3,6和7)的章节和分段标题,同时保持显示在幻灯片顶部的文档结构?
发布于 2016-07-04 09:51:55
这些帧是由命令\AtBeginSubsection{}
和\AtBeginSection{}
生成的,您可以在YAML前端重新定义这些命令,而不用做任何事情:
---
header-includes:
- \AtBeginSubsection{}
- \AtBeginSection{}
---
https://stackoverflow.com/questions/38180441
复制相似问题