我必须在我的标题幻灯片中加入一条注释声明我的资金来源。我能够通过LyX / LaTeX实现此操作:
\author{Michael Chirico\thanks{These people gave me money}, Other Authors}
我无法在Rmarkdown中复制这个问题。该网站提到使用[^]
来标记脚注,这在其他幻灯片中运行良好,但是我无法使其在标题中起作用:
---
title: "Title"
author: "Michael Chirico[^thanks], Other Authors"
date: "February 10, 2016"
output: beamer_presentation
[^thanks]: These people gave me money
---
这个 .pdf 文件已经编译成功,但没有标题页。我认为这是编译日志中相关部分的记录:
pandoc: 无法解析 YAML 头信息:UnexpectedEvent {_received = Just (EventSequenceStart Nothing), _expected = Nothing} "source" (line 1, column 1)
如果我将 [^thanks]
移出头信息,那么 .pdf 就可以编译成功了,但是标题页(以及其他地方)都没有页脚,并且 [^thanks]
会原样出现在标题页上。
我该如何在标题页添加一个脚注/致谢部分呢?