-\version "1.9.4"
+\version "2.3.2"
\header { texidoc = "@cindex Instrument Name Grandstaff
-You can name the whole grandstaff in addition to individual staffs. " }
+You can have a name for the whole @code{GrandStaff} in addition to
+individual @code{Staff}s. " }
\score {
\notes
\notes \context GrandStaff <<
\context Staff = treble {
- \property GrandStaff.instrument = "Violini "
- \property Staff.instrument = " vn I" { c''4 }}
- \context Staff = bass { \property Staff.instrument = " vn II" c''4 }>>
+ \set GrandStaff.instrument = "Violini "
+ \set Staff.instrument = " vn I" { c''4 }}
+ \context Staff = bass { \set Staff.instrument = " vn II" c''4 }>>
\paper {
raggedright = ##t
-\translator { \GrandStaffContext \consists "Instrument_name_engraver" }
+\context { \GrandStaff \consists "Instrument_name_engraver" }
}}