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: David Kastrup
Subject: Re: \unset with modified default properties
Date: Mon, 02 Jul 2018 23:36:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

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]