Changes

Jump to navigation Jump to search
528 bytes added ,  08:27, 30 March 2017
add "Footnotes in the margin", title hierarchy
</context>
==== Footnotes at the end of each chapter ====
Another elegant (MkIV) example places all footnotes in a subject (unnumbered section) at the end of each chapter. It is intelligent and will not create an empty subject when there are no footnotes to be placed. At no extra cost, the subject title "Footnote" will be singular or plural depending if there is only one or several footnotes to be placed:
\setuphead[chapter][aftersection=\setups{chapter:after}]
</texcode>
 
===Footnotes in the margin===
 
First we switch off footnote placement, then we place them manually into the margin.
 
<texcode>
\setupnote[footnote][location=none]
\setupnotation[footnote][
align=flushleft,
location=serried,
width=broad,
]
\setuptexttexts[margin][]
[{\framed[%
align={right,bottom},
frame=off,
height=\textheight,
width=\rightmarginwidth
]{\placenotes[footnote]}}]
</texcode>
{{todo|This is ugly, and points up some ConTeXt bugs that need to be fixed.}}
====Footnotes in pagraph form====
When enabling footnotes (actually notes and linenotes) in pagraph form, there is some risk in having no right separation between body and the notes. This can be partially avoided using <code>width=broad</code> ([http://www.ntg.nl/pipermail/ntg-context/2013/073650.html Hans dixit]).
There are numerous ways to display and format footnotes. The following section gathers solutions to some special tasks asked on the mailing list.
=== Hyphenation ===
* Is there a way to turn off hyphenation for the main body of my text, but enable it for the footnotes?
</texcode>
===Mark Placement===
* How can I change the placement of the footnote mark?
</texcode>
===Line Spacing===
* Can I change the line spacing of a footnote independently of that of the main text?
</texcode>
===Placement in Bidirectional Documents===
* Can the footnote rule be placed on the right-hand side?

Navigation menu