On Tue, Feb 12, 2019 at 5:47 PM Reggie <[email protected]> wrote:
> David Kastrup wrote
> > Reggie <
>
> > reegistoop@
>
> > > 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
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user