|
From: | Jean-Charles Malahieude |
Subject: | Re: Selectively remove some staves consisting only of rests |
Date: | Mon, 4 Feb 2019 18:18:40 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |