On 23/05/2015 21:24, Damian leGassick wrote:
\version "2.18.0"


#(define-markup-command (sd layout props sdnum) (markup?)
   #:properties ((baseline-skip 0.5))
   "Put a number with a carat above the note."
   (interpret-markup layout props
     #{\markup \override #`(baseline-skip . ,baseline-skip)
               \column { \small {^ #sdnum }}    #}))


{g^\markup {\sd 3}}

Don't use the name baseline-skip for the baseline-skip value. Change it to something else and it works:

\version "2.18.0"


#(define-markup-command (sd layout props sdnum) (markup?)
  #:properties ((skip 0.5))
  "Put a number with a carat above the note."
  (interpret-markup layout props
    #{\markup \override #`(baseline-skip . ,skip)
              \column { \small {^ #sdnum }}    #}))


{g^\markup {\sd 3}}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to