[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to input a time signature in \markup?
From: |
Neil Puttock |
Subject: |
Re: How to input a time signature in \markup? |
Date: |
Mon, 13 Apr 2009 16:18:01 +0100 |
2009/4/13 Simon Bailey <address@hidden>:
>
> 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
- How to input a time signature in \markup?, Wei-Wei Guo, 2009/04/13
- Re: How to input a time signature in \markup?, Dmytro O. Redchuk, 2009/04/13
- Re: How to input a time signature in \markup?, Kieren MacMillan, 2009/04/13
- Re: How to input a time signature in \markup?, Wei-Wei Guo, 2009/04/13
- Re: How to input a time signature in \markup?, Simon Bailey, 2009/04/13
- Re: How to input a time signature in \markup?,
Neil Puttock <=
- Re: How to input a time signature in \markup?, Wei-Wei Guo, 2009/04/13
- Re: How to input a time signature in \markup?, Dmytro O. Redchuk, 2009/04/14
- Re: How to input a time signature in \markup?, Wei-Wei Guo, 2009/04/14
- Re: How to input a time signature in \markup?, Dmytro O. Redchuk, 2009/04/14
- Re: How to input a time signature in \markup?, Dmytro O. Redchuk, 2009/04/14
- Re: How to input a time signature in \markup?, Wei-Wei Guo, 2009/04/14
- Re: How to input a time signature in \markup?, Dmytro O. Redchuk, 2009/04/14
- Re: How to input a time signature in \markup?, Wei-Wei Guo, 2009/04/14
- Re: How to input a time signature in \markup?, Simon Bailey, 2009/04/14
- Re: How to input a time signature in \markup?, Wei-Wei Guo, 2009/04/14