【问题标题】:Rmarkdown Latex citation (Harvard style) within footnote脚注中的 Rmarkdown Latex 引用(哈佛风格)
【发布时间】: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}
}

希望这有帮助吗?!

【问题讨论】:

标签: latex r-markdown bibtex citations


【解决方案1】:

如果脚注使用markdown语法,也可以通过markdown语法插入引文:

---
output: 
  bookdown::pdf_document2:
    toc: no
papersize: a4
geometry: margin = 1in
fontsize: 11pt
bibliography: literatur.bib
---

#TEST

This is just an example @test.^[I would also like to have a citation here in this footnote!! See [@test]]

\newpage
# References
<div id="refs"></div>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2022-01-20
    • 1970-01-01
    • 2016-12-16
    • 1970-01-01
    • 2017-01-22
    • 1970-01-01
    • 2018-02-17
    相关资源
    最近更新 更多