On 2018-06-07 05:40, David Kastrup wrote:
Urs Liska <li...@openlilylib.org> writes:
doubleBox =
#(define-event-function (text) (markup?)
(make-music 'TextScriptEvent 'text
(markup #:override '(box-padding . 0.4) #:box
#:override '(box-padding . 0.6) #:box text)))
doubleBox = -\markup \override #'(box-padding . 0.4) \box
\override #'(box-padding . 0.6) \box \etc
Hi David,
Correct me if I am wrong, but the second definition is usable as a
function. That is, it cannot accept a parameter for customizing the
markup. Unless `\etc` is something magical that is undocumented, the
resulting `\doubleBox` would have to be a complete idea.
It would seem Urs' version is necessary if you need to be able to
provide a parameter, which more closely matches the intention of the
original `\doubleBox` as a markup function.
-- Aaron Hill
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond