The final input would resemble
@example
-<<\new ChoirStaff << @emph{setup the music} >>
- \lyricsto "soprano" @emph{etc}
- \lyricsto "alto" @emph{etc}
-@emph{etc}
+<<
+ \new ChoirStaff <<
+ @emph{setup the music}
+ >>
+ \lyricsto "soprano" @emph{etc}
+ \lyricsto "alto" @emph{etc}
+ @emph{etc}
>>
@end example
@cindex placement of lyrics
@cindex lyrics, positioning
-Lyrics are positioned above the staff, below the staff, or between
-staves, depending on the type of music. To place lyrics below the
-associated staff simply define the Lyrics context below the Staff
+Depending on the type of music, lyrics may be positioned
+above the staff, below the staff, or between staves. Placing
+lyrics below the associated staff is the easiest, and can be
+achieved by simply defining the Lyrics context below the Staff
context:
@lilypond[quote,verbatim]
}
@end lilypond
-To position lyrics above the staff, place the declaration of the
-Lyrics context before the Staff and Voice contexts, but the
-@code{\lyricsto} command must come after the Voice declaration it
-references, like this:
+Lyrics may be positioned above the staff using one of
+two methods. The simplest is to use the same syntax as
+above and explicitly specify the position of the lyrics:
@lilypond[quote,verbatim]
\score {
<<
- \new Lyrics = "lyrics"
- \new Staff {
+ \new Staff = "staff" {
\new Voice = "melody" {
\relative c'' { c4 c c c }
}
}
- \context Lyrics = "lyrics" {
+ \new Lyrics \with { alignAboveContext = "staff" } {
\lyricsto "melody" {
Here are the words
}
}
@end lilypond
-Alternatively, the position of the lyrics may be specified
-explicitly:
+Alternatively, a two-step process may be used. First the Lyrics
+context is declared (without any content) before the Staff and
+Voice contexts, then the @code{\lyricsto} command comes after
+the Voice declaration it references, as follows:
@lilypond[quote,verbatim]
\score {
<<
- \new Staff = "staff" {
+ \new Lyrics = "lyrics"
+ \new Staff {
\new Voice = "melody" {
\relative c'' { c4 c c c }
}
}
- \new Lyrics \with { alignAboveContext = "staff" } {
+ \context Lyrics = "lyrics" {
\lyricsto "melody" {
Here are the words
}
When there are two voices on separate staves the lyrics may be
placed between the staves using either of these methods. Here
-is an example of the first method:
+is an example of the second method:
@lilypond[quote,verbatim]
\score {
@end lilypond
Other combinations of lyrics and staves may be generated by
-elaborating these examples, or by examining the SATB templates in
-the Learning Manual.
+elaborating these examples, or by examining the
+@rlearning{Vocal ensembles} templates in the Learning Manual.
@seealso
Learning Manual: