]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/voice-follower.ly
Merge branch 'master' into dev/texi2html
[lilypond.git] / input / regression / voice-follower.ly
index c06c43b8838074ddf89c58420fa1c6c377447f0d..85881e730bde1da7d1e3709e9b6d1643bd4eb67c 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.4.0"
+\version "2.11.51"
 
 
 \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 }
+>>
+
+