A footnote is started by a footnote marker in square brackets in column 0, no indentation allowed. It ends at the next footnote definition, headline, or after two consecutive empty lines. The footnote reference is simply the marker in square brackets, inside text. Markers always start with ‘
fn:’. For example:
The Org homepage[fn:1] now looks a lot better than it used to.
[fn:1] The link is: https://orgmode.org
Org mode extends the number-based syntax to named footnotes and optional inline definition. Here are the valid references:
A named footnote reference, where
NAME is a unique label word, or, for simplicity of automatic creation, a number.
[fn:: This is the inline definition of this footnote]’
An anonymous footnote where the definition is given directly at the reference point.
[fn:NAME: a definition]’
An inline definition of a footnote, which also specifies a name for the note. Since Org allows multiple references to the same note, you can then use ‘
[fn:NAME]’ to create additional references.
Footnote labels can be created automatically, or you can create names yourself. This is handled by the variable
org-footnote-auto-label and its corresponding ‘
STARTUP’ keywords. See the docstring of that variable for details.
The following command handles footnotes:
C-c C-x f
The footnote action command.
When point is on a footnote reference, jump to the definition. When it is at a definition, jump to the—first—reference.
Otherwise, create a new footnote. Depending on the variable
org-footnote-define-inline1, the definition is placed right into the text as part of the reference, or separately into the location determined by the variable
When this command is called with a prefix argument, a menu of additional options is offered:
|Sort the footnote definitions by reference sequence.|
|Renumber the simple ‘|
|Short for first |
|Rename all footnotes into a ‘|
|Delete the footnote at point, including definition and references.|
Depending on the variable
org-footnote-auto-adjust2, renumbering and sorting footnotes can be automatic after each insertion or deletion.
If point is on a footnote reference, jump to the definition. If it is at the definition, jump back to the reference. When called at a footnote location with a prefix argument, offer the same menu as
C-c C-x f.
C-c C-o or
Footnote labels are also links to the corresponding definition or reference, and you can use the usual commands to follow these links.