Hi David, thank you for the clarification.
Am 03.01.2017 um 15:07 schrieb David Nalesnik: > Hi Urs, > > On Tue, Jan 3, 2017 at 1:14 AM, Urs Liska <[email protected]> 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-- I hope so. At least it gives me the impression that the task is basically feasible, and I have something to come back to if I really need it. Best Urs > > David -- [email protected] https://openlilylib.org http://lilypondblog.org _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
