[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: increasing the distance between tie and note generally
From: |
Neil Puttock |
Subject: |
Re: increasing the distance between tie and note generally |
Date: |
Mon, 30 Mar 2009 21:55:27 +0100 |
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