]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/lyrics-bar.ly
Merge branch 'translation' into staging
[lilypond.git] / input / regression / lyrics-bar.ly
index ead137c1dd945c4d437304988f2b6c430893b9fb..1f41177f9b1e8368b01d2044572c083aec0dfd3e 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.13.48"
+\version "2.17.5"
 
 \header{
 texidoc="
@@ -11,27 +11,27 @@ lyrics do not collide with barlines.
     ragged-right = ##t
 }
 
-<<
-    \new Staff {
-       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"
-    } \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 b1 b1
     }
 >>
 \layout {
   \context {
     \Lyrics
-      \override VerticalAxisGroup #'nonstaff-nonstaff-spacing #'minimum-distance = #4
+      \override VerticalAxisGroup #'nonstaff-nonstaff-spacing #'minimum-distance = #4.2
       \override LyricText #'Y-offset = #-0.7
       \override BarLine #'bar-extent = #'(-2 . 2)
   }