Vertical spacing of footnotes: Difference between revisions
Import snippet from LSR |
m New category |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
This snippet fixes the vertical spacing of footnotes. It defines a new command <code>\Footnote</code> 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 <code>text-font-defaults.baseline-skip</code>. | This snippet fixes the vertical spacing of footnotes. It defines a new command <code>\Footnote</code> 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 <code>text-font-defaults.baseline-skip</code>. | ||
<lilypond version="2.24 | <lilypond version="2.24" full> | ||
#(define-markup-command (footnote-strut layout props depth) | #(define-markup-command (footnote-strut layout props depth) | ||
(boolean?) | (boolean?) | ||
| Line 130: | Line 130: | ||
[[Category:Paper and layout]] | [[Category:Paper and layout]] | ||
[[Category:Spacing]] | [[Category:Spacing]] | ||
[[Category:Snippet]] | |||