bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: \lyricsto vs. \set associatedVoice


From: Francisco Vila
Subject: Re: \lyricsto vs. \set associatedVoice
Date: Sat, 27 Dec 2008 13:20:25 +0100

2008/12/27 Francisco Vila <address@hidden>:
> 2008/12/27 james <address@hidden>:
>> What exactly is the difference between \lyricsto and \set associatedVoice?
>
> I don't know, but trying to rewrite your example at my traditional
> method, the TextFour syllable mysteriously dissapears, have I missed
> something?
>
> instrument = \relative c' {
>  \context Voice = "NumberOne" { c4 }
>  \context Voice = "NumberTwo" { d4 }
>  \context Voice = "NumberOne" { e4 }
>  \context Voice = "NumberTwo" { f4 }
> }
>
> TextOne =  \lyricmode { Cee }
> TextTwo =  \lyricmode { Ray }
> TextThree = \lyricmode { \skip 1 Eee }
> TextFour = \lyricmode {  \skip 1 Fa }
>
> \score {
>  <<
>     \new Staff \instrument
>     \new Lyrics \lyricsto "NumberOne" { \TextOne }
>     \new Lyrics \lyricsto "NumberTwo" { \TextTwo }
>     \new Lyrics \lyricsto "NumberOne" { \TextThree }
>     \new Lyrics \lyricsto "NumberTwo" { \TextFour }
>
>  >>
> }


Also, changing the score block to contain

    \context Lyrics ="1" \lyricsto "NumberOne" { \TextOne }
     \context Lyrics ="2" \lyricsto "NumberTwo" { \TextTwo }
     \context Lyrics ="1" \lyricsto "NumberOne" { \TextThree }
     \context Lyrics ="2" \lyricsto "NumberTwo" { \TextFour }

instead, \TextFour keeps dissapearing but the layout is more as expected.

-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]