Naming a whole GrandStaff: Difference between revisions
Appearance
Import snippet from LSR |
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 |
||
| 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 | ||
Revision as of 18:58, 16 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 }
>>
}