]> git.donarmstrong.com Git - lilypond.git/blob - input/test/barline-lyric-only.ly
release: 1.3.150
[lilypond.git] / input / test / barline-lyric-only.ly
1 \header {
2
3 texidoc = "You can move around Bar_engraver and
4 Span_bar_engraver if you want bar lines on lyrics."  }
5
6
7 \score {
8 \notes \relative c' \context StaffGroup = groupie <
9  \context Staff = SA { c1 c1 c1}
10  \context Lyrics \lyrics <
11   { bla1 die bla }
12   { foo bar foo }
13   { foo bar foo }  
14  >
15  \context Staff = SB { c1 c1 c1} 
16
17  > 
18
19
20 \paper  {
21 \translator {
22   \LyricsVoiceContext
23   \consists Bar_engraver
24   % need procedure, since lyrics doesn't have a staff_sym engraver.
25   BarLine \override #'bar-size-procedure = #(lambda (x) 3.0)
26 }
27
28 \translator {
29   \LyricsContext
30   \consists "Span_bar_engraver"
31 }
32 \translator{
33   \StaffGroupContext
34   \remove "Span_bar_engraver"
35 }
36 }}