Changes

Jump to navigation Jump to search
443 bytes added ,  19:27, 3 September 2005
Rearranged page slightly, added footnote-in-footnote example.
< [[Structurals]] | [[References]] >
Simply ==Basic Footnotes== For basic footnotes, simply use <cmd>footnote</cmd><tt>[reference]{footnote text}</tt>.You can leave out the The referenceis optional, but you need it if you like and can be used to refer to the same footnote again with <cmd>note</cmd><tt>[reference]</tt>. For example:
<texcode>
This\footnote[footA](Or that, if you prefer.} is a sentence with a footnote\footnote{Actually,
two footnotes; this one and footnote \note[footA].}.
</texcode>
\starttext
\strut\vfill % A hack to shorten the page.
This\footnote[footA](Or that, if you prefer.} is a sentence with a footnote\footnote{Actually,
two footnotes; this one and footnote \note[footA].}.
\stoptext
</context>
 
Thanks to Oblomov, it's also possible to use footnotes in footnotes, as in this example.
 
<texcode>
This\footnote(Or that\footnote{Or possibly even the other.}, if you prefer.} is a sentence
with a footnote.
</texcode>
 
<context>
\starttext
\strut\vfill % A hack to shorten the page.
This\footnote(Or that\footnote{Or possibly even the other.}, if you prefer.} is a sentence
with a footnote.
\stoptext
</context>
 
==Footnote Numbering==
You can setup the exact behaviour of footnotes as usual with <cmd>setupfootnotes</cmd>. For example, to use footnotes with standard footnote symbols (which ConTeXt has defined as the conversion "set 2"), with the footnote counter resetting on each page, one would use the following:
\starttext
\strut\vfill % A hack to shorten the page.
This\footnote[footA](Or that, if you prefer.} is a sentence with a footnote\footnote{Actually,
two footnotes; this one and footnote \note[footA].}.
\stoptext
</context>
 
==Alternate Footnote Locations==
It is possible to place footnotes as endnotes or as marginals ((someone please add an example!)).
 
==Footnotes in Floats==
If you need footnotes in [[Floating Objects|floats]] (figures, tables) you need to define local footnotes. ((example?))
 
Thanks to Oblomov it's also possible to use footnotes in footnotes in footnotes. ;-)

Navigation menu