2009/4/13 Simon Bailey <bina...@gmail.com>:
>
> On Apr 13, 2009, at 3:17 PM, Wei-Wei Guo wrote:
>>
>> Combining your solutions, the following way is the better, but still to
>> long...
>>
>>  \markup{ \override #'(baseline-skip . 1) {\center-column {\number 2
>> \number 4}}}
>
>
> define this as a variable, then you only have to type it once:

If you need to produce several different time signature markups, you
could create a new markup command:

#(define-markup-command (timesig layout props numerator denominator)
   (number? number?)
   (interpret-markup layout props
                     (markup
                      #:override '(baseline-skip . 0)
                      #:number
                      (make-center-column-markup
                       (map number->string (list numerator denominator))))))

\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