]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/footnote-break-visibility.ly
e45d8012af2666cef2e7b2821c1be6f5754e0849
[lilypond.git] / input / regression / footnote-break-visibility.ly
1 \version "2.13.54"
2 \header {
3   texidoc = "With grobs that have break visibility, footnotes will
4 automatically print to the first line of the break.  This behavior
5 can be overrided."
6 }
7
8 #(set-default-paper-size "a6")
9
10 \book {
11
12 \new Staff \with { \consists "Footnote_engraver" }
13 {
14   \relative c' {
15     c1
16     \footnoteGrob #'TimeSignature #'(0 . 2) "foo" "bar"
17     \time 3/4
18     \break \pageBreak
19     c2.
20     \once \override Staff . FootnoteItem #'break-visibility = ##(#f #f #t)
21     \footnoteGrob #'TimeSignature #'(0 . 2) "foo" "bar"
22     \time 4/4
23     \break \pageBreak
24     c1 \bar "|."
25 }}}