]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/lyric-phrasing.ly
* lily/tuplet-bracket.cc (brew_molecule): call after_line_breaking
[lilypond.git] / input / regression / lyric-phrasing.ly
1
2 \version "2.1.7"
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       \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 }
43