]> git.donarmstrong.com Git - lilypond.git/commitdiff
Doc: adding syllables to grace notes snippet
authorJean-Charles Malahieude <lilyfan@orange.fr>
Mon, 10 Jan 2011 19:52:32 +0000 (20:52 +0100)
committerJean-Charles Malahieude <lilyfan@orange.fr>
Mon, 10 Jan 2011 19:52:32 +0000 (20:52 +0100)
Modify the snippet (speeking of \lyricsto, but using \addlyrics)
Indexing

Documentation/notation/vocal.itely

index aa33746150899da70b0e05f33fa8b41f3b6fe120..c69d3daec76275c974ccb34dce3cce730840540c 100644 (file)
@@ -1747,28 +1747,34 @@ are to be ignored.
 
 @subsubheading Adding syllables to grace notes
 
+@cindex grace notes and lyrics
+@cindex lyrics on grace notes
+
 By default, grace notes (e.g. via @code{\grace}) do not get assigned
 syllables when using @code{\lyricsto}, but this behavior can be
 changed:
 
 @lilypond[verbatim,ragged-right,quote]
-\relative c' {
-  f4 \appoggiatura a32 b4
-  \grace { f16[ a16] } b2
-  \afterGrace b2 { f16[ a16] }
-  \appoggiatura a32 b4
-  \acciaccatura a8 b4
-}
-\addlyrics {
-  normal
-  \set includeGraceNotes = ##t
-  case,
-  gra -- ce case,
-  after -- grace case,
-  \set ignoreMelismata = ##t
-  app. case,
-  acc. case.
-}
+<<
+  \new Voice = melody \relative c' {
+    f4 \appoggiatura a32 b4
+    \grace { f16[ a16] } b2
+    \afterGrace b2 { f16[ a16] }
+    \appoggiatura a32 b4
+    \acciaccatura a8 b4
+  }
+  \new Lyrics
+  \lyricsto melody {
+    normal
+    \set includeGraceNotes = ##t
+    case,
+    gra -- ce case,
+    after -- grace case,
+    \set ignoreMelismata = ##t
+    app. case,
+    acc. case.
+  }
+>>
 @end lilypond
 
 @knownissues