lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to input a time signature in \markup?


From: Wei-Wei Guo
Subject: Re: How to input a time signature in \markup?
Date: Tue, 14 Apr 2009 15:23:51 +0800
User-agent: Thunderbird 2.0.0.19 (X11/20081209)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]