【发布时间】:2021-11-06 21:10:28
【问题描述】:
我正在用 Rmarkdown 和 Latex 编写我的论文,其中包含一个包含 bibtex 源的单独的literature.bib 文件。我现在有一个脚注,我想在普通文本中引用一个引用,但在脚注中。有什么包可以实现吗?当我尝试它时,就像我会在普通文本中引用一样,当我呈现为 pdf 时,脚注停止成为脚注。我使用的引用风格是哈佛的引用风格,所以只有这样的东西出现并且应该出现在脚注中:
其余信息在文档末尾的“参考”标题下提供。提前致谢!感谢您的帮助...!
这是一个最小的可重现示例:
--> 这是主 .rmd 文件的代码
---
output:
bookdown::pdf_document2:
toc: no
papersize: a4
geometry: margin = 1in
fontsize: 11pt
bibliography: literatur.bib
---
#TEST
This is just an example @test.\footnote{I would also like to have a citation here in this footnote!!}
\newpage
# References
<div id="refs"></div>
-->这是literatur.bib文件的代码
@online{test,
author = {PACER},
title = {Service Center},
url = {https://pcl.uscourts.gov},
urldate = {2021-09-10}
}
希望这有帮助吗?!
【问题讨论】:
-
请制作一个可编译的minimal reproducible example
-
@samcarter_is_at_topanswers.xyz 我添加了一个示例。
标签: latex r-markdown bibtex citations