lilypond-user
[Top][All Lists]
Advanced

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

music functions and markups


From: Nicolas Sceaux
Subject: music functions and markups
Date: Sun, 10 Oct 2004 11:15:13 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Hello

I would like to define a music function taking a markup as an
argument.
Currently, I'm doing:

  foo = #(def-music-function (location markp music) (markup? ly:music?)
           ...)
  \foo #(markup ...)
       { c' d' e' f' }

Is there a way to be able to write, eg:

  \foo \markup { ... }
       { c' d' e' f' }

or a clue on how it could be implemented? If that is not easy,
#(markup ..) will still be fine, though less convenient than \markup.

I'm using LilyPond from CVS.

nicolas





reply via email to

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