]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/footnote-break-visibility.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / footnote-break-visibility.ly
index 23e9035a7128688ffb8ab050ab39291fb6ed843c..e6a3698c7184d24f531022ac5e28452f36b3d151 100644 (file)
@@ -1,24 +1,25 @@
-\version "2.14.0"
+\version "2.16.0"
 \header {
   texidoc = "With grobs that have break visibility, footnotes will
-automatically print to the first line of the break.  This behavior
-can be overrided."
+automatically take the break visibility of the grob being footnoted.
+This behavior can be overridden.
+"
 }
 
 #(set-default-paper-size "a6")
 
 \book {
 
-\new Staff \with { \consists "Footnote_engraver" }
+\new Staff
 {
   \relative c' {
     c1
-    \footnoteGrob #'TimeSignature #'(0 . 2) "foo" "bar"
+    \footnote "foo" #'(0 . 2) #'TimeSignature "bar" \default
     \time 3/4
     \break \pageBreak
     c2.
-    \once \override Staff . FootnoteItem #'break-visibility = ##(#f #f #t)
-    \footnoteGrob #'TimeSignature #'(0 . 2) "foo" "bar"
+    \once \override Score . FootnoteItem #'break-visibility = ##(#f #f #t)
+    \footnote "foo" #'(0 . 2) #'TimeSignature "bar" \default
     \time 4/4
     \break \pageBreak
     c1 \bar "|."