Say I wanted to re-define the format-mark-box-alphabet
using a custom scm command.
How can this be done?
Here is a MWE where I would want both marks to be identical, with the double outline.
\version "2.24.1"
% Custom definition of the marker command
#(define-markup-command (format-mark-box-alphabet layout props text) (markup?)
"Draw a double box around text."
(interpret-markup layout props
(markup #:override '(box-padding . 0.4) #:box
#:override '(box-padding . 0.6) #:box text)))
\score {
\new Staff {
\set Score.rehearsalMarkFormatter = #format-mark-box-alphabet
a2 a4 b
\mark \default
c'1 c'
\mark \markup \format-mark-box-alphabet A
a
c'
}
}