|
From: | Mats Bengtsson |
Subject: | Re: Doc: NR 2.1.2 Lyrics and repeats, improvement proposals |
Date: | Fri, 12 Nov 2010 18:07:17 +0100 |
User-agent: | Thunderbird 2.0.0.23 (X11/20090817) |
Bernard Hurley wrote:
It should be noted, though, that there's a problem if you try to use the same trick several times on the same score line, see the example below. If there's a line break in between, no such problems appear. This is related to Issue 127 (perhaps also to the recently discussed Issue 1309, though I haven't followed that thread in detail). In practical scores, it seems fairly unlikely that these problems show up.It may well be an accident, but it is an incredibly helpful trick. I wish I had known it earlier. I think it should be officially part of lily i.e. it should be documented and maybe there should be a regression test for it.
\score { << \new Staff { \new Voice = "melody" { \relative c'' { a4 a a a \repeat volta 2 { b4 b b b } a4 a a a \repeat volta 2 { b4 b b b } } } } \new Lyrics \lyricsto "melody" { Not re -- peat -- ed. << { The first time words. } \new Lyrics { \set associatedVoice = "melody" Sec -- ond time words. } >> Not re -- peat -- ed. << { The first time words. } \new Lyrics { \set associatedVoice = "melody" Sec -- ond time words. } >> } >> } /Mats
[Prev in Thread] | Current Thread | [Next in Thread] |