X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fvoice-follower.ly;h=100327638cb6b81f68e823b454cfb8512f3f6fe0;hb=62b479a90308f3721a6667f8e55c9a8d80b10cd4;hp=c34be884e1a208204272ffa234f3cad4b5fa3434;hpb=62e36043035ba8e0a9c1137077ff45d794a7003e;p=lilypond.git diff --git a/input/regression/voice-follower.ly b/input/regression/voice-follower.ly index c34be884e1..100327638c 100644 --- a/input/regression/voice-follower.ly +++ b/input/regression/voice-follower.ly @@ -1,23 +1,27 @@ -\version "2.1.19" +\version "2.19.21" \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{Voice.followVoice} is set to true. " +@code{followVoice} is set to true. " } -\score { -\notes \relative c' + +\layout{ + ragged-right = ##t +} + +\relative \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 { + c'1 + \change Staff=two + b2 a + } + \new Staff = "two" {\clef bass \skip 1*2 } +>> + +