lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: \score inside define-markup-command


From: Gilles THIBAULT
Subject: Re: \score inside define-markup-command
Date: Mon, 23 Feb 2009 08:59:44 +0100


#(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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]