Next: ms language and localization, Previous: ms Insertions, Up: ms Body Text [Contents][Index]
A footnote is typically anchored to a place in the text with a mark, which is a small integer, a symbol such as a dagger, or arbitrary user-specified text.
Place an automatic number, an automatically generated numeric footnote mark, in the text. Each time this string is interpolated, the number it produces increments by one. Automatic numbers start at 1. This is a Berkeley extension.
Enclose the footnote text in FS and FE macro calls to set
it at the nearest available “foot”, or bottom, of a text column or
page.
Begin
(FS)
and end
(FE)
a footnote.
FS
calls
FS-MARK
with any supplied
mark argument,
which is then also placed at the beginning of the footnote text.
If
mark
is omitted,
the next pending automatic number enqueued by interpolation of the
*
string is used,
and if none exists,
nothing is prefixed.
You may not desire automatically numbered footnotes in spite of their
convenience.
You can indicate a footnote with a symbol or other text by specifying
its mark at the appropriate place
(for example,
by using
\[dg]
for the dagger glyph)
and
as an argument to the
FS macro.
Such manual marks should be repeated as arguments to
FS
or as part of the footnote text to disambiguate their correspondence.
You may wish to use
\*{
and
\*}
to superscript the mark at the anchor point,
in the footnote text,
or both.
groff ms provides a hook macro, FS-MARK, for
user-determined operations to be performed when the FS macro is
called. It is passed the same arguments as FS itself. An
application of FS-MARK is anchor placement for a hyperlink
reference, so that a footnote can link back to its referential
context.
By default, this macro has an empty definition.
FS-MARK is a GNU extension.
Footnotes can be safely used within keeps and displays, but you should
avoid using automatically numbered footnotes within floating keeps. You
can place a second \** interpolation between a \** and its
corresponding FS call as long as each FS call occurs
after the corresponding \** and occurrences of FS
are in the same order as corresponding occurrences of \**.
Footnote text is formatted as paragraphs are, using analogous
parameters. The registers FI, FPD, FPS, and
FVS correspond to PI, PD, PS, and CS,
respectively; FPD, FPS, and FVS are GNU extensions.
The
FF
register controls the formatting of automatically numbered footnote
paragraphs,
and those for which
FS is given a
mark
argument,
See ms Document Control Settings.
The default footnote line length is 11/12ths of the normal line length
for compatibility with the expectations of historical ms
documents; you may wish to set the FR string to ‘1’ to align
with contemporary typesetting practices. In the
past,15 an FL register
was used for the line length in footnotes; however, setting this
register at document initialization time had no effect on the footnote
line length in multi-column arrangements.16
Prefer the
FR
string over the
FL
register in contemporary documents.
The footnote line length is effectively computed as
‘column-width * \*[FR]’.
If you require an absolute footnote line length,
recall that
roff
formatters evaluate numeric expressions strictly from left to right,
without operator precedence
(parentheses are honored).
.ds FR 0+3i \" Set footnote line length to 3 inches.
Next: ms language and localization, Previous: ms Insertions, Up: ms Body Text [Contents][Index]