]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/user/vocal.itely
More Learning manual rearrangement.
[lilypond.git] / Documentation / user / vocal.itely
1 @c -*- coding: utf-8; mode: texinfo; -*-
2
3 @node Vocal music
4 @section Vocal music
5
6 Since LilyPond input files are text, there are two issues to
7 consider when working with vocal music:
8
9 @itemize @bullet
10 @item
11 Song texts must be entered as text, not notes.  For example, the
12 input@tie{}@code{d} should be interpreted as a one letter syllable, not the
13 note@tie{}D.
14
15 @item
16 Song texts must be aligned with the notes of their melody.
17 @end itemize
18
19 There are a few different ways to define lyrics; we shall begin
20 by examining the simplest method, and gradually increase complexity.
21
22 @menu
23 * TODO subsection vocal music::  
24 @end menu
25
26
27 @commonprop
28
29 Checking to make sure that text scripts and lyrics are within the margins is
30 a relatively large computational task.  To speed up processing, lilypond does
31 not perform such calculations by default; to enable it, use
32
33 @example
34 \override Score.PaperColumn #'keep-inside-line = ##t
35 @end example
36
37 To make lyrics avoid barlines as well, use
38 @example
39 \layout @{
40   \context @{
41     \Lyrics
42       \consists "Bar_engraver"
43       \consists "Separating_line_group_engraver"
44       \override BarLine #'transparent = ##t
45   @}
46 @}
47 @end example
48
49
50 @node TODO subsection vocal music
51 @subsection TODO subsection vocal music
52
53 @menu
54 * Setting simple songs::        
55 * Entering lyrics::             
56 * Aligning lyrics to a melody::  
57 * Automatic syllable durations::  
58 * Another way of entering lyrics::  
59 * Assigning more than one syllable to a single note::  
60 * More than one note on a single syllable::  
61 * Extenders and hyphens::       
62 * Working with lyrics and identifiers::  
63 * Flexibility in placement::    
64 * Lyrics to multiple notes of a melisma::  
65 * Divisi lyrics::               
66 * Switching the melody associated with a lyrics line::  
67 * Lyrics independent of notes::  
68 * Spacing lyrics::              
69 * More about stanzas::          
70 * Other vocal issues::          
71 @end menu
72
73 @node Setting simple songs
74 @unnumberedsubsubsec Setting simple songs
75
76 @cindex \addlyrics
77
78 The easiest way to add lyrics to a melody is to append
79
80 @example
81 \addlyrics @{ @var{the lyrics} @}
82 @end example
83
84 @noindent
85 to a melody.  Here is an example,
86
87 @lilypond[ragged-right,verbatim,fragment,quote]
88 \time 3/4
89 \relative { c2 e4 g2. }
90 \addlyrics { play the game }
91 @end lilypond
92
93 More stanzas can be added by adding more
94 @code{\addlyrics} sections
95
96 @lilypond[ragged-right,verbatim,fragment,quote]
97 \time 3/4
98 \relative { c2 e4 g2. }
99 \addlyrics { play the game }
100 \addlyrics { speel het spel }
101 \addlyrics { joue le jeu }
102 @end lilypond
103
104 The command @code{\addlyrics} cannot handle polyphony settings.  For these
105 cases you should use @code{\lyricsto} and @code{\lyricmode}, as will be
106 introduced in @ref{Entering lyrics}.
107
108
109
110 @node Entering lyrics
111 @unnumberedsubsubsec Entering lyrics
112
113 @cindex lyrics
114 @funindex \lyricmode
115 @cindex punctuation
116 @cindex spaces, in lyrics
117 @cindex quotes, in lyrics
118
119 Lyrics are entered in a special input mode, which can be introduced
120 by the keyword @code{\lyricmode}, or by using @code{\addlyrics} or
121 @code{\lyricsto}.  In this mode you can enter lyrics,
122 with punctuation and accents, and the input @code{d} is not parsed as
123 a pitch, but rather as a one letter syllable.  Syllables are entered
124 like notes, but with pitches replaced by text.  For example,
125
126 @example
127 \lyricmode @{ Twin-4 kle4 twin- kle litt- le star2 @}
128 @end example
129
130 There are two main methods to specify the horizontal placement
131 of the syllables, either by specifying the duration of each syllable
132 explicitly, like in the example above, or by automatically aligning
133 the lyrics to a melody or other voice of music, using @code{\addlyrics}
134 or @code{\lyricsto}.
135 @c  TODO: broken
136 @c For more details see @ref{The Lyrics context}.
137
138 A word or syllable of lyrics begins with an alphabetic character, and ends
139 with
140 any space or digit.  The following characters can be any character
141 that is not a digit or white space.
142
143 Any character that is not a digit or white space will be regarded as
144 part of the syllable; one important consequence of this is that a word
145 can end with @code{@}}, which often leads to the following mistake:
146
147 @example
148 \lyricmode @{ lah- lah@}
149 @end example
150
151 In this example, the @code{@}} is included in the final syllable, so the
152 opening brace is not balanced and the input file will probably not
153 compile.
154
155
156 @funindex \property in \lyricmode
157
158 @noindent
159 Similarly, a period which follows an alphabetic sequence is included in
160 the resulting string.  As a consequence, spaces must be inserted around
161 property commands: do @emph{not} write
162
163 @example
164 \override Score.LyricText #'font-shape = #'italic
165 @end example
166
167 @noindent
168 but instead use
169
170 @example
171 \override Score . LyricText #'font-shape = #'italic
172 @end example
173
174 @funindex _
175 @cindex spaces, in lyrics
176 @cindex quotes, in lyrics
177 @cindex ties, in lyrics
178
179 In order to assign more than one syllable to a single note, you can
180 surround them with quotes or use a @code{_} character, to get spaces
181 between syllables, or use tilde  symbol (@code{~}) to get a lyric tie.
182
183 @lilypond[quote,relative=2,ragged-right,fragment,verbatim]
184 \time 3/4
185 \relative { c2 e4 g2 e4 }
186 \addlyrics { gran- de_a- mi- go }
187 \addlyrics { pu- "ro y ho-" nes- to }
188 \addlyrics { pu- ro~y~ho- nes- to }
189 @end lilypond
190
191 The lyric tie is implemented with the Unicode character U+203F, so be
192 sure to have a font (Like DejaVuLGC) installed that includes this
193 glyph.
194
195
196 To enter lyrics with characters from non-English languages, or with
197 accented and special characters (such as the heart symbol or slanted quotes),
198 simply insert the characters directly into the input file and save
199 it with utf-8 encoding.  See @ref{Text encoding}, for more info.
200
201 @lilypond[quote,ragged-right,fragment,verbatim]
202 \relative { e4 f e d e f e2 }
203 \addlyrics { He said: “Let my peo ple go”. }
204 @end lilypond
205
206 To use normal quotes in lyrics, add a backslash before the
207 quotes.  For example,
208
209 @lilypond[quote,ragged-right,fragment,verbatim]
210 \relative c' { \time 3/4 e4 e4. e8 d4 e d c2. }
211 \addlyrics { "\"I" am so lone- "ly\"" said she }
212 @end lilypond
213
214 The full definition of a word start in Lyrics mode is somewhat more
215 complex.
216
217 A word in Lyrics mode begins with: an alphabetic character, @code{_},
218 @code{?}, @code{!}, @code{:}, @code{'}, the control characters @code{^A}
219 through @code{^F}, @code{^Q} through @code{^W}, @code{^Y}, @code{^^},
220 any 8-bit character with ASCII code over 127, or a two-character
221 combination of a backslash followed by one of @code{`}, @code{'},
222 @code{"}, or @code{^}.
223
224 To define identifiers containing lyrics, the function @code{lyricmode}
225 must be used.
226
227 @example
228 verseOne = \lyricmode @{ Joy to the world the Lord is come @}
229 \score @{
230   <<
231     \new Voice = "one" \relative c'' @{
232       \autoBeamOff
233       \time 2/4
234       c4 b8. a16 g4. f8 e4 d c2
235     @}
236     \addlyrics @{ \verseOne @}
237   >>
238 @}
239 @end example
240
241
242 @seealso
243
244 Program reference: @internalsref{LyricText}, @internalsref{LyricSpace}.
245
246
247
248 @node Aligning lyrics to a melody
249 @unnumberedsubsubsec Aligning lyrics to a melody
250
251 @funindex \lyricmode
252 @funindex \addlyrics
253 @funindex \lyricsto
254
255
256 Lyrics are printed by interpreting them in the context called
257 @internalsref{Lyrics}.
258
259 @example
260 \new Lyrics \lyricmode @dots{}
261 @end example
262
263 There are two main methods to specify the horizontal placement
264 of the syllables:
265
266 @itemize @bullet
267 @item
268 by automatically aligning
269 the lyrics to a melody or other voice of music, using @code{\addlyrics}
270 or @code{\lyricsto}.
271
272 @item
273 or by specifying the duration of each syllable
274 explicitly, using @code{\lyricmode}
275 @end itemize
276
277 @menu
278 * Automatic syllable durations::  
279 * Another way of entering lyrics::  
280 * Assigning more than one syllable to a single note::  
281 * More than one note on a single syllable::  
282 * Extenders and hyphens::       
283 @end menu
284
285 @node Automatic syllable durations
286 @unnumberedsubsubsec Automatic syllable durations
287
288 @cindex automatic syllable durations
289 @cindex lyrics and melodies
290
291 The lyrics can be aligned under a given melody
292 automatically.  This is achieved by combining the
293 melody and the lyrics with the @code{\lyricsto} expression
294
295 @example
296 \new Lyrics \lyricsto @var{name} @dots{}
297 @end example
298
299 This aligns the lyrics to the
300 notes of the @internalsref{Voice} context called @var{name}, which must
301 already exist.  Therefore normally the @code{Voice} is specified first, and
302 then the lyrics are specified with @code{\lyricsto}.  The command
303 @code{\lyricsto} switches to @code{\lyricmode} mode automatically, so the
304 @code{\lyricmode} keyword may be omitted.
305
306 The following example uses different commands for entering lyrics.
307
308 @lilypond[quote,fragment,ragged-right,verbatim]
309 <<
310   \new Voice = "one" \relative c'' {
311     \autoBeamOff
312     \time 2/4
313     c4 b8. a16 g4. f8 e4 d c2
314   }
315   \new Lyrics \lyricmode { Joy4 to8. the16 world!4. the8 Lord4 is come.2 }
316   \new Lyrics \lyricmode { Joy to the earth! the Sa -- viour reigns. }
317   \new Lyrics \lyricsto "one" { No more let sins and sor -- rows grow. }
318 >>
319 @end lilypond
320
321 The second stanza is not properly aligned because the durations
322 were not specified.  A solution for that would be to use @code{\lyricsto}.
323
324 The @code{\addlyrics} command is actually just a convenient way
325 to write a more complicated LilyPond structure that sets up the
326 lyrics.
327
328 @example
329 @{ MUSIC @}
330 \addlyrics @{ LYRICS @}
331 @end example
332
333 @noindent
334 is the same as
335
336 @example
337 \new Voice = "blah" @{ music @}
338 \new Lyrics \lyricsto "blah" @{ LYRICS @}
339 @end example
340
341 @node Another way of entering lyrics
342 @unnumberedsubsubsec Another way of entering lyrics
343
344 Lyrics can also be entered without @code{\addlyrics} or
345 @code{\lyricsto}.  In this case,
346 syllables are entered like notes -- but with pitches replaced by text -- and the
347 duration of each syllable must be entered explicitly. For example:
348  
349 @example
350 play2 the4 game2.
351 sink2 or4 swim2.
352 @end example
353  
354 The alignment to a melody can be specified with the
355 @code{associatedVoice} property,
356  
357 @example
358 \set associatedVoice = #"lala"
359 @end example
360  
361 @noindent
362 The value of the property (here: @code{"lala"}) should be the name of
363 a @internalsref{Voice} context.  Without this setting, extender lines
364 will not be formatted properly.
365  
366 Here is an example demonstrating manual lyric durations,
367  
368 @lilypond[relative=1,ragged-right,verbatim,fragment,quote]
369 << \new Voice = "melody" {
370     \time 3/4
371     c2 e4 g2.
372  }
373  \new Lyrics \lyricmode {
374    \set associatedVoice = #"melody"
375    play2 the4 game2.
376  } >>
377 @end lilypond
378
379 @seealso
380  
381 Program reference: @internalsref{Lyrics}.
382
383
384 @node Assigning more than one syllable to a single note
385 @unnumberedsubsubsec Assigning more than one syllable to a single note
386
387
388 @funindex _
389 @cindex ties, in lyrics
390
391 In order to assign more than one syllable to a single note, you can
392 surround them with quotes or use a @code{_} character, to get spaces
393 between syllables, or use tilde  symbol (@code{~}) to get a lyric
394 tie@footnote{The lyric ties is implemented with the Unicode character
395 U+203F, so be
396 sure to have a font (Like DejaVuLGC) installed that includes this
397 glyph.}.
398
399 @lilypond[quote,relative=2,ragged-right,fragment,verbatim]
400 \time 3/4
401 \relative { c2 e4 g2 e4 }
402 \addlyrics { gran- de_a- mi- go }
403 \addlyrics { pu- "ro y ho-" nes- to }
404 \addlyrics { pu- ro~y~ho- nes- to }
405 @end lilypond
406
407 @seealso
408
409 Program reference: @internalsref{LyricCombineMusic}.
410
411 @c Here come the section which used to be "Melismata"
412 @c the new title might be more self-explanatory
413
414
415 @node More than one note on a single syllable
416 @unnumberedsubsubsec More than one note on a single syllable
417
418 @cindex melisma
419 @cindex melismata
420 @cindex phrasing, in lyrics
421
422 Sometimes, particularly in Medieval music, several notes are to be sung on one
423 single syllable; such vocalises are called melismas, or melismata.
424
425 @c this method seems to be the simplest; therefore
426 @c it might be better to present it first - vv
427
428 You can define melismata entirely in the lyrics, by entering @code{_}
429 for every note
430 that is part of the melisma.
431
432 @lilypond[relative=1,verbatim,fragment,quote]
433 { \set melismaBusyProperties = #'()
434  c d( e) f f( e) e e  }
435 \addlyrics
436  { Ky -- _ _ ri __ _ _ _  e }
437 @end lilypond
438
439 In this case, you can also have ties and slurs in the melody if you
440 set @code{melismaBusyProperties}, as is done in the example above.
441
442 However, the @code{\lyricsto} command can also
443 detect melismata automatically: it only puts one
444 syllable under a tied or slurred group of notes.  If you want to force
445 an unslurred group of notes to be a melisma, insert @code{\melisma}
446 after the first note of the group, and @code{\melismaEnd} after the
447 last one, e.g.,
448
449 @lilypond[quote,relative=2,ragged-right,fragment,verbatim]
450 <<
451   \new Voice = "lala" {
452     \time 3/4
453     f4 g8
454     \melisma
455     f e f
456     \melismaEnd
457     e2
458   }
459   \new Lyrics \lyricsto "lala" {
460     la di __ daah
461   }
462 >>
463 @end lilypond
464
465 In addition, notes are considered a melisma if they are manually
466 beamed, and automatic beaming (see @ref{Setting automatic beam
467 behavior}) is switched off.
468
469 @c TODO: there might be some more relevant place for 
470 @c the following link (?)
471
472 @cindex SATB
473 @cindex choral score
474
475 A complete example of a SATB score setup is in section
476 @rlearning{Vocal ensembles}.
477
478
479 @refcommands
480
481 @code{\melisma}, @code{\melismaEnd}
482 @funindex \melismaEnd
483 @funindex \melisma
484
485 @seealso
486
487 Program reference: @internalsref{Melisma_translator}.
488
489 @lsr{vocal,lyric@/-combine.ly}.
490
491 @refbugs
492
493 Melismata are not detected automatically, and extender lines must be
494 inserted by hand.
495
496 @node Extenders and hyphens
497 @unnumberedsubsubsec Extenders and hyphens
498
499 @cindex melisma
500 @cindex extender
501
502 Melismata are indicated with a horizontal line centered between a syllable
503 and the next one.  Such a line is called an extender line, and it is entered
504 as @samp{ __ } (note the spaces before and after the two underscore
505 characters).
506
507 @cindex hyphens
508
509 Centered hyphens are entered as @samp{ -- } between syllables of a same word
510 (note the spaces before and after the two hyphen characters).  The hyphen
511 will be centered between the syllables, and its length will be adjusted
512 depending on the space between the syllables.
513
514 In tighly engraved music, hyphens can be removed.  Whether this
515 happens can be controlled with the @code{minimum-distance} (minimum
516 distance between two syllables) and the @code{minimum-length}
517 (threshold below which hyphens are removed).
518
519 @seealso
520
521 Program reference: @internalsref{LyricExtender},
522 @internalsref{LyricHyphen}
523
524
525 @node Working with lyrics and identifiers
526 @unnumberedsubsubsec Working with lyrics and identifiers
527 @cindex lyrics, identifiers
528
529 To define identifiers containing lyrics, the function @code{\lyricmode}
530 must be used. You do not have to enter durations though, if you add
531 @code{\addlyrics} or @code{\lyricsto}
532 when invoking your identifier.
533  
534 @example
535 verseOne = \lyricmode @{ Joy to the world the Lord is come @}
536 \score @{
537  <<
538    \new Voice = "one" \relative c'' @{
539      \autoBeamOff
540      \time 2/4
541      c4 b8. a16 g4. f8 e4 d c2
542    @}
543    \addlyrics @{ \verseOne @}
544  >>
545 @}
546 @end example
547  
548 For different or more complex orderings, the best way is to setup the
549 hierarchy of staves and lyrics first, e.g.,
550 @example
551 \new ChoirStaff <<
552   \new Voice = "soprano" @{ @emph{music} @}
553   \new Lyrics = "sopranoLyrics" @{ s1 @}
554   \new Lyrics = "tenorLyrics" @{ s1 @}
555   \new Voice = "tenor" @{ @emph{music} @}
556 >>
557 @end example
558  
559 and then combine the appropriate melodies and lyric lines
560  
561 @example
562 \context Lyrics = sopranoLyrics \lyricsto "soprano"
563 @emph{the lyrics}
564 @end example
565  
566 @noindent
567
568 The final input would resemble
569  
570 @example
571 <<\new ChoirStaff << @emph{setup the music} >>
572  \lyricsto "soprano" @emph{etc}
573  \lyricsto "alto" @emph{etc}
574 @emph{etc}
575 >>
576 @end example
577  
578 @seealso
579  
580 @c TODO: document \new Staff << Voice \lyricsto >> bug
581 Program reference: @internalsref{LyricCombineMusic},
582 @internalsref{Lyrics}.  
583
584
585 @node Flexibility in placement
586 @unnumberedsubsubsec Flexibility in placement
587
588 Often, different stanzas of one song are put to one melody in slightly
589 differing ways.  Such variations can still be captured with
590 @code{\lyricsto}.
591
592 @menu
593 * Lyrics to multiple notes of a melisma::  
594 * Divisi lyrics::               
595 * Switching the melody associated with a lyrics line::  
596 * Lyrics independent of notes::  
597 @end menu
598
599
600 @node Lyrics to multiple notes of a melisma
601 @unnumberedsubsubsec Lyrics to multiple notes of a melisma
602
603 One possibility is that the text has a melisma in one stanza, but
604 multiple syllables in another one.  One solution is to make the faster
605 voice ignore the melisma.  This is done by setting
606 @code{ignoreMelismata} in the Lyrics context.
607
608 There is one tricky aspect: the setting for @code{ignoreMelismata}
609 must be set one syllable @emph{before} the non-melismatic syllable
610 in the text, as shown here,
611
612 @c  FIXME: breaks compile
613 @lilypond[verbatim,ragged-right,quote]
614 %{
615 <<
616   \relative \new Voice = "lahlah" {
617     \set Staff.autoBeaming = ##f
618     c4
619     \slurDotted
620     f8.[( g16])
621     a4
622   }
623   \new Lyrics \lyricsto "lahlah" {
624     more slow -- ly
625   }
626   \new Lyrics \lyricsto "lahlah" {
627     \set ignoreMelismata = ##t % applies to "fas"
628     go fas -- ter
629     \unset ignoreMelismata
630     still
631   }
632 >>
633 %}
634 @end lilypond
635
636
637 The @code{ignoreMelismata} applies to the syllable @q{fas}, so it
638 should be entered before @q{go}.
639
640 The reverse is also possible: making a lyric line slower than the
641 standard.  This can be achieved by insert @code{\skip}s into the
642 lyrics.  For every @code{\skip}, the text will be delayed another note.
643 For example,
644
645 @lilypond[verbatim,ragged-right,quote]
646 \relative { c c g' }
647 \addlyrics {
648   twin -- \skip 4
649   kle
650 }
651 @end lilypond
652
653
654 @node Divisi lyrics
655 @unnumberedsubsubsec Divisi lyrics
656
657 You can display alternate (or divisi) lyrics by naming voice
658 contexts and attaching lyrics to those specific contexts.
659
660 @lilypond[verbatim,ragged-right,quote]
661 \score{ <<
662   \new Voice = "melody" {
663     \relative c' {
664       c4
665       <<
666         { \voiceOne c8 e }
667         \new Voice = "splitpart" { \voiceTwo c4 }
668       >>
669       \oneVoice c4 c | c
670     }
671   }
672   \new Lyrics \lyricsto "melody" { we shall not o- ver- come }
673   \new Lyrics \lyricsto "splitpart" { will }
674 >> }
675 @end lilypond
676
677
678 You can use this trick to display different lyrics for a repeated
679 section.
680
681 @lilypond[verbatim,ragged-right,quote]
682 \score{ <<
683   \new Voice = "melody" \relative c' {
684     c2 e | g e | c1 |
685     \new Voice = "verse" \repeat volta 2 {c4 d e f | g1 | }
686     a2 b | c1}
687   \new Lyrics = "mainlyrics" \lyricsto melody \lyricmode {
688     do mi sol mi do
689     la si do }
690   \context Lyrics = "mainlyrics" \lyricsto verse \lyricmode {
691    do re mi fa sol }
692   \new Lyrics = "repeatlyrics" \lyricsto verse \lyricmode {
693    dodo rere mimi fafa solsol }
694 >>
695 }
696 @end lilypond
697
698
699
700 @node Switching the melody associated with a lyrics line
701 @unnumberedsubsubsec Switching the melody associated with a lyrics line
702
703 More complex variations in text underlay are possible.  It is possible
704 to switch the melody for a line of lyrics during the text.  This is
705 done by setting the @code{associatedVoice} property.  In the example
706
707 @lilypond[ragged-right,quote]
708 <<
709   \relative \new Voice = "lahlah" {
710     \set Staff.autoBeaming = ##f
711     c4
712     <<
713       \new Voice = "alternative" {
714         \voiceOne
715         \times 2/3 {
716           % show associations clearly.
717           \override NoteColumn #'force-hshift = #-3
718           f8 f g
719         }
720       }
721       {
722         \voiceTwo
723         f8.[ g16]
724         \oneVoice
725       } >>
726     a8( b) c
727   }
728   \new Lyrics \lyricsto "lahlah" {
729     Ju -- ras -- sic Park
730   }
731   \new Lyrics \lyricsto "lahlah" {
732     % Tricky: need to set associatedVoice
733     % one syllable too soon!
734     \set associatedVoice = alternative % applies to "ran"
735     Ty --
736     ran --
737     no --
738     \set associatedVoice = lahlah % applies to "rus"
739     sau -- rus Rex
740   } >>
741 @end lilypond
742
743 @noindent
744 the text for the first stanza is set to a melody called @q{lahlah},
745
746 @example
747 \new Lyrics \lyricsto "lahlah" @{
748   Ju -- ras -- sic Park
749 @}
750 @end example
751
752
753 The second stanza initially is set to the @code{lahlah} context, but
754 for the syllable @q{ran}, it switches to a different melody.
755 This is achieved with
756 @example
757 \set associatedVoice = alternative
758 @end example
759
760 @noindent
761 Here, @code{alternative} is the name of the @code{Voice} context
762 containing the triplet.
763
764 Again, the command must be one syllable too early, before @q{Ty} in
765 this case.
766
767 @example
768 \new Lyrics \lyricsto "lahlah" @{
769   \set associatedVoice = alternative % applies to "ran"
770   Ty --
771   ran --
772   no --
773   \set associatedVoice = lahlah % applies to "rus"
774   sau -- rus Rex
775 @}
776 @end example
777
778 @noindent
779 The underlay is switched back to the starting situation by assigning
780 @code{lahlah} to @code{associatedVoice}.
781
782
783 @node Lyrics independent of notes
784 @unnumberedsubsubsec Lyrics independent of notes
785
786 In some complex vocal music, it may be desirable to place
787 lyrics completely independently of notes.  Music defined
788 inside @code{lyricrhythm} disappears into the
789 @code{Devnull} context, but the rhythms can still be used
790 to place the lyrics.
791
792 @lilypond[quote,verbatim,ragged-right]
793 voice = {
794   c''2
795   \tag #'music { c''2 }
796   \tag #'lyricrhythm { c''4. c''8 }
797   d''1
798 }
799
800 lyr = \lyricmode { I like my cat! }
801
802 <<
803   \new Staff \keepWithTag #'music \voice
804   \new Devnull="nowhere" \keepWithTag #'lyricrhythm \voice
805   \new Lyrics \lyricsto "nowhere" \lyr
806   \new Staff { c'8 c' c' c' c' c' c' c'
807   c' c' c' c' c' c' c' c' }
808 >>
809 @end lilypond
810
811
812 @node Spacing lyrics
813 @unnumberedsubsubsec Spacing lyrics
814
815 @cindex Spacing lyrics
816 @cindex Lyrics, increasing space between
817
818 To increase the spacing between lyrics, set the minimum-distance property of
819 LyricSpace.
820
821 @lilypond[relative,verbatim,fragment,quote,ragged-right]
822 {
823   c c c c
824   \override Lyrics.LyricSpace #'minimum-distance = #1.0
825   c c c c
826 }
827 \addlyrics {
828   longtext longtext longtext longtext
829   longtext longtext longtext longtext
830 }
831 @end lilypond
832
833 To make this change for all lyrics in the score, set the property in the
834 layout.
835
836 @lilypond[relative,verbatim,quote,ragged-right]
837 \score {
838   \relative c' {
839   c c c c
840   c c c c
841   }
842   \addlyrics {
843   longtext longtext longtext longtext
844   longtext longtext longtext longtext
845   }
846   \layout {
847     \context {
848       \Lyrics
849       \override LyricSpace #'minimum-distance = #1.0
850     }
851   }
852 }
853 @end lilypond
854
855
856 @node More about stanzas
857 @unnumberedsubsubsec More about stanzas
858
859 @cindex stanza number
860 @unnumberedsubsubsec Adding stanza numbers 
861
862 Stanza numbers can be added by setting @code{stanza}, e.g.,
863
864 @lilypond[quote,ragged-right,verbatim,relative=2,fragment]
865 \new Voice {
866   \time 3/4 g2 e4 a2 f4 g2.
867 } \addlyrics {
868   \set stanza = "1. "
869   Hi, my name is Bert.
870 } \addlyrics {
871   \set stanza = "2. "
872   Oh, ché -- ri, je t'aime
873 }
874 @end lilypond
875
876 @noindent
877 These numbers are put just before the start of the first syllable.
878
879
880 @unnumberedsubsubsec Adding dynamics marks
881
882 Stanzas differing in loudness may be indicated by putting a
883 dynamics mark before each stanza.  In Lilypond, everthing coming in
884 front of a stanza goes into the @code{StanzaNumber} object; dynamics marks
885 are no different.  For technical reasons, you have to set the stanza
886 outside @code{\lyricmode}:
887
888 @lilypond[quote,ragged-right,verbatim]
889 text = {
890   \set stanza = \markup { \dynamic "ff" "1. " }
891   \lyricmode {
892     Big bang
893   }
894 }
895
896 <<
897   \new Voice = "tune" {
898     \time 3/4
899     g'4 c'2
900   }
901 \new Lyrics \lyricsto "tune" \text
902 >>
903 @end lilypond
904
905 @cindex singer name
906 @cindex name of singer
907 @unnumberedsubsubsec Adding singer names
908
909 Names of singers can also be added.  They are printed at the start of
910 the line, just like instrument names.  They are created by setting
911 @code{vocalName}.  A short version may be entered as @code{shortVocalName}.
912
913 @lilypond[fragment,ragged-right,quote,verbatim,relative=2]
914 \new Voice {
915   \time 3/4 g2 e4 a2 f4 g2.
916 } \addlyrics {
917   \set vocalName = "Bert "
918   Hi, my name is Bert.
919 } \addlyrics {
920   \set vocalName = "Ernie "
921   Oh, che -- ri, je t'aime
922 }
923 @end lilypond
924
925
926 @unnumberedsubsubsec Printing stanzas at the end 
927
928 Sometimes it is appropriate to have one stanza set
929 to the music, and the rest added in verse form at
930 the end of the piece.  This can be accomplished by adding
931 the extra verses into a @code{\markup} section outside
932 of the main score block.  Notice that there are two
933 different ways to force linebreaks when using
934 @code{\markup}.
935
936 @lilypond[ragged-right,verbatim,quote]
937 melody = \relative c' {
938 e d c d | e e e e |
939 d d e d | c1 |
940 }
941
942 text = \lyricmode {
943 \set stanza = "1." Ma- ry had a lit- tle lamb,
944 its fleece was white as snow.
945 }
946
947 \score{ <<
948   \new Voice = "one" { \melody }
949   \new Lyrics \lyricsto "one" \text
950 >>
951   \layout { }
952 }
953 \markup { \column{
954   \line{ Verse 2. }
955   \line{ All the children laughed and played }
956   \line{ To see a lamb at school. }
957   }
958 }
959 \markup{
960   \wordwrap-string #"
961   Verse 3.
962
963   Mary took it home again,
964
965   It was against the rule."
966 }
967 @end lilypond
968
969
970 @unnumberedsubsubsec Printing stanzas at the end in multiple columns 
971
972 When a piece of music has many verses, they are often printed in
973 multiple columns across the page. An outdented verse number often
974 introduces each verse. The following example shows how to produce such
975 output in Lilypond.
976
977 @lilypond[ragged-right,quote,verbatim]
978 melody = \relative c' {
979   c c c c | d d d d
980 }
981  
982 text = \lyricmode {
983   \set stanza = "1." This is verse one.
984   It has two lines.
985 }
986
987 \score{ <<
988     \new Voice = "one" { \melody }
989     \new Lyrics \lyricsto "one" \text
990    >>
991   \layout { }
992 }
993
994 \markup {
995   \fill-line {
996     \hspace #0.1 % moves the column off the left margin; can be removed if
997         % space on the page is tight
998      \column {
999       \line { \bold "2."
1000         \column {
1001           "This is verse two."
1002           "It has two lines."
1003         }
1004       }
1005       \hspace #0.1 % adds vertical spacing between verses
1006       \line { \bold "3."
1007         \column {
1008           "This is verse three."
1009           "It has two lines."
1010         }
1011       }
1012     }
1013     \hspace #0.1  % adds horizontal spacing between columns; if they are
1014         % still too close, add more " " pairs until the result 
1015         % looks good
1016      \column {
1017       \line { \bold "4."
1018         \column {
1019           "This is verse four."
1020           "It has two lines."
1021         }
1022       }
1023       \hspace #0.1 % adds vertical spacing between verses
1024       \line { \bold "5."
1025         \column {
1026           "This is verse five."
1027           "It has two lines."
1028         }
1029       }
1030     }
1031   \hspace #0.1 % gives some extra space on the right margin; can
1032       % be removed if page space is tight
1033   }
1034 }
1035 @end lilypond
1036
1037
1038 @seealso
1039
1040 Program reference: @internalsref{LyricText}, @internalsref{StanzaNumber},
1041 @internalsref{VocalName}.
1042
1043
1044
1045 @node Other vocal issues
1046 @unnumberedsubsubsec Other vocal issues
1047
1048 @ignore
1049 yeah, I'm giving up somewhat by stuffing a bunch of things in
1050 here.  But at least they're in the manual now; it's easier to
1051 move them around in the manual once they're already here.
1052
1053 Besides, if users complain about everything stuffed in here, I
1054 can ask them for specific instructions about where to move these
1055 examples, and that might get them more involved in the docs.  -gp
1056 @end ignore
1057
1058 @q{Parlato} is spoken without pitch but still with rhythm; it is
1059 notated by cross noteheads.  This is demonstrated in
1060 @ref{Special noteheads}.
1061
1062
1063
1064