-#(ly:set-option 'old-relative)
-\version "1.9.1"
+\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.
+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"
- c1 \mark "A" \break c2 c2 \break
-}
-
-grstaff = \notes \relative c'' \context GrandStaff <
- \context Staff = bar {
+\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 }
->
-
-
-\score {\grstaff}
+ \new Staff { c1 c2 }
+>>