lilypond-user
[Top][All Lists]
Advanced

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

Re: Additional staff with lyrics


From: Jan-Peter Voigt
Subject: Re: Additional staff with lyrics
Date: Mon, 29 May 2017 12:08:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

... or

\new Staff ="main" {
  \relative {
    r4 g'8 g c4 c8 d |
    e4 r8
    <<
      { f8 c c }
      \new Staff = "extra" \with { alignAboveContext = #"main" }
      { f8 f c }
      \addlyrics \with { alignBelowContext = #"extra" } { foo bar buzz }
    >>
    r4 |
  }
}

HTH,
Jan-Peter

Am 29.05.2017 um 11:50 schrieb Thomas Morley:
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

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





reply via email to

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