<?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=Footnotes_and_remarks_in_the_footer</id>
	<title>Footnotes and remarks in the footer - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.lilypond.community/index.php?action=history&amp;feed=atom&amp;title=Footnotes_and_remarks_in_the_footer"/>
	<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Footnotes_and_remarks_in_the_footer&amp;action=history"/>
	<updated>2026-05-04T18:29:58Z</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=Footnotes_and_remarks_in_the_footer&amp;diff=5097&amp;oldid=prev</id>
		<title>Lemzwerg: Lemzwerg moved page Footnotes / Remarks in the footer to Footnotes and remarks in the footer without leaving a redirect: Only the first letter of a title should be uppercase</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Footnotes_and_remarks_in_the_footer&amp;diff=5097&amp;oldid=prev"/>
		<updated>2025-11-24T05:34:12Z</updated>

		<summary type="html">&lt;p&gt;Lemzwerg moved page &lt;a href=&quot;/index.php?title=Footnotes_/_Remarks_in_the_footer&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Footnotes / Remarks in the footer (page does not exist)&quot;&gt;Footnotes / Remarks in the footer&lt;/a&gt; to &lt;a href=&quot;/wiki/Footnotes_and_remarks_in_the_footer&quot; title=&quot;Footnotes and remarks in the footer&quot;&gt;Footnotes and remarks in the footer&lt;/a&gt; without leaving a redirect: Only the first letter of a title should be uppercase&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:34, 24 November 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&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=Footnotes_and_remarks_in_the_footer&amp;diff=4630&amp;oldid=prev</id>
		<title>Lemzwerg: New category</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Footnotes_and_remarks_in_the_footer&amp;diff=4630&amp;oldid=prev"/>
		<updated>2025-11-21T23:28:24Z</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:28, 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-l155&quot;&gt;Line 155:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 155:&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:Editorial annotations]]&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:Editorial annotations]]&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:Text]][[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:Text]]&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=Footnotes_and_remarks_in_the_footer&amp;diff=3499&amp;oldid=prev</id>
		<title>Lemzwerg at 22:53, 21 November 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Footnotes_and_remarks_in_the_footer&amp;diff=3499&amp;oldid=prev"/>
		<updated>2025-11-21T22:53:10Z</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 22:53, 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-l155&quot;&gt;Line 155:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 155:&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:Editorial annotations]]&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:Editorial annotations]]&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:Text]]&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:Text&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=Footnotes_and_remarks_in_the_footer&amp;diff=2572&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=Footnotes_and_remarks_in_the_footer&amp;diff=2572&amp;oldid=prev"/>
		<updated>2025-11-16T18:52:48Z</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:52, 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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;Place a numbered annotation in the footer. First we define a scheme-function to add an annotation (add-foot!) wich adds a markup to a foot-item-list and returns a label-event and a TextScriptEvent. Now we define a music-function, wich utilizes the scheme-function. Then we define a markup-command, wich returns the footnotes/annotations of the current page. Now we can use this markup-command in [odd|even]FooterMarkup in the paper block.&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;Place a numbered annotation in the footer. First we define a scheme-function to add an annotation (add-foot!) wich adds a markup to a foot-item-list and returns a label-event and a TextScriptEvent. Now we define a music-function, wich utilizes the scheme-function. Then we define a markup-command, wich returns the footnotes/annotations of the current page. Now we can use this markup-command in [odd|even]FooterMarkup in the paper block.&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;%% http://lsr.di.unimi.it/LSR/Item?id=728&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;%% http://lsr.di.unimi.it/LSR/Item?id=728&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;/table&gt;</summary>
		<author><name>Jean Abou Samra</name></author>
	</entry>
	<entry>
		<id>https://wiki.lilypond.community/index.php?title=Footnotes_and_remarks_in_the_footer&amp;diff=680&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=Footnotes_and_remarks_in_the_footer&amp;diff=680&amp;oldid=prev"/>
		<updated>2025-10-26T22:46:08Z</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;Place a numbered annotation in the footer. First we define a scheme-function to add an annotation (add-foot!) wich adds a markup to a foot-item-list and returns a label-event and a TextScriptEvent. Now we define a music-function, wich utilizes the scheme-function. Then we define a markup-command, wich returns the footnotes/annotations of the current page. Now we can use this markup-command in [odd|even]FooterMarkup in the paper block.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lilypond version=&amp;quot;2.24.0&amp;quot; full&amp;gt;&lt;br /&gt;
