【发布时间】:2020-10-02 07:38:05
【问题描述】:
我正在制作 Beamer 演示文稿,并在单张幻灯片的内容之间使用暂停。我不知道如何在暂停后才显示脚注。
这是一个例子:
---
title: ""
author: ""
date: ""
output:
beamer_presentation
bibliography: test.bib
---
* one argument
\pause
* another argument^[This citation should appear only with point 2: @fargues2006]
# references
test.bib:
@article{fargues2006,
title = {The {{Demographic Benefit}} of {{International Migration}}: {{Hypothesis}} and {{Application}} to {{Middle Eastern}} and {{North African Contexts}}},
author = {Fargues, Philippe},
date = {2006},
journaltitle = {World Bank Policy Research Paper},
url = {http://documents.worldbank.org/curated/en/508301468280735279/pdf/wps4050.pdf},
number = {4050}
}
在此示例中,脚注不应仅在显示第一个点时出现,而是在显示第二个点时出现。
我尝试申请this answer from TeX StackExchange,但没有成功。
我该怎么做?
编辑:在@samcarter_is_at_topanswers.xyz 的回答之后,我更喜欢一种不需要在文档中从markdown 切换到LaTeX 的解决方案,具体取决于幻灯片是否同时具有暂停和脚注.但是,我可以使用 .tex 文件或在 YAML 中添加 pandoc 参数(因为我认为解决方案必须是这种方式,但我可能错了)。
编辑#2:我想在这些脚注中加上@citationkey
【问题讨论】:
标签: r latex r-markdown beamer