X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Ftest%2Finstrument-name-grandstaff.ly;h=004d79c84403da251c13f646024a72e61c8b7c53;hb=931465a3c93bd73bdabfcaccb71c37f4b4e5b814;hp=40314b8c8e89026c5b3590fbbd5af1be1e97aead;hpb=9c31b0d42a407a412a324a6586cfb0437de4bfd8;p=lilypond.git diff --git a/input/test/instrument-name-grandstaff.ly b/input/test/instrument-name-grandstaff.ly index 40314b8c8e..004d79c844 100644 --- a/input/test/instrument-name-grandstaff.ly +++ b/input/test/instrument-name-grandstaff.ly @@ -1,19 +1,19 @@ -\version "2.1.36" +\version "2.9.13" \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 { - \set GrandStaff.instrument = "Violini " - \set Staff.instrument = " vn I" { c''4 }} - \context Staff = bass { \set Staff.instrument = " vn II" c''4 }>> + + \new GrandStaff << + \new Staff = "treble" { + \set GrandStaff.instrumentName = "Violini " + \set Staff.instrumentName = " vn I" { c''4 }} + \new Staff = "bass" { \set Staff.instrumentName = " vn II" c''4 }>> -\paper { -raggedright = ##t -\context { \GrandStaffContext \consists "Instrument_name_engraver" } +\layout { +ragged-right = ##t +\context { \GrandStaff \consists "Instrument_name_engraver" } }}