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