lilypond-user
[Top][All Lists]
Advanced

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

Re: \unset with modified default properties


From: Saul Tobin
Subject: Re: \unset with modified default properties
Date: Mon, 2 Jul 2018 15:06:18 -0700

Sure, define-music-function works fine. That part I just copied from the earlier snippet. That's a side issue, though.

On Mon, Jul 2, 2018 at 2:36 PM David Kastrup <address@hidden> wrote:
Saul Tobin <address@hidden> writes:

> Indeed, or StaffGroup level if I'm following correctly.

And there is a StaffGroup.

> My issue is that I want to change the default keepAliveInterfaces for
> one staff within a StaffGroup. (Probably should have just posted this
> as my initial example, I suppose.)
>
> \version "2.19.82"
>
> targetstaff = #(define-scheme-function (ctx) (string?)
>      #{
>          \set Staff.keepAliveInterfaces = #'()
>          \context Staff = #ctx { \unset Staff.keepAliveInterfaces }
>      #})

Why not define-music-function?  This seems like asking for trouble
unnecessarily.

--
David Kastrup

reply via email to

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