[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TextSpanner shortcut
From: |
foxfanfare |
Subject: |
Re: TextSpanner shortcut |
Date: |
Wed, 18 Mar 2020 03:51:17 -0700 (MST) |
Aaron Hill wrote
> span-type and span-text are for dynamic text spanners (e.g.
> CrescendoEvent). You can set these music properties for a
> TextSpanEvent, but Text_spanner_engraver will just ignore them.
>
> Instead, you should \override or \tweak the bound-details of TextSpanner
> to attach text to the left or right end of the span. Something like
> this avoids the need to use make-music:
Thank you Aaron for the explanation. I was trying the make-music solution as
I was also trying to make a generic function, something like:
c4-\mySpan "molto rit." d e f g1\stopTextSpan
Unfortunately, your solution doesn't allow that:
mySpan = -\tweak bound-details.left.text \etc \startTextSpan
I'm curretly re-writing my shortcuts and configuration files in lilypond. I
try to rationalize it and avoid the massive recourse of independent
shortcuts (for instance, rit=... , moltoRit=... etc.). Maybe that has
already been discussed somewhere else but I wasn't able to find the
solution?
--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html