我想在 Rmarkdown 投影仪演示文稿中将作者的名字分成两行。我的 YAML 如下:
---
title: "***"
author:
- Author One
- Author Two
date: "`r format(Sys.time(), '%d %B %Y')`"
fontsize: 14pt
output:
beamer_presentation:
fig_height: 5
fig_width: 8
highlight: tango
theme: metropolis
incremental: true
---
Run Code Online (Sandbox Code Playgroud)
但作者的名字仍然印在同一行上。怎样才能分成两半呢?
如果您在第一作者之后使用该TeX命令\newline,这将呈现在第二行。
---
title: "***"
author:
- Author One\newline
- Author Two
date: "`r format(Sys.time(), '%d %B %Y')`"
fontsize: 14pt
output:
beamer_presentation:
fig_height: 5
fig_width: 8
highlight: tango
theme: metropolis
incremental: true
---
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4234 次 |
| 最近记录: |