-}
-@end lilypond
-
-But when the repeated section has different words, a repeat
-construct cannot be used around the words and @code{\skip} commands
-have to be inserted manually as described in the previous section to
-skip over the notes in the alternative sections which do not apply.
-
-@lilypond[verbatim,quote,ragged-right]
-\score {
- <<
- \new Staff {
- \time 2/4
- \new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b }
- \alternative { { b b } { b c } }
- c4 c
- }
- }
- }
- \new Lyrics {
- \lyricsto "melody" {
- The first time words.
- \repeat unfold 2 { \skip 1 }
- End here.
- }
- }
- \new Lyrics {
- \lyricsto "melody" {
- Sec -- ond
- \repeat unfold 2 { \skip 1 }
- time words.
- }
- }
- >>
-}
-@end lilypond
-
-@cindex lyrics and tied notes
-@funindex \repeatTie
-
-When a note is tied over into two or more alternative endings a
-tie is used to carry the note into the first alternative ending and
-a @code{\repeatTie} is used in the second and subsequent endings.
-This structure causes difficult alignment problems when lyrics are
-involved and increasing the length of the alternative sections so
-the tied notes are contained wholly within them may give a more
-acceptable result.
-
-The tie creates a melisma into the first alternative, but not into
-the second and subsequent alternatives, so to align the lyrics
-correctly it is necessary to disable the automatic creation of
-melismata over the volta section and insert manual skips.
-
-@lilypond[quote,verbatim]
-\score {
- <<
- \new Staff {
- \time 2/4
- \new Voice = "melody" {
- \relative c'' {
- \set melismaBusyProperties = #'()
- \repeat volta 2 { b4 b ~}
- \alternative { { b b } { b \repeatTie c } }
- \unset melismaBusyProperties
- c4 c
- }
- }
- }
- \new Lyrics {
- \lyricsto "melody" {
- \repeat volta 2 { Here's a __ }
- \alternative {
- { \skip 1 verse }
- { \skip 1 sec }
- }
- ond one.
- }
- }
- >>
-}
-@end lilypond
-
-Note that if @code{\unfoldRepeats} is used around a section
-containing @code{\repeatTie}, the @code{\repeatTie} should be
-removed to avoid both types of tie being printed.
-
-When the repeated section has different words a @code{\repeat}
-cannot be used around the lyrics and @code{\skip} commands need to
-be inserted manually, as before.
-
-@lilypond[quote,verbatim]
-\score {
- <<
- \new Staff {
- \time 2/4
- \new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b ~}
- \alternative { { b b } { b \repeatTie c } }
- c4 c
- }
- }
- }
- \new Lyrics {
- \lyricsto "melody" {
- Here's a __ verse.
- \repeat unfold 2 { \skip 1 }
- }
- }
- \new Lyrics {
- \lyricsto "melody" {
- Here's one
- \repeat unfold 2 { \skip 1 }
- more to sing.
- }
- }
- >>
-}
-@end lilypond
-
-If you wish to show extenders and hyphens into and out of
-alternative sections these must be inserted manually.
-
-@lilypond[quote,verbatim]
-\score {
- <<
- \new Staff {
- \time 2/4
- \new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b ~}
- \alternative { { b b } { b \repeatTie c } }
- c4 c
- }
- }
- }
- \new Lyrics {
- \lyricsto "melody" {
- Here's a __ verse.
- \repeat unfold 2 { \skip 1 }
- }
- }
- \new Lyrics {
- \lyricsto "melody" {
- Here's "a_"
- \skip 1
- "_" sec -- ond one.
- }
- }
- >>
-}
-@end lilypond
-
-
-
-@node Divisi lyrics
-@unnumberedsubsubsec Divisi lyrics
-
-You can display alternate (or divisi) lyrics by naming voice
-contexts and attaching lyrics to those specific contexts.
-
-@lilypond[verbatim,ragged-right,quote]
-\score{ <<
- \new Voice = "melody" {
- \relative c' {
- c4
- <<
- { \voiceOne c8 e }
- \new Voice = "splitpart" { \voiceTwo c4 }
- >>
- \oneVoice c4 c | c
- }
- }
- \new Lyrics \lyricsto "melody" { we shall not o- ver- come }
- \new Lyrics \lyricsto "splitpart" { will }
->> }
-@end lilypond
-
-
-You can use this trick to display different lyrics for a repeated
-section.
-
-@lilypond[verbatim,ragged-right,quote]
-\score{ <<
- \new Voice = "melody" \relative c' {
- c2 e | g e | c1 |
- \new Voice = "verse" \repeat volta 2 {c4 d e f | g1 | }
- a2 b | c1}
- \new Lyrics = "mainlyrics" \lyricsto melody \lyricmode {
- do mi sol mi do
- la si do }
- \context Lyrics = "mainlyrics" \lyricsto verse \lyricmode {
- do re mi fa sol }
- \new Lyrics = "repeatlyrics" \lyricsto verse \lyricmode {
- dodo rere mimi fafa solsol }
->>
-}
-@end lilypond
-
-
-
-@node Lyrics independent of notes
-@unnumberedsubsubsec Lyrics independent of notes
-
-@cindex Devnull context
-
-In some complex vocal music, it may be desirable to place
-lyrics completely independently of notes. Music defined
-inside @code{lyricrhythm} disappears into the
-@code{Devnull} context, but the rhythms can still be used
-to place the lyrics.
-
-@lilypond[quote,verbatim,ragged-right]
-voice = {
- c''2
- \tag #'music { c''2 }
- \tag #'lyricrhythm { c''4. c''8 }
- d''1
-}
-
-lyr = \lyricmode { I like my cat! }
-
-<<
- \new Staff \keepWithTag #'music \voice
- \new Devnull="nowhere" \keepWithTag #'lyricrhythm \voice
- \new Lyrics \lyricsto "nowhere" \lyr
- \new Staff { c'8 c' c' c' c' c' c' c'
- c' c' c' c' c' c' c' c' }
->>
-@end lilypond
-
-This method is recommended only if the music in the @code{Devnull}
-context does not contain melismata. Melismata are defined by the
-@code{Voice} context. Connecting lyrics to a @code{Devnull} context
-makes the voice/lyrics links to get lost, and so does the info on
-melismata. Therefore, if you link lyrics to a @code{Devnull} context,
-the implicit melismata get ignored.
-
-@c Conclusion: do not use devnull for lyrics -FV
-
-@c this clarifies http://code.google.com/p/lilypond/issues/detail?id=248
-
-@node Spacing out syllables
-@unnumberedsubsubsec Spacing out syllables
-
-@cindex Spacing lyrics
-@cindex Lyrics, increasing space between
-
-To increase the spacing between lyrics, set the @code{minimum-distance}
-property of @code{LyricSpace}.
-
-@lilypond[relative,verbatim,fragment,quote,ragged-right]
-{
- c c c c
- \override Lyrics.LyricSpace #'minimum-distance = #1.0
- c c c c
-}
-\addlyrics {
- longtext longtext longtext longtext
- longtext longtext longtext longtext
-}
-@end lilypond
-
-@noindent
-To make this change for all lyrics in the score, set the property in the
-layout.
-
-@lilypond[verbatim,quote,ragged-right]
-\score {
- \relative c' {
- c c c c
- c c c c
- }
- \addlyrics {
- longtext longtext longtext longtext
- longtext longtext longtext longtext
- }
- \layout {
- \context {
- \Lyrics
- \override LyricSpace #'minimum-distance = #1.0
- }
- }
-}
-@end lilypond
-
-@c @snippets
-@c This snippet has been renamed to "lyrics-alignment.ly"
-@c update as soon as lsr/is updated -vv
-@c @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
-@c {lyrics-alignment.ly}
-
-@c TODO: move to LSR -vv
-@snippets
-
-Checking to make sure that text scripts and lyrics are within the margins is
-a relatively large computational task. To speed up processing, LilyPond does
-not perform such calculations by default; to enable it, use
-
-@example
-\override Score.PaperColumn #'keep-inside-line = ##t
-@end example
-
-To make lyrics avoid bar lines as well, use
-
-@example
-\layout @{
- \context @{
- \Lyrics
- \consists "Bar_engraver"
- \consists "Separating_line_group_engraver"
- \override BarLine #'transparent = ##t
- @}
-@}
-@end example
-
-@c TODO Create and add lsr example of lyricMelismaAlignment
-@c It's used like this to center-align all lyric syllables,
-@c even when notes are tied. -td
-
-@ignore
-\layout
-{
- \context { \Score lyricMelismaAlignment = #0 }
-}
-@end ignore
-