Changing the number of lines in a staff
Appearance
The number of lines in a staff may changed by overriding the StaffSymbol property line-count.
\version "2.24.0"
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
}
>>
}