]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/footnote-auto-numbering-page-reset.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / footnote-auto-numbering-page-reset.ly
index 06a347ebdad08ff72bb90787252d826d303162c1..0d8c91b0c050904007bbce393bfc662c34ee0fe9 100644 (file)
@@ -1,6 +1,11 @@
-\version "2.15.7"
+\version "2.16.0"
 \header {
-  texidoc = "Lilypond does footnotes."
+  texidoc = "This is an example of automatic footnote numbering
+where the number is reset on each page.  It uses the symbol-footnotes
+numbering function, which assigns the symbols *, †, ‡, § and ¶ to
+successive footnotes, doubling up on the symbol after five footnotes
+have been reached.
+"
 }
 
 \paper {
 \book {
 
 \markup {
-  a \footnote b c
-  \footnote d e
-  \footnote f g
+  a \auto-footnote b c
+  \auto-footnote d e
+  \auto-footnote f g
 }
 
 \markup { h i }
 
 \relative c' {
-\autoFootnoteGrob #'NoteHead #'(1 . -1) \markup { j }
+\footnote #'(1 . -1) #'NoteHead \markup { j } \default
 a b c d }
 
 \pageBreak
 
-\markup { k \footnote l m }
+\markup { k \auto-footnote l m }
 
 \relative c' { a1 }
 
 \relative c' {
   d4 e
-  < f  a-\autoFootnote #'(1 . -1) \markup { n } c >
-  \autoFootnoteGrob #'Beam #'(1 . 1) \markup { o }
-  \autoFootnoteGrob #'Hairpin #'(1 . 1) \markup { p }
-  a8\< [ b c d ] a4 b c |
+  < f  \footnote #'(1 . -1) \markup { n } a c >
+  a8-\footnote #'(1 . 1) \markup { p } \<
+  -\footnote #'(1 . 1) \markup { o } [ b c d ] a4 b c |
   d a b c |
   d a b c |
   d a b c\f |