]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/span-bar-allow-span-bar.ly
Merge remote-tracking branch 'origin/translation'
[lilypond.git] / input / regression / span-bar-allow-span-bar.ly
1
2 \version "2.19.2"
3
4 \header {
5   texidoc = "The @code{SpanBarStub} grob takes care of horizontal spacing
6 for @code{SpanBar} grobs.  When the @code{SpanBar} is disallowed, objects
7 in contexts that the span bar would have otherwise crossed align as if the
8 span bar were not there.
9 "
10 }
11
12 <<
13   \new Staff {
14     \repeat unfold 64 { c''8 }
15   }
16   \new GrandStaff <<
17     \new Staff
18       \new Voice = "upper"
19         \relative c'' {
20           c2 c c c
21           \once \override Staff.BarLine.allow-span-bar = ##f
22           c2 c c c
23           c2 c c c
24           \once \override Staff.BarLine.allow-span-bar = ##f
25           c2 c c c
26         }
27     \new Lyrics \lyricsto "upper" {
28       long-syllable a b c long-syllable a b c
29       long-syllable a b c long-syllable a b c
30     }
31
32     \new Staff
33       \new Voice = "middle"
34         \relative c'' {
35           c2 c c c
36           c2 c c c
37           c2 c c c
38           \once \override Staff.BarLine.allow-span-bar = ##f
39           c2 c c c
40         }
41     \new Lyrics \lyricsto "middle" {
42       syllable a b c syllable a b c
43       syllable a b c syllable a b c
44     }
45
46     \new Staff
47       \new Voice = "lower"
48         \relative c'' {
49           c2 c c c
50           c2 c c c
51           c2 c c c
52           c2 c c c
53         }
54     \new Lyrics \lyricsto "lower" {
55       word a b c word a b c
56       word a b c word a b c
57     }
58   >>
59 >>