我想在Rmarkdown beamer演示文稿中将作者的名字分成两行。我的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
---
但是,作者的名字仍然印在同一行上。我怎么才能一分为二呢?
发布于 2017-09-17 11:16:28
如果在第一个作者之后使用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
---
https://stackoverflow.com/questions/46260273
复制相似问题