]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/lyric-align.ly
* buildscripts/mf-to-table.py (base): break table every three
[lilypond.git] / input / regression / lyric-align.ly
1 \version "1.7.18"
2 \header{
3   texidoc="
4
5   Lyric alignment is adjustable both in terms of alignment between
6   stanzas and on notehead.
7
8   If the property alignment is not set, there is automatic
9   determination of alignment type based on punctuation. (see
10   lyric-phrasing.ly)
11
12 "
13 }
14
15 %\paper { raggedright = ##t}
16 \score {
17 < \context Voice = "v" \notes  \relative c'' {
18       \property Staff.automaticMelismata = ##t
19       \cadenzaOn
20       a\breve  \bar "||" a1 \bar "|"  a \bar "|"  a \bar "||" \break a \bar "|" a \bar "|" a  \bar "|" a \bar "||" \break a \bar "|" a \bar "|."
21     }
22     \context Lyrics <
23       \context LyricsVoice = "v-1" \lyrics {
24 %        \property LyricsVoice . stanza = "1:"
25         \property Lyrics . LyricText \override #'ignore-length-mismatch = ##t
26         \property Lyrics . LyricText \override #'alignment = #-1
27         \property Lyrics . LyricText \override #'begin-alignment = #8
28
29         "Particularly useful for reciting notes  "\breve
30         left1
31
32         \property Lyrics . LyricText \override #'alignment = #0
33         centered
34
35         \property Lyrics . LyricText \override #'alignment = #1        
36
37         right
38
39         \property Lyrics . LyricText \override #'alignment = #-1 
40         \property Lyrics . LyricText \override #'begin-alignment = #2 
41
42         left_half_way
43
44         \property Lyrics . LyricText \override #'begin-alignment = #4 
45
46         left_one_quarter
47
48         \property Lyrics . LyricText \override #'begin-alignment = #10
49
50         left_one_tenth
51
52         \property Lyrics . LyricText \override #'begin-alignment = #1
53
54         left_one_whole
55
56         \property Lyrics . LyricText \override #'ignore-length-mismatch = ##f
57         \property Lyrics . LyricText \override #'begin-alignment = #4
58
59         Very_short_lyrics_remain_in_touch_with_their_note
60
61         \property Lyrics . LyricText \override #'alignment = #1
62         \property Lyrics . LyricText \override #'end-alignment = #1.1
63         \property Lyrics . LyricText \override #'ignore-length-mismatch = ##t
64
65
66         Unless_ignore-length-mismatch_is_true
67
68       }
69       \context LyricsVoice = "v-2" \lyrics {
70 %        \property LyricsVoice . stanza = "2:"
71         " with many syllables under them."\breve
72           l1 c r1 l
73           l1 l x x x
74
75                                 % note' true'
76                                 %% ? what are the last 2 for? 
77       }
78    >
79    >
80 }
81