]> git.donarmstrong.com Git - lilypond.git/blob - input/test/bar-lines-lyric-only.ly
Merge branch 'origin' into master-hanwen
[lilypond.git] / input / test / bar-lines-lyric-only.ly
1 \version "2.10.0"
2 \header { texidoc = "@cindex Bar line lyric only
3 You can move @code{Bar_engraver} and @code{Span_bar_engraver} to 
4 a different engraving context, if you want, for example, bar lines 
5 on lyrics. "
6 }
7
8 \score {
9     \relative c' \context ChoirStaff <<
10         \new Staff { c1 c1 c1}
11         \lyricmode <<
12             \new Lyrics  { bla1 die bla }
13         >>
14         \new Staff { c1 c1 c1} 
15     >>
16
17
18     \layout  {
19         ragged-right = ##t
20         \context {
21             \Lyrics
22             \consists Bar_engraver
23
24
25             %% need procedure, since lyrics doesn't have a staff_sym engraver.
26             \override BarLine #'bar-size = #3.0
27         }
28         \context{
29             \ChoirStaff
30             \remove "Span_bar_engraver"
31         }
32         \context {
33             \Staff
34             \remove "Bar_engraver"
35         }
36     }
37 }
38