在 R markdown beamer 演示文稿的 header 中插入一个手动段落
Insert a manual paragraph in an header of an R markdown beamer presentation
我正在用 R Markdown 做一个 beamer 演示。我想在某些 header 中插入一个手动段落。到目前为止,这是我的代码:
---
title: "An Introduction to Statistical Analysis with R"
author: Me
date: "15th of October 2019"
output:
beamer_presentation:
slide_level: 2
---
# This is my first header
在 Beamer PDF 文件中,我希望 header 像这样分成两个单独的段落:
This is my
first header
有办法吗?
最简单的方法是在我的后面加上2 space,即
这是我的[space][space]
第一个header
试试看。
您可以简单地使用 LaTeX \newline
命令:
---
title: "Untitled"
author: "duckmayr"
date: "10/23/2019"
output: beamer_presentation
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```
## Multiline \newline Heading
blah blah blah
我正在用 R Markdown 做一个 beamer 演示。我想在某些 header 中插入一个手动段落。到目前为止,这是我的代码:
---
title: "An Introduction to Statistical Analysis with R"
author: Me
date: "15th of October 2019"
output:
beamer_presentation:
slide_level: 2
---
# This is my first header
在 Beamer PDF 文件中,我希望 header 像这样分成两个单独的段落:
This is my
first header
有办法吗?
最简单的方法是在我的后面加上2 space,即
这是我的[space][space]
第一个header
试试看。
您可以简单地使用 LaTeX \newline
命令:
---
title: "Untitled"
author: "duckmayr"
date: "10/23/2019"
output: beamer_presentation
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```
## Multiline \newline Heading
blah blah blah