* Documentation/user/refman.itely: updates.
[lilypond.git] / input / regression / lyric-align.ly
blob4edb50998cba4eaec3463e26f526a6ae98307a39
1 \version "1.7.16"
2 \header{
3 texidoc="Lyric alignment
5 Lyric alignment is adjustable both interms of alignment between stanzas and on notehead.
7 If the property alignment is not set, there is automatic determination of alignment type based on punctuation. (ee lyric-phrasing.ly)
12 %\paper { raggedright = ##t}
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 "|."
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
26 "Particularly useful for reciting notes "\breve
27 left1
29 \property Lyrics . LyricText \override #'alignment = #0
30 centered
32 \property Lyrics . LyricText \override #'alignment = #1
34 right
36 \property Lyrics . LyricText \override #'alignment = #-1
37 \property Lyrics . LyricText \override #'begin-alignment = #2
39 left_half_way
41 \property Lyrics . LyricText \override #'begin-alignment = #4
43 left_one_quarter
45 \property Lyrics . LyricText \override #'begin-alignment = #10
47 left_one_tenth
49 \property Lyrics . LyricText \override #'begin-alignment = #1
51 left_one_whole
53 \property Lyrics . LyricText \override #'ignore-length-mismatch = ##f
54 \property Lyrics . LyricText \override #'begin-alignment = #4
56 Very_short_lyrics_remain_in_touch_with_their_note
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
63 Unless_ignore-length-mismatch_is_true
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
72 % note' true'
73 %% ? what are the last 2 for?
78 %% new-chords-done %%