lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rearrange music flow


From: Francisco Vila
Subject: Re: rearrange music flow
Date: Tue, 13 Jan 2009 17:43:39 +0100

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.

-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]