Thank you!

This should definitely be in the Lilypond Docs for keyboard-specific notation.

-----Original Message-----
From: lilypond-user <[email protected]> 
On Behalf Of Malte Meyn
Sent: Monday, March 4, 2019 2:39 AM
To: [email protected]
Subject: Re: \RemoveEmptyStaves



Am 04.03.19 um 03:17 schrieb Richard Gress:
> Hi all,
> 
> Why is \RemoveEmptyStaves not working the way I'm using it? The output 
> still shows blank staves in a ten-page document. Uncommenting the 
> global command doesn't work, either.

PianoStaff contains the Keep_alive_together_engraver. This means that 
individual staves aren't hidden, only the PianoStaff as a whole when all staves 
are empty. This makes sense in orchestra music but not for piano solo. You can 
use a GradStaff instead or remove the
Keep_alive_together_engraver:

\new GrandStaff <<
        \new Staff ...
        \new Staff ...
        \new Staff ...
        \new Staff ...
 >>

\new PianoStaff \with {
        \remove Keep_alive_together_engraver
} <<
        \new Staff ...
        \new Staff ...
        \new Staff ...
        \new Staff ...
 >>

In fact, the Keep_align_together_engraver is the only difference between the 
two contexts, so both solutions are equivalent.

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to