X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Ftest%2Finstrument-name-grandstaff.ly;h=e875d99ae62af6d69a2ee8d06747bd7fbf0e8fd9;hb=220b66840c9195fe4b8809a0639dcd320aac247d;hp=5a622154cd69b2da61956488bb18cc6ad8b705a0;hpb=ea8506894a420e3393858a3ee284ab6b2f12c6d6;p=lilypond.git diff --git a/input/test/instrument-name-grandstaff.ly b/input/test/instrument-name-grandstaff.ly index 5a622154cd..e875d99ae6 100644 --- a/input/test/instrument-name-grandstaff.ly +++ b/input/test/instrument-name-grandstaff.ly @@ -1,20 +1,19 @@ -\version "1.7.18" - +\version "2.7.39" +\header { texidoc = "@cindex Instrument Name Grandstaff +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 }> + + \new GrandStaff << + \new Staff = "treble" { + \set GrandStaff.instrument = "Violini " + \set Staff.instrument = " vn I" { c''4 }} + \new Staff = "bass" { \set Staff.instrument = " vn II" c''4 }>> -\paper { -raggedright = ##t -\translator { \StaffContext - \consists "Instrument_name_engraver" - } -\translator { \GrandStaffContext \consists "Instrument_name_engraver" } +\layout { +ragged-right = ##t +\context { \GrandStaff \consists "Instrument_name_engraver" } }} -%% new-chords-done %% +