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 <n.putt...@gmail.com>:
> 2009/3/30 Stefan Thomas <kontrapunktste...@googlemail.com>:
>> 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
>


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to