Kieren MacMillan <[email protected]> writes:
> What's the easy way of saying "center the number in a box at least
> 'this big', but use the number's real extent if it's bigger than
> that"?
\hcenter-in does that.
#(define-markup-command (ellipse layout props text) (markup?)
#:properties ((thickness 0.2) (box-padding 0))
(ellipse-stencil (interpret-markup layout props text)
thickness box-padding box-padding))
\markup \ellipse \hcenter-in #2.5 { "1" "12" "123" "1234" }
--
David Kastrup
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user