]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/voice-follower.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / voice-follower.ly
index 426c110720641b04d35e18ae46fe08ae7690f794..a992a5cfbd80df12718b2340cfa60f6aad092194 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.6.0"
+\version "2.16.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 }
+>>
+
+