3 texidoc = "This is an example of automatic footnote numbering
4 where the number is not reset on each page. It uses the default
5 numbering function, which assigns numbers starting at 1 to successive
10 #(define (make-footnote-numbering-assertion-function n)
13 (ly:error (_ "Expecting number ~a, got ~a") n x))))
15 #(define (simultaneous-footnote-numbering-assertion-function x y)
17 (let ((n (if (grob::has-interface (ly:grob-parent grob Y)
23 (ly:error (_ "Expecting number ~a, got ~a") n x))))))
26 reset-footnotes-on-new-page = ##f
29 #(set-default-paper-size "a6")
41 \once \override FootnoteItem.numbering-assertion-function =
42 #(lambda (grob) (make-footnote-numbering-assertion-function 3))
43 \footnote #'(1 . -1) \markup { j } NoteHead
49 \markup { k \auto-footnote l m }
55 \once \override FootnoteItem.numbering-assertion-function =
56 #(lambda (grob) (make-footnote-numbering-assertion-function 5))
57 < f \footnote #'(1 . -1) \markup { n } a c >
58 \once \override FootnoteSpanner.numbering-assertion-function =
59 #(simultaneous-footnote-numbering-assertion-function 6 7)
60 a8-\footnote #'(1 . 1) \markup { p } \<
61 -\footnote #'(1 . 1) \markup { o } [ b c d ] a4 b c |