lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selectively remove some staves consisting only of rests


From: Michael Gerdau
Subject: Re: Selectively remove some staves consisting only of rests
Date: Wed, 6 Feb 2019 09:57:56 +0100 (CET)

Hi Kieren,

> In the snippet below, you can see the effects of forcing visibility 
> (\showStaff), forcing invisibility (\hideStaff), and reverting to normal 
> (\resetStaff). Note that these functions can also be used with \once, if 
> desired (though I haven’t in this snippet).
[snip]
> %%%  SNIPPET BEGINS  %%%
> \version "2.19.80"
> 
> showStaff = \set Staff.keepAliveInterfaces = #'(bar-line-interface)
> hideStaff = \set Staff.keepAliveInterfaces = #'()
> resetStaff = \unset Staff.keepAliveInterfaces
[snip]

That's neat!

Added to my snippet collection.

Thank you,
Michael
-- 
Michael Gerdau email: address@hidden
GPG-keys available on request or at public keyserver



reply via email to

[Prev in Thread] Current Thread [Next in Thread]