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