Trevor Daniels wrote: > > > Xavier Scheuer WROTE Thursday, November 11, 2010 11:04 AM > >> Actually I find the advise to have to use \skip "number of notes" >> really "tricky", not user-friendly at all! >> The same for the suggestion to use a temporary voice for the >> repeated >> section. >> >> 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. > > Thanks Xavier! I've now incorporated your suggestions in the docs. >
i think there is a problem with this syntax when you try to add more "repeated parts" - look at the 4th measure of this snippet (i just doubled the code for the staff and the lyrics): \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 = "x" { \set associatedVoice = "melody" Sec -- ond time words. } >> Not re -- peat -- ed. << { The first time words. } \new Lyrics = "x" { Sec -- ond time words. } >> } >> } http://old.nabble.com/file/p32110294/lyrics.png mel = \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 } } } << % define the order of your staff + lyrics \new Lyrics = "lyr1" \with {\override LyricText #'color = #darkgreen } \new Staff = "staff1" \new Lyrics = "lyr2" \with {\override LyricText #'color = #blue } \new Lyrics = "lyr3" \with {\override LyricText #'color = #red } % now fill them with whatever you like, referring to the names you chose above (and using \context, not \new ) \context Staff = "staff1" \mel \context Lyrics = "lyr1" \lyricsto "melody" { Not re -- peat -- ed. << \context Lyrics = "lyr1" { The first time words. } \context Lyrics = "lyr2" { Sec -- ond time words. } \context Lyrics = "lyr3" { \once \override LyricText #'color = #blue normal } >> Not re -- peat -- ed. << \context Lyrics = "lyr1" { The first time words. } \context Lyrics = "lyr2" { Sec -- ond time words. } \context Lyrics = "lyr3" { aaah } >> } >> http://old.nabble.com/file/p32110294/lyrics%2Bw%2Brepeats%2Bsmall.png the only problem remaining is the changing alignment of the the 2nd and 3rd lyric voice (there is an issue 'bout that)! what do you think? cheers Eluze -- View this message in context: http://old.nabble.com/Doc%3A-NR-2.1.2-Lyrics-and-repeats%2C-improvement-proposals-tp30188972p32110294.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user