Vertical spacing of footnotes: Difference between revisions

Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
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.0" full>
<lilypond version="2.24" full>
#(define-markup-command (footnote-strut layout props depth)
#(define-markup-command (footnote-strut layout props depth)
   (boolean?)
   (boolean?)