X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fvoice-follower.ly;h=c06de358c1bf7553dc2a3e319586a82e6bc70bc5;hb=2d77097febec5553176836dd3db6c43833c7ab6a;hp=8ab1b77a64403a8c2be284bde2361a8766e0ac4b;hpb=955f829883aa125b2b633b1e71f6256da5b773fa;p=lilypond.git diff --git a/input/regression/voice-follower.ly b/input/regression/voice-follower.ly index 8ab1b77a64..c06de358c1 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.0" +\version "2.12.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 - } - \context Staff=two {\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 } +>> + +