Hi Trevor,

On Sat, Sep 19, 2015 at 1:49 PM, Trevor Daniels <t.dani...@treda.co.uk>
wrote:

>
> David Nalesnik wrote Saturday, September 19, 2015 7:14 PM
>
> On Sat, Sep 19, 2015 at 12:10 PM, David Kastrup <d...@gnu.org> wrote:
>
> [...]


> > Right now LyricHyphen will draw something resembling the spanner line,
> > but comprised of a succession of round-filled boxes.
>
> Actually for the purpose I had in mind (words over music but spoken and
> out of rhythm)
> we wouldn't need a spanner line, just the spaced-out text.
>
>
 I could easily allow a switch to turn off all connectors.


> Using lyrics with explicit durations is the way it's done in the NR now,
> but it's
> difficult to set up and prone to not working under some circumstances.  The
> automatic spacing over several lines was the attractive feature of your
> TextSpan code.
>
>
To do that, you'd need to split the text up into individual words.  That
could get irritating, but it wouldn't be hard to break long strings up by
whitespace, or some other alternative.

This should give acceptable results, with two conditions:

(1) items will be equally spaced;
(2) Items are currently parceled out between lines solely based on their
number, as if they were equal in length.  The distribution algorithm ought
to take word-length into account, and I wonder if my math is up to that :(

(As an aside: I must say that David's suggestion of using lyrics produces
miraculous results without the hundreds and hundreds of lines of new code!
Don't want a connector line?  Don't write a hyphen.  Etc.)

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

Reply via email to