Hi Ponders
In earlier scores of mine I used
/mark /markup { /box "Mark Label" }
Now that I'm migrating (some of) those to /sectionLabel (yes, I can
simply replace /mark by /sectionLabel) I wonder how I could add the box
globally. I know that I could accomplish that with a substitution
function like
sctLbl =
#(define-music-function
(label)
(markup?)
#{
\sectionLabel \markup {\box #label }
#})
\relative c' { \sctLbl "Hello" c d e f }
But my programmer's gut feeling tells me that a configuration approach
would be the preferred one. I guess the solution looks something like this
\layout {
\context {
\Score
\set Score.markFormatter = ...
}
}
TIA
Stephan