]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/lyrics-bar.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / lyrics-bar.ly
index f8b7d83575ad9f73d981d43b806c070e2f13638f..1a827522743b1c7bd8d59112494ee920555c3ba9 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.12.0"
+\version "2.14.0"
 
 \header{
 texidoc="
@@ -11,27 +11,29 @@ lyrics do not collide with barlines.
     ragged-right = ##t
 }
 
-<<
-    \new Staff \with
-    {
-%      \remove "Bar_engraver"  
-       }
-    {
-       b1 \bar "|:" b1 \bar ":|"
+\relative c'' <<
+    \new Voice = "a"{
+       b1 \bar "|:" b1 \bar ":|" b1 \bar "|."
     }
-    \context Lyrics \with {
+    \new Lyrics \with {
        \consists "Bar_engraver"
        \consists "Separating_line_group_engraver"
-       \override BarLine #'bar-size = #4 
-    } \lyricmode {
-         looooooooooooooooooooooooooooooooooong1 syllable
+    } \lyricsto "a" {
+         bars lengthened if
       }
-    \lyrics {
-       no Bar_Engraver_Bar_Engraver_Bar_Engraver 
+    \new Lyrics \lyricsto "a" {
+       required for noncollision
+    }
+    \new Staff {
+       b1 b1 b1
     }
-    \new Staff \with {
-%              \remove "Bar_engraver"  
-    } { b1 b1 }
 >>
-       
+\layout {
+  \context {
+    \Lyrics
+      \override VerticalAxisGroup #'nonstaff-nonstaff-spacing #'minimum-distance = #4.2
+      \override LyricText #'Y-offset = #-0.7
+      \override BarLine #'bar-extent = #'(-2 . 2)
+  }
+}