"Allan Spagnol Comar" <[EMAIL PROTECTED]> writes:

> Hi list, I am trying to generate a music-function to make
> ^\markup { \musicglyph #"timesig.C44" \vcenter "1" }
> for me any time, and the function should receive a string to be placed
> where "1" is writed. Is this possible ? if it is how can I do it ? or
> where can I find documentation about it ?

Music functions are used to build music expression.
Here you want to build a markup expression: define a markup command.

#(define-markup-command (myCommand layout props arg) (string?)
  (interpret-markup layout props (markup #:musicglyph "timesig.C44" #:vcenter 
arg)))

{
  c'-\markup \myCommand #"foo"
}

nicolas



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

Reply via email to