X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fbar-scripts.ly;h=540e761786c7ca4296a5905bac3050edfeae411e;hb=2c1ffb66705c456712ad619a5296f080a7433756;hp=91a9b3d4d184ebedf27cf091acabb285b3196b57;hpb=8b88bf025331c789167734067001a3d79501b433;p=lilypond.git diff --git a/input/regression/bar-scripts.ly b/input/regression/bar-scripts.ly index 91a9b3d4d1..540e761786 100644 --- a/input/regression/bar-scripts.ly +++ b/input/regression/bar-scripts.ly @@ -1,42 +1,20 @@ +\version "2.16.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. -"; -} - - -onestaff = \context Staff = foo\notes { - \property Staff.instr = instr - \property Staff.instrument = instrument \mark "B"; - c1 \mark "A"; \break c2 c2 \break +Markings can be attached to (invisible) barlines. +" } -grstaff = \notes \context GrandStaff < - \context Staff = bar { - - \property Staff.instr = instr - - \mark "B"; \break c1 \mark "A"; c2 } - \context Staff = bufl { c1 c2 } -> +\layout { ragged-right = ##t } -scpaper = \paper {\translator {\OrchestralScoreContext}} -% stpaper = \paper{ \translator {\BarNumberingStaffContext }} -stpaper = \paper{ } +\relative c'' +\context GrandStaff << + \new Staff { -scscore = \score { \grstaff \paper { -\scpaper -}} - - -stscore = \score { \onestaff \paper { - \stpaper -}} + \set Staff.shortInstrumentName = instr + + \mark "B" \break c1 \mark "A" c2 } + \new Staff { c1 c2 } +>> -%\score {\stscore} -\score {\scscore -\header { title = "bar scripts"; } -}