Other than setting the stems to the same direction you can also use
\once \override NoteColumn.force-hshift = 1
(or -1, depending on what voice you want first).
A clarification: Voices have settings for stem direction and shift. For the
noteheads not to be merged they need to have the same stem
Jean-Julien Fleck writes:
> Hello Joei,
>
> Le mer. 11 janv. 2023 à 16:23, Johannes Roeßler a écrit :
>
>> Hi Group,
>>
>> how can I avoid that the same notes in two voices are merged?
>>
>> \version "2.24.0"
>> <<{ a'4 }\\{ a' }>>
>>
>
> Instantiating explicitly the voices can help:
>
> <<\new
If you use \omit instead of \hide there will be no invisible stem for the
tenuto lines to avoid.
HTH
/Leo
> 11 jan. 2023 kl. 17:43 skrev Johannes Roeßler :
>
>
> Hi Group,
>
> how can I have a "tenuto" line directly at the note (and not above or below
> the invisible stem?).
>
> I have tw
Hi Group,
how can I have a "tenuto" line directly at the note (and not above or
below the invisible stem?).
I have two stemless voices in one staff.
8<
\version "2.24.0"
<<{\hide Staff.Stem a4-- }\\{\hide Staff.Stem c4-- }>>
-->8
Best regards
Joei
Hello Joei,
Le mer. 11 janv. 2023 à 16:23, Johannes Roeßler a écrit :
> Hi Group,
>
> how can I avoid that the same notes in two voices are merged?
>
> \version "2.24.0"
> <<{ a'4 }\\{ a' }>>
>
Instantiating explicitly the voices can help:
<<\new Voice { a'4 }\\ \new Voice { a' }>>
Cheers,
-
Hi Group,
how can I avoid that the same notes in two voices are merged?
\version "2.24.0"
<<{ a'4 }\\{ a' }>>
Best regards
Joei