<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.lilypond.community/index.php?action=history&amp;feed=atom&amp;title=Vertical_spacing_of_footnotes</id>
	<title>Vertical spacing of footnotes - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.lilypond.community/index.php?action=history&amp;feed=atom&amp;title=Vertical_spacing_of_footnotes"/>
	<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Vertical_spacing_of_footnotes&amp;action=history"/>
	<updated>2026-05-04T22:49:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.lilypond.community/index.php?title=Vertical_spacing_of_footnotes&amp;diff=4510&amp;oldid=prev</id>
		<title>Lemzwerg: New category</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Vertical_spacing_of_footnotes&amp;diff=4510&amp;oldid=prev"/>
		<updated>2025-11-21T23:24:59Z</updated>

		<summary type="html">&lt;p&gt;New category&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:24, 21 November 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l129&quot;&gt;Line 129:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 129:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Text]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Text]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Paper and layout]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Paper and layout]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Spacing]][[Category:Snippet]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Spacing]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Snippet]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lemzwerg</name></author>
	</entry>
	<entry>
		<id>https://wiki.lilypond.community/index.php?title=Vertical_spacing_of_footnotes&amp;diff=4019&amp;oldid=prev</id>
		<title>Lemzwerg at 23:02, 21 November 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Vertical_spacing_of_footnotes&amp;diff=4019&amp;oldid=prev"/>
		<updated>2025-11-21T23:02:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:02, 21 November 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l129&quot;&gt;Line 129:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 129:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Text]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Text]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Paper and layout]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Paper and layout]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Spacing]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Spacing&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]][[Category:Snippet&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lemzwerg</name></author>
	</entry>
	<entry>
		<id>https://wiki.lilypond.community/index.php?title=Vertical_spacing_of_footnotes&amp;diff=2461&amp;oldid=prev</id>
		<title>Jean Abou Samra: Replace version=&quot;2.24.0&quot; with version=&quot;2.24&quot; now that the LilyWiki extension supports auto-selecting the latest release in a stable series</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Vertical_spacing_of_footnotes&amp;diff=2461&amp;oldid=prev"/>
		<updated>2025-11-16T18:51:26Z</updated>

		<summary type="html">&lt;p&gt;Replace version=&amp;quot;2.24.0&amp;quot; with version=&amp;quot;2.24&amp;quot; now that the LilyWiki extension supports auto-selecting the latest release in a stable series&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:51, 16 November 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This snippet fixes the vertical spacing of footnotes. It defines a new command &amp;lt;code&amp;gt;\Footnote&amp;lt;/code&amp;gt; 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 &amp;lt;code&amp;gt;text-font-defaults.baseline-skip&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This snippet fixes the vertical spacing of footnotes. It defines a new command &amp;lt;code&amp;gt;\Footnote&amp;lt;/code&amp;gt; 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 &amp;lt;code&amp;gt;text-font-defaults.baseline-skip&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;lilypond version=&quot;2.24&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.0&lt;/del&gt;&quot; full&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;lilypond version=&quot;2.24&quot; full&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#(define-markup-command (footnote-strut layout props depth)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#(define-markup-command (footnote-strut layout props depth)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    (boolean?)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    (boolean?)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jean Abou Samra</name></author>
	</entry>
	<entry>
		<id>https://wiki.lilypond.community/index.php?title=Vertical_spacing_of_footnotes&amp;diff=538&amp;oldid=prev</id>
		<title>Jean Abou Samra: Import snippet from LSR</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Vertical_spacing_of_footnotes&amp;diff=538&amp;oldid=prev"/>
		<updated>2025-10-26T22:43:45Z</updated>

		<summary type="html">&lt;p&gt;Import snippet from LSR&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Right now, LilyPond&amp;#039;s abilities to format footnote text strings are quite limited: each footnote on a page is processed and emitted separately, with some whitespace (&amp;lt;code&amp;gt;footnote-padding&amp;lt;/code&amp;gt;) inbetween. &amp;lt;code&amp;gt;footnote-padding&amp;lt;/code&amp;gt; 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&amp;#039;t contain both ascenders (like letter ‘d’) and descenders (like letter ‘p’).&lt;br /&gt;
&lt;br /&gt;
This snippet fixes the vertical spacing of footnotes. It defines a new command &amp;lt;code&amp;gt;\Footnote&amp;lt;/code&amp;gt; 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 &amp;lt;code&amp;gt;text-font-defaults.baseline-skip&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lilypond version=&amp;quot;2.24.0&amp;quot; full&amp;gt;&lt;br /&gt;
#(define-markup-command (footnote-strut layout props depth)&lt;br /&gt;
   (boolean?)&lt;br /&gt;
   #:properties ((baseline-skip))&lt;br /&gt;
   &amp;quot;If `depth` is set to `#t`, insert a depth strut.  If set to `#f`,&lt;br /&gt;
insert a height strut.  The strut size is derived from the baseline&lt;br /&gt;
skip value.&amp;quot;&lt;br /&gt;
   (let ((yext (if depth&lt;br /&gt;
                   (cons (* -0.3 baseline-skip) 0)&lt;br /&gt;
                   (cons 0 (* 0.7 baseline-skip)))))&lt;br /&gt;
     (ly:make-stencil (ly:stencil-expr&lt;br /&gt;
                       (make-transparent-box-stencil &amp;#039;(0 . 0.05) yext))&lt;br /&gt;
                      empty-interval&lt;br /&gt;
                      yext)))&lt;br /&gt;
&lt;br /&gt;
#(define-markup-command (footnote-struts layout props elts)&lt;br /&gt;
   (markup-list?)&lt;br /&gt;
   #:properties ((baseline-skip))&lt;br /&gt;
   &amp;quot;Insert a height strut at the beginning of the first line and a depth&lt;br /&gt;
strut at the end of the last line of a footnote `elts` (which is a&lt;br /&gt;
markup list holding the lines).&amp;quot;&lt;br /&gt;
   (let ((stils (interpret-markup-list layout props elts)))&lt;br /&gt;
     (if (null? (cdr stils))&lt;br /&gt;
         ;; We have a single line.&lt;br /&gt;
         (let ((stil (car stils)))&lt;br /&gt;
           (interpret-markup layout props&lt;br /&gt;
                             #{ \markup {&lt;br /&gt;
                                  \override #`(baseline-skip . ,baseline-skip)&lt;br /&gt;
                                  \footnote-strut ##f&lt;br /&gt;
                                  \stencil #stil&lt;br /&gt;
                                  \footnote-strut ##t } #}))&lt;br /&gt;
         ;; We have multiple lines.&lt;br /&gt;
         (let* ((first-stil (car stils))&lt;br /&gt;
                (first-mkup #{ \markup {&lt;br /&gt;
                                 \override #`(baseline-skip . ,baseline-skip)&lt;br /&gt;
                                 \footnote-strut ##f&lt;br /&gt;
                                 \stencil #first-stil } #})&lt;br /&gt;
                (last-stil (last stils))&lt;br /&gt;
                (last-mkup #{ \markup {&lt;br /&gt;
                                \override #`(baseline-skip . ,baseline-skip)&lt;br /&gt;
                                \stencil #last-stil&lt;br /&gt;
                                \footnote-strut ##t } #})&lt;br /&gt;
                (rest-stils (cdr stils))&lt;br /&gt;
                (rest-stils (drop-right rest-stils 1))&lt;br /&gt;
                (rest-mkups&lt;br /&gt;
                 (map (lambda (stil)&lt;br /&gt;
                        #{ \markup {&lt;br /&gt;
                             \override #`(baseline-skip . ,baseline-skip)&lt;br /&gt;
                             \stencil #stil } #})&lt;br /&gt;
                      rest-stils)))&lt;br /&gt;
           (interpret-markup layout props&lt;br /&gt;
                             #{ \markup {&lt;br /&gt;
                                  \override #&amp;#039;(baseline-skip . 0)&lt;br /&gt;
                                  \column {&lt;br /&gt;
                                    #first-mkup&lt;br /&gt;
                                    #rest-mkups&lt;br /&gt;
                                    #last-mkup } } #})))))&lt;br /&gt;
&lt;br /&gt;
#(define (markup-list-or-markup? x)&lt;br /&gt;
   (or (markup-list? x) (markup? x)))&lt;br /&gt;
&lt;br /&gt;
% This command accepts either a markup (for a single-line footnote) or a&lt;br /&gt;
% markup list (for a multi-line footnote).  The baseline skip between the&lt;br /&gt;
% lines of a multi-line footnote is controlled by the paper variable&lt;br /&gt;
% `text-font-defaults.baseline-skip`, the distance between footnotes&lt;br /&gt;
% by the paper variable `footnote-padding`.&lt;br /&gt;
Footnote =&lt;br /&gt;
  #(define-music-function (mark offset text item)&lt;br /&gt;
     ((markup?) number-pair? markup-list-or-markup? symbol-list-or-music?)&lt;br /&gt;
     (let ((text (if (markup? text) (list text) text)))&lt;br /&gt;
       (if mark&lt;br /&gt;
           #{ \footnote #mark #offset&lt;br /&gt;
                \markup \footnote-struts #text #item #}&lt;br /&gt;
           #{ \footnote #offset&lt;br /&gt;
                \markup \footnote-struts #text #item #})))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%&lt;br /&gt;
% Example&lt;br /&gt;
%&lt;br /&gt;
&lt;br /&gt;
#(set-default-paper-size &amp;quot;a7landscape&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
\book {&lt;br /&gt;
  \header { tagline = ##f }&lt;br /&gt;
&lt;br /&gt;
  \paper {&lt;br /&gt;
    text-font-defaults.baseline-skip = 1.7&lt;br /&gt;
&lt;br /&gt;
    footnote-padding = 3\mm&lt;br /&gt;
    footnote-separator-markup =&lt;br /&gt;
      \markup { \override #&amp;#039;(span-factor . 1/3) \draw-hline }&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  \markup &amp;quot;time-based footnotes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  \score {&lt;br /&gt;
    \relative c&amp;#039;&amp;#039; {&lt;br /&gt;
      r1 |&lt;br /&gt;
      \Footnote #&amp;#039;(-0.5 . -1)&lt;br /&gt;
        \markuplist {&lt;br /&gt;
          \override #&amp;#039;(line-width . 40)&lt;br /&gt;
          \wordwrap-lines {&lt;br /&gt;
	    Meter change. This is a multi-line footnote grob. }&lt;br /&gt;
        } Staff.TimeSignature&lt;br /&gt;
        \time 3/4&lt;br /&gt;
      \Footnote #&amp;#039;(1 . -1)&lt;br /&gt;
        \markuplist {&lt;br /&gt;
          \override #&amp;#039;(line-width . 40)&lt;br /&gt;
          \wordwrap-lines {&lt;br /&gt;
            Note stem. This is another multi-line footnote grob with a lot of&lt;br /&gt;
            senseless text. }&lt;br /&gt;
        } Stem&lt;br /&gt;
        &amp;lt;c e g&amp;gt;4 q q |&lt;br /&gt;
      \Footnote #&amp;#039;(-0.5 . 2) &amp;quot;Bar line.&amp;quot; Staff.BarLine&lt;br /&gt;
        q q&lt;br /&gt;
      \Footnote #&amp;#039;(0.5 . -1) &amp;quot;Key change.&amp;quot; Staff.KeySignature&lt;br /&gt;
        \key c \minor q |&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/lilypond&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Editorial annotations]]&lt;br /&gt;
[[Category:Text]]&lt;br /&gt;
[[Category:Paper and layout]]&lt;br /&gt;
[[Category:Spacing]]&lt;/div&gt;</summary>
		<author><name>Jean Abou Samra</name></author>
	</entry>
</feed>