]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/footnote-auto-numbering-page-reset.ly
Revert "Merge branch 'footnote' into HEAD"
[lilypond.git] / input / regression / footnote-auto-numbering-page-reset.ly
1 \version "2.15.25"
2 \header {
3   texidoc = "This is an example of automatic footnote numbering
4 where the number is reset on each page.  It uses the symbol-footnotes
5 numbering function, which assigns the symbols *, †, ‡, § and ¶ to
6 successive footnotes, doubling up on the symbol after five footnotes
7 have been reached.
8 "
9 }
10
11 \paper {
12   footnote-numbering-function = #symbol-footnotes
13 }
14
15 #(set-default-paper-size "a6")
16 \book {
17
18 \markup {
19   a \auto-footnote b c
20   \auto-footnote d e
21   \auto-footnote f g
22 }
23
24 \markup { h i }
25
26 \relative c' {
27 \footnote #'(1 . -1) #'NoteHead \markup { j }
28 a b c d }
29
30 \pageBreak
31
32 \markup { k \auto-footnote l m }
33
34 \relative c' { a1 }
35
36 \relative c' {
37   d4 e
38   < f  a-\footnote #'(1 . -1) \markup { n } c >
39   \footnote #'(1 . 1) #'Beam \markup { o }
40   \footnote #'(1 . 1) #'Hairpin \markup { p }
41   a8\< [ b c d ] a4 b c |
42   d a b c |
43   d a b c |
44   d a b c\f |
45 }}