我一直在通过 Mac 上的 RStudio 成功使用 RMarkdown。
最近升级到 RStudio 1.2.5019 和 tinytex_0.18,现在我的“标题块”和“第一个正文/标题”之间的垂直间距增加了。
简单的例子,(故意排除author:和date:),是:
---
output:
pdf_document
title: "Example of Title to Body Text"
subtitle: Subtitle Places Here
---
This is the first paragraph (or heading if specified as such). It is quite a way down from the title of the document. How can this be reduced to a "single line" vertical space?
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.
Run Code Online (Sandbox Code Playgroud)
然后我尝试使用“titlesec”包,但无法确定使用哪个命令来实现所需的结果。尝试的例子是:
--- …Run Code Online (Sandbox Code Playgroud)