Hi Trevor,
> Is there some Scheme-ish way to do that with the "\set Score.markFormatter =
> #format-mark-circle-numbers" context setting?
In my Henle stylesheet, I see I used the following:
#(define-markup-command (oval layout props arg)
(markup?)
#:properties ((thickness 1)
(font-size 0)
(oval-padding 0.75))
(let ((th (* (ly:output-def-lookup layout 'line-thickness)
thickness))
(pad (* (magstep font-size) oval-padding))
(m (interpret-markup layout props (markup #:hcenter-in 1.5 arg))))
(oval-stencil m th pad (* pad 1.5))))
#(define (format-oval-barnumbers barnum measure-pos alt-number context)
(make-oval-markup
(robust-bar-number-function barnum measure-pos alt-number context)))
That seemed to work, at least for small-ish numbers.
Maybe that will give you some clues on how to solve your problem?
Hope this helps!
Kieren.
_______________________
Kieren MacMillan, composer
www: <http://www.kierenmacmillan.info>
email: [email protected]
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user