X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=input%2Fregression%2Fnote-line.ly;h=a59378224ee6d83d64c00c68cf53164914bed68b;hb=9079a8e47afbb0895850c2ea81b9316e85fdfab4;hp=c7c6fe5eb9dbf3a5b35adb3f205265d3fc40368d;hpb=955f829883aa125b2b633b1e71f6256da5b773fa;p=lilypond.git diff --git a/input/regression/note-line.ly b/input/regression/note-line.ly index c7c6fe5eb9..a59378224e 100644 --- a/input/regression/note-line.ly +++ b/input/regression/note-line.ly @@ -1,29 +1,30 @@ -\version "1.9.0" +\version "2.12.0" \header { -texidoc = "Note head lines (e.g. glissando) + texidoc = "Note head lines (e.g. glissando) run between centers of the note heads." } -su = \notes{ \translator Staff = up} -sd = \notes{ \translator Staff = down} +su = { \change Staff = up} +sd = { \change Staff = down} -\score { - \context PianoStaff - \notes < - \context Staff = up { - \property PianoStaff.connectArpeggios = ##t - \showStaffSwitch - \clef F - c4 d \sd b a g8 f16 e32 d \su g2 \glissando a,4 \sd \break a2. \su g4 \glissando f1 - } - \context Staff = down { - \clef F s1*4 - } - > -\paper { - linewidth = 8.0 \cm -} + +\layout { + line-width = 8.0 \cm } +\context PianoStaff +<< + \new Staff = "up" { + \override Glissando #'breakable = ##t + \set PianoStaff.connectArpeggios = ##t + \showStaffSwitch + \clef F + c4 d \sd b a g8 f16 e32 d \su g2 \glissando a,4 \sd \break a2. \su g4 \glissando f1 + } + \new Staff = "down" { + \clef F s1*4 + } +>> +