]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/footnote-break-visibility.ly
Merge branch 'master' of git://git.savannah.gnu.org/lilypond.git
[lilypond.git] / input / regression / footnote-break-visibility.ly
1 \version "2.14.0"
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 \paper {
11   footnote-auto-numbering = ##f
12 }
13
14 \book {
15
16 \new Staff \with { \consists "Footnote_engraver" }
17 {
18   \relative c' {
19     c1
20     \footnoteGrob #'TimeSignature #'(0 . 2) "foo" "bar"
21     \time 3/4
22     \break \pageBreak
23     c2.
24     \once \override Staff . FootnoteItem #'break-visibility = ##(#f #f #t)
25     \footnoteGrob #'TimeSignature #'(0 . 2) "foo" "bar"
26     \time 4/4
27     \break \pageBreak
28     c1 \bar "|."
29 }}}