Hi!

I have been able to achieve the same (desired) result using some kind of
"nested Lyrics" (similarly to nested staves, cf. NR 1.6.2 Ossia staves).
These nested Lyrics expressions do not require the trick to use  \skip
or temporary voices anymore.

What do you think about it?

Here is a proposal to use instead of the first snippet using  \skip .
I had to use  \set associatedVoice  instead of  \lyricsto  for the
nested Lyrics because  \lyricsto  was shifting the lyrics one syllable
to the right!

\score {
  <<
    \new Staff {
      \new Voice = "melody" {
        \relative c'' {
          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.
        }
      >>
    }
  >>
}


And here is a proposal to use instead of the the one that was using a
temporary voice (not needed anymore).

\score {
  <<
    \new Staff {
      \new Voice = "singleVoice" {
        \relative c'' {
          a4 a a a
          \repeat volta 3 { b4 b b b }
          c4 c c c
        }
      }
    }
    \new Lyrics \lyricsto "singleVoice" {
      Not re -- peat -- ed.
      <<
        {
          The first time words.
        }
        \new Lyrics {
          \set associatedVoice = "singleVoice"
          Sec -- ond time words.
        }
        \new Lyrics {
          \set associatedVoice = "singleVoice"
          The third time words.
        }
      >>
      The end sec -- tion.
    }
  >>
}


Cheers,
Xavier
Beautiful trick! I hope it's not an accident that it works.

/Mats


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to