lilypond-user
[Top][All Lists]
Advanced

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

Re: \tweak-like function


From: David Kastrup
Subject: Re: \tweak-like function
Date: Sat, 21 Sep 2019 13:26:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Werner LEMBERG <address@hidden> writes:

>>> Thanks!  Please check whether
>>>
>>>   moveDyn =
>>>     #(define-event-function (X Y etc) (number? number? ly:music?)
>>>       #{ \tweak DynamicLineSpanner.outside-staff-priority ##f
>>>          \tweak DynamicText.X-offset #X
>>>          \offset DynamicLineSpanner.Y-offset #Y
>>>          etc #})
>>>
>>>   {
>>>     g'2
>>>     g'\moveDyn #-1 #5 -\f
>>>   }
>>>
>>> is really correct; I will then add this to the documentation.
>>
>> I think all of your argument names are a bad idea.  [...]
>
> Fixed, thanks.
>
>> It also seems writing -\f rather than \f suggests that it would not
>> work otherwise while it does.
>
> OK.

Oops, and of course #etc (or whatever it is called now).

-- 
David Kastrup



reply via email to

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