From ce59b75c16f9923a406f338764fb052d9170e5b5 Mon Sep 17 00:00:00 2001 From: Jean-Charles Malahieude Date: Mon, 10 Jan 2011 20:52:32 +0100 Subject: [PATCH] Doc: adding syllables to grace notes snippet Modify the snippet (speeking of \lyricsto, but using \addlyrics) Indexing --- Documentation/notation/vocal.itely | 40 +++++++++++++++++------------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/Documentation/notation/vocal.itely b/Documentation/notation/vocal.itely index aa33746150..c69d3daec7 100644 --- a/Documentation/notation/vocal.itely +++ b/Documentation/notation/vocal.itely @@ -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 -- 2.39.5