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: Mark Mathias
Subject: Re: Vertical position of Tie and Script
Date: Sun, 26 Mar 2023 07:45:15 -0400

On Sat, Mar 25, 2023 at 3:08 PM Knute Snortum <ksnortum@gmail.com> 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



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

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