Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatic number of footnotes?

Tags:

r

r-markdown

Is there a way for R-Markdown (or, more specifically, bookdown) to automatically number footnotes, like it already does for figures? I am working on a book-length project, and it would be convenient not to have to renumber all my footnotes every time I add or delete one.

like image 592
Todd Hufnagel Avatar asked Aug 29 '18 13:08

Todd Hufnagel


People also ask

How do I automatically update footnote numbers in Word?

When you want to automatically update the supra reference numbers, do this: Click your cursor anywhere inside the footnote fields. Hit Ctrl A. Hit F9.

How do you get footnote numbers?

In your document, click where you want to insert the note reference mark. On the Insert menu, click Footnote. Under Location, click Footnotes or Endnotes, and then on the Footnotes or Endnotes pop-up menu, click the location that you want. Under Format, select the numbering options that you want, and then click Insert.


1 Answers

The number is automatic, just use a different name after [^ ].

---
title: "Untitled"
output: html_document
---

footnote 1 [^anyname]

[^anyname]: Here is the first 

footnote 2 [^anyname2]

[^anyname2]: Here is the second 

enter image description here

like image 142
RLave Avatar answered Sep 28 '22 03:09

RLave