X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fbar-scripts.ly;h=20878be02ee7437515e9de4292d7fe36e2a7efe6;hb=3ee5a5b2e566aa1638b4cb2d883e8e2b99c3fce5;hp=b4a4e76780cab9d6b18e6e1fb630d368ce9a64bd;hpb=955f829883aa125b2b633b1e71f6256da5b773fa;p=lilypond.git diff --git a/input/regression/bar-scripts.ly b/input/regression/bar-scripts.ly index b4a4e76780..20878be02e 100644 --- a/input/regression/bar-scripts.ly +++ b/input/regression/bar-scripts.ly @@ -1,29 +1,28 @@ -#(ly:set-option 'old-relative) -\version "1.9.0" +\version "2.10.0" \header{ texidoc=" -Markings that are attached to (invisible) barlines are -delicate: the are attached to the rest of the score without the score -knowing it. Consequently, they fall over often. +Markings can be attached to (invisible) barlines. " } +\layout { ragged-right = ##t } -onestaff = \context Staff = foo\notes\relative c'' { - \property Staff.instr = instr - \property Staff.instrument = instrument \mark "B" +onestaff = \new Staff\relative c'' { + \set Staff.shortInstrumentName = instr + \set Staff.instrumentName = instrument \mark "B" c1 \mark "A" \break c2 c2 \break } -grstaff = \notes \relative c'' \context GrandStaff < - \context Staff = bar { +grstaff = \relative c'' +\context GrandStaff << + \new Staff { - \property Staff.instr = instr + \set Staff.shortInstrumentName = instr \mark "B" \break c1 \mark "A" c2 } - \context Staff = bufl { c1 c2 } -> + \new Staff { c1 c2 } +>> \score {\grstaff}