]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/lyric-phrasing.ly
6a4da6320e522a3ec30318253020636e8bfb8021
[lilypond.git] / input / regression / lyric-phrasing.ly
1 \version "1.3.146"
2 \header{
3   texidoc="Lyric phrasing
4
5   We find start and end of phrases, and align lyrics of multiple stanzas
6   accordingly.
7
8   Also, lyrics at start of melismata should be left aligned.
9   (is that only lyrics that are followed by `__'?  Because
10   that seems to be the case now -- jcn)
11
12 @example
13            |        |        |     |      |
14           x|       x|       x|    x|     x|
15
16      1:  Start  sentence  melisma      end.
17      2:  x         x         x______      x
18 @end example
19
20   Only lyrics that are followed by '__' while there's a melisma,
21   are left-aligned, in this case the third x."
22 }
23
24 \paper { linewidth = -1. }
25 \score {
26   \addlyrics
27     \context Voice = "v" \notes  \relative c'' {
28       \property Staff.automaticMelismata = ##t
29       \autoBeamOff
30       a a a8()a a4
31     }
32     \context Lyrics <
33       \context LyricsVoice = "v-1" \lyrics {
34         \property LyricsVoice . stanza = "1:"
35         Start sentence melisma end.
36       }
37       \context LyricsVoice = "v-2" \lyrics {
38         \property LyricsVoice . stanza = "2:"
39         x x x __ x
40       }
41    >
42 }