Vertical spacing of footnotes

Right now, LilyPond's abilities to format footnote text strings are quite limited: each footnote on a page is processed and emitted separately, with some whitespace (footnote-padding) inbetween. footnote-padding is also inserted between the footnote separator markup and the first footnote. A consequence of this very simplistic output model (i.e., using padding and not baseline-to-baseline distances) is uneven vertical spacing if some footnote text doesn't contain both ascenders (like letter ‘d’) and descenders (like letter ‘p’).

This snippet fixes the vertical spacing of footnotes. It defines a new command \Footnote that accepts either a markup (for single-line footnotes) or a markup list (for multi-line footnotes). The baseline-to-baseline distance of the lines in multi-line footnotes is controlled by the top-level baseline skip in the paper variable text-font-defaults.baseline-skip.