lilypond-user
[Top][All Lists]
Advanced

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

Re: Vertical position of Tie and Script


From: Masaki, Akikazu
Subject: Re: Vertical position of Tie and Script
Date: Mon, 27 Mar 2023 16:11:20 +0900
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

Thanks.  It's an actual tie, so a slur is not suitable.
My example was too simple to represent a real situation, that some objects 
interrupt a tie.

{
  \override Tie.staff-position = 5
  c''1--~
  \key des \major
  \time 12/8
  c''1.
}


Akikazu



On 2023/03/26 4:07, Knute Snortum wrote:
On Sat, Mar 25, 2023 at 9:16 AM Masaki, Akikazu <
masaki-0.56714329@zeus.eonet.ne.jp> 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




reply via email to

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