[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rearrange music flow
From: |
Antanas Budriūnas |
Subject: |
Re: rearrange music flow |
Date: |
Tue, 13 Jan 2009 19:55:18 +0200 |
Francisco,
thank you for the right tip!
2009/1/13 Francisco Vila <address@hidden>:
> 2009/1/13 Antanas Budriūnas <address@hidden>:
>> 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