Changing the number of lines in a staff: Difference between revisions
Appearance
No edit summary |
m New category |
||
| Line 27: | Line 27: | ||
[[Category:Staff notation]] | [[Category:Staff notation]] | ||
[[Category:Specific notation]] | [[Category:Specific notation]] | ||
[[Category:Included in the official documentation]][[Category:Snippet]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
Revision as of 23:13, 21 November 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
}
>>
}