Hi Thomas, Ben

for some reason, neither of your codes seem to work: I always get arabic
numerals in a box if I use \mark \default. I think something is overriding
that setting elsewhere in my config files; I'll try to track it down. The
MWE Ben sent works just as I want it to on its own, but not in the main
document. I'll have to do some digging.

Thanks!

A

On Wed, Oct 24, 2018 at 5:10 PM Thomas Morley <[email protected]>
wrote:

> Am Mi., 24. Okt. 2018 um 17:02 Uhr schrieb Ben <[email protected]
> >:
>
> > This should be what you need (see attached)
>
> We do have 'number-format', so one could do:
>
> #(define-public (format-roman-mark-numbers mark context)
>   (make-bold-markup (number-format 'roman-upper mark)))
>
> #(define-public (format-boxed-roman-mark-numbers mark context)
>   (make-bold-markup (make-box-markup (number-format 'roman-upper mark))))
>
> \layout {
>   \context {
>     \Score
>     markFormatter =
>       %#format-roman-mark-numbers
>       #format-boxed-roman-mark-numbers
>     %% 2.21.0
>     %markFormatter = #(format-mark-generic '(roman box bold mixedcase))
>   }
> }
> {
>     \mark \default
>     R1
>     \mark \default
>     R1
> }
>
> Cheers,
>   Harm
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to