gpt4 book ai didi

r - 如何在 rmarkdown 中两次引用单个脚注?

转载 作者:行者123 更新时间:2023-12-02 15:11:32 24 4
gpt4 key购买 nike

我尝试在文本中的几个地方引用单个脚注。但是,通过下面的代码,我得到了两个内容相同的脚注。

---
title: "My document"
output: html_document
---

One part of the text [^1].

Two pages later [^1].

[^1]: My footnote

enter image description here

是否可以使用 rmarkdown 多次引用特定脚注?

最佳答案

我也遇到了同样的问题。我使用了 html 标签,效果非常好。无论你想要什么作为上标,只需将其放在 <\sup> 之间,如下所示:

<sup> text </sup>

2023 年 1 月 6 日更新:现在我使用四开本,这非常简单,因为您只需使用 do[^1]

[^1]脚注文本

关于r - 如何在 rmarkdown 中两次引用单个脚注?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46117527/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com