Naming a whole GrandStaff: Difference between revisions
Appearance
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
m New category |
||
| (One intermediate revision by the same user not shown) | |||
| Line 19: | Line 19: | ||
[[Category:Text]] | [[Category:Text]] | ||
[[Category:Contexts and engravers]] | [[Category:Contexts and engravers]] | ||
[[Category:Snippet]] | |||
Latest revision as of 23:26, 21 November 2025
You can have a name for the whole GrandStaff in addition to individual Staffs.
\version "2.24"
%% http://lsr.di.unimi.it/LSR/Item?id=115
\score {
\context GrandStaff <<
\context Staff = "treble" {
\set GrandStaff.instrumentName = "Violini "
\set Staff.instrumentName = " vn I" { c''4 }
}
\context Staff = "bass" { \set Staff.instrumentName = " vn II" c''4 }
>>
}