lilypond-user
[Top][All Lists]
Advanced

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

Re: text spanning


From: Hugh Myers
Subject: Re: text spanning
Date: Thu, 26 Nov 2009 08:10:38 -0700

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
<address@hidden> 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.




reply via email to

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