]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/voice-follower.ly
Merge commit 'origin/dev/jneeman' into systems-per-page
[lilypond.git] / input / regression / voice-follower.ly
index ab84d342ae7d9290f17e2327c1ca092c4b1c6c7f..c06de358c1bf7553dc2a3e319586a82e6bc70bc5 100644 (file)
@@ -1,24 +1,27 @@
-#(ly:set-option 'old-relative)
-\version "1.9.4"
+\version "2.12.0"
 
 
 \header { texidoc= "
 
 Whenever a voice switches to another staff a line connecting the notes
 can be printed automatically. This is enabled if the property
-@code{Thread.followVoice} is set to true. "
+@code{followVoice} is set to true. "
 
 }
-\score {
-\notes \relative c'
+
+\layout{ 
+  ragged-right = ##t 
+}
+
+\relative c'
 \context PianoStaff <<
-    \property PianoStaff.followVoice = ##t
-    \context Staff \context Voice {
-      c1
-      \translator Staff=two
-      b2 a
-    }
-    \new Staff {\clef bass \skip 1*2 }
-  >>\paper{ 
-linewidth =-1.
-}}
+  \set PianoStaff.followVoice = ##t
+  \new Staff = "one" \context Voice {
+    c1
+    \change Staff=two
+    b2 a
+  }
+  \new Staff = "two" {\clef bass \skip 1*2 }
+>>
+
+