Changing the number of lines in a staff: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 24: | Line 24: | ||
</lilypond> | </lilypond> | ||
[[Category:Specific notation]] | |||
[[Category:Staff notation]] | [[Category:Staff notation]] | ||
[[Category:Included in the official documentation]] | |||
[[Category:Snippet]] | |||
[[Category:Included in the official documentation]][[Category:Snippet]] | |||
Latest revision as of 08:35, 5 December 2025
The number of lines in a staff may changed by overriding the StaffSymbol property line-count.
\version "2.24"
upper = \relative c'' {
c4 d e f
}
lower = \relative c {
\clef bass
c4 b a g
}
\score {
\context PianoStaff <<
\new Staff {
\upper
}
\new Staff {
\override Staff.StaffSymbol.line-count = #4
\lower
}
>>
}