On 08/08/2025 04:51, Werner LEMBERG wrote:
As per the attached .ly and resulting image, in tabulature, stems
randomly cross or avoid numbers representing notes in chords when
avoid-note-head is false.  [...]
Indeed, and thanks for the report!  I've checked with version 2.19.22
and I get the same, random behaviour – but slightly different.  It
looks like you've unveiled an ancient bug.

In my opinion, the stems should be "hidden" behind the numbers.

This behaviour is documented (https://lilypond.org/doc/v2.24/Documentation/notation/visibility-of-objects#painting-objects-white). The layer property can be used to obtain the desired behaviour, for example add \override TabNoteHead.layer = #2.

--
Timothy Lanfear, Bristol, UK.

Reply via email to