]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/lyrics-bar.ly
Improve straight flags code (Han-Wen's comments, better doc strings, etc.)
[lilypond.git] / input / regression / lyrics-bar.ly
1 \version "2.11.51"
2
3 \header{
4 texidoc="
5 Adding a @code{Bar_engraver} to the Lyrics context makes sure that
6 lyrics do not collide with barlines.
7 "
8 }
9
10 \layout {
11     ragged-right = ##t
12 }
13
14 <<
15     \new Staff \with
16     {
17 %       \remove "Bar_engraver"  
18         }
19     {
20         b1 \bar "|:" b1 \bar ":|"
21     }
22     \context Lyrics \with {
23         \consists "Bar_engraver"
24         \consists "Separating_line_group_engraver"
25         \override BarLine #'bar-size = #4 
26     } \lyricmode {
27           looooooooooooooooooooooooooooooooooong1 syllable
28       }
29     \lyrics {
30         no Bar_Engraver_Bar_Engraver_Bar_Engraver 
31     }
32     \new Staff \with {
33 %               \remove "Bar_engraver"  
34     } { b1 b1 }
35 >>
36         
37