Re: too small tie

2025-02-22 Thread Gianmaria Lari
I didn't try your version Yoshiaki because it was a bit too much complex.
Thank you anyway for your help, I saved it for future reference (you never
know:)).

Regarding the last version with \shape: thank you Knute, it works well for
me except that as you said is a solution "case-by-case" and not very clean.

To simplify the code, isn't there a way to disregard the presence of the
flat, so that LilyPond prints the tie as if the flat weren't there?

Thanks
Gianmaria



On Sat, 22 Feb 2025 at 00:29, Yoshiaki Onishi  wrote:

> ... I tried to use \shape #'(alist) Tie option when I was crafting my
> solution, but I suppose I wasn't patient enough here. Good to know that
> \shape indeed works. To be fair, mine does allow the overlapping of the
> tie/slur over accidentals, but my solution isn't elegant.
>
> On Fri, Feb 21, 2025 at 5:55 PM Knute Snortum  wrote:
>
>> On Fri, Feb 21, 2025 at 10:37 AM Gianmaria Lari 
>> wrote:
>>
>>> Would it be possible to overlap the flat and the tie? Like in the
>>> attached picture.
>>>
>>
>> Yes, but it would have to be case-by-case with a \shape command (at least
>> I don't know of another way.)
>>
>> %%%
>> \version "2.24.4"
>>
>> \fixed c'
>> {
>>   \once \override Tie.minimum-length = 5
>>   \shape #'((0 . 0) (0 . 0) (1 . 0) (1 . 0)) Tie
>>   2^~
>>   
>> }
>> %%%
>>
>>
>> --
>> Knute Snortum
>>
>>


Re: too small tie

2025-02-21 Thread Yoshiaki Onishi
... I tried to use \shape #'(alist) Tie option when I was crafting my
solution, but I suppose I wasn't patient enough here. Good to know that
\shape indeed works. To be fair, mine does allow the overlapping of the
tie/slur over accidentals, but my solution isn't elegant.

On Fri, Feb 21, 2025 at 5:55 PM Knute Snortum  wrote:

> On Fri, Feb 21, 2025 at 10:37 AM Gianmaria Lari 
> wrote:
>
>> Would it be possible to overlap the flat and the tie? Like in the
>> attached picture.
>>
>
> Yes, but it would have to be case-by-case with a \shape command (at least
> I don't know of another way.)
>
> %%%
> \version "2.24.4"
>
> \fixed c'
> {
>   \once \override Tie.minimum-length = 5
>   \shape #'((0 . 0) (0 . 0) (1 . 0) (1 . 0)) Tie
>   2^~
>   
> }
> %%%
>
>
> --
> Knute Snortum
>
>


Re: too small tie

2025-02-21 Thread Knute Snortum
On Fri, Feb 21, 2025 at 10:37 AM Gianmaria Lari 
wrote:

> Would it be possible to overlap the flat and the tie? Like in the attached
> picture.
>

Yes, but it would have to be case-by-case with a \shape command (at least I
don't know of another way.)

%%%
\version "2.24.4"

\fixed c'
{
  \once \override Tie.minimum-length = 5
  \shape #'((0 . 0) (0 . 0) (1 . 0) (1 . 0)) Tie
  2^~
  
}
%%%


--
Knute Snortum


Re: too small tie

2025-02-21 Thread Gianmaria Lari
Would it be possible to overlap the flat and the tie? Like in the attached
picture.

On Fri, 21 Feb 2025 at 17:23, Knute Snortum  wrote:

> On Fri, Feb 21, 2025 at 7:56 AM Yoshiaki Onishi 
> wrote:
>
>> > Here the ties are perfectly aligned:
>> >
>> > (See attachment s1)
>> > \version "2.25.23"
>> > \fixed c'
>> > {
>> >   2^~
>> >   
>> > }
>> >
>> > But when I change the last chord from...
>> >
>> > 
>> > to
>> > 
>> >
>> > ... the resulting tie between g appears small and not clear (to me).
>> (See attachment s2)
>> >
>> > What's the best way to fix it?
>> > Thanks, g.
>>
>>
>> It might not be the best solution, but I treated the tie in question as a
>> slur, as per:
>> https://lilypond.org/doc/v2.25/Documentation/notation/modifying-ties-and-slurs
>>
>> Then I put the slur and tie marks within the chord, as doing so is
>> possible (I did this out of caution, and in order to make the \tweak work.
>>
>> So here's my solution:
>>
>> %
>> \version "2.25.23"
>> \fixed c'
>> {
>>   >   \tweak Slur.control-points #'((1.75 . -1.85)(2.5 . -1.25)(3.5 .
>> -1.25)(4 . -1.85))
>>   ^(
>>   g~>2
>>
>>   
>> }
>> %
>>
>> Maybe there could be another (easier?) solution, but this did the trick
>> for the time being.
>>
>> Regards,
>> Yoshi
>>
>
> You could use the minimum tie length like this:
>
> %%%
> \fixed c'
> {
>   \once \override Tie.minimum-length = 5
>   2^~
>   
> }
> %%%
>
> --
> Knute Snortum
>
>


Re: too small tie

2025-02-21 Thread Knute Snortum
On Fri, Feb 21, 2025 at 7:56 AM Yoshiaki Onishi 
wrote:

> > Here the ties are perfectly aligned:
> >
> > (See attachment s1)
> > \version "2.25.23"
> > \fixed c'
> > {
> >   2^~
> >   
> > }
> >
> > But when I change the last chord from...
> >
> > 
> > to
> > 
> >
> > ... the resulting tie between g appears small and not clear (to me).
> (See attachment s2)
> >
> > What's the best way to fix it?
> > Thanks, g.
>
>
> It might not be the best solution, but I treated the tie in question as a
> slur, as per:
> https://lilypond.org/doc/v2.25/Documentation/notation/modifying-ties-and-slurs
>
> Then I put the slur and tie marks within the chord, as doing so is
> possible (I did this out of caution, and in order to make the \tweak work.
>
> So here's my solution:
>
> %
> \version "2.25.23"
> \fixed c'
> {
>  \tweak Slur.control-points #'((1.75 . -1.85)(2.5 . -1.25)(3.5 . -1.25)(4
> . -1.85))
>   ^(
>   g~>2
>
>   
> }
> %
>
> Maybe there could be another (easier?) solution, but this did the trick
> for the time being.
>
> Regards,
> Yoshi
>

You could use the minimum tie length like this:

%%%
\fixed c'
{
  \once \override Tie.minimum-length = 5
  2^~
  
}
%%%

--
Knute Snortum