2009/4/30 Gerard McConnell :
> Hello,
> Why am I getting overlapping note heads in this example, and what
> is the solution?
> Thanks for any help,
> Gerard
>
> \score {
> \new Staff {
> \time 4/4
> \relative c' {
> <<
> \new Voice { \voiceOne b'4 \times 2/3 {c8 b c} d2 ~ d4 d8 c g4 c }
> \new Voice { \voiceTwo s2 s4 e ~ e1 }
> \new Voice { < g,, d' >1 < c g' > }
> >>
> }
> }
> }
In this version I've changed the order of expressions to make them to
be voices 1,2 and 3 with no need to explicitly invoking new voice
commands.
\score {
\new Staff {
\time 4/4
\relative c' {
<<
{ s2 s4 e' ~ e1 } \\
{ < g,, d' >1 < c g' > } \\
{ b'4 \times 2/3 {c8 b c} d2 _~ d4 d8 c g4 c }
>>
}
}
}
I think the overlapping you obtained came from different noteheads on
the same column, a warning that was ignored.
That would be equivalent to have
\new Voice ="3" { \voiceThree b'4 \times 2/3 {c8 b c} d2 ~ d4 d8 c g4 c }
\new Voice ="1" { \voiceOne s2 s4 e ~ e1 }
\new Voice ="2" { \voiceTwo < g,, d' >1 < c g' > }
but the tie in voice 3 still has to be tweaked.
Read about "The double backslash construct" in NR 1.5.2
--
Francisco Vila. Badajoz (Spain)
www.paconet.org
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user