[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \tweak-like function
From: |
Werner LEMBERG |
Subject: |
Re: \tweak-like function |
Date: |
Sat, 21 Sep 2019 13:11:02 +0200 (CEST) |
>> 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.
Werner
- \tweak-like function, Werner LEMBERG, 2019/09/20
- Re: \tweak-like function, Urs Liska, 2019/09/20
- Re: \tweak-like function, David Kastrup, 2019/09/20
- Re: \tweak-like function, Werner LEMBERG, 2019/09/20
- Re: \tweak-like function, David Kastrup, 2019/09/20
- Re: \tweak-like function, Werner LEMBERG, 2019/09/21
- Re: \tweak-like function, David Kastrup, 2019/09/21
- Re: \tweak-like function,
Werner LEMBERG <=
- Re: \tweak-like function, David Kastrup, 2019/09/21
- Re: \tweak-like function, Werner LEMBERG, 2019/09/21