lilypond-user
[Top][All Lists]
Advanced

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

Re: increasing the distance between tie and note generally


From: Stefan Thomas
Subject: Re: increasing the distance between tie and note generally
Date: Tue, 31 Mar 2009 08:19:50 +0200

Thanks! Great!
But I would like to ask one more question.
If the distance between two notes is larger, I think the amount of the
curve should be a little larger too. Can this be changed, generally if
possible, too?

2009/3/30 Neil Puttock <address@hidden>:
> 2009/3/30 Stefan Thomas <address@hidden>:
>> Dear community,
>> in the below quoted snippet the position of the tie isn't convincing,
>> in my opinion. It should be al little further apart from the
>> notes. Off couse I could type \override Tie #'staff-position all the
>> time, but I would be interested in tweaking it generally.
>> Is there a possibilitie?
>
> Try this:
>
> \override Tie #'staff-position =
> #(lambda (grob)
>   (let* ((head (ly:grob-parent (ly:grob-original grob) X))
>          (head-pos (ly:grob-staff-position head)))
>     (cond
>      ((>= head-pos 3)  (+ head-pos 2.5))
>      ((<= head-pos -3) (- head-pos 2.5)))))
>
> Regards,
> Neil
>




reply via email to

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