lilypond-user
[Top][All Lists]
Advanced

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

Re: TextSpanner at Score level?


From: Frédéric Bron
Subject: Re: TextSpanner at Score level?
Date: Tue, 21 Apr 2009 06:58:22 +0200

> remove the Text_spanner_engraver from the individual voice contexts and put
> it in the score context.
>
> something like this [n.b.: untested]:
>
> \new Score \with {
>        \consists "Text_spanner_engraver"
> } <<
>        \new Staff {
>                \new Voice \with {
>                        \remove "Text_spanner_engraver"
>                } { \yourMusic}
>        }
>        % rep. ad absurdum
>>>

It half works! Fine for the dashed line but the text is not printed...
Here is an example:

\version "2.12.0"
stringendo = { \textSpannerUp \override TextSpanner #'(bound-details
left text) = "Stringendo" }
\new Score \with { \consists "Text_spanner_engraver" } <<
       \new Staff { \new Voice \with { \remove "Text_spanner_engraver"
} { \stringendo c'1 \startTextSpan \repeat unfold 4 { c' }
c'\stopTextSpan } }
       \new Staff { \new Voice \with { \remove "Text_spanner_engraver"
} { \stringendo c'1 \startTextSpan \repeat unfold 4 { c' }
c'\stopTextSpan } }
>>

Frédéric




reply via email to

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