3 texidoc = "This regtest makes sure that footnote numbers are laid out
4 in the correct vertical order.
8 #(define (make-footnote-numbering-assertion-function n)
11 (ly:error (_ "Expecting number ~a, got ~a") n x))))
13 #(define (simultaneous-footnote-numbering-assertion-function x y)
15 (let ((n (if (grob::has-interface (ly:grob-parent grob Y)
21 (ly:error (_ "Expecting number ~a, got ~a") n x))))))
24 reset-footnotes-on-new-page = ##f
27 #(set-default-paper-size "a6")
31 \new Staff \relative {
33 \once \override FootnoteItem.numbering-assertion-function =
34 #(lambda (grob) (make-footnote-numbering-assertion-function 0))
35 < f \footnote #'(1 . -1) \markup { n } a c >
36 \once \override FootnoteSpanner.numbering-assertion-function =
37 #(simultaneous-footnote-numbering-assertion-function 2 4)
38 a8-\footnote #'(1 . 1) \markup { p } \<
39 -\footnote #'(1 . 1) \markup { o } [ b c d ] a4 b c\f |
42 \once \override FootnoteItem.numbering-assertion-function =
43 #(lambda (grob) (make-footnote-numbering-assertion-function 6))
44 < f \footnote #'(1 . -1) \markup { n } a c >
45 \once \override FootnoteSpanner.numbering-assertion-function =
46 #(simultaneous-footnote-numbering-assertion-function 8 10)
47 a8-\footnote #'(1 . 1) \markup { p } \<
48 -\footnote #'(1 . 1) \markup { o } [ b c d ] a4 b c |
51 \once \override FootnoteItem.numbering-assertion-function =
52 #(lambda (grob) (make-footnote-numbering-assertion-function 12))
53 < f \footnote #'(1 . -1) \markup { n } a c >
54 \once \override FootnoteSpanner.numbering-assertion-function =
55 #(simultaneous-footnote-numbering-assertion-function 14 16)
56 a8-\footnote #'(1 . 1) \markup { p } \<
57 -\single\footnote #'(1 . 1) \markup { o } Beam [ b c d ] a4 b c |
60 \new Staff \relative {
62 \once \override FootnoteItem.numbering-assertion-function =
63 #(lambda (grob) (make-footnote-numbering-assertion-function 1))
64 < f \footnote #'(1 . -1) \markup { n } a c >
65 \once \override FootnoteSpanner.numbering-assertion-function =
66 #(simultaneous-footnote-numbering-assertion-function 3 5)
67 a8-\single\footnote #'(1 . 1) \markup { p } Hairpin \<
68 -\footnote #'(1 . 1) \markup { o } [ b c d ] a4 b c\f |
71 \once \override FootnoteItem.numbering-assertion-function =
72 #(lambda (grob) (make-footnote-numbering-assertion-function 7))
73 < f \footnote #'(1 . -1) \markup { n } a c >
74 \once \override FootnoteSpanner.numbering-assertion-function =
75 #(simultaneous-footnote-numbering-assertion-function 9 11)
76 a8-\footnote #'(1 . 1) \markup { p } \<
77 -\footnote #'(1 . 1) \markup { o } [ b c d ] a4 b c |
80 \once \override FootnoteItem.numbering-assertion-function =
81 #(lambda (grob) (make-footnote-numbering-assertion-function 13))
82 < f \footnote #'(1 . -1) \markup { n } a c >
83 \once \override FootnoteSpanner.numbering-assertion-function =
84 #(simultaneous-footnote-numbering-assertion-function 15 17)
85 a8-\single\footnote #'(1 . 1) \markup { p } Hairpin \<
86 -\footnote #'(1 . 1) \markup { o } [ b c d ] a4 b c |