LEFT | RIGHT |
1 \version "2.15.39" | 1 \version "2.15.39" |
2 \header { | 2 \header { |
3 texidoc = "This is an example of automatic footnote numbering | 3 texidoc = "This is an example of automatic footnote numbering |
4 where the number is not reset on each page. It uses the default | 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 | 5 numbering function, which assigns numbers starting at 1 to successive |
6 footnotes. | 6 footnotes. |
7 " | 7 " |
8 } | 8 } |
9 | 9 |
10 #(define (make-footnote-numbering-assertion-function n) | 10 #(define (make-footnote-numbering-assertion-function n) |
(...skipping 22 matching lines...) Expand all Loading... |
33 a \auto-footnote b c | 33 a \auto-footnote b c |
34 \auto-footnote d e | 34 \auto-footnote d e |
35 \auto-footnote f g | 35 \auto-footnote f g |
36 } | 36 } |
37 | 37 |
38 \markup { h i } | 38 \markup { h i } |
39 | 39 |
40 \relative c' { | 40 \relative c' { |
41 \once \override FootnoteItem #'numbering-assertion-function = | 41 \once \override FootnoteItem #'numbering-assertion-function = |
42 #(lambda (grob) (make-footnote-numbering-assertion-function 3)) | 42 #(lambda (grob) (make-footnote-numbering-assertion-function 3)) |
43 \footnote #'(1 . -1) #'NoteHead \markup { j } | 43 \footnote #'(1 . -1) #'NoteHead \markup { j } \default |
44 a b c d | 44 a b c d |
45 } | 45 } |
46 | 46 |
47 \pageBreak | 47 \pageBreak |
48 | 48 |
49 \markup { k \auto-footnote l m } | 49 \markup { k \auto-footnote l m } |
50 | 50 |
51 \relative c' { a1 } | 51 \relative c' { a1 } |
52 | 52 |
53 \relative c' { | 53 \relative c' { |
54 d4 e | 54 d4 e |
55 \once \override FootnoteItem #'numbering-assertion-function = | 55 \once \override FootnoteItem #'numbering-assertion-function = |
56 #(lambda (grob) (make-footnote-numbering-assertion-function 5)) | 56 #(lambda (grob) (make-footnote-numbering-assertion-function 5)) |
57 < f \footnote #'(1 . -1) \markup { n } a c > | 57 < f \footnote #'(1 . -1) \markup { n } a c > |
58 \once \override FootnoteSpanner #'numbering-assertion-function = | 58 \once \override FootnoteSpanner #'numbering-assertion-function = |
59 #(simultaneous-footnote-numbering-assertion-function 6 7) | 59 #(simultaneous-footnote-numbering-assertion-function 6 7) |
60 a8-\footnote #'(1 . 1) \markup { p } \< | 60 a8-\footnote #'(1 . 1) \markup { p } \< |
61 -\footnote #'(1 . 1) \markup { o } [ b c d ] a4 b c | | 61 -\footnote #'(1 . 1) \markup { o } [ b c d ] a4 b c | |
62 d a b c | | 62 d a b c | |
63 d a b c | | 63 d a b c | |
64 d a b c\f | | 64 d a b c\f | |
65 }} | 65 }} |
LEFT | RIGHT |