Re: Music function that attaches text to a music argument

2010-05-05 Thread Nathan Reed
On Mon, May 3, 2010 at 11:11 PM, Marc Hohl m...@hohlart.de wrote: Hi Nathan, have you read http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Adding-articulation-to-notes-_0028example_0029#Adding-articulation-to-notes-_0028example_0029 ? Thanks Marc; that looks like exactly the

Music function that attaches text to a music argument

2010-05-04 Thread Nathan Reed
Hello all, I would like to write a music function that takes a single-note music expression and attaches some markup text to it. I tried to write: \version 2.12.3 myfunc = #(define-music-function (parser location mymusic) (ly:music?) #{ $mymusic ^Hello, world! #} ) \relative c' {

Re: Music function that attaches text to a music argument

2010-05-04 Thread Marc Hohl
Nathan Reed schrieb: Hello all, I would like to write a music function that takes a single-note music expression and attaches some markup text to it. I tried to write: \version 2.12.3 myfunc = #(define-music-function (parser location mymusic) (ly:music?) #{ $mymusic ^Hello, world! #}