On Tue, Feb 12, 2019 at 5:47 PM Reggie <reegist...@gmail.com> wrote:

> David Kastrup wrote
> > Reggie &lt;
>
> > reegistoop@
>
> > &gt; writes:
> >
> >> Using a David's function to allow layering spanners,
> >
> > I like "a David's function".  It's like describing a caste of priests.
> >
> > --
> > David Kastrup
> >
> > _______________________________________________
> > lilypond-user mailing list
>
> > lilypond-user@
>
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
>
> Sorry David :))
> Do you know the solution to my question?
>

Hi Reggie,

To layer text spanners with David N.'s new functionality, you must \tweak
spanner properties rather than overriding them.

%%% BEGIN %%%

\version "2.19.82"
\include "text-spanner-id.ly"
{
    b1
    - \tweak bound-details.left.text \markup { \upright "rit." }
    \startTextSpanOne
    - \tweak bound-details.left.text \markup { \upright "other span" }
    \startTextSpanTwo
    c
    e,
    \stopTextSpanOne
    c
    \stopTextSpanTwo
}

%%% END %%%


[image: layered-start-stop.png]


Trevor.

-- 
Trevor Bača
www.trevorbaca.com
soundcloud.com/trevorbaca
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to