|
From: | Malte Meyn |
Subject: | Re: Text spanner text in the middle |
Date: | Fri, 14 Aug 2015 13:11:25 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 |
Am 14.08.2015 um 12:32 schrieb Andrew Bernard:
One could go even further and have text spanners with not only two or, with centered text, three but an arbitrary number of texts evenly distributed over the length of the spanner.Just re my own suggestion of text spanners with text in the middle, although the present need is for a repeat indication, I am well aware that this is poor design, since a textual mark does not indicate a repeat structure to lilypond, so it is architecturally incorrect, which would be grounds for rejecting such a request for enhancement. But apart from repeats, I have many uses for text centred in spanners, where the semantics are perfectly OK.
\override TextSpanner.texts = #("poco" "a" "poco" "stringendo")And then one could also add the possibility to specify where a dashed lines/hyphens should be.
\override TextSpanner.texts = #("poco" "a" "poco" "strin" "gen" "do") \override TextSpanner.hyphens = #(#f #f #f #t #t) Same for DynamicLineSpanners (poco a poco crescendo).Maybe we can think a bit about the details and then have a feature request (for centered text or for more texts or both).
[Prev in Thread] | Current Thread | [Next in Thread] |