Le 04/02/2019 à 10:17, Andrew Bernard a écrit :
I want to remove some staves containing only rests and yet retain others in
my quartet score. [When there is a long solo I want the other parts
suppressed, but when just one instrument is at rest I want the empty staff
to show in the set of four].

The keepAliveInterface must have something to do with it but my attempts
lead nowhere. Here's an MWE where if somebody could show how to suppress
one staff with rests but show the other this would set me on the path to
enlightenment.


I don't remember where it comes from, but I've used those two shortcut for this purpose:


%% Forces MMR to be temporarily expanded
% so that no HaraKiri
% use: Rx \showMultiRests Rx*y \hideMultiRests Rx
showMultiRests = {
 \set Staff.keepAliveInterfaces = #'(
    rhythmic-grob-interface
    multi-measure-rest-interface
    lyric-interface
    stanza-number-interface
    percent-repeat-interface)
}

hideMultiRests = \unset Staff.keepAliveInterfaces


HTH,
--
Jean-Charles

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to