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