wol*_*oor 5 latex yaml r beamer r-markdown
我在 rmarkdown 文档中有一个很长的标题,我想在特定位置强制换行。
最小示例:
---
title: "Quite long title want the * line break at the asterisk"
output: beamer_presentation
---
Run Code Online (Sandbox Code Playgroud)
我尝试过: \n、\newline、\ 和手动换行符。它们似乎都不起作用。
我相信这必须非常简单,但我还没有找到解决方案。
你必须逃避\:
---
title: "Quite long title want the \\newline line break at the asterisk"
output:
beamer_presentation:
keep_tex: true
---
test
Run Code Online (Sandbox Code Playgroud)