From David K.
AFAIR, \PianoStaff \remove "Keep_alive_together_engraver" is the same as
\GrandStaff . And \RemoveEmptyStaves \override
VerticalAxisGroup.remove-first = ##t is the same as
\RemoveAllEmptyStaves .
So it's more like you want
\score
{
\new GrandStaff <<
\new Staff \rh
\new Staff \with {
keepAliveInterfaces =
#'( rest-interface bass-figure-interface chord-name-interface
cluster-beacon-interface
fret-diagram-interface lyric-syllable-interface
note-head-interface tab-note-head-interface lyric-interface
percent-repeat-item-interface percent-repeat-interface
stanza-number-interface
)
} \lh
>>
\layout {
\context {
\GrandStaff
\RemoveAllEmptyStaves
}
}
}
Tried it and you're right, the output is the same. Thank you David!
g.