]> git.donarmstrong.com Git - lilypond.git/blob - input/test/instrument-name-grandstaff.ly
Massive changes - see ChangeLog.
[lilypond.git] / input / test / instrument-name-grandstaff.ly
1 \version "1.9.0"
2 \header { texidoc = "@cindex Instrument Name Grandstaff
3 You can name the whole grandstaff in addition to individual staffs. " }
4
5 \score {
6   \notes
7   \notes \context GrandStaff <
8     \context Staff = treble    {
9       \property GrandStaff.instrument = "Violini  "
10       \property Staff.instrument = " vn I" { c''4 }}
11     \context Staff = bass { \property Staff.instrument = " vn II" c''4 }>
12
13
14 \paper {
15 raggedright = ##t
16 \translator { \StaffContext
17   \consists "Instrument_name_engraver"
18   }
19 \translator { \GrandStaffContext \consists "Instrument_name_engraver" }
20 }}
21