X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fvoice-follower.ly;h=362622c63c844165142e5524035fd22d49780132;hb=d461778d6fd14bf62f726fe795e2ef542e2133c1;hp=64d19ec2c6b083113c7ae6a14abb34beb0460c75;hpb=11613b92019bb42418863f43de92287a64878f14;p=lilypond.git diff --git a/input/regression/voice-follower.ly b/input/regression/voice-follower.ly index 64d19ec2c6..362622c63c 100644 --- a/input/regression/voice-follower.ly +++ b/input/regression/voice-follower.ly @@ -1,24 +1,27 @@ -#(ly:set-option 'old-relative) -\version "1.9.2" +\version "2.10.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' -\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. -}} + +\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 } +>> + +