Francisco,

thank you for the right tip!

2009/1/13 Francisco Vila <paconet....@gmail.com>:
> 2009/1/13 Antanas Budriūnas <antan...@gmail.com>:
>> 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.

Yes. I've only guessed something alike but found no right expression.
Thanks again!

Antanas Budriūnas


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to