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) #'NoteHead \markup { j }
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 a-\footnote #'(1 . -1) \markup { n } c >
58 \once \override FootnoteSpanner #'numbering-assertion-function =
59 #(simultaneous-footnote-numbering-assertion-function 6 7)
60 \footnote #'(1 . 1) #'Beam \markup { o }
61 \footnote #'(1 . 1) #'Hairpin \markup { p }
62 a8\< [ b c d ] a4 b c |