You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
pollen-tfl/footnotes.html.pm

20 lines
1.4 KiB
Perl

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#lang pollen
(define-meta title "footnotes")
hanging-topic[(topic-from-metas metas)]{Mind the separators and alignment}
Footnotes are included with the advanced layout topics not because theyre typographically difficult, but because prying their typography from the maw of your word processor can be a chore. If youre undaunted, the default formatting of footnotes is flawed in several ways that are worth fixing:
numbered-list{
The footnote separator is a horizontal line. Delete the line and just use some extra white space. (Its fine, however, to use a line separator for a footnote continuation.)
Footnote-reference numbers in the xref{body text} are set in the same font, just smaller and superscripted. These numbers should be noticeable despite their size. If they dont stand out enough, try making them bold, or even running them in a different font (a sans serif, perhaps).
The reference numbers on the footnotes are also shrunken superscripts. Theres no need for this. They can be the same size as the rest of the footnote text.
The reference numbers on the footnotes are indented. I prefer footnotes to have a negative xref{first-line indent} so that the reference number is aligned to the left edge of the text block, and then all the lines of the footnote can be indented the same amount. (An effect demonstrated in this paragraph.)
}