Dear Kieren,

On Fri, 26 Jun 2026, Kieren MacMillan wrote:

> ****LLM alert****
>
> I worked with an LLM to generate the snippet (attached). It seems to work
> well. There are both auto-hyphenation rules/patterns, and a manual
> soft-hyphen mechanism; hopefully the example is relatively clear.
>
> I’m 100% sure the code can be improved by someone above my Scheme pay
> grade, but maybe it’s good enough for your current needs, Gabriel?
>

Thank you! This is very cool.

Personally, I probably will use LaTeX in Overleaf, because true Knuth-Plass
dynamic programming, rather than a greedy algorithm, is very appealing to
me.

But I’d be happy to post both this approach and the LaTeX approach on the
Wiki. Some LilyPond users reading the Wiki might find your \soft-justify
method more approachable (no pun intended).

Gabriel

Reply via email to