lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tie settings question


From: David Nalesnik
Subject: Re: Tie settings question
Date: Tue, 25 Oct 2016 15:03:48 -0500

On Tue, Oct 25, 2016 at 2:48 PM, Karol Majewski <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]