]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/follow-voice-break.ly
165523e41c6c4c0f37446e84f6c034d008c55b9e
[lilypond.git] / input / regression / follow-voice-break.ly
1
2 \version "2.1.26"
3 \header{
4        texidoc = "
5 The line-spanners connects to the Y position of the note  on the next line.
6 When put across line breaks, only the part before the line break is
7 printed. 
8 "
9
10 }
11
12 \score{
13         \context PianoStaff <<
14             \set PianoStaff.followVoice = ##t       
15                 \context Staff=one \notes\relative c''{
16                     a1 \break
17                     \change Staff=two
18                     a,
19                 }
20         \context Staff=two { \clef bass \skip 1*2 }
21     >>
22     \paper{
23         raggedright = ##t
24     }
25 }