]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/voice-follower.ly
* lily/beam-quanting.cc (score_forbidden_quants): remove
[lilypond.git] / input / regression / voice-follower.ly
index ab60b28730acc7bf116dd9f14468906e10c9c7b3..6c7ce00ecf908026599d0f7d5085560fb33e5098 100644 (file)
@@ -1,24 +1,25 @@
-#(ly:set-option 'old-relative)
-\version "1.9.8"
+\version "2.3.4"
 
 
 \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'
-\context PianoStaff <<
-    \property PianoStaff.followVoice = ##t
-    \context Staff = one \context Voice {
-      c1
-      \translator Staff=two
-      b2 a
+     \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 }
+    >>
+    \paper{ 
+       raggedright = ##t 
     }
-    \context Staff = two {\clef bass \skip 1*2 }
-  >>\paper{ 
-linewidth =-1.
-}}
+}