%% http://lsr.di.unimi.it/LSR/Item?id=728&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
% Trying to get small(!) footnotes with excerpts from define-markup-commands.scm and toc-init.ly&lt;br /&gt;
% TODO parameter for markup styles in paper{} (like &amp;#039;tocItemMarkup)&lt;br /&gt;
% TODO * items, not numbers&lt;br /&gt;
% PROBLEM if there are X pages and Y footnotes, the footer-items markup has to loop X*Y through the list of notes!&lt;br /&gt;
% TODO collect notes in props (&amp;#039;pageN) on first page, then assoc get -&amp;gt; O( X + Y ) ??&lt;br /&gt;
&lt;br /&gt;
% define the footnote counter&lt;br /&gt;
#(define footnr 0)&lt;br /&gt;
% to be defined in a closure later (see toc-init.ly)&lt;br /&gt;
#(define-public (add-foot-item! dir text) #f)&lt;br /&gt;
#(define-public (foot-items) #f)&lt;br /&gt;
&lt;br /&gt;
% define add item and get list functions (taken from toc-init.ly - add-toc-item!)&lt;br /&gt;
#(let ((foot-item-list (list)))&lt;br /&gt;
     (set! add-foot-item!&lt;br /&gt;
       (lambda (dir text)&lt;br /&gt;
               (let ((label (gensym &amp;quot;foot&amp;quot;)))&lt;br /&gt;
                    (set! footnr (+ footnr 1))&lt;br /&gt;
                    (set! foot-item-list&lt;br /&gt;
                      (cons (list label text footnr)&lt;br /&gt;
                            foot-item-list))&lt;br /&gt;
                    (make-music &amp;#039;EventChord&lt;br /&gt;
                      &amp;#039;page-marker #t&lt;br /&gt;
                      &amp;#039;page-label label&lt;br /&gt;
                      &amp;#039;elements (list &lt;br /&gt;
                        (make-music &amp;#039;LabelEvent &amp;#039;page-label label)&lt;br /&gt;
                        (make-music &amp;#039;TextScriptEvent &amp;#039;direction dir &amp;#039;text (markup #:super #:italic (number-&amp;gt;string footnr)))&lt;br /&gt;
     )))))&lt;br /&gt;
     (set! foot-items (lambda ()&lt;br /&gt;
               (reverse foot-item-list))))&lt;br /&gt;
&lt;br /&gt;
% conditionally add text markup, if we are on the right page - helper function for the markup command&lt;br /&gt;
#(define (runfi pagelist cur-page table label text fnnr)&lt;br /&gt;
        (let ((label-page (and (list? table) (assoc label table))))&lt;br /&gt;
             (if (and label-page (= cur-page (cdr label-page)))&lt;br /&gt;
                 (markup pagelist #:super #:italic (number-&amp;gt;string fnnr) text)&lt;br /&gt;
                 pagelist&lt;br /&gt;
             )&lt;br /&gt;
        )&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
% define markup command to be used in footerMarkup&lt;br /&gt;
% delayed stencil-evaluation like in page-ref - so we know the pagenumber of the label and the current page&lt;br /&gt;
% needs &amp;#039;gauge&amp;#039;-stencil --- is calculated from &amp;lt;code&amp;gt;&amp;#039;line-width - &amp;lt;i&amp;gt;reserve&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
#(define-markup-command (footer-items layout props reserve)(number?)&lt;br /&gt;
  &amp;quot;markup footer items&amp;quot;&lt;br /&gt;
  (let* ((line-width (- (ly:output-def-lookup layout &amp;#039;line-width) reserve))&lt;br /&gt;
         (gauge-stencil (interpret-markup layout props (markup #:super &amp;quot;1&amp;quot; &amp;quot;X&amp;quot; #:draw-line (cons line-width 0) )))&lt;br /&gt;
         (x-ext (ly:stencil-extent gauge-stencil X))&lt;br /&gt;
         (y-ext (ly:stencil-extent gauge-stencil Y))) &lt;br /&gt;
        (ly:make-stencil&lt;br /&gt;
          `(delay-stencil-evaluation&lt;br /&gt;
            ,(delay (ly:stencil-expr&lt;br /&gt;
                     &lt;br /&gt;
                     (let* ((table (ly:output-def-lookup layout &amp;#039;label-page-table))&lt;br /&gt;
                            (cur-page (inexact-&amp;gt;exact (string-&amp;gt;number (chain-assoc-get &amp;#039;page:page-number-string props))))&lt;br /&gt;
                            (pagelist (markup))&lt;br /&gt;
                            (page-number -1))&lt;br /&gt;
                           (map (lambda (fn)&lt;br /&gt;
                                        (let ((label (car fn))&lt;br /&gt;
                                              (text (cadr fn))&lt;br /&gt;
                                              (fnnr (caddr fn)))&lt;br /&gt;
                                             (set! pagelist (runfi pagelist cur-page table label text fnnr))&lt;br /&gt;
                                        )&lt;br /&gt;
                                ) (foot-items))&lt;br /&gt;
                           (interpret-markup layout props (markup pagelist))&lt;br /&gt;
                     )&lt;br /&gt;
                     &lt;br /&gt;
                   )&lt;br /&gt;
          )) x-ext y-ext)))&lt;br /&gt;
&lt;br /&gt;
% the footnote function&lt;br /&gt;
% takes direction (UP/DOWN) and markup&lt;br /&gt;
% other layout properties can be set via [\once] \override TextScript #&amp;#039;... = ...&lt;br /&gt;
addfoot = #(define-music-function (dir text)(integer? markup?)&lt;br /&gt;
  (begin (add-foot-item! dir text)&lt;br /&gt;
))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
\paper {&lt;br /&gt;
  #(set-paper-size &amp;quot;a5&amp;quot; &amp;#039;landscape)&lt;br /&gt;
  oddHeaderMarkup = &amp;quot;&amp;quot;&lt;br /&gt;
  evenHeaderMarkup = &amp;quot;&amp;quot;&lt;br /&gt;
  oddFooterMarkup = \markup { \fill-line {&lt;br /&gt;
      % fill in footer-items, reserve 6mm for page-number&lt;br /&gt;
      \footer-items #(* (magstep mm) 6)&lt;br /&gt;
      \fromproperty #&amp;#039;page:page-number-string&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
  evenFooterMarkup = \markup { \fill-line {&lt;br /&gt;
      \fromproperty #&amp;#039;page:page-number-string&lt;br /&gt;
      % fill in footer-items, reserve 6mm for page-number&lt;br /&gt;
      \footer-items #(* (magstep mm) 6)&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
% some really boaring music with \addfoot&lt;br /&gt;
&lt;br /&gt;
notenA = \relative c&amp;#039; {&lt;br /&gt;
  \addfoot #UP \markup { &amp;quot;The C in the beginning is not confirmed!&amp;quot; }&lt;br /&gt;
  \repeat unfold 24 { c d e f }&lt;br /&gt;
  \addfoot #UP \markup { &amp;quot;This is started on G&amp;quot; }&lt;br /&gt;
  { g( f e d) } &lt;br /&gt;
  \repeat unfold 23 { c d e f }&lt;br /&gt;
  \bar &amp;quot;|.&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
\bookpart {&lt;br /&gt;
  \score {&lt;br /&gt;
    \new Staff \new Voice { \notenA }&lt;br /&gt;
  }&lt;br /&gt;
  \score {&lt;br /&gt;
    \relative c&amp;#039; {&lt;br /&gt;
      \repeat unfold 10 { c d e f }&lt;br /&gt;
      \addfoot #0 \markup { &amp;quot;Test3&amp;quot; }&lt;br /&gt;
      \repeat unfold 10 { c d e f }&lt;br /&gt;
      \bar &amp;quot;|.&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
\bookpart {&lt;br /&gt;
  \score {&lt;br /&gt;
    &amp;lt;&amp;lt;&lt;br /&gt;
      \new Staff \new Voice = &amp;quot;voc&amp;quot; {&lt;br /&gt;
        \relative c&amp;#039; {&lt;br /&gt;
          \repeat unfold 10 { c d e f }&lt;br /&gt;
          % override TextScript properties to move the number&lt;br /&gt;
          \once \override TextScript.self-alignment-X = #RIGHT&lt;br /&gt;
          \once \override TextScript.X-offset = #2&lt;br /&gt;
          \once \override TextScript.extra-offset = #&amp;#039;(0 . -1)&lt;br /&gt;
          \addfoot #DOWN \markup { \italic &amp;quot;mi = \&amp;quot;la\&amp;quot; in ancient ork&amp;quot; }&lt;br /&gt;
          \repeat unfold 10 { c d e f }&lt;br /&gt;
          \bar &amp;quot;|.&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
      }&lt;br /&gt;
      \new Lyrics \lyricsto &amp;quot;voc&amp;quot; {&lt;br /&gt;
        \repeat unfold 10 { la la la la }&lt;br /&gt;
        \repeat unfold 10 { mi mi mi mi }&lt;br /&gt;
    } &amp;gt;&amp;gt;&lt;br /&gt;
    \header {&lt;br /&gt;
      piece = &amp;quot;third&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/lilypond&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Text]]&lt;br /&gt;
[[Category:Editorial annotations]]&lt;br /&gt;
[[Category:Text]]&lt;/div&gt;</summary>
		<author><name>Jean Abou Samra</name></author>
	</entry>
</feed>