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



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

Reply via email to