lilypond-user
[Top][All Lists]
Advanced

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

Re: remove a staff


From: Ben
Subject: Re: remove a staff
Date: Tue, 8 Oct 2019 22:19:19 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 10/8/2019 9:22 PM, MING TSANG wrote:
Hi, lilyponders,

Is it possible to remove a staff ( everything)?

Thanks for the help,
Ming


Ming,

An empty staff?

Or do you mean staves with music on them?

If the latter, maybe try this approach:


hideMusic = { \set Staff.keepAliveInterfaces = #'() }
showMusic =   \unset Staff.keepAliveInterfaces

or

showStaff = \set Staff.keepAliveInterfaces = #'(bar-line-interface)
hideStaff = \set Staff.keepAliveInterfaces = #'()
resetStaff = \unset Staff.keepAliveInterfaces




reply via email to

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