Hallo fugenkomponist,
der Tip war sehr hilfreich - danke! Du hast mich bestens verstanden.
Ein Beispiel hätte ich höchstens malen können, jetzt aber kann ich es zeigen:
#(define-markup-command (myBox layout props myWidth myHeight) (number? number?)
(interpret-markup layout props
(markup #:line (#:with-dimensions (cons 0 0)(cons 0 0)
(#:path 0.2
(list (list (quote moveto) -1.7 1)
(list (quote lineto) myWidth 1)
(list (quote lineto) myWidth (* myHeight -1))
(list (quote lineto) -1.7 (* myHeight -1))
(list (quote closepath))))))))
\version "2.18.2"
\relative c' {
\time 5/4
a4^\markup\myBox #16 #8 e' g d e
%% #width #heigh
}
Christa
}