Hi David,
This is great! – both the analysis brackets (which I didn’t know about before) and your code for text labels for them. I’ve often resorted to using Inkscape to add this kind of thing to LilyPond SVGs. In trying out your code I noticed that it didn’t really work when the text was wider than the bracket (the bracket was pushed over out of place). So I came up with a revision that handles this, using the “center-stencil-on-stencil” function I recently contributed to the LSR. See attached. Would be nice to have this in the LSR, at least. It also might be nice if it could accept a markup instead of a string, so you could change the appearance of the text (size, color, style, etc.). Best, -Paul |
analysis-bracket-text-2.ly
Description: Binary data
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user