Next: Conditionally Visible Text Prev: Definition Commands
A footnote is for a reference that documents or elucidates the primary text.[1]
@footnote
command. This command is followed immediately by a left brace, then by the text of the footnote, and then by a terminating right brace. Footnotes may be of any length (they will be broken across pages if necessary), but are usually short. The template is:
ordinary text@footnote{text of footnote}As shown here, the
@footnote
command should come right after the text being footnoted, with no intervening space; otherwise, the formatters the footnote mark might end up starting up a line.
For example, this clause is followed by a sample footnote[2]; in the Texinfo source, it looks like this:
...a sample footnote@footnote{Here is the sample footnote.}; in the Texinfo source...Warning: Don't use footnotes in the argument of the
@item
command for a @table
table. This doesn't work, and because of limitations of TEX, there is no way to fix it. You must put the footnote into the body text of the table.
In a printed manual or book, the reference mark for a footnote is a small, superscripted number; the text of the footnote appears at the bottom of the page, below a horizontal line.
In Info, the reference mark for a footnote is a pair of parentheses with the footnote number between them, like this: `(1)'.
Footnote Styles
Info has two footnote styles, which determine where the text of the footnote is located:
--------- Footnotes --------- (1) Here is a sample footnote.
The name of the node containing the footnotes is constructed by appending
File: texinfo.info Node: Overview-Footnotes, Up: Overview (1) Note that the first syllable of "Texinfo" is pronounced like "speck", not "hex". ...
For example,
@footnotestyle endor
@footnotestyle separateWrite an
@footnotestyle
command before or shortly after the end-of-header line at the beginning of a Texinfo file. (If you include the @footnotestyle
command between the start-of-header and end-of-header lines, the region formatting commands will format footnotes as specified.)
If you do not specify a footnote style, the formatting commands use their default style. Currently, texinfo-format-buffer
and texinfo-format-region
use the `separate' style and makeinfo
uses the `end' style.
This chapter contains two footnotes.
2. Here is the sample footnote.