X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fbar-scripts.ly;h=f57fe3d1824db79736b6dd03f861aed68cb168ce;hb=19520fd5bbd221ca1d35011d7710e233c92a44b0;hp=91a9b3d4d184ebedf27cf091acabb285b3196b57;hpb=8b88bf025331c789167734067001a3d79501b433;p=lilypond.git diff --git a/input/regression/bar-scripts.ly b/input/regression/bar-scripts.ly index 91a9b3d4d1..f57fe3d182 100644 --- a/input/regression/bar-scripts.ly +++ b/input/regression/bar-scripts.ly @@ -1,42 +1,20 @@ +\version "2.14.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"; } -}