On Tue, Oct 25, 2016 at 2:48 PM, Karol Majewski <karo...@wp.pl> wrote: > Now I realised that, according to my concept, tie should be lowered not only > when > > (stem-direction == UP && tie-direction == UP && note-has-a-dot == true) > > but also when notehead is placed on staff-line and not on staff-space. In > other words - when a dot is placed not on the same staff-position as notehead > (we know that when notehead is placed on staff-line then dot is shifted > up/down). > > So there should be fourth condition but I have no idea how to put it in > scheme. I need somethong like: > > (if (> dot-position notehead-position)) // if dot is placed higher than > notehead > (if (< dot-position notehead-position)) // if dot is placed lower than > notehead > > But how to define dot-position and notehead-position?
Both NoteHead and Dots support the staff-symbol-referencer: http://lilypond.org/doc/v2.18/Documentation/internals/staff_002dsymbol_002dreferencer_002dinterface David _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user