Naming a whole GrandStaff: Difference between revisions
Appearance
Import snippet from LSR |
m New category |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
You can have a name for the whole <code>GrandStaff</code> in addition to individual <code>Staff</code>s. | You can have a name for the whole <code>GrandStaff</code> in addition to individual <code>Staff</code>s. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
%% http://lsr.di.unimi.it/LSR/Item?id=115 | %% http://lsr.di.unimi.it/LSR/Item?id=115 | ||
| 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 }
>>
}