lilypond-user
[Top][All Lists]
Advanced

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

\score inside define-markup-command


From: Michael Käppler
Subject: \score inside define-markup-command
Date: Mon, 23 Feb 2009 01:01:23 +0100
User-agent: Thunderbird 2.0.0.12 (X11/20071114)

Hi all,
is it possible to use the \score markup function in a new defined markup function construct?

For example,

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

Regards,
Michael




reply via email to

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