Much thanks Kieren,

This works:

  \new Staff \relative c'' {
    \override Staff.TextSpanner #'(bound-details left text) = "let ring "
    <<
      \new Voice = "1" { \textSpannerDown \voiceOne \upper }

--hsm

On Thu, Nov 26, 2009 at 8:02 AM, Kieren MacMillan
<kieren_macmil...@sympatico.ca> wrote:
> Hi Hugh,
>
>> The following fails twice over; it leaves out the indicated text and
>> ignores \textSpannerDown:
>> […]
>> Where did I screw up?
>
> You made the tweaks to the TextSpanner in the main Voice context:
>
>> <<
>>  \new Staff \relative c'' {
>>    \textSpannerDown
>>    \override TextSpanner #'(bound-details left text) = "let ring "
>
> but then generated a TextSpanner in a new Voice context:
>
>>    <<
>>      \new Voice = "1" { \voiceOne \upper }
>>      \new Voice = "2" { \voiceTwo \lower }
>>   >>
>
> I suggest instead that you either put the tweak in the variable itself (so
> it follows the generated TextSpanner around) or explicitly set the context
> of the tweak to the entire staff:
>
>    \override Staff.TextSpanner #'(bound-details left text) = "let ring "
>
> Hope this helps!
> Kieren.


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

Reply via email to