X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fvoice-follower.ly;h=463d20fa17a455efd5965bdb8bad044bfd704fe5;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=ab60b28730acc7bf116dd9f14468906e10c9c7b3;hpb=d2e7425b88e579fe53989106965fa13eab551c92;p=lilypond.git diff --git a/input/regression/voice-follower.ly b/input/regression/voice-follower.ly index ab60b28730..463d20fa17 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.8" +\version "2.14.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 = one \context Voice { - c1 - \translator Staff=two - b2 a - } - \context Staff = two {\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 } +>> + +