Hi Urs,

On Tue, Jan 3, 2017 at 1:14 AM, Urs Liska <u...@openlilylib.org> wrote:
> Hi David,
>
> thank you for now. This is proof that one can at least *get* to the
> right information, and when the use-case is clearer one may also find a
> more efficient approach if possible.
>
> Just one more question (a simple "yes" or "no" or a pointer to a
> function name will do, no need to write a solution): The control-points
> in tie-cps are of course relative to the tie's notehead. Is it possible
> to determine the offset of the f' from the c'? This seems necessary to
> make use of tie-cps to modify the slur.

As far as horizontal position is concerned, you could use (from
http://lilypond.org/doc/v2.19/Documentation/internals/scheme-functions):

"Function: ly:grob-relative-coordinate grob refp axis

Get the coordinate in axis direction of grob relative to the grob refp."

For refp, you'd want to use the System object.

This will work well for horizontal positions, but it can lead to some
nasty vertical spacing side-effects if you use it with Y-coordinates.
In any case, however, the vertical cps are all relative to the center
line, so no need for anything fancy.

Hope this gets you going in the right direction--

David

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

Reply via email to