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: Wed, 15 Apr 2009 00:15:40 +0800
User-agent: Thunderbird 2.0.0.19 (X11/20081209)

Sorry for wasting your time. It works now. I didn't notice in my test
file the command is

    \markup { \timesig #3 #4}

instead of

    \markup { \timesig #3 #4 }

Why is a white space so important?

Wei-Wei


Dmytro O. Redchuk 写道:
2009/4/14 Wei-Wei Guo <address@hidden>:
I tried the following expr with the new command defined by
'define-markup-command'

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

I don't know why.

Try to define markup command as Neil suggested

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

and everything should work as:
c4 -\markup { \timesig #3 #4 }

But this should be not music, but markup function.

ps. If that won't work, send a complete snippet,
    what you defined and what does not work.


Wei-Wei





reply via email to

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