+\version "2.12.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"; }
-}