X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fvoice-follower.ly;h=a992a5cfbd80df12718b2340cfa60f6aad092194;hb=refs%2Fheads%2Fupstream-mut;hp=d58d99bcc631b1d7af9b4d61ffc7044cda5ee15e;hpb=e1ff0d30d898275f978fef8005aaf4080d53988f;p=lilypond.git diff --git a/input/regression/voice-follower.ly b/input/regression/voice-follower.ly index d58d99bcc6..a992a5cfbd 100644 --- a/input/regression/voice-follower.ly +++ b/input/regression/voice-follower.ly @@ -1,20 +1,27 @@ +\version "2.16.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. " + +} +\layout{ + ragged-right = ##t } -\score { -\notes \relative c' -\context PianoStaff < - \property PianoStaff.followVoice = ##t - \context Staff \context Voice { - c1 - \translator Staff=two - b2 a - } - \context Staff=two {\clef bass \skip 1*2 } - >\paper{ -linewidth =-1. -}} + +\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 } +>> + +