[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Moving a tie horizontally
From: |
Jean Abou Samra |
Subject: |
Re: Moving a tie horizontally |
Date: |
Tue, 8 Feb 2022 00:28:53 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
Le 07/02/2022 à 23:58, Viktor Mastoridis a écrit :
Hello,
I am creating chord strumming indications with a tie.
I'm using the \improvisationOn handle, and the tie appears a bit too
high and to the right.
Using \override Tie.Y-offset I can move the tie vertically, but
\override Tie.X-offset yields no results.
I have searched across forums and manuals, tried various things, but
couldn't find a way to move the tie horizontally.
Can you please help?
Attached is an image of the result that I'm getting at the moment.
And here's a minimal code example
\version "2.20.0"
\new DrumStaff \with {
\override StaffSymbol.line-count = #1
}
{
\stemUp \improvisationOn
\override Tie.Y-offset = #-0.4
a8 a' ~ a' a' a'4 a'4
\improvisationOff
}
The default behavior could be better here, so I've opened
https://gitlab.com/lilypond/lilypond/-/issues/6278
For now, you have to use the \shape command documented at
https://lilypond.org/doc/v2.22/Documentation/notation/modifying-shapes#modifying-ties-and-slurs
\version "2.22.1"
\new DrumStaff \with {
\override StaffSymbol.line-count = #1
}
{
\stemUp \improvisationOn
\override Tie.Y-offset = #-0.4
a8
\shape #'((-0.7 . -0.1) (-0.7 . -0.1) (-0.5 . -0.1) (-0.5 . -0.1)) Tie
a' ~ a' a' a'4 a'4
\improvisationOff
}
If you use a version in the current development series,
2.23, you can make the tweaking process more convenient
using \vshape. See
https://lilypond.org/doc/v2.23/Documentation/notation/modifying-shapes.html
Best,
Jean