> 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


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

Reply via email to