I still must be blind, but haven't got the solution to work.
I have tried:

        << { d2 d4 | cis a2} \new Voice { \tsRal s2.\startTextSpan s4 | s
s2\stopTextSpan } >> |

and tried:

        { d2 d4 | cis a2} \new Voice { \tsRal s2.\startTextSpan s4 | s
s2\stopTextSpan } | 

Then I tried:

<< { \tsRal s2.\startTextSpan s4 | s s2\stopTextSpan } \\
        { d2 d4 | cis a2} >>

And nothing seems to work. So I think it must be me, misunderstanding
something

Erik


> -----Original Message-----
> From: Kieren MacMillan [mailto:kieren_macmil...@sympatico.ca]
> Sent: zondag 1 november 2009 13:16
> To: Frédéric Bron
> Cc: Erik Appeldoorn; lilypond-user@gnu.org
> Subject: Re: textspan
> 
> Hi Frédéric,
> 
> > It is funny. I was quite sure to have the solution but I do not
> > understand why what I propose does not work: you have to separate
> > notes and TextSpan in parallel music expressions.
> > Can somebody tell why this does not work?
> 
> Because your construct doesn't have two Voice constructs, only two
> expressions in the same Voice.
> 
> Instead, try
> 
> tsRal = \override TextSpanner #'(bound-details left text) = "Ral."
> 
> \new Score <<
>    \new Staff \relative c' { \time 3/4
>      << { d2 d4 | cis a2 } \new Voice { \tsRal s2.\startTextSpan s2
> s8 s8\stopTextSpan } >>
>    }
>    \new Staff \relative c' { \time 3/4
>      << { \repeat unfold 12 d8 } \new Voice { \tsRal s2.
> \startTextSpan s2 s8 s8\stopTextSpan } >>
>    }
>  >>
> 
> Hope this helps!
> Kieren.=



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

Reply via email to