]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/bar-lines-lyric-only.ly
(fill_pages): New method. Try to cramp or
[lilypond.git] / input / test / bar-lines-lyric-only.ly
index 7709d8b618b08fe2e93aca70cfc375c6486165ed..346f59294c36315bb17e0039943f3a9d8ea3b786 100644 (file)
@@ -1,38 +1,39 @@
-\version "1.9.2"
+\version "2.1.30"
 \header { texidoc = "@cindex Bar line lyric only
-You can move around @code{Bar_engraver} and
-@code{Span_bar_engraver} if you want bar lines on lyrics. "
+You can move @code{Bar_engraver} and @code{Span_bar_engraver} to 
+a different engraving context, if you want, for example, bar lines 
+on lyrics. "
 }
 
 \score {
-\notes \relative c' \context ChoirStaff <
+\notes \relative c' \context ChoirStaff <<
  \new Staff { c1 c1 c1}
- \context Lyrics \lyrics <
+ \context Lyrics \lyrics <<
   { bla1 die bla }
   { foo bar foo }
   { foo bar foo }  
- >
+ >>
  \new Staff { c1 c1 c1} 
- >
+ >>
 
 
 \paper  {
        raggedright = ##t
-\translator {
-  \LyricsVoiceContext
+\context {
+  \LyricsContext
   \consists Bar_engraver
   % need procedure, since lyrics doesn't have a staff_sym engraver.
-  BarLine \override #'bar-size-procedure = #(lambda (x) 3.0)
+  \override BarLine #'bar-size-procedure = #(lambda (x) 3.0)
 }
-\translator {
+\context {
   \LyricsContext
   \consists "Span_bar_engraver"
 }
-\translator{
+\context{
   \ChoirStaffContext
   \remove "Span_bar_engraver"
 }
-\translator {
+\context {
   \StaffContext
   \remove "Bar_engraver"
 }