]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/voice-follower.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / input / regression / voice-follower.ly
index 58da177a1ceebbbfb2db793d49ada94caaf59827..463d20fa17a455efd5965bdb8bad044bfd704fe5 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.3.22"
+\version "2.14.0"
 
 
 \header { texidoc= "
@@ -7,19 +7,21 @@ Whenever a voice switches to another staff a line connecting the notes
 can be printed automatically. This is enabled if the property
 @code{followVoice} is set to true. "
 
-      }
-\score {
-     \relative c'
-    \context PianoStaff <<
-       \set PianoStaff.followVoice = ##t
-       \context Staff = one \context Voice {
-           c1
-           \change Staff=two
-           b2 a
-       }
-       \context Staff = two {\clef bass \skip 1*2 }
-    >>
-    \layout{ 
-       raggedright = ##t 
-    }
 }
+
+\layout{ 
+  ragged-right = ##t 
+}
+
+\relative c'
+\context PianoStaff <<
+  \set PianoStaff.followVoice = ##t
+  \new Staff = "one" \context Voice {
+    c1
+    \change Staff=two
+    b2 a
+  }
+  \new Staff = "two" {\clef bass \skip 1*2 }
+>>
+
+