Skip to main content

Footnotes

A footnote is written inline where its marker belongs:

<p>Min Jin,<sup>1</sup> Fengrong Zhu<footnote>E-mail: zhufr@example.edu</footnote></p>

compile lowers <footnote> into two things:

  1. a raised marker in the line;
  2. an entry in the page's note area, between content and footer.

The marker is set smaller and raised; the note text is set at 85% of the surrounding size.

Numbering​

Notes are numbered per page, starting at 1. A fixed mark replaces the number:

<p>…<footnote label="*">E-mail: zhufr@example.edu</footnote></p>
<p>…<footnote label="†">Current address: …</footnote></p>

The printed mark is exactly the label attribute, so *, † and a are all available. Without label, the number is used.

The note area​

The note area is not authored. It is reserved from the bottom of the content area, above the footer:

┌──────────────────────────────┐
│ header │
├──────────────────────────────┤
│ content │
│ … │
├──────────────────────────────┤
│ notes │
├──────────────────────────────┤
│ footer │
└──────────────────────────────┘

Because the note area varies by page, the content area is not the same height on every page. The engine lays content out against the space the notes actually need.

A note never separates from its marker​

If a note does not fit on the page where its marker falls, the line carrying the marker moves to the next page. The note travels with it. The alternative — a marker on one page and its note on another — is never produced.

A note taller than a page is clipped and reported rather than silently truncated.

Notes in other containers​

Markers inside tables, rows, columns and floats also reach the page note area. The note still belongs to the page where its marker lands, and the content in that container is laid out against the space the note needs.

Content​

A footnote may hold the same markup as a paragraph: text, emphasis, links, inline math.

<footnote>
See <a href="https://example.org">the archived release</a>; the value
$S_i$ is defined in <a to="eq-mean">equation (1)</a>.
</footnote>

A note is a separate paragraph in the note area; it is not a continuation of the line that carries the marker.