]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/footnote-auto-numbering-page-reset.ly
Manual changes to documentation and regtests for footnotes.
[lilypond.git] / input / regression / footnote-auto-numbering-page-reset.ly
1 \version "2.15.39"
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 } \default
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  \footnote #'(1 . -1) \markup { n } a c >
39   a8-\footnote #'(1 . 1) \markup { p } \<
40   -\footnote #'(1 . 1) \markup { o } [ b c d ] a4 b c |
41   d a b c |
42   d a b c |
43   d a b c\f |
44 }}