]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/aligning-syllables-with-melisma.ly
Doc-fr: fix X-Ref
[lilypond.git] / Documentation / snippets / aligning-syllables-with-melisma.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.16.0"
8
9 \header {
10   lsrtags = "text, vocal-music"
11
12   texidoc = "
13 By default, lyrics syllables that start a melisma are left aligned on
14 their note.  The alignment can be altered using the
15 @code{lyricMelismaAlignment} property.
16
17 "
18   doctitle = "Aligning syllables with melisma"
19 } % begin verbatim
20
21 \score {
22   <<
23     \new Staff {
24       \relative c''
25       \new Voice = "vocal" {
26         c d~^\markup default  d e
27         c d~^\markup "right aligned" d e
28         c d~^\markup "center aligned" d e
29         c d~^\markup "reset to default" d e
30       }
31     }
32     \new Lyrics \lyricsto "vocal" \lyricmode {
33       word word word
34       \set lyricMelismaAlignment = #RIGHT
35       word word word
36       \set lyricMelismaAlignment = #CENTER
37       word word word
38       \unset lyricMelismaAlignment
39       word word word
40     }
41   >>
42 }