Hmmm... AFAIK there is no way to use properties like you can do with
"define-markup-command". 
Maybe someone with a deeper knowledge than me can chime in here? :)

At least, I found a way to call the function without using the carat:

% ---------------------------------------------------------------
\version "2.18.0"

sd = #(define-event-function (parser location sdnum)
        (markup?)
        "Put a number with a carat above the note."
        #{
          ^\markup {
            \override #'(baseline-skip . 0.5)
            \column { \small {^ #sdnum }}
          }
        #})

{g\sd "3"}
% --------------------------------------------------------------- 

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/custom-markup-help-tp176923p176976.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to