]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/lyric-phrasing.ly
* scripts/lilypond-book.py (do_file): do not overwrite input file.
[lilypond.git] / input / regression / lyric-phrasing.ly
1
2 \version "2.1.26"
3 \header{
4   texidoc="
5   The multiple stanzas of lyric phrasing are aligned according to the start 
6   and end of a phrase.
7
8   By default, lyrics are centered with respect to the corresponding notes.
9
10 @example
11            |        |        |     |      |
12           x|       x|       x|    x|     x|
13
14      1:  Start  sentence  melisma      end.
15      2:  x         x         x______      x
16 @end example
17
18   While there is a melisma, lyrics are followed by '__' and they
19   are left-aligned, in this case the third x."
20 }
21
22 \paper { raggedright = ##t}
23 \score {
24   \addlyrics
25     \context Voice = "v" \notes  \relative c'' {
26       \autoBeamOff
27       a a a8 ( a) a4
28     }
29   <<
30       \new Lyrics \lyricsto "v"  \lyrics {
31         \set stanza = "1:"
32         Start sentence melisma end.
33       }
34       \new Lyrics \lyricsto "v" \lyrics {
35         \set stanza = "2:"
36         x x x __ x.
37       }
38    >>
39 }
40