]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/bar-lines-lyric-only.ly
The grand \paper -> \layout, \bookpaper -> \paper renaming.
[lilypond.git] / input / test / bar-lines-lyric-only.ly
index e929beb2ae2a4f66d37be8659b89a4dd30f74720..395ea93bc780e37cc60bc17c8fe3968a9f8e4120 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.3.8"
+\version "2.3.22"
 \header { texidoc = "@cindex Bar line lyric only
 You can move @code{Bar_engraver} and @code{Span_bar_engraver} to 
 a different engraving context, if you want, for example, bar lines 
@@ -6,36 +6,33 @@ on lyrics. "
 }
 
 \score {
- \relative c' \context ChoirStaff <<
- \new Staff { c1 c1 c1}
- \context Lyrics \lyrics <<
-  { bla1 die bla }
-  { foo bar foo }
-  { foo bar foo }  
- >>
- \new Staff { c1 c1 c1} 
- >>
+    \relative c' \context ChoirStaff <<
+       \new Staff { c1 c1 c1}
+       \lyricmode <<
+           \new Lyrics  { bla1 die bla }
+       >>
+       \new Staff { c1 c1 c1} 
+    >>
 
 
-\paper  {
+    \layout  {
        raggedright = ##t
-\context {
-  \Lyrics
-  \consists Bar_engraver
-  % need procedure, since lyrics doesn't have a staff_sym engraver.
-  \override BarLine #'bar-size-procedure = #(lambda (x) 3.0)
-}
-\context {
-  \Lyrics
-  \consists "Span_bar_engraver"
-}
-\context{
-  \ChoirStaff
-  \remove "Span_bar_engraver"
-}
-\context {
-  \Staff
-  \remove "Bar_engraver"
+       \context {
+           \Lyrics
+           \consists Bar_engraver
+
+
+           %% need procedure, since lyrics doesn't have a staff_sym engraver.
+           \override BarLine #'bar-size-procedure = #(lambda (x) 3.0)
+       }
+       \context{
+           \ChoirStaff
+           \remove "Span_bar_engraver"
+       }
+       \context {
+           \Staff
+           \remove "Bar_engraver"
+       }
+    }
 }
-}}