how to achieve
$note_\markup{ s }
in define-music-function definition.. because $note_ can't be parsed
correctly.
Well, you can try this work-around with a \skip and a <<>> construct.
%%%%%%%%%%%%%
fun = #(define-music-function (parser location note)(ly:music?)
#{
<< $note s1*0_\markup { s } >>
#})
\new Voice { \fun c' }
%%%%%%%%%%%%%
For a more advanced function, you'll have to use scheme.
See http://lsr.dsi.unimi.it/LSR/Item?id=82 for example.
Gilles
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user