Gustavo J. Mata schreef:
...
I succeeded in writing a very simple two-voice score. The problem
is that in the output the voices are not vertically aligned. I assume
that this a general convention for writing several voices in one
staff. In guitar music, however, all voices are vertically aligned, as
they would be in chord notation.
How can I achieve this?
Try putting the bass notes in \voiceTwo, that way the stems for the
upper voice will not get in the way and your notes will be perfectly
aligned:
\score {
\notes {
\relative c'
\context Staff <<
\context Voice = melody {
\voiceOne
c'4 e4 g4 e4 a,4 c4
f4 c4 b4 d4 g4 d4 c1
}
\context Voice = bass {
\voiceTwo
c,1 f,1 g1 c1
}
>>
}
\paper { }
}