On Sat, Mar 25, 2023 at 3:08 PM Knute Snortum <[email protected]> wrote:

> On Sat, Mar 25, 2023 at 9:16 AM Masaki, Akikazu <
> [email protected]> wrote:
>
>> Hello,
>>
>> How to set script position closer to its note than ties?
>> In default, ties are always closer to the note than scripts, but
>> depending on the case, contrary is better.
>>
>> e.g.
>> %%%%%%%%
>> \version "2.24.0"
>> {
>>    \override Tie.staff-position = 5
>>    c''1--~ c''
>> }
>> %%%%%%%%
>>
>> In this case, the tenuto should be placed immediately above the note.
>> Perhaps overriding Script.extra-offset is one of solutions, but is there
>> another property controlling the priority of Tie and Script?
>>
>
> Does it have to be a tie?  It looks more like a slur, in which case you
> could write:
>
> \version "2.24.0"
> {
>    \override Script.avoid-slur = #'inside
>    c''1--( c'')
> }
>
> Or else you could force the Y-offset of the tenuto:
>
> \version "2.24.0"
> {
>    \override Tie.staff-position = 5
>    \override Script.Y-offset = 1.5
>    c''1--~ c''
> }
>
> --
> Knute Snortum
>
>
>
Perhaps try:

%%%%%%%%

\version "2.24.0"
{
   \override Tie.outside-staff-priority = #1375
   c''1--~ c''
   c''1--~ c''
}

%%%%%%%%%

And, of course, add "\once" for a particular instance.

HTH,
Mark

Reply via email to