#(define-markup-command (test layout props testclef) (string?)
(interpret-markup layout props (markup #:score ( << \clef #testclef a4 h c >>
))))

This is invalid code because it mixes LilyPond and Scheme syntax. How can I achieve something similar to what's expressed in this dummy code piece?

I don't know if it will work, but perhaps you can try to type
\displayMusic {<< \clef #testclef a4 h c >>} to get the scheme version of your music,
and to copy/paste the output you got after the #:score markup ...

Gilles




_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to