X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fvoice-follower.ly;h=463d20fa17a455efd5965bdb8bad044bfd704fe5;hb=2f320e9722ec20d6f13ec567d007763cc912c5da;hp=90fb397815fb2784ea93eb69a8a6a144c3af8f90;hpb=4c8187e65dd9708d7733692842acc696da121bf1;p=lilypond.git diff --git a/input/regression/voice-follower.ly b/input/regression/voice-follower.ly index 90fb397815..463d20fa17 100644 --- a/input/regression/voice-follower.ly +++ b/input/regression/voice-follower.ly @@ -1,24 +1,27 @@ -#(ly:set-option 'old-relative) -\version "2.1.7" +\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 - \change 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 } +>> + +