我正在尝试按照此pandoc示例将多个作者添加到yaml元数据块中的Rmarkdown文件中。 pdf将在RStudio(0.98.932版)中生成,但没有作者信息。
—
title: ‘This is the title: it contains a colon’
author:
– name: Author One
affiliation: University of Somewhere
– name: Author Two
affiliation: University of Nowhere
date: “r format(Sys.time(), '%d %B %Y')
”
tags: [nothing, nothingness]
abstract: |
This is the abstract.
It consists of two paragraphs.
output: pdf_document
—
我还想自定义标题并添加字幕。 可能?
如果您渲染pdf,LaTex会使用作者的脚注进行隶属关系(即,将符号转换为symbles)。 尝试
—
title: ‘This is the title: it contains a colon’
subtitle: ‘This is the subtitle’
author:
– Author One^[University of Somewhere]
– Author Two^[University of Nowhere]
date: “r format(Sys.time(), '%d %B %Y')
”
tags: [nothing, nothingness]
abstract: |
This is the abstract.
It consists of two paragraphs.
output: pdf_document
—