2009/1/13 Antanas Budriūnas <[email protected]>:
> Hello,
>
> I went back from Carl's parallelStaffs music function to plain lily
> code but also here have no success in managing parallel staves and
> lyrics. Horizontal alignment with notes is OK but lyrics for both
> voices are placed under staff system. How to force lyrics to go under
> corresponding staff?
>
> \version "2.12.1"
> intro = <<
> \context Staff = "Staffi" {
> \context Voice = "Voicei" {
> r4 c''
> }
> }
> \context Staff = "Staffii" {
> \context Voice = "Voiceii" {
> c'4 c'
> }
> }
> >>
Change this block to the following, you'll be surprised.
intro = <<
\context Staff = "Staffi" {
\context Voice = "Voicei" {
r4 c''
}
}
\context Lyrics = "Lyri" {}
\context Staff = "Staffii" {
\context Voice = "Voiceii" {
c'4 c'
}
}
>>
I've just added \context Lyrics = "Lyri" {} in the right place.
That way the context is created now and reused later. For the other
block you could do the same.
--
Francisco Vila. Badajoz (Spain)
http://www.paconet.org
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user