2017-05-29 11:43 GMT+02:00 Bernhard Kleine <bernhard.kle...@gmx.net>:
>
> 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

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

Reply via email to