[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Additional staff with lyrics
From: |
Thomas Morley |
Subject: |
Re: Additional staff with lyrics |
Date: |
Mon, 29 May 2017 11:50:10 +0200 |
2017-05-29 11:43 GMT+02:00 Bernhard Kleine <address@hidden>:
>
> In http://lilypond.org/doc/v2.19/Documentation/learning/size-of-objects
>
> there is this example which helped me already to add the extra Staff to the
> piece I presented yesterday, however I do not see a way to add lyrics to the
> upper staff. Could you please help?
>
>
> \new Staff ="main" {
> \relative {
> r4 g'8 g c4 c8 d |
> e4 r8
> <<
> { f8 c c }
> \new Staff \with {
> alignAboveContext = #"main" }
> { f8 f c }
> >>
> r4 |
> }
> }
How about:
\version "2.19.56"
\new Staff ="main" {
\relative {
r4 g'8 g c4 c8 d |
e4 r8
<<
{ f8 c c }
\new Staff \with { alignAboveContext = #"main" }
{ f8 f c }
\addlyrics \with { alignAboveContext = #"main" } { foo bar buzz }
>>
r4 |
}
}
HTH,
Harm