On Tue, 25 Feb 2025 at 11:14, Gianmaria Lari <gianmarial...@gmail.com>
wrote:
>
> I did some tests and I discovered something that's not clear.
>
> Why in the following code the very last note `d4` stem is up?
>
> %%%
> \version "2.25.23"
> \fixed c' \new Staff
> {
>   %a1
>   <<
>     {\voiceTwo a,4 d g c' }
>     \new Voice {\voiceOne r1 }
>   >>
>   d4 % stem up
> }
> %%%
>
>
> I didn't call \oneVoice so I was expecting 'd4' would continue the
\voiceTwo and then have its stem direction down.
> Things work as expected if I uncomment the note a1 before the polyphony.
>
> Any suggestions?

Hello,

You are not explicitly instantiating the first voice.
Replace \new Staff by \new Staff \new Voice and you have the expected
output.

Kind regards,
Xavier

Reply via email to