I want to define a new command \timesig instead of a new \markup, because I
need to use it in \markup with other texts, such as

   \markup { \timesig #3 #4 blur blur }

Best wishes,
Wei-Wei


Dmytro O. Redchuk 写道:
You need to "define-markup-command",
not "define-music-function".

#(define-markup-command (timesig layout props numerator denominator)
  (number? number?)
  (interpret-markup layout props
                    (markup
[...]

\markup \timesig #3 #4

Regards,
Neil



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

Reply via email to