bug-lilypond
[Top][All Lists]
Advanced

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

Re: Incorrectly-placed slur when hide-tied-accidental-after-break someti


From: Werner LEMBERG
Subject: Re: Incorrectly-placed slur when hide-tied-accidental-after-break sometimes
Date: Sat, 23 Mar 2024 05:18:38 +0000 (UTC)

> In the following example, when a note has a slur and a tie and
> hide-tied-accidental-after-break is enabled, the slur is incorrectly
> placed when another staff has many accidentals.

Thanks for the report.  However, I don't think the problem is
especially related to accidentals; it's rather one of the many cases
where LilyPond's automatic tie and slur positioning algorithm makes
bad choices – there are plenty of issues already registered in our bug
tracker, some of them older than 15 years and still unresolved, alas.
Just look up the labels 'ties' and 'slurs'.

Note that you get almost the same bad results in your example if you
omit 'hide-tied-accidental-after-break'.  Similarly, the results are
differently bad if you omit the accidentals altogether.

```
\version "2.25.13"

<<
  \new Staff {
    \override Tie.color = #red
    \override Accidental.hide-tied-accidental-after-break = ##t
    cis''1~( \break 1)
  }
  \new Staff {
    R1 <cis'' dis'' eis'' fis''>1
  }
>>

<<
  \new Staff {
    \override Tie.color = #red
    cis''1~( \break 1)
  }
  \new Staff {
    R1 <cis'' dis'' eis'' fis''>1
  }
>>

<<
  \new Staff {
    \override Tie.color = #red
    c''1~( \break 1)
  }
  \new Staff {
    R1 <c'' d'' e'' f''>1
  }
>>
```


    Werner

PNG image


reply via email to

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