[icon]

GNU LilyPond

-- --

What is LilyPond
Home
Examples
Templates
Download
GNU/Linux binaries
Windows binaries
Source code
Documentation
Tutorial
Manual
Glossary
Index

Support
Mailing lists
Search
WikiWiki

External sites
lilypond.org/stable
lilypond.org/development
savannah.gnu.org
ftp.lilypond.org
Mutopia
Other music online

More stanzas

If you have multiple stanzas printed underneath each other, the vertical groups of syllables should be aligned around punctuation. LilyPond can do this if you tell it which lyric lines belong to which melody. We show how you can do this by showing how you could print a frivolous fragment of a fictional Sesame Street duet.

     \score {
     \addlyrics
       \notes \relative c'' \context Voice = duet { \time 3/4
          g2 e4 a2 f4 g2.  }
       \lyrics \context Lyrics <
       \context LyricsVoice = "duet-1" {
         \property LyricsVoice . stanza = "Bert"
         Hi, my name is bert.    }
       \context LyricsVoice = "duet-2" {
         \property LyricsVoice . stanza = "Ernie"
         Ooooo, ch\'e -- ri, je t'aime. }
       >
     }
     
[picture of music]

To this end, give the Voice context an identity, and set the LyricsVoice to a name starting with that identity followed by a dash. In the following example, the Voice identity is duet,

     \context Voice = duet {
          \time 3/4
          g2 e4 a2 f4 g2.  }
     
and the identities of the LyricsVoices are duet-1 and duet-2.
       \context LyricsVoice = "duet-1" {
         Hi, my name is bert. }
       \context LyricsVoice = "duet-2" {
         Ooooo, ch\'e -- ri, je t'aime. }
     

We add the names of the singers. This can be done by setting LyricsVoice.Stanza (for the first system) and LyricsVoice.stz for the following systems. Note that you must surround dots with spaces in \lyrics mode.

         \property LyricsVoice . stanza = "Bert"
         ...
         \property LyricsVoice . stanza = "Ernie"
     

The convention for naming LyricsVoice and Voice must also be used to get melismata on rests correct.

Go back to index of LilyPond.

Please send GNU LilyPond questions and comments to lilypond-user@gnu.org.

Please send comments on these web pages to (address unknown)

Copyright (c) 1997--2002 Han-Wen Nienhuys and Jan Nieuwenhuizen.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


This page was built from LilyPond-1.7.14 (development-branch) by

Buchan Milne <(address unknown)>, Thu Mar 6 21:11:35 2003 CET.