[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tie almost invisible before line break
From: |
Jean Abou Samra |
Subject: |
Re: Tie almost invisible before line break |
Date: |
Sat, 17 Sep 2022 20:30:05 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 |
Le 17/09/2022 à 20:24, Knute Snortum a écrit :
I have run into a situation that may be a bug or it may be I'm not
doing something correctly. I have a \voiceOne note at a line break
where the tie becomes nearly invisible.
%%%
\version "2.23.12"
\paper {
ragged-right = ##t
indent = 0
}
\relative {
\voiceOne
d''8( c4 b a e'8~ | \break
e8)
}
%%%
If you zoom way in on the tie of the e note, you can see a tiny bump;
that is the tie. The only way I found to fix this is with
\alterBroken and control-points, but this is a very brittle solution
that will need to change if the measures get realigned.
%%%
createBrokenTie =
\alterBroken control-points #'(
((1.5 . 2) (2 . 2.5) (2.5 . 2.5) (3 . 2))
((4 . 2) (4.5 . 2.5) (5 . 2.5) (5.5 . 2))
) \etc
\relative {
\voiceOne
d''8( c4 b a e'8-\createBrokenTie ~ | \break
e8)
}
%%%
Is this a bug? Is there a better way to deal with it?
--
Knute Snortum
Yeah, known long-standing issue.
https://gitlab.com/lilypond/lilypond/-/issues/298
The workaround is increasing minimum-length.
\version "2.23.12"
\paper {
ragged-right = ##t
indent = 0
}
\relative {
\voiceOne
d''8( c4 b a e'8\tweak minimum-length 5 ~ | \break
e8)
}
Jean